/* RedEsim homepage refresh — only the area above "Выбери своё направление".
   No global/header/nav/component JS rules are overridden. */
.redesim-home-refresh>.hero {
  background: var(--redesim-surface);
  padding: 32px 0 26px;
  border: 0;
  overflow: visible;
}

.redesim-home-refresh>.hero::before,
.redesim-home-refresh>.hero::after {
  display: none;
}

.redesim-home-refresh>.hero .container,
.redesim-home-refresh>.stats-strip .container {
  max-width: 1280px;
}

.redesim-home-refresh>.hero .hero-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.redesim-home-refresh>.hero .hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.redesim-home-refresh>.hero .hero-badge {
  margin: 0 0 20px;
  padding: 7px 17px;
  border-radius: 999px;
  border: 1px solid #444;
  background: #fff;
  color: #222;
  font-size: 13px;
  letter-spacing: normal;
}

.redesim-home-refresh>.hero h1 {
  max-width: 1100px;
  margin: 0 0 15px !important;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.17;
  letter-spacing: -0.035em;
  text-align: center;
  font-weight: 800;
}

.redesim-home-refresh>.hero .hero-text>p {
  max-width: 1000px;
  margin: 0 0 20px;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.5;
  text-align: center;
  color: #343434;
}

.redesim-home-refresh>.hero .hero-price-badge {
  margin: 0 0 22px;
  background: #252525;
  border: none;
  border-radius: 14px;
  padding: 9px 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

.redesim-home-refresh>.hero .hero-visual {
  display: block;
  width: 100%;
}

.redesim-home-refresh>.hero .dest-picker {
  width: 100%;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(22, 28, 40, .09);
}

.redesim-home-refresh>.hero .dp-search-row {
  gap: 14px;
}

.redesim-home-refresh>.hero .dp-input-wrap {
  min-width: 0;
}

.redesim-home-refresh>.hero .dp-input {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid #d9dce3;
  border-radius: 13px;
  background: #fff;
  font-size: 15px !important;
  padding: 12px 36px 12px 42px !important;
}

.redesim-home-refresh>.hero .dp-search-icon {
  left: 16px;
}

.redesim-home-refresh>.hero .dp-search-btn {
  width: auto;
  min-width: 160px;
  height: 52px;
  padding: 0 22px;
  background-image: none;
  border: 1.5px solid #d9dce3;
  color: #191919;
  font-size: 15px;
  font-weight: 700;
  border-radius: 13px;
}

.redesim-home-refresh>.hero .dp-search-btn:hover {
  background: #f02718;
  color: #fff;
}

.redesim-home-refresh>.hero .dp-chips-label {
  margin: 17px 0 10px;
  color: #525762;
  text-transform: none;
  letter-spacing: normal;
  font-size: 14px;
  font-weight: 500;
}

.redesim-home-refresh>.hero .dp-chips {
  gap: 10px;
  margin-bottom: 17px;
  padding-bottom: 4px;
}

.redesim-home-refresh>.hero .dp-chip {
  padding: 8px 14px;
  border: 1px solid #dfe1e5;
  background: #fff;
  border-radius: 999px;
  color: #343434;
  font-size: 13px;
}

.redesim-home-refresh>.hero .dp-chip.active {
  background: #f02718;
  border-color: #f02718;
  color: #fff;
}

.redesim-home-refresh>.hero .dp-result {
  border: 0;
  background: transparent;
  padding: 0;
}

.redesim-home-refresh>.hero .dp-result-top {
  margin: 7px 0 12px;
}

.redesim-home-refresh>.hero .dp-result-name {
  font-size: 17px;
  font-weight: 700;
}

.redesim-home-refresh>.hero .dp-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.redesim-home-refresh>.hero .dp-opt {
  min-height: 94px;
  padding: 16px;
  border: 1px solid #dfe1e5;
  border-radius: 14px;
  background: #fff;
  gap: 10px;
  flex-wrap: wrap;
  align-content: space-between;
}

.redesim-home-refresh>.hero .dp-opt.best {
  border-color: #f02718;
  background: #fff8f8;
}

.redesim-home-refresh>.hero .dp-opt-name {
  font-size: 15px;
}

.redesim-home-refresh>.hero .dp-opt-meta {
  font-size: 12px;
}

.redesim-home-refresh>.hero .dp-opt-right {
  margin-left: auto;
  gap: 10px;
}

.redesim-home-refresh>.hero .dp-opt-price {
  font-size: 18px;
}

.redesim-home-refresh>.hero .dp-opt-buy {
  padding: 9px 15px;
  font-size: 13px;
  border-radius: 10px;
}

.redesim-home-refresh>.hero .home-after-search {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 22px;
}

.redesim-home-refresh>.hero .hero-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 14px;
  margin: 0 0 10px;
}

