/* eSIM store and order pages (/esim/, /en/esim/). Loaded after style.css and blog.css. */

.es-finder {
    max-width: 960px;
    margin: 0 auto 32px;
    padding: 28px;
    border-radius: 28px;
    /* Istanbul skyline (Unsplash, Spenser Sembrat) under a dark overlay */
    background:
        linear-gradient(180deg, rgba(11, 21, 48, 0.9) 0%, rgba(11, 21, 48, 0.78) 60%, rgba(11, 21, 48, 0.62) 100%),
        url('/assets/esim-istanbul.jpg') center 80% / cover no-repeat,
        #0b1530;
    color: white;
}

.es-where {
    display: block;
    font: 600 20px 'Onest', sans-serif;
    margin-bottom: 12px;
}

#esCountry {
    width: 100%;
    font: 500 17px 'Onest', sans-serif;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

#esCountry::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.es-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.es-chip {
    font: 600 13px 'Onest', sans-serif;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
}

.es-chip:hover {
    background: rgba(255, 255, 255, 0.16);
}

.es-msg {
    min-height: 20px;
    margin: 12px 0 0;
    font-size: 14px;
    color: #fcd34d;
}

.es-results,
.es-mine {
    max-width: 960px;
    margin: 0 auto 40px;
}

.es-results h2,
.es-mine h2 {
    font: 600 24px 'Onest', sans-serif;
    margin-bottom: 16px;
}

.es-results h3 {
    font: 600 19px 'Onest', sans-serif;
    margin: 28px 0 14px;
}

.es-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.es-plan {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--border-gray);
    border-radius: 18px;
    background: white;
}

.es-plan-main strong {
    display: block;
    font: 600 26px 'Onest', sans-serif;
    color: var(--text-dark);
}

.es-plan-main span,
.es-plan-region,
.es-plan-start {
    font-size: 14px;
    color: var(--text-muted);
}

.es-plan-region {
    font-weight: 600;
    color: var(--rrugo-blue);
}

.es-plan-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.es-price {
    font: 600 20px 'Onest', sans-serif;
}

.es-buy {
    font: 600 15px 'Onest', sans-serif;
    color: white;
    background: var(--rrugo-blue);
    border: 0;
    border-radius: 999px;
    padding: 9px 20px;
    cursor: pointer;
}

.es-buy:hover {
    filter: brightness(1.1);
}

.es-note,
.es-empty {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

.es-mine ul {
    padding-left: 18px;
}

.es-mine li {
    margin-bottom: 6px;
}

.es-steps {
    padding-left: 20px;
}

.es-steps li {
    margin-bottom: 12px;
}

.es-steps strong {
    display: block;
}

.es-faq {
    border-bottom: 1px solid var(--border-gray);
    padding: 14px 0;
}

.es-faq summary {
    font-weight: 700;
    cursor: pointer;
}

.es-faq p {
    margin: 10px 0 0;
}

.es-find {
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 22px;
    border-radius: 20px;
    background: var(--light-gray);
}

.es-find h2 {
    font: 600 22px 'Onest', sans-serif;
    margin: 0 0 6px;
}

.es-find-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.es-find-row input {
    flex: 1 1 220px;
    font: 500 16px 'Onest', sans-serif;
    padding: 11px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    background: white;
}

.es-find-msg {
    min-height: 20px;
    margin: 10px 0 0;
    font-size: 14px;
}

/* Purchase dialog */
.es-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.55);
}

.es-modal[hidden] {
    display: none;
}

.es-dialog {
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px;
    border-radius: 22px;
    background: white;
}

.es-dialog h2 {
    font: 600 22px 'Onest', sans-serif;
    margin: 0 0 10px;
}

.es-picked {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--light-gray);
    margin-bottom: 16px;
    font-size: 15px;
}

.es-dialog label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.es-dialog input[type="email"],
.es-gift input[type="text"] {
    width: 100%;
    font: 500 16px 'Onest', sans-serif;
    padding: 12px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
}

.es-dialog small {
    display: block;
    color: var(--text-muted);
    margin: 6px 0 14px;
}

.es-dialog .es-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 500;
    font-size: 14px;
}

.es-check input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex: none;
}

.es-error {
    min-height: 20px;
    color: #dc2626;
    font-size: 14px;
    margin: 10px 0;
}

.es-pay {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font: 600 17px 'Onest', sans-serif;
    color: white;
    background: var(--rrugo-blue);
    border: 0;
    border-radius: 999px;
    padding: 14px;
    cursor: pointer;
}

.es-pay:disabled {
    opacity: 0.7;
    cursor: wait;
}

.es-cancel {
    display: block;
    width: 100%;
    margin-top: 8px;
    font: 600 15px 'Onest', sans-serif;
    color: var(--text-muted);
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
}

.es-secure {
    font-size: 13px;
    color: var(--text-muted);
    margin: 8px 0 0;
}

.es-secure.es-guarantee {
    color: var(--text-dark);
    font-weight: 600;
}

/* Order page */
.es-order h1 {
    font: 600 30px 'Onest', sans-serif;
    margin: 8px 0 12px;
}

.es-order-plan {
    font-size: 17px;
}

.es-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
    font-size: 14px;
}

.es-save,
.es-small {
    color: var(--text-muted);
    font-size: 14px;
}

.es-partner-line {
    margin-top: 28px;
}

.es-ios {
    max-width: 320px;
    margin-top: 16px;
}

.es-qr {
    display: block;
    width: 220px;
    height: 220px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
}

.es-codes > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.es-codes span {
    width: 100%;
    font-size: 13px;
    color: var(--text-muted);
}

.es-codes code {
    flex: 1;
    min-width: 0;
    word-break: break-all;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--light-gray);
    font-size: 14px;
}

.es-copy {
    font: 600 13px 'Onest', sans-serif;
    color: var(--rrugo-blue);
    background: #eef4ff;
    border: 0;
    border-radius: 999px;
    padding: 7px 14px;
    cursor: pointer;
}

.es-usage {
    margin-top: 20px;
}

.es-bar {
    height: 10px;
    border-radius: 999px;
    background: var(--light-gray);
    overflow: hidden;
}

.es-bar i {
    display: block;
    height: 100%;
    background: var(--rrugo-blue);
}

