/* ═══════════════════════════════════════════════════════
   ESIMVault – Country Landing Page Styles
   ═══════════════════════════════════════════════════════ */

.esv-cp-wrap {
	--esv-blue:      #124F7C;
	--esv-blue-h:    #0e3d61;
	--esv-blue-soft: #dbedf9;
	--esv-green:     #2ECC71;
	--esv-border:    #dde4eb;
	--esv-surface:   #ffffff;
	--esv-bg:        #f9f9f9;
	--esv-text:      #333333;
	--esv-muted:     #718096;
	--esv-radius:    14px;
	--esv-shadow:    0 4px 16px rgba(0,0,0,.08);
	--esv-shadow-lg: 0 8px 32px rgba(18,79,124,.16);
	font-family: inherit;
	color: var(--esv-text);
}

.esv-cp-container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}


/* ── Breadcrumb ───────────────────────────────────────── */

.esv-cp-breadcrumb {
	background: var(--esv-bg);
	border-bottom: 1px solid var(--esv-border);
	padding: 12px 0;
	font-size: .82rem;
	color: var(--esv-muted);
}

.esv-cp-breadcrumb a {
	color: var(--esv-blue);
	text-decoration: none;
}

.esv-cp-breadcrumb a:hover { text-decoration: underline; }

.esv-cp-breadcrumb [aria-hidden="true"] { margin: 0 7px; opacity: .5; }


/* ── Hero ─────────────────────────────────────────────── */

.esv-cp-hero {
	background: linear-gradient(135deg, #2596BE 0%, #244163 100%);
	color: #fff;
	padding: 56px 20px 48px;
	text-align: center;
}

.esv-cp-hero__flag {
	font-size: 3.8rem;
	line-height: 1;
	margin-bottom: 14px;
	display: block;
}

.esv-cp-hero__title {
	font-size: clamp(1.85rem, 5vw, 2.8rem);
	font-weight: 800;
	margin: 0 0 14px;
	line-height: 1.12;
	color: #ffffff;
}

.esv-cp-hero__sub {
	font-size: clamp(.95rem, 2vw, 1.1rem);
	opacity: .9;
	max-width: 580px;
	margin: 0 auto 26px;
	line-height: 1.6;
}

.esv-cp-usps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.esv-cp-usp {
	background: rgba(255,255,255,.15);
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 50px;
	padding: 6px 16px;
	font-size: .82rem;
	font-weight: 500;
	backdrop-filter: blur(4px);
}


/* ── Section title ────────────────────────────────────── */

.esv-cp-section-title {
	font-size: clamp(1.25rem, 3vw, 1.6rem);
	font-weight: 800;
	margin: 0 0 28px;
	color: var(--esv-text);
}


/* ── Packages section ─────────────────────────────────── */

.esv-cp-packages-section {
	padding: 60px 0;
	background: var(--esv-bg);
}

.esv-cp-packages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 18px;
}

@media (max-width: 500px) {
	.esv-cp-packages-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 340px) {
	.esv-cp-packages-grid { grid-template-columns: 1fr; }
}

.esv-cp-demo-notice {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fef9c3;
	border: 1px solid #fde047;
	color: #92400e;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: .85rem;
	margin-bottom: 20px;
}

.esv-cp-no-packages {
	color: var(--esv-muted);
	text-align: center;
	padding: 48px 0;
	font-size: 1rem;
}

.esv-cp-no-packages a {
	color: var(--esv-blue);
}

/* Add-to-cart button on country page */
.esv-cp-atc {
	display: block;
	width: 100%;
	padding: 11px 10px;
	background: var(--esv-blue);
	color: #fff;
	border: none;
	border-radius: 9px;
	font-size: .9rem;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition: background .15s;
	margin-top: auto;
}

.esv-cp-atc:hover { background: var(--esv-blue-h); }
.esv-cp-atc.is-loading { background: var(--esv-muted); cursor: wait; pointer-events: none; }
.esv-cp-atc.is-added  { background: var(--esv-green); pointer-events: none; }