.redesim-home-refresh>.hero .hero-buttons>* {
  width: auto;
  min-height: 48px;
  padding: 12px 26px !important;
  border-radius: 13px;
}

.redesim-home-refresh>.hero .hero-buttons .btn-white,
body.redesim-page .redesim-home-refresh>.hero .hero-buttons .btn-white {
  color: #fff !important;
  background: #f02718 !important;
  box-shadow: 0 4px 13px rgba(240, 39, 24, .18);
}

.redesim-home-refresh>.hero .hero-buttons .btn-white:hover {
  background: #d32215 !important;
}

.redesim-home-refresh>.hero .hero-buttons .btn-secondary {
  background: #fff;
  color: #222;
  border: 1px solid #dadde4;
}

.redesim-home-refresh>.hero .hero-trust {
  justify-content: center;
}

.redesim-home-refresh>.stats-strip {
  padding: 22px 0 30px;
  border: 0;
  background: #fff;
}

.redesim-home-refresh>.stats-strip .stats-grid {
  gap: 10px;
}

.redesim-home-refresh>.stats-strip .stat-item {
  padding: 0 14px;
}

.redesim-home-refresh>.stats-strip .stat-number {
  font-size: 30px;
}

.redesim-home-refresh>.stats-strip .stat-label {
  font-size: 13px;
}

@media (min-width: 768px) {
  .redesim-home-refresh>.stats-strip .stat-item+.stat-item::before {
    display: block;
  }
}

@media (max-width: 900px) {
  .redesim-home-refresh>.hero {
    padding-top: 28px;
  }

  .redesim-home-refresh>.hero .dp-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .redesim-home-refresh>.hero .dp-opt {
    min-height: 0;
  }

  .redesim-home-refresh>.hero .dest-picker {
    padding: 18px;
  }
}

@media (max-width: 600px) {
  .redesim-home-refresh>.hero {
    padding: 22px 0 15px;
  }

  .redesim-home-refresh>.hero h1 {
    font-size: clamp(24px, 7.1vw, 34px);
  }

  .redesim-home-refresh>.hero .hero-badge {
    margin-bottom: 14px;
  }

  .redesim-home-refresh>.hero .hero-price-badge {
    margin-bottom: 18px;
  }

  .redesim-home-refresh>.hero .dest-picker {
    padding: 14px;
    border-radius: 17px;
  }

  .redesim-home-refresh>.hero .dp-search-row {
    gap: 8px;
  }

  .redesim-home-refresh>.hero .dp-search-btn {
    min-width: 76px;
    padding: 0 10px;
    font-size: 13px;
  }

  .redesim-home-refresh>.hero .dp-input {
    min-height: 46px;
    padding-left: 35px !important;
    font-size: 13px !important;
  }

  .redesim-home-refresh>.hero .dp-search-btn {
    height: 46px;
  }

  .redesim-home-refresh>.hero .dp-opt {
    padding: 12px;
  }

  .redesim-home-refresh>.hero .dp-opt-name {
    font-size: 13px;
  }

  .redesim-home-refresh>.hero .dp-opt-meta {
    font-size: 11px;
  }

  .redesim-home-refresh>.hero .dp-opt-price {
    font-size: 15px;
  }

  .redesim-home-refresh>.hero .hero-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

  .redesim-home-refresh>.hero .hero-buttons>* {
    flex: 1 1 180px;
  }

  .redesim-home-refresh>.stats-strip {
    padding: 15px 0 24px;
  }

  .redesim-home-refresh>.stats-strip .stat-number {
    font-size: 24px;
  }

  .redesim-home-refresh>.stats-strip .stat-item {
    padding: 4px;
  }
}

/* Highlight only the final phrase of the original H1, as in the approved mockup. */
.redesim-home-refresh>.hero h1 .hero-title-accent {
  color: #ed221b !important;
}