@media (max-width: 600px) {
    .es-finder {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .es-plans {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .es-plan {
        padding: 14px;
    }

    .es-plan-main strong {
        font-size: 22px;
    }

    .es-plan-buy {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .es-buy {
        width: 100%;
    }
}

/* Filters */
.es-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 20px;
}

.es-filters[hidden] {
    display: none;
}

.es-filter > span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.es-seg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.es-seg button {
    font: 600 13px 'Onest', sans-serif;
    color: var(--text-dark);
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
}

.es-seg button.on {
    color: white;
    background: var(--rrugo-blue);
    border-color: var(--rrugo-blue);
}

.es-plan-pergb {
    font-size: 13px;
    color: var(--text-muted);
}

.es-buy.is-added {
    background: var(--success-green);
}

/* Floating cart */
.es-cartbtn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--rrugo-blue);
    color: white;
    font: 600 16px 'Onest', sans-serif;
    box-shadow: 0 10px 30px rgba(30, 98, 207, 0.35);
    cursor: pointer;
}

.es-cartbtn[hidden] {
    display: none;
}

.es-cartbtn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.es-cartcount {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: white;
    color: var(--rrugo-blue);
    font-size: 13px;
    line-height: 22px;
    text-align: center;
}

.es-cartbtn.bump {
    animation: es-bump 0.35s ease;
}

@keyframes es-bump {
    50% { transform: scale(1.08); }
}

.es-cartlist {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.es-cartlist li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
}

.es-ci-info {
    flex: 1 1 180px;
}

.es-ci-info strong {
    display: block;
}

.es-ci-info span,
.es-ci-empty {
    font-size: 14px;
    color: var(--text-muted);
}

.es-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.es-qty button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-gray);
    background: white;
    font: 600 18px 'Onest', sans-serif;
    line-height: 1;
    cursor: pointer;
}

.es-ci-remove {
    font: 600 13px 'Onest', sans-serif;
    color: #dc2626;
    background: none;
    border: 0;
    cursor: pointer;
}

.es-carttotalrow {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    margin: 12px 0 18px;
}

/* Order page with several eSIMs */
.es-esim {
    padding: 18px 0;
    border-top: 1px solid var(--border-gray);
}

.es-num {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--rrugo-blue);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .es-cartbtn {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: center;
    }

    .es-filters {
        gap: 10px;
    }
}

/* Room for the floating cart / buy bar goes inside the footer (its colour), not as white space below it. */
body.es-has-cart footer {
    padding-bottom: 108px;
}

@media (max-width: 600px) {
    .es-filters {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .es-filter {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .es-filter > span {
        flex: none;
        width: 84px;
        margin: 0;
        font-size: 11px;
    }

    .es-seg {
        flex: 1;
        min-width: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .es-seg::-webkit-scrollbar {
        display: none;
    }

    .es-seg button {
        flex: none;
        white-space: nowrap;
    }
}

/* Filter toolbar with dropdowns (replaces the pill rows above) */
.es-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-gray);
}

.es-toolbar[hidden] {
    display: none;
}

.es-toolbar-filters,
.es-toolbar-sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.es-select {
    appearance: none;
    -webkit-appearance: none;
    font: 600 14px 'Onest', sans-serif;
    color: var(--text-dark);
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid var(--border-gray);
    border-radius: 999px;
    padding: 9px 34px 9px 14px;
    cursor: pointer;
}

.es-select:hover {
    border-color: #94a3b8;
}

.es-select.on {
    color: var(--rrugo-blue);
    border-color: var(--rrugo-blue);
    background-color: #eef4ff;
}

.es-clear {
    font: 600 14px 'Onest', sans-serif;
    color: var(--rrugo-blue);
    background: none;
    border: 0;
    padding: 6px 4px;
    cursor: pointer;
    text-decoration: underline;
}

.es-count {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .es-toolbar,
    .es-toolbar-sort {
        width: 100%;
    }

    .es-toolbar-filters {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .es-toolbar-filters .es-select {
        min-width: 0;
        width: 100%;
        padding-left: 12px;
        padding-right: 28px;
        background-position: right 9px center;
        font-size: 13px;
    }

    .es-clear {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .es-toolbar-sort {
        justify-content: space-between;
    }
}

/* All countries A-Z */
.es-all {
    max-width: 960px;
    margin: 0 auto 40px;
}

.es-all h2 {
    font: 600 24px 'Onest', sans-serif;
    margin-bottom: 6px;
}

.es-all-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    column-gap: 24px;
}

.es-all-list li {
    break-inside: avoid;
    padding: 5px 0;
}

.es-all-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
}

.es-all-list a:hover {
    color: var(--rrugo-blue);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .es-all-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
    }
}

/* Promo code in the cart */
.es-promo {
    margin: 4px 0 6px;
}

.es-promo label {
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.es-promo-row {
    display: flex;
    gap: 8px;
}

.es-promo-row input {
    flex: 1;
    min-width: 0;
    font: 600 15px 'Onest', sans-serif;
    text-transform: uppercase;
    padding: 10px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
}

.es-promo-btn {
    font: 600 14px 'Onest', sans-serif;
    color: var(--rrugo-blue);
    background: #eef4ff;
    border: 0;
    border-radius: 12px;
    padding: 0 16px;
    cursor: pointer;
}

.es-promo-msg {
    min-height: 18px;
    margin: 6px 0 0;
    font-size: 13px;
}

.es-promo-msg.ok {
    color: #15803d;
}

.es-promo-msg.bad {
    color: #dc2626;
}

.es-discountrow {
    margin: 4px 0 0;
    color: #15803d;
}

/* Destination landing pages */
.es-dest {
    max-width: 960px;
    margin: 0 auto 40px;
}

.es-dest h2 {
    font: 600 24px 'Onest', sans-serif;
    margin-bottom: 8px;
}

.es-dest-net {
    color: var(--text-muted);
}

.es-dest-table {
    width: 100%;
    border-collapse: collapse;
}

.es-dest-table th,
.es-dest-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-gray);
}

/* Welcome offer banner */
.es-offer {
    margin: 16px 0 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
    font-size: 14px;
}

.es-offer[hidden] {
    display: none;
}

.es-offer strong {
    color: white;
}

