/* Companion – Pakete & Checkout. Läuft im Theme-Layout, Farben über Variablen anpassbar. */
.cmp-shop {
	--cmp-accent: #c4436e;
	--cmp-accent-dark: #a5335a;
	--cmp-accent-soft: #fde2ea;
	--cmp-border: #e6dfe1;
	--cmp-muted: #7a7075;
	max-width: 960px;
	margin: 0 auto;
	line-height: 1.5;
}
.cmp-shop *, .cmp-shop *::before, .cmp-shop *::after { box-sizing: border-box; }
.cmp-shop-h { margin: 28px 0 4px; font-size: 1.5em; }
.cmp-shop-h--small { font-size: 1.1em; margin-top: 36px; }
.cmp-shop-sub { margin: 0 0 16px; color: var(--cmp-muted); }
.cmp-shop-note { color: var(--cmp-muted); font-size: .9em; margin-top: 16px; }
.cmp-shop-notice {
	background: #fff7e6; color: #6b5321;
	padding: 12px 16px; border-radius: 8px; margin: 0 0 16px;
}
.cmp-shop-account {
	display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
	padding: 12px 16px; border: 1px solid var(--cmp-border); border-radius: 10px;
	margin-bottom: 8px; font-size: .95em;
}
.cmp-shop-account a { margin-left: auto; text-decoration: none; font-weight: 600; color: var(--cmp-accent); }

.cmp-shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}
.cmp-shop-card {
	border: 1px solid var(--cmp-border);
	border-radius: 14px;
	padding: 22px 20px 20px;
	display: flex; flex-direction: column; gap: 4px;
	background: #fff;
}
.cmp-shop-card.is-featured { border-color: var(--cmp-accent); box-shadow: 0 0 0 2px var(--cmp-accent-soft); }
.cmp-shop-card-name { font-weight: 700; font-size: 1.15em; }
.cmp-shop-card-unit { color: var(--cmp-muted); font-size: .9em; }
.cmp-shop-card-price { font-size: 1.7em; font-weight: 700; margin: 10px 0 2px; }
.cmp-shop-card-desc { color: var(--cmp-muted); font-size: .95em; min-height: 1.5em; }
.cmp-shop-card form { margin-top: auto; padding-top: 14px; }