/* v3: align actual layout with approved single-column mockup. */
.redesim-home-refresh>.hero {
  padding-top: 35px;
  padding-bottom: 16px;
}

.redesim-home-refresh>.hero .hero-grid {
  gap: 0;
}

.redesim-home-refresh>.hero .hero-text>p {
  margin-bottom: 20px;
}

.redesim-home-refresh>.hero .home-benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  margin: 8px 0 19px;
}

.redesim-home-refresh>.hero .home-benefit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 11px 17px;
  border: 1px solid #e5e6e9;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(20, 25, 35, .07);
  color: #191919;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.redesim-home-refresh>.hero .home-benefit-icon {
  font-size: 25px;
  line-height: 1;
  color: #f02718;
  font-weight: 500;
}

.redesim-home-refresh>.hero .hero-price-badge {
  margin: 0 0 18px;
  padding: 5px 14px;
  transform: scale(.85);
  transform-origin: center;
}

.redesim-home-refresh>.hero .hero-visual {
  width: 100%;
}

.redesim-home-refresh>.hero .dest-picker {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.redesim-home-refresh>.hero .dp-search-panel {
  display: block;
  width: 100%;
  padding: 26px 28px 22px;
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 25px;
  box-shadow: 0 15px 36px rgba(22, 28, 40, .09);
}

.redesim-home-refresh>.hero .dp-chips {
  margin-bottom: 0;
  padding-bottom: 0;
}

.redesim-home-refresh>.hero .dp-result {
  width: 100%;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

.redesim-home-refresh>.hero .dp-result-top {
  justify-content: center;
  margin: 0 0 16px;
}

.redesim-home-refresh>.hero .dp-result-name {
  display: flex;
  justify-content: center;
  font-size: 0;
  gap: 7px;
}

.redesim-home-refresh>.hero .dp-result-name::before {
  content: 'Тарифы для';
  font-size: 26px;
  font-weight: 800;
  color: #191919;
}

.redesim-home-refresh>.hero .dp-result-name .dp-chip-flag {
  display: none;
}

.redesim-home-refresh>.hero .dp-result-name {
  font-size: 26px;
  font-weight: 800;
}

.redesim-home-refresh>.hero .dp-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.redesim-home-refresh>.hero .dp-opt {
  min-width: 0;
  min-height: 82px;
  padding: 15px 18px;
  flex-wrap: nowrap;
  align-items: center;
}

.redesim-home-refresh>.hero .dp-opt-right {
  gap: 8px;
  flex-shrink: 0;
}

.redesim-home-refresh>.hero .dp-opt-name {
  font-size: 16px;
}

.redesim-home-refresh>.hero .dp-opt-price {
  font-size: 20px;
}

.redesim-home-refresh>.hero .dp-search-results {
  margin-top: 16px;
}

.redesim-home-refresh>.hero .dp-no-result {
  margin-top: 16px;
}

.redesim-home-refresh>.hero .home-after-search {
  margin-top: 22px;
}

.redesim-home-refresh>.hero .hero-buttons {
  margin-bottom: 4px;
}

.redesim-home-refresh>.hero .hero-trust {
  margin-top: 4px;
}

.redesim-home-refresh>.stats-strip {
  padding: 18px 0 25px;
}

@media(max-width:1050px) {
  .redesim-home-refresh>.hero .dp-opt {
    flex-wrap: wrap;
  }

  .redesim-home-refresh>.hero .home-benefits {
    gap: 9px;
  }

  .redesim-home-refresh>.hero .home-benefit {
    padding: 9px 12px;
    font-size: 12px;
  }
}

@media(max-width:900px) {
  .redesim-home-refresh>.hero .dp-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .redesim-home-refresh>.hero .dp-opt {
    flex-wrap: nowrap;
  }

  .redesim-home-refresh>.hero .dp-search-panel {
    padding: 18px;
  }

  .redesim-home-refresh>.hero .dp-result-name,
  .redesim-home-refresh>.hero .dp-result-name::before {
    font-size: 23px;
  }
}

@media(max-width:600px) {
  .redesim-home-refresh>.hero .home-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .redesim-home-refresh>.hero .home-benefit {
    min-width: 0;
    white-space: normal;
    font-size: 11px;
    padding: 9px;
  }

  .redesim-home-refresh>.hero .home-benefit-icon {
    font-size: 20px;
  }

  .redesim-home-refresh>.hero .dp-search-panel {
    padding: 14px;
  }

  .redesim-home-refresh>.hero .dp-opt {
    flex-wrap: wrap;
  }

  .redesim-home-refresh>.hero .dp-result-name,
  .redesim-home-refresh>.hero .dp-result-name::before {
    font-size: 21px;
  }
}

/* Compact tariff results: the base homepage stylesheet reserves 258px for
   asynchronous tariff loading, which leaves a large empty gap after load. */
body.home .redesim-home-refresh>.hero .dp-result.show:not(.is-loading) {
  min-height: 0;
  height: auto;
}

/* Keep a modest placeholder only while the API request is pending. */
body.home .redesim-home-refresh>.hero .dp-result.is-loading {
  min-height: 90px;
}

/* Consistent inline SVG sizing for the homepage benefit badges. */
.redesim-home-refresh>.hero .home-benefit-icon svg {
  display: block;
  width: 25px;
  height: 25px;
}

@media (max-width: 600px) {
  .redesim-home-refresh>.hero .home-benefit-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* UX/UI refresh for quick tariff selection: clearer steps and richer cards. */
.redesim-home-refresh>.hero .dp-result-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.redesim-home-refresh>.hero .dp-result-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff1ee;
  color: #f02718;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.redesim-home-refresh>.hero .dp-result-name-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.redesim-home-refresh>.hero .dp-result-subtitle {
  margin: 0;
  max-width: 760px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: #596072;
}

.redesim-home-refresh>.hero .dp-result-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.redesim-home-refresh>.hero .dp-legend-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fafafa;
  border: 1px solid #ececf1;
  color: #454b57;
  font-size: 13px;
  line-height: 1.45;
}

.redesim-home-refresh>.hero .dp-legend-item strong {
  color: #191919;
  font-size: 14px;
}

.redesim-home-refresh>.hero .dp-options {
  gap: 18px;
  align-items: stretch;
}

.redesim-home-refresh>.hero .dp-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  min-height: 235px;
  padding: 16px 18px 18px;
  border-radius: 18px;
  border: 1px solid #e3e5ea;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.redesim-home-refresh>.hero .dp-opt:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.10);
  border-color: #f6b4af;
}

