/* ===== BLOCK ===== */
.esim {
  padding-top: 40px;
  padding-bottom: 40px;
}

.esim .esim__title {
  text-align: center;
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 40px;
}

.esim .esim__highlight {
  color: var(--primary-color);
}

/* ===== LIST ===== */
.esim .esim__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* ===== ITEM ===== */
.esim .esim__item {
  border-radius: 14px;
  border: 2px solid #f5f5f8;
  background-color: var(--primary-background);
  transition: all 0.3s ease;
}

/* hover border tím */
.esim .esim__item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(106, 0, 255, 0.1);
}

/* inner flex */
.esim .esim__item-inner {
  display: flex;
  align-items: center;
  padding: 24px;
  gap: 10px;
  text-align: left;
}

/* flag */
.esim .esim__flag-wrapper {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
}

.esim .esim__flag {
  width: 50px;
  height: 50px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid #f5f5f8;
}

/* info */
.esim .esim__info {
  flex: 1;
}

.esim .esim__country {
  font-weight: 600;
  font-size: 18px;
  color: var(--text-black);
  margin-bottom: 4px;
}

.esim .esim__price {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-black);
}

.esim .esim__price span {
  color: var(--primary-color);
  /* font-weight: 600; */
}

/* Pagination spacing on products listing page */
.wrap-product .products-pagination {
  margin-top: 24px;
  margin-bottom: 32px;
}

/* ===== BUTTON ===== */
.esim .esim__action {
  text-align: center;
  margin-top: 40px;
}

.esim .esim__btn {
  padding: 12px 28px;
  border-radius: 99px;
  border: 2px solid var(--primary-color);
  background-color: transparent;
  font-size: 16px;
  color: var(--primary-color);
  font-weight: bolder;
  transition: 0.3s;
}

.esim .esim__btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .esim .esim__title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .esim .esim__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .header .header__main-inner {
    padding: 10px 0;
  }
}

@media (max-width: 768px) {
  .esim .esim__title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .esim .esim__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .esim .esim__title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .esim .esim__item-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .esim .esim__flag-wrapper {
    width: 50px;
    flex: 0 0 auto;
    height: 50px;
  }

  .esim .esim__info {
    width: 100%;
    flex: 0 0 auto;
    text-align: center;
  }

  .esim .esim__flag-wrapper .esim__flag {
    display: block;
    width: 50px;
    height: 50px;
  }
}
