.cr-esim-packages-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Mobile default: 1 column */
  gap: 1rem;
  justify-items: stretch;
  padding-bottom: 1rem;
  margin-bottom: 50px;
  width: 100%;
}

.cr-esim-country-container {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

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

.cr-package-card {
  background: #FFFFFF80;
  border-radius: 1rem;
  width: 100%;
  border: var(--e-global-color-primary);
  box-shadow: 0 0.0625rem 0.3125rem rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.1875rem 1rem 1.25rem;
  position: relative;
  text-align: left;
  /* border: 0.0625rem solid var(--e-global-color-accent); */
  /* border: 1px solid;
  border-image-source: linear-gradient(146.33deg, var(--e-global-color-primary) 1.02%, #F8F8F8 99.02%);
  border-image-slice: 1; */
  font-family: var(--e-global-typography-primary-font-family);
  line-height: 1em;
}
.cr-package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px; /* Border thickness */
  border-radius: 12px;
  background: linear-gradient(146.33deg, var(--e-global-color-primary) 1.02%, #F8F8F8 99.02%);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: -1;
}

.cr-badge {
  position: absolute;
  top: -0.524rem;
  right: 0.75rem;
  width: 6.25rem;
  height: 4.805rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cr-badge-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.cr-badge h3{
  color: var(--e-global-color-secondary);
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 1.25rem !important;
}

.cr-flag-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cr-flag-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cr-flag-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  z-index: 2;
  border: 0.0625rem solid #fff;
}

.cr-flag-circle img {
  min-width: 100%;
  min-height: 100%;
  background: var(--e-global-color-accent);
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1.5;
}

.elementor-kit-10 h3 {
  font-size: 1.25rem !important;
  line-height: 1;
  font-weight: 800;
  padding-bottom: 2rem;
  border-bottom: 0.0625rem solid #5140A01F;
  border-bottom: 0.0625rem solid #2B84D41F;
  margin: 0;
}

.cr-package-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  color: var(--e-global-color-primary);
}

.cr-package-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 0.0625rem solid #2B84D41F;
}

.cr-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cr-icon-circle img {
  height: 30px;
}

.cr-package-details span {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1em;
  color: var(--e-global-color-text);
}

.cr-package-details strong {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1em;
  color: var(--e-global-color-text);
}

.cr-package-details strong.cr-price {
  font-weight: 800;
  font-size: 1.5rem;
}

.cr-package-card .cr-buy-now,
.cr-package-card button {
  background-color: var(--e-global-color-primary);
  color: white;
  border: none;
  outline: none;
  padding: 0.75rem;
  width: 100%;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1em;
  transition: background 0.3s;
  display: block; /* Make anchor behave like block element */
  text-align: center; /* Center text inside the link */
  text-decoration: none; /* Remove underline */
}

.cr-package-card .cr-buy-now:hover,
.cr-package-card button:hover {
  background-color: #000000;
}
/* Tablet (768px and up): 2 columns */
@media (min-width: 768px) {
  .cr-esim-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (1024px and up): 4 columns */
@media (min-width: 1024px) {
  .cr-esim-packages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


.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;
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

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