/* ═══════════════════════════════════════════════════════
   ESIMVault Shop – Stylesheet
   ═══════════════════════════════════════════════════════ */

.esimvault-shop {
	--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);

	max-width: 960px;
	margin: 0 auto;
	padding: 0 16px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--esv-text);
	box-sizing: border-box;
}

.esimvault-shop *, .esimvault-shop *::before, .esimvault-shop *::after {
	box-sizing: inherit;
}


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

.esv-hero {
	text-align: center;
	padding: 48px 16px 32px;
}

.esv-hero__title {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 800;
	margin: 0 0 10px;
	line-height: 1.15;
}

.esv-hero__sub {
	color: var(--esv-muted);
	font-size: 1.05rem;
	margin: 0;
}


/* ── Suchfeld ────────────────────────────────────────── */

.esv-search-wrap {
	position: relative;
	max-width: 500px;
	margin: 0 auto;
}

.esv-search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--esv-muted);
	pointer-events: none;
	display: flex;
}

.esv-search-input {
	width: 100%;
	padding: 15px 20px 15px 50px;
	font-size: 1rem;
	border: 2px solid var(--esv-border);
	border-radius: 50px;
	outline: none;
	background: var(--esv-surface);
	color: var(--esv-text);
	transition: border-color .18s, box-shadow .18s;
	-webkit-appearance: none;
}

.esv-search-input:focus {
	border-color: var(--esv-blue);
	box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.esv-search-input::placeholder {
	color: #aab4c0;
}


/* ── Dropdown ────────────────────────────────────────── */

.esv-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: var(--esv-surface);
	border: 1px solid var(--esv-border);
	border-radius: var(--esv-radius);
	box-shadow: var(--esv-shadow);
	max-height: 340px;
	overflow-y: auto;
	z-index: 9999;
	display: none;
	scrollbar-width: thin;
}

.esv-dropdown::-webkit-scrollbar { width: 6px; }
.esv-dropdown::-webkit-scrollbar-track { background: transparent; }
.esv-dropdown::-webkit-scrollbar-thumb { background: var(--esv-border); border-radius: 99px; }

.esv-country-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 16px;
	cursor: pointer;
	transition: background .12s;
}

.esv-country-item:hover,
.esv-country-item.is-active {
	background: var(--esv-blue-soft);
}

.esv-country-flag {
	font-size: 1.5rem;
	line-height: 1;
	flex-shrink: 0;
}

.esv-country-name {
	font-weight: 500;
	font-size: .95rem;
}

.esv-dropdown-empty {
	padding: 18px 16px;
	color: var(--esv-muted);
	font-size: .9rem;
	text-align: center;
}


/* ── Beliebte Reiseziele ─────────────────────────────── */

.esv-popular {
	text-align: center;
	margin-top: 24px;
	padding-bottom: 8px;
}

.esv-popular__label {
	font-size: .8rem;
	color: var(--esv-muted);
	letter-spacing: .04em;
	text-transform: uppercase;
	margin: 0 0 12px;
}

.esv-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.esv-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	background: var(--esv-surface);
	border: 1.5px solid var(--esv-border);
	border-radius: 50px;
	font-size: .88rem;
	font-weight: 500;
	cursor: pointer;
	color: var(--esv-text);
	transition: border-color .15s, color .15s, background .15s;
}

.esv-chip:hover {
	border-color: var(--esv-blue);
	color: var(--esv-blue);
	background: var(--esv-blue-soft);
}


/* ── Pakete: Header ──────────────────────────────────── */

.esv-packages-section {
	padding: 16px 0 48px;
}

.esv-packages-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 28px;
	padding-top: 8px;
}

.esv-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1.5px solid var(--esv-border);
	border-radius: 8px;
	background: var(--esv-surface);
	color: var(--esv-text);
	font-size: .9rem;
	font-weight: 500;
	cursor: pointer;
	transition: border-color .15s, color .15s;
}

.esv-back-btn:hover {
	border-color: var(--esv-blue);
	color: var(--esv-blue);
}

.esv-packages-country {
	font-size: 1.5rem;
	font-weight: 700;
}


/* ── Demo-Hinweis ────────────────────────────────────── */

.esv-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;
}


/* ── Pakete: Grid ────────────────────────────────────── */

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

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


/* ── Paket-Karte ─────────────────────────────────────── */

.esv-package-card {
	background: var(--esv-surface);
	border: 2px solid var(--esv-border);
	border-radius: var(--esv-radius);
	padding: 20px 18px;
	display: flex;
	flex-direction: column;
	box-shadow: var(--esv-shadow);
	transition: transform .18s, border-color .18s, box-shadow .18s;
	cursor: default;
}

.esv-package-card:hover {
	transform: translateY(-3px);
	border-color: var(--esv-blue);
	box-shadow: var(--esv-shadow-lg);
}


/* Datenvolumen */
.esv-pkg-data {
	font-size: 2.4rem;
	font-weight: 900;
	color: var(--esv-blue);
	line-height: 1;
}

.esv-pkg-unit {
	font-size: 1rem;
	font-weight: 600;
	color: var(--esv-muted);
}