.redesim-home-refresh>.hero .dp-opt.best {
  background: linear-gradient(180deg, #fff8f7 0%, #ffffff 100%);
  border: 1.5px solid #f02718;
  box-shadow: 0 16px 32px rgba(240, 39, 24, 0.12);
}

.redesim-home-refresh>.hero .dp-opt-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  flex-wrap: wrap;
}

.redesim-home-refresh>.hero .dp-opt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.redesim-home-refresh>.hero .dp-opt-badge.is-economy {
  background: #f1f5f9;
  color: #334155;
}

.redesim-home-refresh>.hero .dp-opt-badge.is-balance {
  background: #eef6ff;
  color: #1d4ed8;
}

.redesim-home-refresh>.hero .dp-opt-badge.is-max {
  background: #fff7ed;
  color: #c2410c;
}

.redesim-home-refresh>.hero .dp-opt-badge.is-best {
  background: #f02718;
  color: #fff;
}

.redesim-home-refresh>.hero .dp-opt-badge-hint {
  color: #f02718;
  font-size: 12px;
  font-weight: 700;
}

.redesim-home-refresh>.hero .dp-opt-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
}

.redesim-home-refresh>.hero .dp-opt-name {
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
  color: #191919;
}

.redesim-home-refresh>.hero .dp-opt-purpose {
  font-size: 14px;
  font-weight: 700;
  color: #f02718;
}

.redesim-home-refresh>.hero .dp-opt-meta {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #6b7280;
}

.redesim-home-refresh>.hero .dp-opt-description {
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}

.redesim-home-refresh>.hero .dp-opt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.redesim-home-refresh>.hero .dp-opt-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f6f7f9;
  border: 1px solid #e8ebf0;
  color: #3f4654;
  font-size: 12px;
  font-weight: 600;
}

.redesim-home-refresh>.hero .dp-opt-right {
  margin-left: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #eff1f4;
}

.redesim-home-refresh>.hero .dp-opt-price-label {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #8b92a0;
}

.redesim-home-refresh>.hero .dp-opt-price {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  color: #f02718;
}