.cmp-shop-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	border: 0;
	background: var(--cmp-accent);
	color: #fff !important;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	margin-top: 8px;
}
.cmp-shop-btn:hover { background: var(--cmp-accent-dark); }
.cmp-shop-btn--big { padding: 14px 26px; font-size: 1.05em; width: 100%; text-align: center; }
.cmp-shop-link { background: none; border: 0; color: var(--cmp-muted); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.cmp-shop-cancel { margin-top: 18px; }
.cmp-shop-back { margin: 0 0 6px; }
.cmp-shop-back a { text-decoration: none; color: var(--cmp-muted); }

.cmp-shop-order { max-width: 560px; }
.cmp-shop-summary {
	display: flex; justify-content: space-between;
	padding: 14px 16px; border: 1px solid var(--cmp-border); border-radius: 10px;
	font-weight: 600; margin: 12px 0 18px;
}
.cmp-shop-box { padding: 16px 18px; border-radius: 10px; background: #f6f3f4; }
.cmp-shop-box--ok { background: #e9f7ee; }
.cmp-shop-box--warn { background: #fff7e6; }
.cmp-shop-box--wait { background: #eef3fb; }
.cmp-shop-box pre { white-space: pre-wrap; margin: 10px 0; padding: 10px 12px; background: #fff; border-radius: 6px; font-size: .95em; }

.cmp-shop-gateways { border: 1px solid var(--cmp-border); border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; }
.cmp-shop-gateways legend { font-weight: 600; padding: 0 6px; }
.cmp-shop-gateways label { display: block; padding: 8px 0; cursor: pointer; }
.cmp-shop-gateways small { display: block; color: var(--cmp-muted); margin-left: 24px; }
.cmp-shop-consent { display: flex; gap: 10px; align-items: center; margin: 0 0 12px; font-size: .95em; }
.cmp-shop-consent input { margin: 0; flex: 0 0 auto; }
.cmp-shop-coupon { margin: 0 0 16px; }
.cmp-shop-coupon label { display: block; font-weight: 600; margin-bottom: 6px; }
.cmp-shop-coupon__row { display: flex; gap: 8px; }
.cmp-shop-coupon__row input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--cmp-border); border-radius: 8px; font: inherit; }
.cmp-shop-btn--ghost { background: transparent; color: var(--cmp-accent); border: 1px solid var(--cmp-accent); }
.cmp-shop-coupon-note { margin: -8px 0 16px; font-size: .95em; color: var(--cmp-muted); }
.cmp-shop-legal { font-size: .9em; color: var(--cmp-muted); margin: 0 0 14px; }

.cmp-shop-orders { width: 100%; border-collapse: collapse; font-size: .95em; }
.cmp-shop-orders td { padding: 8px 6px; border-bottom: 1px solid var(--cmp-border); }
.cmp-status--paid { color: #1a7f37; }
.cmp-status--pending { color: #8a6d1a; }
.cmp-status--expired, .cmp-status--cancelled { color: var(--cmp-muted); }

.cmp-shop-inline{ display:inline; margin:0; }
.cmp-shop-orders td:last-child{ text-align:right; white-space:nowrap; }

.cmp-shop-who__item img, .cmp-shop-char img, .cmp-shop-summary img{ object-position:50% 12%; }
.cmp-shop-h--credits{ margin-top:44px !important; }

a.cmp-shop-custom{ text-decoration:none; color:inherit; display:grid; }

.cmp-shop-who__pic{ display:block; width:54px; height:54px; border-radius:50%; overflow:hidden; }
.cmp-shop-who__pic img{ width:100%; height:100%; object-fit:cover; object-position:50% 0; transform:scale(1.35); transform-origin:50% 22%; display:block; }
.cmp-shop-char img, .cmp-shop-summary img{ object-position:50% 12%; }

/* Bio-Karte unter „Für wen?“ */
.cmp-shop-bio{ display:grid; grid-template-columns:300px 1fr; gap:26px; margin:14px 0 0; padding:0; background:#fff; border:1.5px solid #e6dad9; border-left:4px solid var(--cmp-accent, #c4436e); border-radius:4px; opacity:0; transform:translateY(-4px); transition:opacity .35s ease, transform .35s ease; }
.cmp-shop-bio.is-in{ opacity:1; transform:none; }
.cmp-shop-bio__pic img{ width:100%; height:100%; aspect-ratio:4/5; object-fit:cover; object-position:50% 0; border-radius:0; display:block; }
.cmp-shop-bio__body{ padding:22px 24px 22px 0; }
.cmp-shop-bio h3{ font-size:26px; }
.cmp-shop-bio h3{ margin:0 0 2px; font-size:22px; }
.cmp-shop-bio h3 small{ font-weight:500; font-size:15px; color:#7a7075; margin-left:6px; }
.cmp-shop-bio__tag{ color:#7a7075; font-size:14px; margin:0 0 8px; }
.cmp-shop-bio__traits{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; }
.cmp-shop-bio__traits span{ font-size:12px; font-weight:700; color:var(--cmp-accent-dark, #a5335a); background:var(--cmp-accent-soft, #fde2ea); padding:3px 9px; border-radius:99px; }
.cmp-shop-bio__text{ font-size:14.5px; line-height:1.55; }
.cmp-shop-bio__text p{ margin:0 0 8px; }
.cmp-shop-bio__ok{ margin:10px 0 0; font-weight:700; color:#1a7f37; font-size:14px; display:flex; align-items:center; gap:8px; }
.cmp-shop-bio__ok::before{ content:""; width:10px; height:10px; border-radius:50%; background:#3ec46d; }
.cmp-shop-bio__ok a{ color:inherit; text-decoration:none; }
@media (max-width:640px){
	.cmp-shop-bio{ grid-template-columns:1fr; gap:0; }
	.cmp-shop-bio__pic img{ aspect-ratio:1/1; max-height:60vw; }
	.cmp-shop-bio__body{ padding:16px 16px 18px; }
	.cmp-shop-bio h3{ font-size:21px; }
	.cmp-shop-bio__text{ font-size:14px; }
}

.cmp-shop-bio__pic{ position:relative; }
.cmp-shop-bio__pic video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 0; }

/* „Wähle deine Figur“: ab der siebten Figur eingeklappt */
.cmp-shop-who__group.has-more:not(.is-open) .cmp-shop-who__item.is-extra{ display:none; }
.cmp-shop-who__more{ align-self:center; background:none; border:1.5px dashed var(--cmp-border); border-radius:999px; padding:8px 14px; font:inherit; font-size:13px; font-weight:700; color:var(--cmp-accent-dark); cursor:pointer; }
.cmp-shop-who__more:hover{ border-color:var(--cmp-accent); }

/* Reiter auf der Paketseite */
.cmp-shop-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 26px; }
.cmp-shop-tab { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; border: 1px solid var(--cmp-border); background: #fff; border-radius: 12px; padding: 14px 16px; font: inherit; color: var(--cmp-text); cursor: pointer; }
.cmp-shop-tab b { font-size: 1.05em; }
.cmp-shop-tab small { color: var(--cmp-muted); font-size: .85em; }
.cmp-shop-tab.is-active { background: var(--cmp-accent); border-color: var(--cmp-accent); color: #fff; }
.cmp-shop-tab.is-active small { color: rgba(255,255,255,.8); }
@media (max-width: 640px) { .cmp-shop-tabs { grid-template-columns: 1fr; } }
.cmp-shop-panel { display: none; }
.cmp-shop-panel.is-active { display: block; }
.cmp-shop-bar[hidden] { display: none; }