/* ── How it works ─────────────────────────────────────── */

.esv-cp-how-section {
	padding: 60px 0;
	background: #fff;
}

.esv-cp-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 36px;
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: none;
}

.esv-cp-step { text-align: center; }

.esv-cp-step__num {
	width: 52px;
	height: 52px;
	background: var(--esv-blue);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	font-weight: 800;
	margin: 0 auto 18px;
	box-shadow: 0 4px 14px rgba(18,79,124,.35);
}

.esv-cp-step__title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--esv-text);
}

.esv-cp-step__text {
	color: var(--esv-muted);
	font-size: .88rem;
	line-height: 1.65;
	margin: 0;
}


/* ── FAQ ──────────────────────────────────────────────── */

.esv-cp-faq-section {
	padding: 60px 0;
	background: var(--esv-bg);
}

.esv-cp-faq { max-width: 740px; }

.esv-cp-faq__item {
	background: #fff;
	border: 1px solid var(--esv-border);
	border-radius: var(--esv-radius);
	margin-bottom: 10px;
	overflow: hidden;
	transition: border-color .15s;
}

.esv-cp-faq__item[open] {
	border-color: var(--esv-blue);
}

.esv-cp-faq__q {
	padding: 17px 20px;
	font-weight: 600;
	font-size: .95rem;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	color: var(--esv-text);
	user-select: none;
}

.esv-cp-faq__q::-webkit-details-marker { display: none; }
.esv-cp-faq__q::marker { display: none; }

.esv-cp-faq__q::after {
	content: '+';
	font-size: 1.3rem;
	font-weight: 400;
	color: var(--esv-blue);
	flex-shrink: 0;
	line-height: 1;
	transition: transform .2s;
}

.esv-cp-faq__item[open] .esv-cp-faq__q::after {
	content: '−';
}

.esv-cp-faq__a {
	padding: 0 20px 18px;
}

.esv-cp-faq__a p {
	color: var(--esv-muted);
	font-size: .9rem;
	line-height: 1.7;
	margin: 0;
}


/* ── Related countries ────────────────────────────────── */

.esv-cp-related-section {
	padding: 60px 0 72px;
	background: #fff;
}

.esv-cp-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
	gap: 14px;
}

.esv-cp-related-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 22px 14px;
	background: var(--esv-bg);
	border: 1.5px solid var(--esv-border);
	border-radius: var(--esv-radius);
	text-decoration: none;
	color: var(--esv-text);
	text-align: center;
	gap: 7px;
	transition: border-color .15s, transform .15s, box-shadow .15s;
}

.esv-cp-related-item:hover {
	border-color: var(--esv-blue);
	transform: translateY(-3px);
	box-shadow: var(--esv-shadow-lg);
	color: var(--esv-text);
}

.esv-cp-related-flag { font-size: 2rem; line-height: 1; }
.esv-cp-related-name { font-weight: 600; font-size: .88rem; }
.esv-cp-related-cta  { font-size: .75rem; color: var(--esv-blue); }


/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 600px) {
	.esv-cp-hero  { padding: 40px 16px 36px; }
	.esv-cp-how-section,
	.esv-cp-faq-section,
	.esv-cp-related-section,
	.esv-cp-packages-section { padding: 44px 0; }
}


/* ── Package Tabs (Nur Internet / Telefon + Internet) ─── */

.esv-pkg-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 28px;
	border-bottom: 2px solid var(--esv-border);
	padding-bottom: 0;
}

.esv-pkg-tab {
	padding: 10px 22px;
	font-size: .92rem;
	font-weight: 600;
	border: none;
	background: transparent;
	color: var(--esv-muted);
	cursor: pointer;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	border-radius: 4px 4px 0 0;
	transition: color .15s, border-color .15s, background .15s;
}

.esv-pkg-tab:hover {
	color: var(--esv-blue);
	background: var(--esv-blue-soft);
}

.esv-pkg-tab--active {
	color: var(--esv-blue);
	border-bottom-color: var(--esv-blue);
	background: var(--esv-blue-soft);
}