.redesim-home-refresh>.hero .dp-opt-buy {
  min-width: 116px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .redesim-home-refresh>.hero .dp-options {
    grid-template-columns: 1fr;
  }

  .redesim-home-refresh>.hero .dp-opt {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .redesim-home-refresh>.hero .dp-result-legend {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .redesim-home-refresh>.hero .dp-result-subtitle {
    font-size: 13px;
  }

  .redesim-home-refresh>.hero .dp-opt {
    padding: 14px;
    gap: 10px;
  }

  .redesim-home-refresh>.hero .dp-opt-name {
    font-size: 18px;
  }

  .redesim-home-refresh>.hero .dp-opt-description {
    font-size: 12px;
  }

  .redesim-home-refresh>.hero .dp-opt-right {
    align-items: center;
    flex-wrap: wrap;
  }

  .redesim-home-refresh>.hero .dp-opt-price {
    font-size: 25px;
  }

  .redesim-home-refresh>.hero .dp-opt-buy {
    width: 100%;
    justify-content: center;
  }
}

/* Final approved homepage layout (18 Nov): search, popular countries, three slim tariff cards. */
.redesim-home-refresh>.hero .dp-search-panel {
  padding: 16px 20px;
  border-radius: 20px;
}

.redesim-home-refresh>.hero .dp-chips-label {
  margin: 18px 0 10px;
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: #191919;
}

.redesim-home-refresh>.hero .dp-chips-label span {
  color: #f02718;
}

.redesim-home-refresh>.hero .dp-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 0 0 15px;
  padding: 0;
}

.redesim-home-refresh>.hero .dp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 14px;
  box-shadow: 0 4px 11px rgba(22, 28, 40, .06);
}

.redesim-home-refresh>.hero .dp-result {
  margin-top: 0;
  min-height: 0 !important;
}

.redesim-home-refresh>.hero .dp-result-top {
  display: none;
}

.redesim-home-refresh>.hero .dp-result-legend,
.redesim-home-refresh>.hero .dp-result-step,
.redesim-home-refresh>.hero .dp-opt-topline,
.redesim-home-refresh>.hero .dp-opt-purpose,
.redesim-home-refresh>.hero .dp-opt-description,
.redesim-home-refresh>.hero .dp-opt-pills,
.redesim-home-refresh>.hero .dp-opt-price-label {
  display: none !important;
}

.redesim-home-refresh>.hero .dp-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.redesim-home-refresh>.hero .dp-opt,
.redesim-home-refresh>.hero .dp-opt.best {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 66px;
  height: auto;
  padding: 12px 13px;
  border: 1px solid #e0e4eb;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(20, 25, 35, .055);
  transform: none;
  cursor: pointer;
}

.redesim-home-refresh>.hero .dp-opt.best {
  border-color: #f02718;
  background: #fff8f8;
}

.redesim-home-refresh>.hero .dp-opt:hover {
  border-color: #f02718;
  box-shadow: 0 8px 18px rgba(20, 25, 35, .085);
}

.redesim-home-refresh>.hero .dp-opt-left {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  width: auto;
  min-width: 0;
}

.redesim-home-refresh>.hero .dp-opt-name {
  margin: 0;
  font-size: clamp(13px, 1.13vw, 17px);
  line-height: 1.3;
  font-weight: 800;
  white-space: nowrap;
}

.redesim-home-refresh>.hero .dp-opt-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: #667085;
  white-space: nowrap;
}

.redesim-home-refresh>.hero .dp-opt-right {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 9px;
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
}

.redesim-home-refresh>.hero .dp-opt-price {
  display: block;
  margin: 0;
  color: #f02718;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

.redesim-home-refresh>.hero .dp-opt-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 81px;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 9px;
  font-size: 12px;
  white-space: nowrap;
}

.redesim-home-refresh>.hero .dp-opt-recommended {
  position: absolute;
  top: -10px;
  left: 12px;
  padding: 3px 8px;
  border-radius: 99px;
  background: #fff0ef;
  color: #f02718;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.redesim-home-refresh>.hero .dp-all-tariffs-wrap {
  display: flex;
  justify-content: center;
  margin: 17px 0 0;
}

.redesim-home-refresh>.hero .dp-all-tariffs-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 18px;
  border: 1px solid #cfd5e0;
  border-radius: 99px;
  background: #fff;
  color: #343b48;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.redesim-home-refresh>.hero .dp-all-tariffs-link:hover,
