/* Lindo Partner – Ausgabe auf der Website. Farben folgen den GeneratePress-Farben, wenn vorhanden. */
.lp-card, .lp-list, .lp-button-wrap, .lp-wrap {
	--lp-accent: var(--accent, #C41A28);
	--lp-accent-2: var(--accent-2, #7A0A0C);
	--lp-green: var(--accent-3, #2F7A3D);
	--lp-text: var(--contrast, #2A1A14);
	--lp-muted: var(--contrast-2, #6B5448);
	--lp-line: var(--base, #F0DCCD);
}

/* Produktkarte */
.lp-card { position: relative; display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; padding: 18px; margin: 1.5em 0; }
.lp-card-ad { position: absolute; top: 10px; right: 12px; font-size: 11px; font-weight: 700; color: var(--lp-muted); border: 1px solid var(--lp-line); border-radius: 6px; padding: 1px 6px; background: #fff; }
.lp-card-img { flex: 0 0 160px; display: block; }
.lp-card-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 10px; border: 0 !important; }
.lp-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.lp-card-shop { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lp-green); }
.lp-card-title { font-weight: 800; font-size: 1.05em; line-height: 1.3; color: var(--lp-text) !important; text-decoration: none !important; }
.lp-card-title:hover { color: var(--lp-accent) !important; }
.lp-card-price { font-weight: 800; font-size: 1.3em; color: var(--lp-accent); }
.lp-card-price del { color: var(--lp-muted); font-weight: 400; font-size: .75em; }
.lp-card-base { display: block; font-size: 12px; color: var(--lp-muted); }
.lp-card-stand, .lp-card-note { font-size: 12px; color: var(--lp-muted); }
.lp-card-btn { align-self: flex-start; background: var(--lp-green); color: #fff !important; font-weight: 700; padding: 10px 18px; border-radius: 12px; text-decoration: none !important; margin-top: 4px; }
.lp-card-btn:hover { filter: brightness(.92); }
.lp-card-gone { opacity: .85; }
.lp-card-gone .lp-card-btn { background: var(--lp-muted); }
@media (max-width: 560px) {
	.lp-card-quer { flex-direction: column; align-items: stretch; }
	.lp-card-img { flex-basis: auto; max-width: 220px; margin: 0 auto; }
}

/* Produktliste */
.lp-list { display: grid; gap: 18px; margin: 1.5em 0; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.lp-list.lp-cols-1 { grid-template-columns: 1fr; }
.lp-list.lp-cols-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lp-list .lp-card { flex-direction: column; align-items: stretch; margin: 0; }
.lp-list .lp-card-img { flex: 0 0 auto; }
.lp-list .lp-card-btn { margin-top: auto; align-self: stretch; text-align: center; }

/* Link & Button */
.lp-star { color: var(--lp-muted); font-size: .7em; margin-left: 1px; text-decoration: none; }
.lp-button-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: .8em 0; }
.lp-button { display: inline-block; background: var(--lp-accent); color: #fff !important; font-weight: 700; padding: 12px 22px; border-radius: 12px; text-decoration: none !important; }
.lp-button:hover { background: var(--lp-accent-2); }
.lp-button-ad { font-size: 11px; color: var(--lp-muted); }
.lp-admin-note { border: 1px dashed #c00; padding: 6px 10px; font-size: 13px; color: #a00; }

/* Link-Seite */
body.lp-body { font-family: var(--ht24-font-text, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); min-height: 100vh; }
.lp-wrap { max-width: 560px; margin: 0 auto; padding: 40px 20px 32px; box-sizing: border-box; }
.lp-head { text-align: center; margin-bottom: 26px; }
.lp-avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.lp-title { font-family: var(--ht24-font-head, inherit); font-size: 1.6rem; margin: 14px 0 6px; line-height: 1.2; color: inherit; }
.lp-bio { margin: 0 auto; max-width: 42ch; opacity: .85; line-height: 1.5; }
.lp-items { display: flex; flex-direction: column; gap: 12px; }
.lp-heading { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 14px 0 0; text-align: center; opacity: .75; color: inherit; }
.lp-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 10px 56px; background: var(--lp-btn-bg); color: var(--lp-btn-fg) !important; border-radius: var(--lp-radius); text-decoration: none !important; font-weight: 700; text-align: center; box-shadow: 0 2px 0 rgba(0,0,0,.08); transition: transform .12s ease, box-shadow .12s ease; box-sizing: border-box; }
.lp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.lp-btn:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.lp-btn-hl { animation: lp-pulse 2.4s ease-in-out infinite; }
@keyframes lp-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,0,0,.18); } 50% { box-shadow: 0 0 0 6px rgba(0,0,0,0); } }
@media (prefers-reduced-motion: reduce) { .lp-btn-hl { animation: none; } .lp-btn { transition: none; } }
.lp-btn-img img { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: calc(var(--lp-radius) / 2); }
.lp-btn .lp-ad { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 600; opacity: .8; }
.lp-socials { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.lp-socials a { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; color: inherit; }
.lp-socials a:hover { background: rgba(0,0,0,.06); }
.lp-foot { text-align: center; font-size: 13px; opacity: .75; margin-top: 30px; }
.lp-foot a { color: inherit; }
/* Theme-Elemente auf Link-Seiten ausblenden, falls das Theme etwas einhängt */
body.lp-body .site-header, body.lp-body .site-footer, body.lp-body #site-navigation, body.lp-body .secondary-navigation { display: none !important; }

/* ---------- Highlights-Box ---------- */
.lp-hl { margin: 2em 0; }
.lp-hl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lp-hl-title { margin: 0 !important; }
.lp-hl-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-hl-tabs button { font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; border: 2px solid var(--lp-text, #2A1A14); border-radius: 999px; padding: 8px 16px; min-height: 44px; background: #fff; color: var(--lp-text, #2A1A14); }
.lp-hl-tabs button[aria-selected="true"] { background: var(--lp-text, #2A1A14); color: #fff; }
.lp-hl-tabs button:focus-visible { outline: 3px solid var(--lp-accent, #C41A28); outline-offset: 2px; }
.lp-hl-panel[hidden] { display: none !important; }
.lp-hl .lp-list { margin: 0; }
.lp-list.lp-cols-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.lp-hl-card { padding-top: 34px; }
.lp-hl-badge { position: absolute; top: 10px; left: 12px; font-size: 12px; font-weight: 800; color: #fff; background: var(--lp-accent, #C41A28); border-radius: 999px; padding: 2px 10px; }
.lp-hl-badge-neu { background: var(--lp-green, #2F7A3D); }
.lp-hl-badge-top { background: var(--lp-accent-2, #7A0A0C); }
.lp-uvp { font-size: .7em; color: var(--lp-muted, #6B5448); font-weight: 400; }
.lp-hl-more { text-align: right; font-weight: 700; margin: 12px 0 0; }
.lp-hl-note { font-size: 12px; color: var(--lp-muted, #6B5448); margin: 10px 0 0; }

/* ---------- kompakte Liste / Widget ---------- */
.lp-widget, .lp-hl-kompakt .lp-list { display: flex; flex-direction: column; gap: 10px; }
.lp-mini-item { position: relative; display: flex; gap: 12px; align-items: center; text-decoration: none !important; color: var(--lp-text, #2A1A14) !important; padding: 8px; border-radius: 12px; border: 1px solid var(--lp-line, #F0DCCD); background: #fff; }
.lp-mini-item:hover { border-color: var(--lp-accent, #C41A28); }
.lp-mini-item img { flex: 0 0 64px; width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #fff; border: 0 !important; }
.lp-mini-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-mini-name { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-mini-price { font-weight: 800; color: var(--lp-accent, #C41A28); font-size: 14px; }
.lp-mini-price small { color: var(--lp-muted, #6B5448); font-weight: 600; }
.lp-mini-ad { position: absolute; top: 4px; right: 8px; font-size: 12px; color: var(--lp-muted, #6B5448); }
.lp-widget-note { font-size: 12px; color: var(--lp-muted, #6B5448); margin: 4px 0 0; }
.lp-widget-more { margin: 0; font-weight: 700; }

/* ---------- Laufband ---------- */
.lp-ticker { --lp-tk-bg: var(--accent-2, #7A0A0C); background: var(--lp-tk-bg); color: #fff; font-size: 15px; overflow: hidden; max-width: 1170px; margin: 0 auto; border-radius: 0 0 14px 14px; }
.lp-ticker-inner { display: flex; align-items: center; gap: 14px; padding: 9px 16px; }
.lp-ticker-label { flex: 0 0 auto; background: #fff; color: var(--lp-tk-bg); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.lp-ticker-track { flex: 1 1 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.lp-ticker-items { display: inline-flex; white-space: nowrap; animation: lp-ticker var(--lp-tk-dur, 60s) linear infinite; }
.lp-ticker-track:hover .lp-ticker-items, .lp-ticker-track:focus-within .lp-ticker-items { animation-play-state: paused; }
.lp-tk-dup { display: inline-flex; }
.lp-tk-item { color: #fff !important; text-decoration: none !important; padding: 0 26px 0 0; display: inline-flex; align-items: center; gap: 8px; }
.lp-tk-item:hover { text-decoration: underline !important; }
.lp-tk-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: rgba(255,255,255,.16); border-radius: 6px; padding: 2px 7px; }
.lp-tk-own .lp-tk-tag { background: var(--accent, #C41A28); }
.lp-tk-partner .lp-tk-tag { background: var(--accent-3, #2F7A3D); }
.lp-tk-item sup { font-size: 10px; opacity: .85; margin-left: -4px; }
.lp-ticker-ad { flex: 0 0 auto; font-size: 11px; opacity: .8; }
@keyframes lp-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.lp-ticker-items { animation: none; }
	.lp-ticker-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.lp-tk-dup { display: none; }
}
@media (max-width: 768px) { .lp-ticker { border-radius: 0; font-size: 14px; } .lp-ticker-ad { display: none; } }

/* ---------- eigene Vorlagen (Eigener Shop) ---------- */
.lp-card-own { border-color: var(--lp-line, #F0DCCD); }
.lp-card-own .lp-card-img img { aspect-ratio: 1 / 1; object-fit: cover; }
.lp-card-sub { font-size: 14px; line-height: 1.4; color: var(--lp-muted, #6B5448); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-own-badge { position: absolute; top: 10px; left: 12px; z-index: 1; font-size: 12px; font-weight: 800; color: #fff; background: var(--lp-green, #2F7A3D); border-radius: 999px; padding: 2px 10px; }
.lp-own-group { scroll-margin-top: 90px; }
.lp-own-end { margin: 2.5em 0 1.5em; padding: 18px 18px 4px; border-radius: 16px; background: var(--lp-soft, #FFF9F3); border: 2px solid var(--lp-green, #2F7A3D); }
.lp-own-end-title { margin: 0 0 4px !important; font-weight: 800; font-size: 1.1em; color: var(--lp-green, #2F7A3D); }
.lp-own-end .lp-list { margin: 12px 0 14px; }
.lp-own-end .lp-list.lp-cols-1 .lp-card { flex-direction: row; align-items: center; }
.lp-own-end .lp-list.lp-cols-1 .lp-card-img { flex: 0 0 140px; }
.lp-own-end .lp-list.lp-cols-1 .lp-card-btn { align-self: flex-start; }
@media (max-width: 600px) { .lp-own-end .lp-list.lp-cols-1 .lp-card { flex-direction: column; align-items: stretch; } .lp-own-end .lp-list.lp-cols-1 .lp-card-img { flex: 0 0 auto; } }
