/* Pinglo — shop styles: cart icon, toast, mini-cart drawer, product / cart / checkout pages. */

.btn-lg { padding: 16px 28px; font-size: 16px; }
.mt-3 { margin-top: var(--space-3); }
.muted { color: var(--muted); font-weight: 500; }
.link-btn { background: none; border: none; padding: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--danger); }

/* ---------- header cart icon ---------- */
.cart-btn { position: relative; width: 42px; height: 42px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--blue-deep); background: #fff; border: 1px solid var(--border); transition: border-color .2s, background .2s; }
.cart-btn:hover { border-color: var(--blue); background: var(--blue-50); }
.cart-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 300; inset-inline: 0; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); margin: 0 auto; width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: var(--space-3); padding: 12px 18px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--green-100); color: var(--text); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-raised); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .22s var(--ease-standard), transform .22s var(--ease-standard); }
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast-ic { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }

/* ---------- mini-cart drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(8, 114, 235, 0.14); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .22s var(--ease-standard); }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(400px, 100%); background: #fff; box-shadow: var(--shadow-raised); transform: translateX(100%); transition: transform .26s var(--ease-standard); overflow-y: auto; }
html[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer-overlay.open .drawer { transform: translateX(0); }
.drawer-body { padding: calc(var(--space-6) + env(safe-area-inset-top, 0px)) var(--space-6) var(--space-8); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.drawer-head h3 { font-size: 19px; }
.mini-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-3); }
.mini-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--blue-50); }
.mini-list li .mini-info { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.mini-list li strong { color: var(--text); font-size: 14px; }
.mini-total { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) 0; margin-bottom: var(--space-4); border-top: 1px dashed var(--border-strong); font-size: 15px; }
.mini-total strong { font-family: var(--font-display); font-size: 20px; color: var(--blue-deep); direction: ltr; unicode-bidi: isolate; }
.empty-note { color: var(--muted); margin-bottom: var(--space-5); }

/* ---------- shop page frame ---------- */
.shop-page { padding-block: 112px var(--space-24); background: linear-gradient(180deg, var(--blue-50) 0%, #fff 360px); min-height: 70vh; }
@media (max-width: 640px) { .shop-page { padding-block: 92px var(--space-16); } }
.page-title { font-size: clamp(26px, 4vw, 36px); margin-bottom: var(--space-6); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 13px; color: var(--muted); margin-bottom: var(--space-5); }
.crumbs a { color: var(--blue-deep); }

/* ---------- product ---------- */
.type-switch { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border); margin-bottom: var(--space-8); }
.type-switch button { border: none; background: none; padding: 10px 20px; border-radius: var(--radius-pill); font-weight: 700; color: var(--muted); font-size: 14px; cursor: pointer; }
.type-switch button.active { background: var(--blue); color: #fff; box-shadow: var(--shadow-glow-blue); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); align-items: start; }
@media (min-width: 920px) { .product-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--space-16); } }
.product-visual { position: sticky; top: 96px; }
@media (max-width: 919px) { .product-visual { position: static; } }
.esim-art { position: relative; overflow: hidden; aspect-ratio: 1.58; max-width: 520px; border-radius: 28px; padding: clamp(20px, 4vw, 34px); color: #fff; background: var(--blue); background-image: linear-gradient(135deg, #0872EB 0%, #0A62CF 55%, #14B067 130%); box-shadow: 0 30px 60px rgba(8, 114, 235, 0.25); display: flex; flex-direction: column; }
.esim-art.unlimited { background-image: linear-gradient(135deg, #0A62CF 0%, #0872EB 40%, #14B067 100%); }
.esim-art-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.esim-chip { width: 46px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #F6E7B8, #D9B45A); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.esim-art-brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; opacity: .95; }
.esim-art-flag { margin-top: auto; width: 34px; height: 24px; border-radius: 4px; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.esim-art-flag span { width: 12px; height: 12px; border-radius: 50%; background: #E5484D; }
.esim-art-title { font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px); font-weight: 800; margin-top: var(--space-3); position: relative; z-index: 1; }
.esim-art-sub { opacity: .9; font-size: 14px; margin-top: 2px; position: relative; z-index: 1; }
.esim-art-ripple { position: absolute; width: 320px; height: 320px; inset-inline-end: -110px; top: -110px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); box-shadow: 0 0 0 40px rgba(255, 255, 255, .06), 0 0 0 80px rgba(255, 255, 255, .04); pointer-events: none; }
.product-perks { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-2); max-width: 520px; }
.product-perks li { padding: 12px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); font-size: 14px; }
.product-info h1 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.3; }
.price-range { margin-top: var(--space-2); font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--blue-deep); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.spec-rows { margin: var(--space-6) 0; display: grid; gap: var(--space-2); }
.spec-rows div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--space-4); font-size: 14px; }
.spec-rows dt { color: var(--muted); }
.spec-rows dd { margin: 0; font-weight: 600; }
.opt-label { font-weight: 700; margin-bottom: var(--space-3); }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.chips.chips-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 420px) { .chips.chips-3 { grid-template-columns: minmax(0, 1fr); } }
.chip { position: relative; display: flex; align-items: center; gap: var(--space-3); padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: #fff; color: var(--text); font-weight: 600; font-size: 14px; text-align: start; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.chip:hover { border-color: var(--blue-200); }
.chip-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--border-strong); }
.chip.active { border-color: var(--blue); background: var(--blue-50); color: var(--blue-deep); box-shadow: 0 0 0 4px var(--blue-soft); }
.chip.active .chip-dot { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.chip-badge { position: absolute; top: -9px; inset-inline-end: 10px; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--gradient-brand); }
.selected-desc { margin: var(--space-4) 0 var(--space-6); font-size: 14px; color: var(--muted); line-height: 1.7; }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.buy-price { display: grid; text-align: end; }
.buy-price strong { font-family: var(--font-display); font-size: 30px; color: #1F2A44; direction: ltr; unicode-bidi: isolate; }
.buy-price span { font-size: 12px; color: var(--blue-deep); }
.secure-line { text-align: center; font-size: 13px; color: var(--green-text); margin-top: var(--space-4); }
.pay-icons.center { justify-content: center; flex-wrap: wrap; margin-top: var(--space-3); }
.product-info .fup-note { text-align: start; margin-top: var(--space-6); }
.qty-row.sm button { width: 32px; height: 32px; font-size: 16px; }

/* ---------- cart + checkout ---------- */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); align-items: start; }
@media (min-width: 920px) { .cart-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.cart-lines { display: grid; gap: var(--space-4); }
.cart-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--space-5); align-items: center; padding: var(--space-5); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
@media (max-width: 560px) { .cart-line { grid-template-columns: 48px minmax(0, 1fr); } .cart-line-side { grid-column: 1 / -1; } }
.cart-line-art { width: 64px; height: 44px; border-radius: 10px; background: var(--gradient-brand); display: flex; align-items: flex-end; padding: 6px; }
@media (max-width: 560px) { .cart-line-art { width: 48px; height: 34px; } }
.cart-line-art span { width: 12px; height: 9px; border-radius: 2px; background: linear-gradient(135deg, #F6E7B8, #D9B45A); }
.cart-line-name { font-weight: 700; color: var(--text); font-size: 16px; }
.cart-line-sub, .cart-line-unit { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-line-side { display: flex; align-items: center; gap: var(--space-5); justify-content: flex-end; flex-wrap: wrap; }
.cart-line-total { font-family: var(--font-display); font-size: 18px; min-width: 86px; text-align: end; direction: ltr; unicode-bidi: isolate; }
.continue-link { color: var(--blue-deep); font-weight: 600; font-size: 14px; margin-top: var(--space-2); }
.summary-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-soft); position: sticky; top: 96px; }
@media (max-width: 919px) { .summary-card { position: static; } }
.summary-card h2 { font-size: 18px; margin-bottom: var(--space-4); }
.sum-row { display: flex; justify-content: space-between; gap: var(--space-4); padding: 10px 0; font-size: 14px; color: var(--muted); }
.sum-row > :last-child { direction: ltr; unicode-bidi: isolate; }
.sum-row .free { color: var(--green-text); font-weight: 700; }
.sum-row.total { border-top: 1px dashed var(--border-strong); margin-top: var(--space-2); padding-top: var(--space-4); color: var(--text); font-weight: 700; font-size: 16px; }
.sum-row.total strong { font-family: var(--font-display); font-size: 24px; color: var(--blue-deep); }
.summary-card .charge-note { font-size: 12.5px; color: var(--blue-deep); margin: 0 0 var(--space-2); }
.vat-note { font-size: 12px; color: var(--muted); margin-bottom: var(--space-5); }
.summary-lines { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: var(--space-3); }
.summary-lines li { display: flex; justify-content: space-between; gap: var(--space-4); font-size: 14px; }
.summary-lines li > div { display: grid; gap: 2px; justify-items: start; }
.summary-lines li > div > span { font-size: 12.5px; color: var(--muted); }
.summary-lines li > span { font-weight: 700; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.edit-link { display: inline-block; font-size: 13px; color: var(--blue-deep); font-weight: 600; }
.checkout-head .page-title { margin-bottom: var(--space-1); }
.checkout-head p { margin-bottom: var(--space-6); }
.checkout-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-soft); }
@media (max-width: 560px) { .checkout-form { padding: var(--space-6) var(--space-5); } }
.checkout-form label { display: block; font-size: 13px; font-weight: 600; margin: var(--space-5) 0 var(--space-2); }
.checkout-form input { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: #fff; font: inherit; color: var(--text); }
.checkout-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
html[dir="rtl"] .checkout-form input[dir="ltr"] { text-align: right; }
.field-hint { font-size: 12px; color: var(--muted); margin-top: var(--space-2); }
.step-title { display: flex; align-items: center; gap: var(--space-3); font-weight: 800; font-size: 17px; margin-top: var(--space-8); }
.step-title:first-child { margin-top: 0; }
.step-title span { width: 28px; height: 28px; border-radius: 9px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.pay-explain { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: var(--space-3) 0; }
.checkout-form .pay-icons { flex-wrap: wrap; margin-bottom: var(--space-6); }
.checkout-form .checkout-error { font-size: 13.5px; color: var(--danger); background: #FFF1F1; border: 1px solid #F9D3D4; border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-4); }
.empty-state { max-width: 460px; margin: var(--space-12) auto; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-12) var(--space-8); box-shadow: var(--shadow-soft); }
.empty-ic { font-size: 40px; margin-bottom: var(--space-4); }
.empty-state h1 { font-size: 24px; margin-bottom: var(--space-3); }
.empty-state p { color: var(--muted); margin-bottom: var(--space-6); }
.esim-plan { font-weight: 700; margin-top: 4px; }

/* ---------- cart editing (mini cart, cart page, checkout summary) ---------- */
.qty-row .qty-del { color: var(--danger); border-color: #F9D3D4; display: inline-flex; align-items: center; justify-content: center; }
.qty-row .qty-del:hover { background: #FFF1F1; border-color: var(--danger); }
.qty-row .is-maxed { opacity: .4; cursor: not-allowed; }
.qty-row strong { min-width: 22px; text-align: center; }
.mini-list li { align-items: center; }
.mini-info { min-width: 0; }
.mini-side { display: grid; justify-items: end; gap: var(--space-2); flex: none; }
.mini-line-total { font-family: var(--font-display); color: var(--blue-deep); direction: ltr; unicode-bidi: isolate; }
.summary-lines li.editable { align-items: flex-start; }
.summary-lines li.editable .qty-row { margin-top: var(--space-2); }
.toast-action { margin-inline-start: var(--space-2); border: none; background: var(--blue-50); color: var(--blue-deep); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.toast-action:hover { background: var(--blue-100); }
.toast.warn { border-color: #FBE3B5; }
.toast.warn .toast-ic { background: #E8A317; font-weight: 800; }

/* ---------- unlimited day picker ---------- */
.day-picker { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); }
.day-quick { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.day-chip { min-width: 46px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.day-chip:hover { border-color: var(--blue-200); }
.day-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-glow-blue); }
.day-exact { display: flex; align-items: center; justify-content: center; gap: var(--space-6); margin: var(--space-6) 0 var(--space-3); }
.day-step { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: #fff; color: var(--blue-deep); font-size: 22px; line-height: 1; cursor: pointer; }
.day-step:hover:not(:disabled) { background: var(--blue-50); border-color: var(--blue); }
.day-step:disabled { opacity: .35; cursor: not-allowed; }
.day-value { display: grid; justify-items: center; min-width: 90px; }
.day-value strong { font-family: var(--font-display); font-size: 40px; line-height: 1.1; color: var(--blue-deep); }
.day-value span { font-size: 13px; color: var(--muted); }
.day-range { width: 100%; accent-color: var(--blue); margin: 0; }
html[dir="rtl"] .day-range { direction: rtl; }
.day-range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 2px; }
.day-rate { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-top: var(--space-4); font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.day-save { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-text); font-weight: 800; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; }

/* ---------- order page: live eSIM status, usage, top-up ---------- */
.esim-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.esim-card.focused { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.stage { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-deep); border: 1px solid var(--border); }
.stage-active { background: var(--green-50); color: var(--green-text); border-color: var(--green-100); }
.stage-installed, .stage-installing { background: var(--blue-50); color: var(--blue-deep); }
.stage-depleted, .stage-expired, .stage-suspended, .stage-closed { background: #FFF1F1; color: var(--danger); border-color: #F9D3D4; }
.usage { margin-top: var(--space-4); text-align: start; }
.usage-top { display: flex; justify-content: space-between; gap: var(--space-3); font-size: 14px; }
.usage-bar { height: 10px; border-radius: 999px; background: var(--blue-100); overflow: hidden; margin-top: var(--space-2); }
.usage-bar span { display: block; height: 100%; border-radius: 999px; background: var(--gradient-brand); }
html[dir="rtl"] .usage-bar span { margin-inline-start: 0; }
.usage-bar span.low { background: var(--danger); }
.usage-note { font-size: 12px; color: var(--muted); margin-top: var(--space-2); }
.esim-expiry { margin-top: var(--space-3); font-size: 13.5px; color: var(--text); text-align: start; }
.days-left { color: var(--green-text); font-weight: 700; }
.topup-open { margin-top: var(--space-5); }
.qr-details { margin-top: var(--space-5); border-top: 1px dashed var(--border-strong); padding-top: var(--space-4); }
.qr-details summary { cursor: pointer; color: var(--blue-deep); font-weight: 700; font-size: 14px; }
.topup-panel { margin-top: var(--space-5); text-align: start; background: var(--blue-50); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); }
.topup-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.topup-off { background: var(--green); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.topup-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
@media (max-width: 420px) { .topup-offers { grid-template-columns: minmax(0, 1fr); } }
.topup-offer { display: grid; gap: 2px; text-align: start; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font: inherit; color: var(--text); }
.topup-offer.active { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.to-name { font-weight: 700; font-size: 14px; }
.to-price { font-size: 13px; direction: ltr; unicode-bidi: isolate; text-align: start; }
html[dir="rtl"] .to-price { text-align: right; }
.to-price s { color: var(--muted); margin-inline-end: 4px; }
.to-price strong { color: var(--blue-deep); }
.topup-note { font-size: 12.5px; color: var(--muted); margin: var(--space-4) 0; line-height: 1.7; }
.topup-panel .checkout-error { font-size: 13px; color: var(--danger); background: #FFF1F1; border: 1px solid #F9D3D4; border-radius: var(--radius-sm); padding: var(--space-3); margin-bottom: var(--space-3); }
.topup-banner { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-sm); margin-bottom: var(--space-6); font-weight: 600; font-size: 14px; background: var(--blue-50); border: 1px solid var(--border); }
.topup-banner[data-tone="ok"] { background: var(--green-50); border-color: var(--green-100); color: var(--green-text); }
.topup-banner[data-tone="warn"] { background: #FFF1F1; border-color: #F9D3D4; color: var(--danger); }
.topup-banner .tb-ic svg { width: 20px; height: 20px; }
.topup-banner .order-spinner { width: 18px; height: 18px; }

/* ---------- checkout: discount code + welcome back ---------- */
.coupon-box { margin: var(--space-4) 0 var(--space-2); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-deep); font-weight: 700; cursor: pointer; font-size: 14px; }
.link-btn:hover { text-decoration: underline; }
.coupon-form { display: flex; gap: var(--space-2); }
.coupon-form input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--border-strong); border-radius: 12px; padding: 0 12px; font: inherit; text-transform: uppercase; letter-spacing: 1px; }
.coupon-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.coupon-form .btn { height: 44px; padding: 0 16px; white-space: nowrap; }
.coupon-error { margin: var(--space-2) 0 0; font-size: 13px; color: var(--danger); }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); background: var(--green-50); border: 1px dashed var(--green); color: var(--green-text); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 700; }
.coupon-applied .link-btn { color: var(--muted); font-size: 13px; font-weight: 600; }
.sum-row.discount { color: var(--green-text); }
.sum-row.discount strong { color: var(--green-text); }
.welcome-back { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-text); border-radius: var(--radius-sm); padding: var(--space-4); margin-bottom: var(--space-6); font-weight: 700; }

/* order page: payment receipt link */
.receipt-link { display: inline-flex; align-items: center; gap: 6px; margin: calc(var(--space-2) * -1) 0 var(--space-6); font-weight: 700; font-size: 14px; color: var(--blue-deep); text-decoration: none; }
.receipt-link:hover { text-decoration: underline; }

/* support address (footer + order page) */
.footer-email { unicode-bidi: isolate; }
.order-help { margin-top: var(--space-6); font-size: 14px; color: var(--muted); text-align: center; }
.order-help a { color: var(--blue-deep); font-weight: 700; }

/* branded eSIM QR (js/qr-branded.js) */
.qr-slot { display: flex; flex-direction: column; align-items: center; min-height: 220px; justify-content: center; }
.qr-slot img.qr-branded { width: 260px; height: 260px; max-width: 100%; border-radius: 22px; box-shadow: 0 10px 28px rgba(8, 114, 235, 0.14); animation: qr-in 0.35s ease; }
@keyframes qr-in { from { opacity: 0; transform: scale(0.97); } }
.qr-actions { display: flex; gap: var(--space-4); justify-content: center; margin-top: var(--space-3); font-size: 13px; }
.qr-actions a { color: var(--blue-deep); font-weight: 700; text-decoration: none; }
.qr-actions a.qr-alt { color: var(--muted); font-weight: 600; }
.qr-actions a:hover { text-decoration: underline; }

/* ---------- products: shop tiles (home + plans), product art, product page sections ---------- */
.prod-grid { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); max-width: 1180px; margin-inline: auto; }
@media (min-width: 700px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .prod-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; } }
.prod-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .22s var(--ease-standard), box-shadow .22s var(--ease-standard); }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-raised); }
.prod-card.is-featured { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft), var(--shadow-raised); }
.prod-card-body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); flex: 1; }
.prod-card-body .eyebrow { margin: 0; }
.prod-card-name { font-size: 22px; line-height: 1.3; margin: 0; }
.prod-card-name a { color: #1F2A44; }
.prod-card-name a:hover { color: var(--blue-deep); }
.prod-card-sub { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.prod-card-validity { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--blue-deep); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 5px 12px; border-radius: 999px; }
.prod-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.prod-ticks li { position: relative; padding-inline-start: 28px; font-size: 14px; line-height: 1.6; color: var(--text); }
.prod-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B7F49' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; border: 1px solid var(--green-100); }
.prod-ticks.lg li { font-size: 15px; padding-block: 2px; }
.prod-card-price { margin-top: auto; padding-top: var(--space-3); display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; border-top: 1px dashed var(--border-strong); }
.prod-card-price span { font-size: 13px; color: var(--muted); font-weight: 600; }
.prod-card-price strong { font-family: var(--font-display); font-size: 28px; color: #1F2A44; direction: ltr; unicode-bidi: isolate; }

/* product art: the eSIM "card" with the product's headline allowance */
.prod-card-art, .prod-art { position: relative; overflow: hidden; display: flex; flex-direction: column; color: #fff; isolation: isolate; }
.prod-card-art { aspect-ratio: 16 / 9.4; padding: 18px 22px; }
.prod-art { aspect-ratio: 1.45; max-width: 540px; border-radius: 28px; padding: clamp(20px, 4vw, 34px); box-shadow: 0 30px 60px rgba(8, 114, 235, 0.25); }
.art-max { background: linear-gradient(140deg, #0B2C6B 0%, #0A62CF 45%, #0872EB 70%, #14B067 130%); }
.art-lite { background: linear-gradient(140deg, #0A62CF 0%, #0872EB 45%, #3D9BFF 80%, #6FD1A8 135%); }
.art-fixed { background: linear-gradient(140deg, #0A5A3A 0%, #0B7F49 40%, #14B067 75%, #0872EB 140%); }
.prod-card-art::after, .prod-art::after { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; inset-inline-end: -18%; top: -38%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); box-shadow: 0 0 0 36px rgba(255, 255, 255, .06), 0 0 0 72px rgba(255, 255, 255, .04); }
.pa-top { display: flex; align-items: center; justify-content: space-between; }
.pa-flag { width: 34px; height: 24px; border-radius: 5px; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.pa-flag i { width: 11px; height: 11px; border-radius: 50%; background: #E5484D; }
.pa-5g { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); direction: ltr; }
.pa-big { margin-top: auto; font-family: "Space Grotesk", var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 54px); line-height: 1; letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate; text-align: start; }
.prod-art .pa-big { font-size: clamp(52px, 9vw, 84px); }
.pa-unit { margin-top: 6px; font-weight: 700; font-size: 15px; opacity: .95; }
.prod-art .pa-unit { font-size: clamp(15px, 2vw, 19px); }
.pa-brand { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-weight: 700; font-size: 13px; opacity: .85; letter-spacing: .03em; direction: ltr; }
.prod-art .pa-brand { top: clamp(24px, 4.4vw, 38px); font-size: 17px; }
.prod-card.is-featured .pa-brand { left: 40%; }
.prod-badge { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 1; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--blue-deep); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.prod-card.is-featured .prod-card-art .pa-5g { visibility: hidden; }

/* plans page: comparison table */
.compare-block { max-width: 1020px; margin: var(--space-16) auto 0; }
.compare-title { text-align: center; font-size: clamp(22px, 3vw, 28px); margin-bottom: var(--space-6); }
.compare-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.compare-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table tbody tr:last-child > * { border-bottom: none; }
.compare-table thead th { background: var(--blue-50); font-size: 15px; }
.compare-table thead th a { color: var(--blue-deep); }
.compare-table tbody th { color: var(--muted); font-weight: 600; width: 22%; }
.compare-table .money { font-family: var(--font-display); font-size: 17px; color: #1F2A44; direction: ltr; unicode-bidi: isolate; }

/* product page */
.product-info > .eyebrow { margin-bottom: var(--space-2); }
.prod-tagline { margin: var(--space-3) 0 var(--space-2); color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.product-info .price-range { margin-bottom: var(--space-6); }
.chip { flex-wrap: wrap; }
.chip-price { margin-inline-start: auto; font-size: 13px; color: var(--muted); font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.chip.active .chip-price { color: var(--blue-deep); }
.prod-block { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--border); }
.prod-h { font-size: 18px; margin-bottom: var(--space-4); }
.prod-specs { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); gap: 0; }
.prod-specs div { padding: 10px 0; border-bottom: 1px dashed var(--border); grid-template-columns: 130px minmax(0, 1fr); }
.prod-specs div:last-child { border-bottom: none; }
.prod-benefits { margin-top: var(--space-16); display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .prod-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .prod-benefits { grid-template-columns: minmax(0, 1fr); } }
.prod-benefit { display: grid; gap: 4px; align-content: start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); box-shadow: var(--shadow-soft); }
.pb-ic { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; background: var(--gradient-brand-soft); margin-bottom: var(--space-2); }
.prod-benefit strong { font-size: 16px; color: #1F2A44; }
.prod-benefit span:last-child { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.prod-hotspot { margin-top: var(--space-8); display: grid; gap: var(--space-6); align-items: center; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--gradient-brand-soft); border: 1px solid var(--blue-100); }
@media (min-width: 900px) { .prod-hotspot { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.prod-hotspot h2 { font-size: clamp(20px, 2.6vw, 24px); margin-bottom: var(--space-3); }
.prod-hotspot p { margin: 0; color: var(--text); line-height: 1.8; }
.ph-steps { margin: 0; display: grid; gap: var(--space-3); }
.ph-steps div { background: #fff; border-radius: var(--radius-sm); padding: 12px 16px; border: 1px solid var(--border); }
.ph-steps dt { font-weight: 800; color: var(--blue-deep); margin-bottom: 2px; }
.ph-steps dd { margin: 0; font-size: 14px; color: var(--muted); }
.prod-details { margin-top: var(--space-12); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: var(--space-6) clamp(18px, 4vw, 40px) var(--space-8); }
.prod-tabs { display: flex; gap: var(--space-2); border-bottom: 1px solid var(--border); margin-bottom: var(--space-6); overflow-x: auto; }
.prod-tabs button { border: none; background: none; padding: 12px 18px; font: inherit; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.prod-tabs button.active { color: var(--blue-deep); border-bottom-color: var(--blue); }
.prod-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.prod-panel p { line-height: 1.9; color: var(--text); margin: 0 0 var(--space-4); max-width: 820px; }
.best-for { margin-top: var(--space-5); padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); background: var(--green-50); border: 1px solid var(--green-100); color: var(--text); line-height: 1.8; max-width: 820px; }
.best-for strong { color: var(--green-text); }
.prod-faq { display: grid; gap: var(--space-3); max-width: 860px; }
.prod-faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.prod-faq details[open] { border-color: var(--blue-200); background: var(--blue-50); }
.prod-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: #1F2A44; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.prod-faq summary::-webkit-details-marker { display: none; }
.prod-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--blue); flex: none; }
.prod-faq details[open] summary::after { content: "−"; }
.prod-faq details p { padding: 0 18px 16px; margin: 0; }
.compat-check { display: inline-block; margin-bottom: var(--space-5); padding: 10px 16px; border-radius: var(--radius-sm); background: var(--blue-50); border: 1px solid var(--blue-100); font-weight: 700; color: var(--blue-deep); }
.compat-list { margin: 0; display: grid; gap: 0; max-width: 820px; }
.compat-list div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-4); padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.compat-list dt { font-weight: 800; color: #1F2A44; }
.compat-list dd { margin: 0; color: var(--text); }
.small-note { font-size: 13px; color: var(--muted); margin-top: var(--space-4) !important; }
.prod-compare { margin-top: var(--space-16); }
.prod-compare h2 { text-align: center; font-size: clamp(22px, 3vw, 28px); margin-bottom: var(--space-8); }
@media (max-width: 560px) { .prod-specs div, .compat-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .prod-hotspot { padding: var(--space-6) var(--space-5); } }
@media (max-width: 919px) { .product-visual .product-perks { display: none; } .prod-art { max-width: 460px; margin-inline: auto; } }

/* ---------- phone compatibility checker (js/device-check.js) ---------- */
.dc-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); margin-top: var(--space-8); }
.dc-cta { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 999px; border: none; cursor: pointer; font: inherit; font-weight: 800; font-size: 17px; color: #fff; background: var(--gradient-brand); box-shadow: var(--shadow-glow-blue); transition: transform .2s var(--ease-standard), box-shadow .2s; }
.dc-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(8, 114, 235, .34); }
.dc-cta:focus-visible { outline: 3px solid var(--blue-200); outline-offset: 3px; }
.dc-cta .dc-pulse { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: dcPulse 1.8s infinite; }
@keyframes dcPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .dc-cta .dc-pulse { animation: none; } }
.dc-cta-sub { font-size: 13.5px; color: var(--muted); text-align: center; }

html.dc-lock { overflow: hidden; }
.dc-overlay { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: rgba(12, 30, 60, .38); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-standard); }
.dc-overlay.open { opacity: 1; pointer-events: auto; }
.dc-modal { width: min(480px, 100%); max-height: 100%; overflow-y: auto; background: #fff; border-radius: 26px; box-shadow: var(--shadow-raised); transform: translateY(14px) scale(.98); transition: transform .24s var(--ease-standard); }
.dc-overlay.open .dc-modal { transform: none; }
.dc-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: var(--space-3); padding: 18px 20px; background: var(--gradient-brand-soft); border-bottom: 1px solid var(--blue-100); }
.dc-title { flex: 1; font-size: 18px; margin: 0; }
.dc-x, .dc-back { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; font-size: 15px; }
html[dir="rtl"] .dc-back { transform: scaleX(-1); }
.dc-body { padding: 22px 22px 26px; display: grid; gap: var(--space-4); }
.dc-body h3 { font-size: 19px; margin: 0; }
.dc-body p { margin: 0; line-height: 1.8; color: var(--text); font-size: 14.5px; }
.dc-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 30px 0; color: var(--muted); font-weight: 600; }
.dc-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--blue-100); border-top-color: var(--blue); animation: dcSpin .8s linear infinite; }
@keyframes dcSpin { to { transform: rotate(360deg); } }
.dc-verdict { display: grid; gap: 6px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid; }
.dc-verdict.ok { background: var(--green-50); border-color: var(--green-100); }
.dc-verdict.mid { background: var(--blue-50); border-color: var(--blue-100); }
.dc-verdict.bad { background: #FFF1F1; border-color: #F9D3D4; }
.dc-dev { font-size: 13.5px; color: var(--muted); }
.dc-dev strong { color: #1F2A44; font-size: 15px; }
.dc-vtext { font-weight: 800; font-size: 16px; color: #1F2A44; }
.dc-verdict.ok .dc-vtext { color: var(--green-text); }
.dc-verdict.bad .dc-vtext { color: #C9373C; }
.dc-note { color: var(--muted); font-size: 12.5px; }
.dc-more { border-top: 1px dashed var(--border-strong); padding-top: var(--space-3); }
.dc-more summary { cursor: pointer; color: var(--blue-deep); font-weight: 700; font-size: 14px; }
.dc-more[open] summary { margin-bottom: var(--space-3); }
.dc-search { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.dc-search input { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--border-strong); font: inherit; font-weight: 500; color: var(--text); background: #fff; }
.dc-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.dc-results { display: grid; gap: 6px; margin-top: 8px; }
.dc-hit { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff; cursor: pointer; font: inherit; font-size: 14px; color: var(--text); text-align: start; }
.dc-hit:hover, .dc-hit:focus-visible { border-color: var(--blue); background: var(--blue-50); outline: none; }
.dc-hit em { font-style: normal; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.dc-hit.yes em { background: var(--green-50); color: var(--green-text); }
.dc-hit.region em { background: var(--blue-50); color: var(--blue-deep); }
.dc-hit.no em { background: #FFF1F1; color: #C9373C; }
.dc-none { font-size: 13.5px; color: var(--muted); }
.dc-link { background: none; border: none; padding: 0; font: inherit; color: var(--blue-deep); font-weight: 700; text-decoration: underline; cursor: pointer; }
.dc-desk { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: center; padding: 14px; border-radius: 18px; background: var(--blue-50); border: 1px solid var(--blue-100); }
.dc-desk h3 { font-size: 16px; margin-bottom: 4px; }
.dc-desk p { font-size: 13.5px; }
.dc-qr img { display: block; width: 132px; height: 132px; border-radius: 14px; }
@media (max-width: 420px) { .dc-desk { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }
.dc-step { font-size: 12px; font-weight: 800; color: var(--blue-deep); letter-spacing: .02em; }
.dc-code { justify-self: center; font-family: "Space Grotesk", var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: .12em; color: #1F2A44; padding: 8px 26px; border-radius: 16px; background: var(--blue-50); border: 1px dashed var(--blue-200); }
.dc-hint { font-size: 13px !important; color: var(--muted) !important; text-align: center; }
.dc-howto { padding: 12px 14px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-100); font-size: 13.5px !important; }
.dc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.dc-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.dc-two .btn, .dc-three .btn { padding-inline: 10px; }
.dc-result { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 6px 0; }
.dc-rico { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: #fff; background: var(--green); box-shadow: var(--shadow-glow-green); }
.dc-result.no .dc-rico, .dc-result.locked .dc-rico { background: #E5484D; box-shadow: 0 0 20px rgba(229, 72, 77, .35); }
.dc-rdev { font-size: 13px !important; color: var(--muted) !important; }
.dc-actions { display: grid; gap: var(--space-3); }
.dc-contact { text-align: center; font-size: 13.5px !important; }

/* badge on the product page / checkout */
.dc-slot { margin-top: var(--space-4); }
.dc-inline { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px dashed var(--blue-200); background: var(--blue-50); color: var(--blue-deep); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.dc-inline:hover { border-style: solid; }
.dc-badge { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.dc-badge.ok { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-text); }
.dc-badge.warn { background: #FFF6E5; border: 1px solid #F5D9A6; color: #8A5A00; font-weight: 600; line-height: 1.7; }
.dc-badge small { font-weight: 600; opacity: .85; }
.dc-badge .dc-link { font-size: 13px; white-space: nowrap; }
.checkout-form .dc-slot { margin: 0 0 var(--space-5); }