/* Country flags */
.es-flag {
    display: inline-block;
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 7px;
    vertical-align: -2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.es-flag-lg {
    width: 36px;
    height: 27px;
    margin-right: 12px;
    vertical-align: -1px;
    border-radius: 4px;
}

.es-chip .es-flag {
    width: 18px;
    height: 13px;
    margin-right: 6px;
}

/* Data left + refresh on the order page */
.es-usage {
    margin: 14px 0 6px;
    padding: 16px;
    border-radius: 16px;
    background: var(--light-gray);
}

.es-usage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.es-left-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.es-left {
    font: 600 30px 'Onest', sans-serif;
    color: var(--text-dark);
}

.es-refresh {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-gray);
    background: white;
    color: var(--rrugo-blue);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.es-refresh svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.es-refresh.spin svg {
    animation: es-spin 0.9s linear infinite;
}

@keyframes es-spin {
    to { transform: rotate(360deg); }
}

.es-usage p {
    margin: 8px 0 0;
}

/* Buttons that are links inside articles keep their own colours (blog link styles make them blue on blue). */
.post a.es-pay,
.post a.es-pay:hover {
    color: white;
    text-decoration: none;
}

.es-usage .es-bar {
    background: var(--border-gray);
}

.es-demo {
    padding: 10px 14px;
    border-radius: 12px;
    background: #fef3c7;
    color: #92400e;
    font-size: 14px;
    font-weight: 600;
}

/* Countries: top destinations, then a folded A-Z list */
.es-all-sub {
    font: 600 17px 'Onest', sans-serif;
    margin: 20px 0 10px;
}

.es-top-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
}

.es-top-list a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
}

.es-top-list a:hover {
    border-color: var(--rrugo-blue);
    color: var(--rrugo-blue);
}

.es-all-wrap {
    position: relative;
}

.es-all-wrap.is-folded {
    max-height: 190px;
    overflow: hidden;
}

.es-all-wrap.is-folded::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 90%);
    pointer-events: none;
}

.es-all-more {
    display: block;
    margin: 12px auto 0;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-gray);
    background: white;
    color: var(--rrugo-blue);
    font: 600 15px 'Onest', sans-serif;
    cursor: pointer;
}

.es-all-more:hover {
    border-color: var(--rrugo-blue);
}

@media (max-width: 600px) {
    .es-top-list {
        grid-template-columns: 1fr 1fr;
    }

    .es-top-list a {
        font-size: 14px;
        padding: 9px 10px;
    }
}

/* Compatibility row and features */
.es-compat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
}

.es-compat-row svg,
.es-feats svg {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: var(--rrugo-blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.es-compat-arrow {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 20px;
}

.es-feats {
    list-style: none;
    padding: 16px;
    margin: 22px 0 0;
    border-radius: 16px;
    background: var(--light-gray);
}

.es-feats li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 5px 0;
    font-size: 15px;
}

/* Selectable plans (radio mark and sticky buy bar on phones) */
.es-plan[data-sel] {
    cursor: pointer;
}

.es-radio,
.es-buybar {
    display: none;
}

@media (max-width: 600px) {
    .es-plans {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .es-plan {
        display: grid;
        grid-template-columns: 22px 1fr auto;
        align-items: center;
        column-gap: 12px;
        row-gap: 2px;
        padding: 14px 16px;
        border-width: 1.5px;
    }

    .es-plan.is-sel {
        border-color: var(--rrugo-blue);
        background: #eef4ff;
    }

    .es-radio {
        display: block;
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 2px solid var(--border-gray);
    }

    .es-plan.is-sel .es-radio {
        border-color: var(--rrugo-blue);
        background: radial-gradient(circle, var(--rrugo-blue) 0 5px, transparent 6px);
    }

    .es-plan-main {
        grid-column: 2;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .es-plan-main strong {
        font-size: 20px;
    }

    .es-plan-region,
    .es-plan-start {
        grid-column: 2;
        font-size: 13px;
    }

    .es-plan-pergb {
        display: none;
    }

    .es-plan-buy {
        grid-column: 3;
        grid-row: 1 / span 3;
        padding: 0;
        margin: 0;
        flex-direction: row;
    }

    .es-plan-buy .es-buy {
        display: none;
    }

    .es-price {
        font-size: 19px;
    }

    .es-buybar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1400;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
    }

    .es-buybar[hidden],
    .es-buybar.is-off {
        display: none;
    }

    .es-buybar-btn {
        width: 100%;
        padding: 15px;
        border: 0;
        border-radius: 999px;
        background: var(--rrugo-blue);
        color: white;
        font: 600 16px 'Onest', sans-serif;
        cursor: pointer;
    }

    .es-cartbtn {
        bottom: 86px;
    }

    footer {
        padding-bottom: 108px;
    }
}

.es-dest-details {
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    padding: 12px 16px;
}

.es-dest-details summary {
    cursor: pointer;
    font-weight: 700;
}

.es-dest-details[open] summary {
    margin-bottom: 10px;
}

/* Store landing: search row, ticks, flag stack */
.es-search-row {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.es-search-row #esCountry {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 12px;
}

.es-search-row #esCountry:focus {
    outline: none;
}

.es-search-btn {
    flex: none;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--rrugo-blue);
    color: white;
    font: 600 15px 'Onest', sans-serif;
    cursor: pointer;
}

.es-ticks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 0;
    margin: 14px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.es-ticks li::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 6px;
    margin-right: 8px;
    border-left: 2px solid #4ade80;
    border-bottom: 2px solid #4ade80;
    transform: rotate(-45deg) translateY(-3px);
}

.es-flagstack {
    display: flex;
    align-items: center;
    margin-top: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.es-flagstack img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0b1530;
    margin-right: -8px;
}

.es-flagstack span {
    margin-left: 18px;
    font-weight: 600;
}

/* Round flags in cards */
.es-rflag {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
    flex: none;
}

/* Best offers carousel */
.es-offers,
.es-pop {
    max-width: 960px;
    margin: 0 auto 40px;
}

.es-offers h2,
.es-pop h2 {
    font: 600 24px 'Onest', sans-serif;
    margin-bottom: 4px;
}

.es-offers > p {
    color: var(--text-muted);
    margin: 0 0 14px;
}

.es-offer-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.es-offer-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    border-radius: 20px;
    background: #0b1530;
    color: white;
}

.es-offer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
}

.es-tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 700;
}

.es-offer-name {
    font-weight: 700;
    font-size: 17px;
}