.redesim-home-refresh>.hero .dp-all-tariffs-link:focus-visible {
  color: #f02718;
  border-color: #f02718;
  background: #fffafa;
}

.redesim-home-refresh>.hero .home-after-search {
  margin-top: 12px;
}

@media (max-width: 1130px) {
  .redesim-home-refresh>.hero .dp-options {
    gap: 8px;
  }

  .redesim-home-refresh>.hero .dp-opt,
  .redesim-home-refresh>.hero .dp-opt.best {
    padding: 11px 9px;
    gap: 5px;
  }

  .redesim-home-refresh>.hero .dp-opt-right {
    gap: 6px;
  }

  .redesim-home-refresh>.hero .dp-opt-buy {
    min-width: 70px;
    padding: 7px 8px;
  }
}

@media (max-width: 850px) {
  .redesim-home-refresh>.hero .dp-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .redesim-home-refresh>.hero .dp-opt,
  .redesim-home-refresh>.hero .dp-opt.best {
    min-height: 65px;
    padding: 12px 14px;
  }

  .redesim-home-refresh>.hero .dp-opt-name {
    font-size: 16px;
  }

  .redesim-home-refresh>.hero .dp-opt-price {
    font-size: 19px;
  }

  .redesim-home-refresh>.hero .dp-opt-buy {
    min-width: 95px;
  }
}

@media (max-width: 600px) {
  .redesim-home-refresh>.hero .dp-search-panel {
    padding: 12px;
  }

  .redesim-home-refresh>.hero .dp-chips-label {
    font-size: 22px;
  }

  .redesim-home-refresh>.hero .dp-chips {
    gap: 7px;
  }

  .redesim-home-refresh>.hero .dp-opt,
  .redesim-home-refresh>.hero .dp-opt.best {
    flex-wrap: nowrap;
  }

  .redesim-home-refresh>.hero .dp-opt-buy {
    width: auto;
    min-width: 70px;
    font-size: 12px;
  }

  .redesim-home-refresh>.hero .dp-opt-name {
    font-size: 14px;
  }

  .redesim-home-refresh>.hero .dp-opt-price {
    font-size: 17px;
  }

  .redesim-home-refresh>.hero .dp-opt-meta {
    font-size: 11px;
  }
}

@media (max-width: 380px) {

  .redesim-home-refresh>.hero .dp-opt,
  .redesim-home-refresh>.hero .dp-opt.best {
    padding: 11px 8px;
    gap: 4px;
  }

  .redesim-home-refresh>.hero .dp-opt-right {
    gap: 5px;
  }

  .redesim-home-refresh>.hero .dp-opt-name {
    font-size: 12px;
  }

  .redesim-home-refresh>.hero .dp-opt-price {
    font-size: 15px;
  }

  .redesim-home-refresh>.hero .dp-opt-buy {
    min-width: 65px;
    padding: 7px 7px;
  }
}

/* Quick tariffs: ONE tariff per full-width horizontal row (not three columns). */
.redesim-home-refresh>.hero .dp-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.redesim-home-refresh>.hero .dp-opt,
.redesim-home-refresh>.hero .dp-opt.best {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  min-height: 62px;
  gap: 20px;
  padding: 11px 20px;
}

.redesim-home-refresh>.hero .dp-opt-left {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 5vw, 80px);
  min-width: 0;
}

.redesim-home-refresh>.hero .dp-opt-name {
  min-width: 210px;
  font-size: 18px;
  white-space: nowrap;
}

.redesim-home-refresh>.hero .dp-opt-meta {
  font-size: 14px;
  white-space: nowrap;
}

