.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;
    font-weight: 700 !important;
    font-size: 2rem;
    color: #222;
    font-family: var(--e-global-typography-primary-font-family);
}

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

.cr-esim-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(335px, 1fr));
    gap: 1rem;
    justify-items: center; /* Center items when fewer than max columns */
    padding-bottom: 1rem;
    width: 100%;
    font-family: var(--e-global-typography-primary-font-family), sans-serif !important;
}

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

/* Template page on Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .cr-esim-country-container {
    width: 97%;
    margin: 15px;
  }
}

/* Template page on Mobile Devices */
@media (max-width: 767px){
.cr-esim-country-container{
	width: 94%;
    margin: 10px 10px 10px 10px;
}
}

.cr-package-card {
    border-radius: 1rem;
    position: relative;
    text-align: left;
    line-height: 1em;

    /* UPDATED for responsiveness */
    width: 100%;
    max-width: 340px;
    background-color: #00b8a9;
    border-radius: 14px;
    padding: 20px;
    color: white;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.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: 600;
    color: white;
}

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

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

.cr-buy-now {
    background-color: black;
    color: white;
    padding: 10px 0;
    width: 100%;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.cr-buy-now:hover {
    color: #fff !important;
}
/* --- RESPONSIVE LAYOUT FIXES --- */

/* Tablet view */
@media (max-width: 1024px) {
    .cr-esim-packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile view - 1 per row, centered full width */
@media (max-width: 768px) {
    .cr-esim-packages-grid {
        grid-template-columns: 1fr;
    }

    .cr-package-card {
        max-width: 100%;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}