.es-offer-price {
    font: 600 26px 'Onest', sans-serif;
}

.es-offer-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.es-offer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: #93c5fd;
}

.es-offer-btn {
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--rrugo-blue);
    color: white;
    font: 600 14px 'Onest', sans-serif;
    cursor: pointer;
}

/* Most searched destinations */
.es-pop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.es-pop-grid.is-folded .es-pop-extra {
    display: none;
}

.es-pop-card {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    grid-template-areas: "flag text price" "flag text go";
    align-items: center;
    column-gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 18px;
    color: var(--text-dark);
    text-decoration: none;
}

.es-pop-card:hover {
    border-color: var(--rrugo-blue);
}

.es-pop-card .es-rflag {
    grid-area: flag;
}

.es-pop-text {
    grid-area: text;
    display: flex;
    flex-direction: column;
}

.es-pop-text small,
.es-pop-price small {
    font-size: 12px;
    color: var(--text-muted);
}

.es-pop-text strong {
    font-size: 16px;
}

.es-pop-price {
    grid-area: price;
    text-align: right;
    font-weight: 800;
    font-size: 17px;
}

.es-pop-go {
    grid-area: go;
    justify-self: end;
    font-size: 13px;
    font-weight: 700;
    color: var(--rrugo-blue);
}

/* Offer cards: city photo behind, darkened towards the bottom so price and button stay readable */
.es-offer-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.es-offer-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.es-offer-card.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 21, 48, 0.3) 0%, rgba(11, 21, 48, 0.72) 42%, rgba(11, 21, 48, 0.94) 100%);
}

.es-offer-card.has-bg .es-offer-name,
.es-offer-card.has-bg .es-offer-price {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.es-offer-card.has-bg .es-offer-meta {
    color: rgba(255, 255, 255, 0.88);
}

.es-offer-card.has-bg .es-tag {
    background: rgba(11, 21, 48, 0.6);
    backdrop-filter: blur(4px);
}

.es-offer-card.has-bg .es-rflag {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
    border-radius: 50%;
}


/* Order page: add data (top-ups) */
.es-topup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 12px 0 4px;
    padding: 13px 16px;
    border: 1.5px solid var(--rrugo-blue);
    border-radius: 12px;
    background: #eff6ff;
    color: var(--rrugo-blue);
    font: 600 15px 'Onest', sans-serif;
    cursor: pointer;
}

.es-topup-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
}

.es-topup-panel {
    margin: 12px 0 4px;
    padding: 16px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #f8fafc;
}

.es-topup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.es-topup-head h3 {
    margin: 0;
    font-size: 17px;
}

.es-topup-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #e2e8f0;
    color: #334155;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.es-topup-list {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.es-topup-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
}

.es-topup-row.is-on {
    border-color: var(--rrugo-blue);
    background: #eff6ff;
}

.es-topup-row input {
    accent-color: var(--rrugo-blue);
    width: 18px;
    height: 18px;
    margin: 0;
}

.es-topup-row span {
    flex: 1;
    color: #475569;
    font-size: 14px;
}

.es-topup-row span strong {
    margin-right: 6px;
    color: #0f172a;
    font-size: 16px;
}

.es-topup-row b {
    font-size: 16px;
}

.es-topup-pay {
    width: 100%;
    margin-top: 4px;
}

