/* ==========================
   Container and Grid Layout
   ========================== */

.cr-esim-country-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.cr-country-region-banner {
  margin: 0 auto 50px auto;
  background-color: #D1DFED;
  border-radius: 20px;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--e-global-typography-primary-font-family);
}

.cr-country-region-banner h1{
    font-weight: 700;
}

.cr-back-button-container {
  text-align: center;
  margin-bottom: 30px;
}

.cr-back-button {
  display: inline-block;
  background-color: var(--e-global-color-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cr-back-button:hover {
  background-color: #000000;
  color: white;
}


/* ==========================
   Responsive Grid
   ========================== */

.cr-esim-packages-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  justify-items: stretch;
  padding-bottom: 1rem;
  width: 100%;
}

@media (min-width: 600px) {
  .cr-esim-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cr-esim-packages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================
   Package Cards
   ========================== */

.cr-package-card {
  background-color: #00b8a9;
  border-radius: 14px;
  padding: 20px;
  color: white;
  font-family: var(--e-global-typography-primary-font-family);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; /* Ensures full grid width usage */
  box-sizing: border-box;
}

/* ==========================
   Badge Styling
   ========================== */

.cr-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.cr-badge img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--e-global-color-primary);
  border: 2px solid white;
}

.cr-badge h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

/* ==========================
   Package Details
   ========================== */

.cr-package-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 13px;
}

.cr-package-details div {
  background: white;
  color: black;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
}

/* ==========================
   Buy Now Button
   ========================== */

.cr-buy-now {
  background-color: black;
  color: white;
  padding: 10px 0;
  width: 100%;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cr-buy-now:hover {
  background-color: black;
  color: white;
  text-decoration: none;
}