.premium-pricing-hero {
  padding: calc(var(--header-h, 60px) + 60px) 0 85px;
  background: linear-gradient(180deg, #FFF9EE 0, #FFFFFF 1050px, #FFFFFF 100%);
}

/* Reserve the duration row while JavaScript populates its scrollable buttons. */
#premiumPage #validityButtonsHost {
  flex: 1 1 0;
}

#premiumPage #validityButtonsHost:empty::before {
  height: 34px;
  content: "";
}

.premium-region-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin: 50px 0 20px;
}

.premium-catalog {
  height: 440px;
}

.premium-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 20px;
  padding: 20px;
}

.premium-country-card {
  display: flex;
  min-height: 93px;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 20px 10px 18.5px;
  border: 1px solid #DBD6C9;
  border-radius: 15px;
  cursor: pointer;
}

.premium-country-card:hover,
.premium-country-card:focus-within,
.premium-country-card.selected {
  border-color: #F2B840;
}

.premium-country-details,
.premium-country-quantity {
  display: flex;
  align-items: center;
}

.premium-country-details {
  min-width: 0;
  gap: 10px;
}

.premium-country-quantity {
  flex: 0 0 auto;
  align-self: flex-end;
  gap: 2px;
  margin-bottom: 10px;
}

.premium-country-flag {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid #E8E2D6;
  border-radius: 50%;
  background: #F4F4F4;
}

.premium-country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-country-price {
  margin-top: 3px;
  color: #F89C1D;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.premium-country-price span {
  margin-left: 2px;
  color: #777777;
  font-size: 0.7em;
  font-weight: 400;
}

.premium-country-original-price {
  display: block;
  color: #777;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.premium-country-quantity .qty-btn {
  width: 30px;
  height: 22px;
  flex: 0 0 auto;
}

#premiumPage .long-lasting-buy-button:disabled,
.premium-country-quantity .qty-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.premium-country-quantity .country-qty {
  width: 40px;
  min-width: 0;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1B0D00;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  outline: none;
  box-shadow: none;
}

.premium-order-line {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
  padding: 15px 10px 15px 20px;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  background: #FFFDF8;
}

.premium-order-line .premium-country-flag {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

@media (min-width: 1200px) {
  .premium-catalog {
    height: 638px;
  }

  .premium-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1360px) {
  .premium-country-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .premium-country-grid {
    padding: 30px;
  }
}

@media (max-width: 374px) {
  .premium-country-grid {
    padding: 12px;
  }
}