.esv-pkg-tabpanel--hidden {
	display: none;
}

.esv-telus-notice {
	background: #f0f7ff;
	border: 1px solid #c3dff5;
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 22px;
	font-size: .9rem;
	color: var(--esv-text);
	line-height: 1.5;
}

.esv-pkg-badge {
	font-size: .78rem;
	font-weight: 600;
	color: var(--esv-blue);
	background: var(--esv-blue-soft);
	border-radius: 20px;
	padding: 3px 10px;
	display: inline-block;
	margin: 4px 0;
}

.esv-cp-atc--link {
	display: block;
	text-decoration: none;
	font-weight: 700;
}

@media (max-width: 540px) {
	.esv-pkg-tabs { gap: 6px; }
	.esv-pkg-tab  { padding: 8px 14px; font-size: .85rem; }
}


/* ── TELUS badge tooltip ─────────────────────────────── */

.esv-telus-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	cursor: default;
}

.esv-telus-badge__more {
	font-size: .72rem;
	font-weight: 600;
	color: var(--esv-blue);
	text-decoration: underline dotted;
	cursor: pointer;
	position: relative;
	white-space: nowrap;
}

.esv-telus-badge__tooltip {
	display: none;
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	width: 270px;
	background: #1e293b;
	color: #f1f5f9;
	font-size: .75rem;
	font-weight: 400;
	line-height: 1.55;
	padding: 10px 13px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,.35);
	z-index: 100;
	text-align: left;
	pointer-events: none;
	white-space: normal;
}

.esv-telus-badge__tooltip strong {
	color: #7dd3fc;
}

/* arrow */
.esv-telus-badge__tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #1e293b;
}

.esv-telus-badge__more:hover .esv-telus-badge__tooltip,
.esv-telus-badge__more:focus .esv-telus-badge__tooltip {
	display: block;
}

/* on small screens open downward */
@media (max-width: 400px) {
	.esv-telus-badge__tooltip {
		bottom: auto;
		top: calc(100% + 8px);
		left: auto;
		right: 0;
		transform: none;
	}
	.esv-telus-badge__tooltip::after {
		top: auto;
		bottom: 100%;
		border-top-color: transparent;
		border-bottom-color: #1e293b;
	}
}

.esv-pkg-badges {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: flex-start;
	margin: 4px 0;
}


/* ── GB Filter Buttons ───────────────────────────────── */

.esv-gb-filter {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.esv-gb-filter__btn {
	padding: 7px 20px;
	font-size: .88rem;
	font-weight: 700;
	border: 2px solid var(--esv-border);
	border-radius: 30px;
	background: #fff;
	color: var(--esv-text);
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}

.esv-gb-filter__btn:hover {
	border-color: var(--esv-blue);
	color: var(--esv-blue);
}

.esv-gb-filter__btn--active {
	border-color: var(--esv-blue);
	background: var(--esv-blue);
	color: #fff;
}

.esv-package-card--hidden {
	display: none;
}

/* ── Physische SIM-Karte Hinweis ─────────────────────── */

.esv-sim-hint {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: .84rem;
	color: var(--esv-muted);
	background: #f8fafc;
	border: 1px solid var(--esv-border);
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 22px;
	line-height: 1.5;
}

.esv-sim-hint svg {
	flex-shrink: 0;
	color: var(--esv-blue);
}

.esv-sim-hint a {
	color: var(--esv-blue);
	font-weight: 600;
	white-space: nowrap;
}

.esv-sim-hint a:hover {
	text-decoration: underline;
}

/* ── TELUS Feature-Liste in Karten ───────────────────── */

.esv-telus-features {
	list-style: none;
	margin: 10px 0 10px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: .78rem;
	color: var(--esv-text);
	text-align: left;
	width: 100%;
}

.esv-telus-features li {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	line-height: 1.4;
}

.esv-tf-icon {
	font-size: .85rem;
	flex-shrink: 0;
	line-height: 1.4;
}