.esv-pkg-validity {
	font-size: .85rem;
	color: var(--esv-muted);
	margin-top: 5px;
}

.esv-pkg-providers {
	font-size: .75rem;
	color: var(--esv-muted);
	margin-top: 6px;
	display: flex;
	align-items: center;
	gap: 4px;
	line-height: 1.3;
}

.esv-pkg-providers svg {
	flex-shrink: 0;
	opacity: .6;
}

.esv-pkg-divider {
	border: none;
	border-top: 1px solid var(--esv-border);
	margin: 14px 0;
}

/* Preis */
.esv-pkg-price {
	font-size: 1.45rem;
	font-weight: 800;
	margin-bottom: 14px;
}

.esv-pkg-price .woocommerce-Price-amount { font-size: inherit; }
.esv-pkg-price .woocommerce-Price-currencySymbol { font-size: .85em; font-weight: 600; }

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

.esv-add-to-cart:hover {
	background: var(--esv-blue-h);
	color: #fff !important;
}

.esv-add-to-cart.is-demo {
	background: var(--esv-muted);
	cursor: not-allowed;
	pointer-events: none;
}

.esv-add-to-cart.is-loading {
	background: var(--esv-muted);
	cursor: wait;
	pointer-events: none;
}

.esv-add-to-cart.is-added {
	background: var(--esv-green);
	pointer-events: none;
}


/* ── Lade-Animation ──────────────────────────────────── */

.esv-loading {
	text-align: center;
	padding: 56px 20px;
	color: var(--esv-muted);
	grid-column: 1 / -1;
}

.esv-spinner {
	width: 36px;
	height: 36px;
	border: 3px solid var(--esv-border);
	border-top-color: var(--esv-blue);
	border-radius: 50%;
	animation: esv-spin .75s linear infinite;
	margin: 0 auto 14px;
}

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

/* Keine Pakete */
.esv-no-packages {
	text-align: center;
	padding: 56px 20px;
	color: var(--esv-muted);
	grid-column: 1 / -1;
	font-size: 1rem;
}


/* ═══════════════════════════════════════════════════════
   Homepage Sections  [esimvault_homepage]
   ═══════════════════════════════════════════════════════ */

.esv-home {
	--esv-blue:      #124F7C;
	--esv-blue-h:    #0e3d61;
	--esv-blue-soft: #dbedf9;
	--esv-border:    #dde4eb;
	--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);
}

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

.esv-home-section-title {
	font-size: clamp(1.3rem, 3vw, 1.7rem);
	font-weight: 800;
	margin: 0 0 30px;
	color: var(--esv-text);
	text-align: center;
}


/* ── USP Bar ──────────────────────────────────────────── */

.esv-home-usps-section {
	padding: 40px 20px;
	background: var(--esv-bg);
	border-top: 1px solid var(--esv-border);
}

.esv-home-usp-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 960px;
	margin-inline: auto;
}

.esv-home-usp-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 5px;
}

.esv-home-usp-icon {
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 6px;
}

.esv-home-usp-item strong {
	font-size: 1rem;
	font-weight: 700;
	color: var(--esv-text);
}

.esv-home-usp-item span {
	font-size: .82rem;
	color: var(--esv-muted);
}


/* ── Popular Destinations ─────────────────────────────── */

.esv-home-popular-section {
	padding: 60px 20px;
	background: #fff;
}

.esv-home-countries-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 14px;
	max-width: 960px;
	margin-inline: auto;
}

.esv-home-country-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 12px;
	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: 8px;
	transition: border-color .15s, transform .15s, box-shadow .15s;
}

.esv-home-country-card:hover {
	border-color: var(--esv-blue);
	transform: translateY(-3px);
	box-shadow: var(--esv-shadow-lg);
	color: var(--esv-text);
}

.esv-home-country-flag { font-size: 2rem; line-height: 1; }
.esv-home-country-name { font-size: .85rem; font-weight: 600; }


/* ── How It Works ─────────────────────────────────────── */

.esv-home-how-section {
	padding: 60px 20px;
	background: var(--esv-bg);
}

.esv-home-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 960px;
	margin-inline: auto;
}

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

.esv-home-step__icon {
	font-size: 2.4rem;
	line-height: 1;
	margin-bottom: 16px;
	display: block;
}

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

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


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

.esv-home-faq-section {
	padding: 60px 20px 80px;
	background: #fff;
}

.esv-home-faq { max-width: 740px; margin-inline: auto; }


/* ── All Countries Grid ───────────────────────────────── */

.esv-countries-grid-wrap { padding: 20px 0; }

.esv-countries-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}

.esv-countries-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--esv-border, #e2e8f0);
	border-radius: 10px;
	text-decoration: none;
	color: #1e293b;
	font-size: .88rem;
	font-weight: 500;
	transition: border-color .14s, background .14s;
}

.esv-countries-item:hover {
	border-color: #2563eb;
	background: #eff6ff;
	color: #1e293b;
}

.esv-countries-flag { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }


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

@media (max-width: 600px) {
	.esv-home-popular-section,
	.esv-home-how-section,
	.esv-home-faq-section { padding: 44px 16px; }
	.esv-home-usps-section { padding: 32px 16px; }
}