.es-topup-state {
    margin: 10px 0 0;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.es-topup-state.is-busy {
    background: #fef9c3;
    color: #854d0e;
}

.es-topup-state.is-ok {
    background: #dcfce7;
    color: #166534;
}

.es-topup-state.is-bad {
    background: #fee2e2;
    color: #991b1b;
}


/* Cart: gift */
.es-gift-toggle {
    margin-top: 6px;
}

.es-gift {
    display: grid;
    gap: 6px;
    margin: 4px 0 6px;
    padding: 12px;
    border: 1px solid var(--border-gray, #e5e7eb);
    border-radius: 12px;
    background: #f8fafc;
}

.es-gift[hidden] {
    display: none;
}

.es-gift-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.es-gift-row > div {
    display: grid;
    gap: 6px;
}

.es-gift textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-gray, #e5e7eb);
    border-radius: 10px;
    font: 15px 'Onest', sans-serif;
    resize: vertical;
}

@media (max-width: 420px) {
    .es-gift-row {
        grid-template-columns: 1fr;
    }
}

/* The store home has an editorial layout; destination and order layouts stay independent. */
.es-landing { padding-top: 116px; background: #fff; }
.es-landing > .container { max-width: 1248px; }
.es-landing-hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 32px 0 64px;
}
.es-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--rrugo-blue); font-size: 13px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px;
}
.es-hero-eyebrow > span { font-size: 23px; }
.es-hero-copy h1 {
    font: 600 clamp(38px, 4.5vw, 64px)/1.06 'Onest', sans-serif;
    letter-spacing: -.045em; margin: 0 0 22px;
}
.es-hero-copy h1 em { color: var(--rrugo-blue); font-style: normal; }
.es-hero-lead { max-width: 500px; font-size: 16px; color: #52617a; line-height: 1.75; }
.es-landing .es-finder { max-width: none; margin: 26px 0 12px; padding: 0; background: none; color: var(--text-dark); }
.es-landing .es-where { font: 600 15px 'Onest', sans-serif; margin-bottom: 10px; }
.es-landing .es-search-row { border-radius: 16px; background: #fff; border: 1px solid #b8c7dc; padding: 6px; box-shadow: 0 6px 24px #1636630a; }
.es-landing .es-search-row:focus-within { outline: 3px solid #d8e7ff; border-color: var(--rrugo-blue); }
.es-landing .es-search-row #esCountry { color: var(--text-dark); font-size: 15px; padding: 12px; }
.es-landing #esCountry::placeholder { color: #77849a; }
.es-landing .es-search-btn { border-radius: 11px; padding: 12px 24px; }
.es-landing .es-ticks { color: #52617a; font-size: 12px; gap: 8px 16px; margin-top: 16px; }
.es-landing .es-ticks li::before { border-color: #14866a; }
.es-landing .es-flagstack { display: none; }
.es-landing .es-msg:empty { display: none; }
.es-landing .es-offer { background: #eff5ff; color: #184d9f; border-color: #d5e3f9; }
.es-landing .es-offer strong { color: inherit; }
.es-hero-compat { display: inline-block; margin-top: 6px; color: #52617a; font-size: 12px; text-underline-offset: 4px; }
.es-hero-visual { position: relative; min-width: 0; margin: 0 12px 20px 0; }
.es-hero-photo { display: block; width: 100%; height: 450px; object-fit: cover; object-position: 58% center; border-radius: 110px 24px 24px 24px; }
.es-hero-visual::after { content: ''; position: absolute; inset: 0; border-radius: 110px 24px 24px 24px; background: linear-gradient(transparent 50%, #0b153099); pointer-events: none; }
.es-hero-stamp {
    position: absolute; z-index: 1; top: 30px; right: -16px; width: 114px; height: 138px;
    padding: 18px; background: #d6f880; color: #16381b; border-radius: 18px;
    transform: rotate(9deg); box-shadow: 0 8px 24px #0b153025;
    font: 600 14px 'Onest', sans-serif;
}
.es-hero-stamp > span { display: block; font-size: 28px; }
.es-hero-stamp svg { width: 34px; height: 34px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; margin-top: 6px; }
.es-hero-caption { position: absolute; z-index: 1; left: 28px; bottom: 78px; color: white; }
.es-hero-caption > span { display: block; font-size: 13px; opacity: .85; }
.es-hero-caption > strong { font: 600 30px 'Onest', sans-serif; }
.es-hero-plan {
    position: absolute; z-index: 2; bottom: -24px; left: 24px; right: 24px;
    display: flex; align-items: center; gap: 12px; text-align: left;
    padding: 18px; border: 1px solid #e2e8f0; background: white; border-radius: 18px;
    box-shadow: 0 12px 32px #0b153014; color: var(--text-dark); cursor: pointer;
    font-family: 'Onest', sans-serif;
}
.es-hero-plan > span { min-width: 0; }
.es-hero-plan small { display: block; font-size: 12px; color: #52617a; margin-bottom: 3px; }
.es-hero-plan strong { font-size: 19px; white-space: nowrap; }
.es-hero-plan strong span { font-size: 12px; font-weight: 400; }
.es-hero-plan .es-hero-plan-price { margin-left: auto; font-size: 22px; font-weight: 800; text-align: right; white-space: nowrap; }
.es-hero-plan-price small { color: var(--rrugo-blue); margin: 3px 0 0; }
.es-landing .es-offers, .es-landing .es-pop, .es-landing .es-regions,
.es-landing .es-all, .es-landing .es-find, .es-landing .es-results, .es-landing .es-mine { max-width: none; margin-bottom: 64px; }
.es-landing .es-offers h2, .es-landing .es-pop h2, .es-landing .es-regions h2,
.es-landing .es-all h2, .es-setup h2 { font: 600 32px/1.2 'Onest', sans-serif; letter-spacing: -.025em; margin-bottom: 10px; }
.es-landing .es-offers > p, .es-landing .es-regions > p { margin-bottom: 24px; }
.es-landing .es-offer-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; overflow: visible; }
.es-landing .es-offer-card { padding: 0; gap: 0; color: var(--text-dark); background: white; border: 1px solid #e0e6ef; border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.es-landing .es-offer-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #0b153012; }
.es-landing .es-offer-bg { height: 164px; z-index: -2; }
.es-landing .es-offer-card.has-bg::before { height: 164px; background: linear-gradient(180deg, #0b15301a 30%, #0b1530bb); }
.es-landing .es-offer-top { padding: 18px; height: 106px; margin: 0; }
.es-landing .es-offer-card.has-bg .es-tag { background: white; color: #174f9f; backdrop-filter: none; }
.es-landing .es-offer-name { color: white; font: 600 25px 'Onest', sans-serif; text-shadow: 0 2px 6px #0006; padding: 0 20px 16px; height: 58px; }
.es-landing .es-offer-card.has-bg .es-offer-price { color: var(--text-dark); text-shadow: none; }
.es-landing .es-offer-card.has-bg .es-offer-meta { color: #52617a; }
.es-landing .es-offer-meta { display: flex; align-items: center; gap: 12px; padding: 20px 20px 4px; }
.es-landing .es-offer-meta strong { color: var(--text-dark); font: 600 24px 'Onest', sans-serif; }
.es-landing .es-offer-meta > span { padding-left: 12px; border-left: 1px solid #dce2eb; }
.es-landing .es-offer-meta .es-info-btn { margin: 0 0 0 auto; width: 36px; height: 36px; }
.es-landing .es-offer-price { font: 600 30px 'Onest', sans-serif; padding: 0 20px; }
.es-landing .es-offer-bottom { border-color: #e8edf4; color: #52617a; margin: 16px 20px 0; padding: 14px 0 18px; }
.es-landing .es-offer-btn { border-radius: 10px; padding: 10px 22px; }
.es-landing .es-regions { padding: 32px; background: #f0f5fd; border-radius: 24px; }
.es-landing .es-reg-card { background: white; border-color: #dce6f5; border-radius: 16px; padding: 22px; text-align: left; transition: border-color .2s, transform .2s; }
.es-landing .es-reg-card:hover { transform: translateY(-3px); border-color: var(--rrugo-blue); }
.es-landing .es-reg-flags { margin-bottom: 18px; }
.es-landing .es-reg-card strong { font: 600 20px 'Onest', sans-serif; }
.es-landing .es-pop-grid { gap: 14px; margin-top: 24px; }
.es-landing .es-pop-card { background: #fff; border-radius: 14px; padding: 20px 16px; }
.es-setup { margin-bottom: 64px; }
.es-section-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--rrugo-blue); text-transform: uppercase; margin-bottom: 8px; }
.es-setup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 26px 0 0; }
.es-setup-grid li { border-top: 1px solid #dce3ed; padding-top: 24px; }
.es-setup-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.es-setup-top svg { width: 48px; height: 48px; padding: 10px; stroke: var(--rrugo-blue); stroke-width: 1.6; fill: none; background: #eef4ff; border-radius: 14px; }
.es-setup-top span { color: #8392a8; font: 500 28px 'Onest', sans-serif; }
.es-setup-grid h3 { font: 600 21px 'Onest', sans-serif; margin-bottom: 10px; }
.es-setup-grid p { color: #52617a; font-size: 14px; line-height: 1.8; }
.es-landing .es-all { padding-top: 32px; border-top: 1px solid #e2e8f0; }
.es-landing .es-find { padding: 28px; border: 1px solid #dce6f5; background: #f0f5fd; }
.es-landing .es-info { max-width: 840px; margin: 0 auto; }
.es-landing #compat { scroll-margin-top: 110px; }
.es-device-banner {
    display: grid; grid-template-columns: 72px 1fr; gap: 28px;
    padding: 32px; margin: 0 auto 56px; border: 1px solid #dae6f8;
    border-radius: 24px; background: #f0f5fd; scroll-margin-top: 110px;
}
.es-device-icon { display: grid; place-items: center; width: 72px; height: 72px; background: white; border-radius: 20px; }
.es-device-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--rrugo-blue); stroke-width: 1.6; }
.es-device-banner h2 { font: 600 30px/1.2 'Onest', sans-serif; letter-spacing: -.025em; margin: 0 0 12px; }
.es-device-banner p { color: #52617a; font-size: 15px; line-height: 1.8; margin: 0 0 20px; }
.es-device-cta { display: inline-flex; align-items: center; gap: 20px; padding: 12px 20px; border-radius: 12px; background: var(--rrugo-blue); color: white; text-decoration: none; font: 600 14px 'Onest', sans-serif; }
.es-device-cta:hover { filter: brightness(1.1); }
.es-landing button:focus-visible, .es-landing a:focus-visible { outline: 3px solid #92baff; outline-offset: 4px; }

@media (max-width: 1000px) {
    .es-landing-hero { gap: 28px; }
    .es-hero-photo { height: 430px; }
    .es-hero-plan { left: 12px; right: 12px; padding: 14px; gap: 8px; }
    .es-hero-plan .es-rflag { width: 32px; height: 32px; }
    .es-hero-plan strong { font-size: 16px; }
    .es-hero-plan strong span { display: block; }
    .es-hero-plan .es-hero-plan-price { font-size: 19px; }
    .es-landing .es-reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .es-landing { padding-top: 96px; }
    .es-landing-hero { grid-template-columns: 1fr; gap: 28px; padding: 12px 0 48px; }
    .es-hero-copy h1 { font-size: clamp(36px, 7.5vw, 54px); }
    .es-hero-eyebrow { margin-bottom: 16px; font-size: 11px; }
    .es-hero-lead { max-width: none; font-size: 15px; }
    .es-hero-visual { margin: 0 8px 20px 0; }
    .es-hero-photo { height: 300px; border-top-left-radius: 70px; }
    .es-hero-visual::after { border-top-left-radius: 70px; }
    .es-hero-stamp { top: 18px; width: 92px; height: 112px; padding: 14px; }
    .es-hero-stamp > span { font-size: 23px; }
    .es-hero-stamp svg { width: 25px; height: 25px; }
    .es-hero-plan strong span { display: inline; }
    .es-landing .es-offer-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .es-landing .es-offers h2, .es-landing .es-pop h2, .es-landing .es-regions h2,
    .es-landing .es-all h2, .es-setup h2 { font-size: 28px; }
    .es-landing .es-regions { padding: 24px; }
    .es-setup-grid { gap: 20px; }
    .es-setup-grid h3 { font-size: 18px; }
}
@media (max-width: 480px) {
    .es-device-banner { grid-template-columns: 1fr; padding: 24px; gap: 20px; margin-bottom: 44px; }
    .es-device-banner h2 { font-size: 26px; }
    .es-device-icon { width: 56px; height: 56px; border-radius: 16px; }
    .es-landing > .container { padding: 0 20px; }
    .es-landing .es-search-btn { padding: 12px 18px; }
    .es-landing .es-ticks { gap: 7px 12px; font-size: 11px; }
    .es-hero-plan strong span { font-size: 11px; }
    .es-landing .es-offer-row {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
        gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px;
    }
    .es-landing .es-offer-bg, .es-landing .es-offer-card.has-bg::before { height: 180px; }
    .es-landing .es-offer-top { height: 122px; }
    .es-landing .es-regions { padding: 22px 16px; }
    .es-landing .es-reg-grid { gap: 10px; }
    .es-landing .es-reg-card { padding: 16px 12px; }
    .es-landing .es-reg-card strong { font-size: 18px; }
    .es-setup-grid { grid-template-columns: 1fr; gap: 24px; }
    .es-setup-grid li { padding-top: 18px; }
    .es-setup-top { margin-bottom: 14px; }
    .es-landing .es-find { padding: 22px; }
    .es-landing .es-offers, .es-landing .es-pop, .es-landing .es-regions,
    .es-landing .es-all, .es-landing .es-find, .es-setup { margin-bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .es-landing .es-offer-card, .es-landing .es-reg-card { transition: none; }
}

/* Order page: give 3 €, get 3 € */
.es-ref {
    margin: 22px 0 8px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1e62cf, #0b1530);
    color: white;
}

.es-ref h2 {
    margin: 0 0 6px;
    color: white;
    font-size: 21px;
}

.es-ref p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.9);
}

.es-ref-code {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
}

.es-ref-code code {
    flex: 1;
    color: white;
    font: 600 20px 'Onest', monospace;
    letter-spacing: 0.04em;
    background: none;
}

.es-ref .es-copy {
    background: white;
    color: #0b1530;
}

.es-ref-wa {
    display: inline-block;
    margin-top: 10px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #25d366;
    color: #06291a !important;
    font-weight: 700;
    text-decoration: none;
}

.es-ref .es-ref-credit {
    margin: 12px 0 0;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(134, 239, 172, 0.16);
    color: #bbf7d0;
    font-weight: 600;
}


/* ---------- Country pages (/esim/gjermani ...): one column, plan picker, buy box ---------- */
.es-dpage .es-dhero,
.es-dpage .es-dresults,
.es-dpage .es-benefits,
.es-dpage .es-dguide,
.es-dpage .es-dest,
.es-dpage .es-info,
.es-dpage .es-another,
.es-dpage .es-finder,
.es-dpage .es-mine,
.es-dpage .es-all,
.es-dpage .es-find {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.es-dhero {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.es-dflag {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--border-gray);
    margin-top: 4px;
}

.es-dhero h1 {
    font: 600 38px/1.1 'Onest', sans-serif;
    margin: 6px 0 10px;
    color: var(--text-dark);
}

.es-dhero p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-muted);
}

.es-dticks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 0;
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--text-dark);
}

.es-dticks li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.es-dticks svg,
.es-trust svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: var(--success-green, #22c55e);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.es-dresults h2 {
    font: 600 24px 'Onest', sans-serif;
    margin: 0 0 4px;
}

.es-dnote {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Plan rows: radio, data and days, price; selectable on every screen size */
.es-dpage .es-dplans {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.es-dpage .es-plan {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    column-gap: 12px;
    padding: 16px;
    border: 1.5px solid var(--border-gray);
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.es-dpage .es-plan:hover {
    border-color: #9db8ec;
}

.es-dpage .es-plan:focus-visible {
    outline: 3px solid #bcd3fb;
    outline-offset: 2px;
}

.es-dpage .es-plan.is-sel {
    border-color: var(--rrugo-blue);
    background: #eef4ff;
}

.es-dpage .es-radio {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-gray);
}

.es-dpage .es-plan.is-sel .es-radio {
    border-color: var(--rrugo-blue);
    background: radial-gradient(circle, var(--rrugo-blue) 0 5px, transparent 6px);
}

.es-dpage .es-plan-main {
    grid-column: 2;
    display: block;
}

.es-dpage .es-plan-main strong {
    display: block;
    font: 600 22px/1.1 'Onest', sans-serif;
}

.es-dpage .es-plan-main span {
    font-size: 14px;
}

.es-dpage .es-plan-region {
    grid-column: 2;
    font-size: 13px;
}

.es-dpage .es-plan-buy {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.es-dpage .es-price {
    font: 600 20px 'Onest', sans-serif;
    color: var(--text-dark);
}

.es-dpage .es-plan-pergb {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.es-badge {
    position: absolute;
    top: -10px;
    left: 14px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #fff;
    background: var(--rrugo-blue);
}

.es-badge-best {
    background: #16a34a;
}

/* Buy box */
.es-buybox {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--border-gray);
    border-radius: 18px;
    background: #fff;
}

.es-qtyrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-dark);
}

.es-qty-lg button {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.es-qty-lg span {
    min-width: 24px;
    text-align: center;
    font: 600 18px 'Onest', sans-serif;
}

.es-buynow {
    width: 100%;
    padding: 16px;
    border: 0;
    border-radius: 999px;
    background: var(--rrugo-blue);
    color: #fff;
    font: 600 17px 'Onest', sans-serif;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.es-buynow:hover {
    filter: brightness(1.08);
}

.es-paylogos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.es-paylogos b {
    padding: 3px 9px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-weight: 700;
    color: var(--text-dark);
    background: #f8fafc;
}

.es-trust {
    list-style: none;
    display: grid;
    gap: 6px;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--text-dark);
}

.es-trust li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.es-trust svg {
    margin-top: 2px;
}

.es-buybox .es-compat-row {
    margin: 0;
}

/* Regional plans: one card, the list folds open */
.es-regcard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--light-gray, #f5f7fa);
}

.es-regcard[hidden],
.es-regwrap[hidden] {
    display: none;
}

.es-regcard-text {
    font-size: 14px;
    color: var(--text-muted);
}

.es-regcard-text strong {
    color: var(--text-dark);
}

.es-regtoggle {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid var(--rrugo-blue);
    border-radius: 999px;
    background: #fff;
    color: var(--rrugo-blue);
    font: 600 14px 'Onest', sans-serif;
    cursor: pointer;
}

.es-regwrap {
    margin-top: 14px;
}

/* Benefits, data guide, comparison */
.es-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 36px;
    margin-bottom: 36px;
    padding: 18px 0;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.es-benefit {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.es-benefit svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--rrugo-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.es-benefit strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.es-benefit span {
    font-size: 13px;
    color: var(--text-muted);
}

.es-dguide {
    margin-bottom: 40px;
}

.es-dguide h2 {
    font: 600 24px 'Onest', sans-serif;
    margin: 0 0 14px;
}

.es-dguide h2 + .table-wrap,
.es-dguide .es-note + h2 {
    margin-top: 28px;
}

.es-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.es-tier {
    padding: 14px;
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    background: #fff;
}

.es-tier strong {
    display: block;
    font: 600 18px 'Onest', sans-serif;
    color: var(--rrugo-blue);
    margin-bottom: 4px;
}

.es-tier span {
    font-size: 14px;
    color: var(--text-muted);
}

.es-cmp {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.es-cmp th,
.es-cmp td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border-gray);
    text-align: left;
    vertical-align: top;
}

.es-cmp thead th {
    font-size: 13px;
    color: var(--text-muted);
}

.es-cmp .es-cmp-us {
    background: #eef4ff;
    font-weight: 700;
    color: var(--text-dark);
}

.es-cmp thead .es-cmp-us {
    color: var(--rrugo-blue);
    border-radius: 10px 10px 0 0;
}

.es-another {
    font: 600 24px 'Onest', sans-serif;
    margin-top: 48px;
    margin-bottom: 14px;
}

@media (max-width: 760px) {
    .es-dpage .es-dplans {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .es-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .es-tiers {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .es-dhero {
        gap: 12px;
        margin-bottom: 20px;
    }

    .es-dflag {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .es-dhero h1 {
        font-size: 28px;
    }

    .es-dhero p {
        font-size: 15px;
    }

    .es-dpage .es-plan {
        padding: 15px 14px;
    }

    .es-dpage .es-plan-main {
        display: block;
    }

    .es-regcard {
        flex-direction: column;
        align-items: stretch;
    }

    .es-benefits {
        grid-template-columns: 1fr;
    }
}


/* Regional / global plans: country list and mini FAQ */
.es-cl {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}




.es-cl-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--rrugo-blue);
    font: 600 13px 'Onest', sans-serif;
    text-decoration: underline;
    cursor: pointer;
}

.es-cl-list {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
    padding: 10px;
    border-radius: 12px;
    background: #f8fafc;
}

.es-cl-list[hidden] {
    display: none;
}

.es-cl-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
}

.es-cl-list .es-flag {
    width: 18px;
    height: 13px;
}

.es-mfaq {
    margin: 18px 0 6px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}

.es-mfaq[hidden] {
    display: none;
}

.es-mfaq h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.es-mfaq details {
    border-top: 1px solid #eef2f7;
    padding: 10px 0;
}

.es-mfaq summary {
    font-weight: 700;
    cursor: pointer;
}

.es-mfaq p {
    margin: 6px 0 0;
    color: var(--text-muted, #64748b);
    font-size: 14px;
}

.es-plan .es-cl {
    grid-column: 1 / -1;
    width: 100%;
}

/* Plan details button and dialog */
.es-plan {
    position: relative;
}

.es-info-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    padding: 0;
    border: 1px solid var(--border-gray);
    border-radius: 999px;
    background: #fff;
    color: var(--rrugo-blue);
    cursor: pointer;
}

.es-info-btn:hover {
    border-color: var(--rrugo-blue);
}

.es-info-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.es-plan-buy .es-price {
    margin-right: auto;
}

.es-dpage .es-plan-buy .es-price {
    margin-right: 0;
}

.es-dpage .es-info-btn {
    order: 3;
    margin: 6px 0 0;
}

.es-info-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.es-info-head h3 {
    flex: 1;
    margin: 0;
    font: 600 20px 'Onest', sans-serif;
    color: var(--text-dark);
}

.es-info-x {
    padding: 0 4px;
    border: 0;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.es-info-list {
    margin: 0 0 16px;
}

.es-info-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
}

.es-info-list dt {
    font-size: 14px;
    color: var(--text-muted);
}

.es-info-list dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    color: var(--text-dark);
}

/* Country suggestions under the search box */
.es-search-field {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
}

.es-search-field #esCountry {
    width: 100%;
}

.es-suggest {
    position: absolute;
    top: calc(100% + 10px);
    left: -6px;
    right: -6px;
    z-index: 50;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.es-suggest[hidden] {
    display: none;
}

.es-sug {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
}

.es-sug:hover,
.es-sug.is-on {
    background: #eff6ff;
}

.es-sug small {
    margin-left: auto;
    font-weight: 500;
    color: var(--text-muted);
}

.es-sug-empty {
    padding: 10px 12px;
    color: var(--text-muted);
}

.es-info-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
    margin: -6px 0 16px;
    padding: 10px;
    border-radius: 12px;
    background: #f8fafc;
}

.es-info-countries span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    color: var(--text-dark);
}

/* Regional and worldwide plans (store home) */
.es-regions {
    margin: 40px 0 44px;
}

.es-regions h2 {
    margin: 0 0 6px;
}

.es-regions > p {
    margin: 0 0 16px;
    color: var(--text-muted);
}

.es-reg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.es-reg-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px;
    border: 1.5px solid var(--border-gray);
    border-radius: 18px;
    background: #fff;
    font: inherit;
    text-align: left;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.es-reg-card:hover {
    border-color: var(--rrugo-blue);
    transform: translateY(-2px);
}

.es-reg-flags {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.es-reg-flags img {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border-gray);
    border-radius: 50%;
    object-fit: cover;
}

.es-reg-card strong {
    font: 600 17px 'Onest', sans-serif;
}

.es-reg-count {
    font-size: 13px;
    color: var(--text-muted);
}

.es-reg-price {
    margin-top: auto;
    padding-top: 6px;
    font-weight: 800;
    font-size: 17px;
    color: var(--rrugo-blue);
}

.es-reg-price small {
    margin-right: 4px;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 760px) {
    .es-reg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Short pages (e.g. the order page on a large screen): the footer sits at the bottom of the window. */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > main {
    flex: 1 0 auto;
}

/* Checkout: phone check question (instead of a required checkbox) and the first-purchase note */
.es-compat-ask {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}

.es-offer-note {
    margin: -2px 0 10px;
    font-size: 13px;
    color: #15803d;
}

/* Checkout: "How does it work?" above the pay button */
.es-payhow {
    margin: 14px 0 0;
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    background: #f8fafc;
}

.es-payhow summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-weight: 700;
    color: var(--rrugo-blue);
    cursor: pointer;
    list-style: none;
}

.es-payhow summary::-webkit-details-marker {
    display: none;
}

.es-payhow summary::after {
    content: '+';
    font-size: 20px;
    line-height: 1;
}

.es-payhow[open] summary::after {
    content: '−';
}

.es-payhow ol {
    margin: 0;
    padding: 0 14px 0 34px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dark);
}

.es-payhow li {
    margin-bottom: 8px;
}

.es-payhow a {
    display: inline-block;
    margin: 2px 14px 12px;
    font-size: 14px;
    font-weight: 600;
}

/* Day pass (Europe, X GB every day then reduced speed): its own card above the plan list. */
.es-daily {
    margin: 16px 0;
    padding: 18px;
    border: 1.5px solid var(--rrugo-blue);
    border-radius: 18px;
    background: linear-gradient(180deg, #eef4ff 0%, #fff 70%);
}

.es-daily[hidden] {
    display: none;
}

.es-daily-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.es-daily-head strong {
    font: 600 18px 'Onest', sans-serif;
    color: var(--text-dark);
}

.es-daily-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--rrugo-blue);
    color: #fff;
    font: 600 12px 'Onest', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.es-daily-text {
    margin: 8px 0 14px;
    font-size: 14px;
    color: var(--text-muted);
}

.es-daily-pick {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.es-daily-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font: 600 13px 'Onest', sans-serif;
    color: var(--text-muted);
}

.es-daily-seg {
    display: inline-flex;
    border: 1px solid var(--border-gray);
    border-radius: 999px;
    background: #fff;
    padding: 3px;
}

.es-daily-seg button {
    border: 0;
    background: none;
    padding: 7px 14px;
    border-radius: 999px;
    font: 600 14px 'Onest', sans-serif;
    color: var(--text-dark);
    cursor: pointer;
}

.es-daily-seg button.on {
    background: var(--rrugo-blue);
    color: #fff;
}

.es-daily-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.es-daily-price strong {
    display: block;
    font: 600 24px 'Onest', sans-serif;
    color: var(--text-dark);
}

.es-daily-price span {
    font-size: 13px;
    color: var(--text-muted);
}

.es-daily .es-pay {
    width: auto;
    padding: 12px 22px;
    font-size: 16px;
}

@media (max-width: 420px) {
    .es-daily {
        padding: 16px;
    }

    .es-daily-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .es-daily .es-pay {
        width: 100%;
    }
}