.redesim-home-refresh>.hero .dp-opt-right {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.redesim-home-refresh>.hero .dp-opt-price {
  min-width: 90px;
  font-size: 22px;
  text-align: right;
}

.redesim-home-refresh>.hero .dp-opt-buy {
  min-width: 116px;
  min-height: 38px;
  font-size: 13px;
}

.redesim-home-refresh>.hero .dp-opt-recommended {
  left: 16px;
}

@media (max-width: 850px) {
  .redesim-home-refresh>.hero .dp-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .redesim-home-refresh>.hero .dp-opt-left {
    gap: 18px;
  }

  .redesim-home-refresh>.hero .dp-opt-name {
    min-width: 145px;
    font-size: 15px;
  }

  .redesim-home-refresh>.hero .dp-opt-right {
    gap: 12px;
  }

  .redesim-home-refresh>.hero .dp-opt-price {
    min-width: 70px;
    font-size: 18px;
  }

  .redesim-home-refresh>.hero .dp-opt-buy {
    min-width: 90px;
  }
}

@media (max-width: 600px) {

  .redesim-home-refresh>.hero .dp-opt,
  .redesim-home-refresh>.hero .dp-opt.best {
    padding: 12px 10px;
    gap: 8px;
  }

  .redesim-home-refresh>.hero .dp-opt-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .redesim-home-refresh>.hero .dp-opt-name {
    min-width: 0;
    font-size: 14px;
  }

  .redesim-home-refresh>.hero .dp-opt-meta {
    font-size: 11px;
  }

  .redesim-home-refresh>.hero .dp-opt-right {
    gap: 7px;
  }

  .redesim-home-refresh>.hero .dp-opt-price {
    min-width: 0;
    font-size: 16px;
  }

  .redesim-home-refresh>.hero .dp-opt-buy {
    min-width: 72px;
    min-height: 34px;
    padding: 7px 9px;
  }
}

/* Accent matches the highlighted phrase in the hero heading. */
.redesim-home-refresh>.hero #dpChipsLabel>span {
  color: #ed221b !important;
}

/* Popular tariff actions: subdued for ordinary plans, red for recommended. */
body.redesim-page .redesim-home-refresh>.hero .dp-opt:not(.best) .dp-opt-buy {
  background: #eef0f3;
  color: #3d4653;
  border: 1px solid #d7dce2;
  box-shadow: none;
}

body.redesim-page .redesim-home-refresh>.hero .dp-opt:not(.best) .dp-opt-buy:hover,
body.redesim-page .redesim-home-refresh>.hero .dp-opt:not(.best) .dp-opt-buy:focus-visible {
  background: #dde2e8;
  color: #222b38;
  border-color: #bfc7d0;
}


/* Footer actions shown in the provided desktop/mobile screenshots.
   Only the old two hero action buttons are superseded. */
.redesim-home-refresh>.hero .home-after-search .hero-buttons {
  display: none !important;
}

.redesim-home-refresh>.hero .dp-reference-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.redesim-home-refresh>.hero .dp-reference-country-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ed221b;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.redesim-home-refresh>.hero .dp-reference-country-link:hover {
  color: #cb2117;
  text-decoration: underline;
}

.redesim-home-refresh>.hero .dp-reference-other {
  display: flex;
  align-items: center;
  gap: 16px;
}

.redesim-home-refresh>.hero .dp-reference-other-label {
  color: #858585;
  font-size: 16px;
}

