/* Landing page – šablona templates/landing.php. Mobile-first. */
.lp {
	--lp-accent: var(--theme-palette-color-1, #FBBF47);
	--lp-accent-2: var(--theme-palette-color-2, #fdb016);
	--lp-ink: var(--theme-palette-color-4, #212529);
	--lp-muted: var(--theme-palette-color-3, #576471);
	--lp-line: var(--theme-palette-color-5, #e6eaec);
	--lp-tint: var(--theme-palette-color-7, #F9FAFB);
	--lp-soft: var(--theme-palette-color-9, #FFEBBE);
	color: var(--lp-ink);
	overflow-x: clip;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp img { display: block; max-width: 100%; height: auto; }
.lp a { text-decoration: none; }
.lp :where(h1, h2, h3) { color: var(--lp-ink); margin: 0; line-height: 1.15; }
.lp :where(p) { margin: 0; }
.lp :where(ul, ol) { margin: 0; padding: 0; list-style: none; }

.lp .lp-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.lp-section { padding-block: 48px; }
.lp-section--tint { background: var(--lp-tint); }
.lp-center { text-align: center; margin-top: 32px; }
.lp-center-h { text-align: center; font-size: clamp(24px, 4vw, 34px); margin-bottom: 28px; }

/* Buttons */
.lp-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 12px 24px; border-radius: 8px;
	font-weight: 600; font-size: 16px; line-height: 1.2;
	border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.lp-btn--primary { background: var(--lp-accent); color: var(--lp-ink); }
.lp-btn--primary:hover { background: var(--lp-accent-2); color: var(--lp-ink); }
.lp-btn--ghost { border-color: var(--lp-ink); color: var(--lp-ink); background: transparent; }
.lp-btn--ghost:hover { background: var(--lp-ink); color: #fff; }
.lp-btn--dark { background: var(--lp-ink); color: #fff; }
.lp-btn--dark:hover { background: #000; color: #fff; }
.lp-btn:focus-visible, .lp-cat:focus-visible, .lp-product:focus-visible, .lp-link:focus-visible, .lp-brands a:focus-visible {
	outline: 3px solid var(--lp-ink); outline-offset: 3px;
}

/* Hero */
.lp-hero { background: linear-gradient(180deg, var(--lp-soft) 0%, #fff 100%); padding-block: 40px 48px; }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.lp-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-muted); margin-bottom: 12px; }
.lp-hero h1 { font-size: clamp(32px, 7vw, 56px); font-weight: 700; letter-spacing: -.02em; }
.lp-lead { font-size: 18px; color: var(--lp-muted); margin-top: 16px; max-width: 52ch; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-actions .lp-btn { flex: 1 1 100%; }

.lp-hero__visual { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-hero__card { background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 8px 24px rgba(33,37,41,.10); aspect-ratio: 1; display: block; }
.lp-hero__card img { width: 100%; height: 100%; object-fit: contain; }
.lp-hero__card--2 { transform: translateY(14px); }

/* Grid položky se smí zúžit pod šířku obrázku (Safari jinak přetéká displej) */
.lp-hero__grid > *, .lp-hero__card, .lp-cat, .lp-product { min-width: 0; }
@media (max-width: 380px) {
	.lp-hero__visual { gap: 6px; }
	.lp-hero__card { padding: 6px; border-radius: 12px; }
}

/* Trust strip */
.lp-trust { border-block: 1px solid var(--lp-line); background: #fff; }
.lp-trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding-block: 20px; }
.lp-trust__list li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.lp-trust__list strong { font-size: 15px; }
.lp-trust__list span { color: var(--lp-muted); }
.lp-trust--3 .lp-trust__list { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 24px; }
.lp-trust--3 .lp-trust__list li { flex-direction: row; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; background: var(--lp-tint); border: 1px solid var(--lp-line); border-radius: 12px; }
.lp-trust--3 .lp-trust__list li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-trust--3 .lp-trust__ico { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lp-soft); color: var(--lp-ink); }

/* Section head */
.lp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; }
.lp-head h2 { font-size: clamp(24px, 4vw, 34px); }
.lp-link { color: var(--lp-ink); font-weight: 600; border-bottom: 2px solid var(--lp-accent); }
.lp-link:hover { color: var(--lp-ink); border-color: var(--lp-ink); }

/* Categories */
.lp-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; padding: 12px; color: var(--lp-ink); transition: border-color .15s, transform .15s; }
.lp-cat:hover { border-color: var(--lp-accent-2); transform: translateY(-2px); color: var(--lp-ink); }
.lp-cat__img { aspect-ratio: 1; background: var(--lp-tint); border-radius: 10px; padding: 10px; margin-bottom: 12px; display: block; }
.lp-cat__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lp-cat__name { font-weight: 600; font-size: 16px; }
.lp-cat__count { font-size: 13px; color: var(--lp-muted); }

/* Products */
.lp-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-product { display: flex; flex-direction: column; background: #fff; border-radius: 14px; padding: 10px; color: var(--lp-ink); border: 1px solid var(--lp-line); }
.lp-product:hover { border-color: var(--lp-ink); color: var(--lp-ink); }
.lp-product__img { position: relative; aspect-ratio: 1; display: block; margin-bottom: 10px; }
.lp-product__img img { width: 100%; height: 100%; object-fit: contain; }
.lp-badge { position: absolute; top: 0; left: 0; z-index: 1; background: var(--lp-ink); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.lp-product__name { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.lp-product__price { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 16px; }
.lp-product__price del { display: block; color: var(--lp-muted); font-weight: 400; font-size: 14px; white-space: nowrap; }
.lp-product__price ins { text-decoration: none; }

/* Přeškrtnutá doporučená cena dodavatele */
.lp-rrp-label { font-size: 12px; font-weight: 400; margin-right: 2px; }

/* Záložky podle sportu (bez JS: přepínají radia) */
.lp-tabs__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lp-tabs__nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; justify-content: flex-start; }
.lp-tabs__label { flex: 0 0 auto; cursor: pointer; padding: 10px 20px; border: 1px solid var(--lp-line); border-radius: 999px; background: #fff; font-weight: 600; transition: background .15s, border-color .15s; }
.lp-tabs__label:hover { border-color: var(--lp-ink); }
.lp-tabs__panel { display: none; }
#lp-tab-beh:checked ~ .lp-tabs__nav .lp-tabs__label--beh { background: var(--lp-accent); border-color: var(--lp-accent); }
#lp-tab-beh:checked ~ .lp-tabs__panel--beh { display: block; }
#lp-tab-beh:focus-visible ~ .lp-tabs__nav .lp-tabs__label--beh { outline: 3px solid var(--lp-ink); outline-offset: 3px; }
#lp-tab-fotbal:checked ~ .lp-tabs__nav .lp-tabs__label--fotbal { background: var(--lp-accent); border-color: var(--lp-accent); }
#lp-tab-fotbal:checked ~ .lp-tabs__panel--fotbal { display: block; }
#lp-tab-fotbal:focus-visible ~ .lp-tabs__nav .lp-tabs__label--fotbal { outline: 3px solid var(--lp-ink); outline-offset: 3px; }
#lp-tab-fitness:checked ~ .lp-tabs__nav .lp-tabs__label--fitness { background: var(--lp-accent); border-color: var(--lp-accent); }
#lp-tab-fitness:checked ~ .lp-tabs__panel--fitness { display: block; }
#lp-tab-fitness:focus-visible ~ .lp-tabs__nav .lp-tabs__label--fitness { outline: 3px solid var(--lp-ink); outline-offset: 3px; }
#lp-tab-basketbal:checked ~ .lp-tabs__nav .lp-tabs__label--basketbal { background: var(--lp-accent); border-color: var(--lp-accent); }
#lp-tab-basketbal:checked ~ .lp-tabs__panel--basketbal { display: block; }
#lp-tab-basketbal:focus-visible ~ .lp-tabs__nav .lp-tabs__label--basketbal { outline: 3px solid var(--lp-ink); outline-offset: 3px; }
#lp-tab-tenis:checked ~ .lp-tabs__nav .lp-tabs__label--tenis { background: var(--lp-accent); border-color: var(--lp-accent); }
#lp-tab-tenis:checked ~ .lp-tabs__panel--tenis { display: block; }
#lp-tab-tenis:focus-visible ~ .lp-tabs__nav .lp-tabs__label--tenis { outline: 3px solid var(--lp-ink); outline-offset: 3px; }
@media (min-width: 900px) { .lp-tabs__nav { justify-content: center; } }

/* Brands */
.lp-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-brands a { display: inline-block; padding: 12px 22px; border: 1px solid var(--lp-line); border-radius: 999px; color: var(--lp-ink); font-weight: 600; background: #fff; }
.lp-brands a:hover { background: var(--lp-accent); border-color: var(--lp-accent); color: var(--lp-ink); }

/* Steps */
.lp-steps { display: grid; gap: 28px; }
.lp-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.lp-steps__n { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--lp-accent); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.lp-steps h3 { font-size: 20px; }
.lp-steps p { color: var(--lp-muted); margin-top: 6px; }

/* CTA */
.lp-cta { padding-block: 48px; }
.lp-cta__box { background: var(--lp-ink); border-radius: 20px; padding: 40px 24px; text-align: center; max-width: 1168px; }
.lp-cta h2 { color: #fff; font-size: clamp(26px, 5vw, 40px); }
.lp-cta p { color: #cfd4d9; margin: 12px 0 24px; font-size: 18px; }

@media (min-width: 600px) {
	.lp-actions .lp-btn { flex: 0 0 auto; }
	.lp-trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.lp-trust--3 .lp-trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.lp-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lp-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.lp-section { padding-block: 72px; }
	.lp-hero { padding-block: 64px 80px; }
	.lp-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
	.lp-hero__visual { gap: 14px; }
	.lp-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.lp-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.lp-cta__box { padding: 64px 32px; }
}
@media (prefers-reduced-motion: reduce) {
	.lp-cat, .lp-btn, .lp-tabs__label { transition: none; }
	.lp-cat:hover { transform: none; }
}