.redesim-home-refresh>.hero .dp-reference-all-countries {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  background: #17171b;
  color: #fff;
  border-radius: 13px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.redesim-home-refresh>.hero .dp-reference-all-countries:hover {
  background: #303039;
  color: #fff;
}

.redesim-home-refresh>.hero .dp-reference-arrow {
  display: none;
}

@media (max-width: 767px) {
  .redesim-home-refresh>.hero .dp-reference-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
    margin-top: 0;
  }

  .redesim-home-refresh>.hero .dp-reference-country-link {
    display: flex;
    justify-content: center;
    min-height: 55px;
    padding: 13px 10px;
    /* border: 1px solid #e0e0e2; */
    /* border-top: 0; */
    /* border-radius: 0 0 16px 16px;
    background: #fff; */
    font-size: 16px;
  }

  .redesim-home-refresh>.hero .dp-reference-other {
    flex-direction: column;
    gap: 12px;
  }

  .redesim-home-refresh>.hero .dp-reference-other-label {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .redesim-home-refresh>.hero .dp-reference-other-label::before,
  .redesim-home-refresh>.hero .dp-reference-other-label::after {
    content: "";
    flex: 1 1 0;
    height: 1px;
    background: #d9d9dd;
  }

  .redesim-home-refresh>.hero .dp-reference-all-countries {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 17px;
  }

  .redesim-home-refresh>.hero .dp-reference-arrow {
    display: inline;
    margin-left: auto;
    font-size: 28px;
    line-height: 1;
  }
}

.hero-more-countries {
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -0.035em;
  font-size: clamp(28px, 3.2vw, 46px);
}

.hero-more-countries span {
  color: #ed221b !important;
}

/* Focused search results state — scoped strictly to the homepage. */
.redesim-home-refresh.is-searching > .hero .hero-more-countries,
.redesim-home-refresh.is-searching > .hero .hero-text > h1,
.redesim-home-refresh.is-searching > .hero .home-benefits,
.redesim-home-refresh.is-searching > .hero .hero-price-badge,
.redesim-home-refresh.is-searching > .hero .dp-reference-footer,
.redesim-home-refresh.is-searching > .hero .home-after-search,
.redesim-home-refresh.is-searching > .stats-strip {
  display: none !important;
}
.redesim-home-refresh.is-searching > .hero { padding-top: 34px; padding-bottom: 45px; }
.redesim-home-refresh.is-searching > .hero .dest-picker {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.redesim-home-refresh.is-searching > .hero .dp-search-panel {
  background: #fff;
  padding: 14px 16px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(22,28,40,.07);
}
.redesim-home-refresh.is-searching > .hero .dp-chips-label {
  margin: 28px 0 6px;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  color: #17171b;
}
.redesim-home-refresh > .hero .dp-search-count { display: none; }
.redesim-home-refresh.is-searching > .hero .dp-search-count:not(:empty) {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #858b95;
  margin-bottom: 20px;
}
.redesim-home-refresh.is-searching > .hero .dp-search-results {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1280px;
  margin: 16px auto 0;
}
.redesim-home-refresh.is-searching > .hero .dp-search-results[style*="none"] { display: none !important; }
.redesim-home-refresh.is-searching > .hero .dp-search-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 15px 21px;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(22,28,40,.04);
  color: #17171b;
}
.redesim-home-refresh.is-searching > .hero .dp-search-item:hover,
.redesim-home-refresh.is-searching > .hero .dp-search-item:focus-visible {
  border-color: #ef2720;
  background: #fff;
}
.redesim-home-refresh.is-searching > .hero .dp-search-item-flag,
.redesim-home-refresh.is-searching > .hero .dp-search-item-flag img {
  width: 36px;
  height: 27px;
  flex-basis: 36px;
}
/* Override the global 16x13px !important miniature flags only in search results. */
.redesim-home-refresh.is-searching > .hero .dp-search-item-flag {
  flex: 0 0 36px;
  overflow: hidden;
}
.redesim-home-refresh.is-searching > .hero .dp-search-item-flag img.countries-flag-mini {
  display: block !important;
  width: 36px !important;
  height: 27px !important;
  padding: 0 !important;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  object-fit: cover;
  box-sizing: border-box;
}
.redesim-home-refresh.is-searching > .hero .dp-search-item-info { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.redesim-home-refresh.is-searching > .hero .dp-search-item-name { font-size: 17px; font-weight: 700; }
.redesim-home-refresh.is-searching > .hero .dp-search-item-description { font-size: 13px; color: #818997; }
.redesim-home-refresh.is-searching > .hero .dp-search-item-arrow { margin-left: auto; color: #e9271e; font-size: 30px; line-height: 1; }
.redesim-home-refresh.is-searching > .hero .dp-no-result.show { text-align: center; }
@media (max-width: 767px) {
  .redesim-home-refresh.is-searching > .hero { padding: 18px 0 28px; }
  .redesim-home-refresh.is-searching > .hero .dp-search-panel { padding: 9px; border-radius: 18px; }
  .redesim-home-refresh.is-searching > .hero .dp-chips-label { margin-top: 23px; font-size: 24px; }
  .redesim-home-refresh.is-searching > .hero .dp-search-count:not(:empty) { margin-bottom: 17px; }
  .redesim-home-refresh.is-searching > .hero .dp-search-results {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
  .redesim-home-refresh.is-searching > .hero .dp-search-item { min-height: 70px; padding: 12px 15px; gap: 13px; border-radius: 14px; }
  .redesim-home-refresh.is-searching > .hero .dp-search-item-name { font-size: 16px; }
  .redesim-home-refresh.is-searching > .hero .dp-search-item-flag { width: 26px; height: 20px; flex: 0 0 26px; }
  .redesim-home-refresh.is-searching > .hero .dp-search-item-flag img.countries-flag-mini {
    width: 26px !important;
    height: 20px !important;
  }
}
