/* ==========================================================
   Strona glowna v2 (2026-11)
   ========================================================== */
.hp2 {
	--hp2-ink: #1f1f1f;
	--hp2-muted: #757575;
	--hp2-line: #eaeaea;
	--hp2-soft: #f7f4ef;
	--hp2-gold: #b08d57;
	--hp2-accent: #327d45;
	--hp2-serif: Georgia, "Times New Roman", serif;
	color: var(--hp2-ink);
	max-width: 1156px;
	margin: 14px auto 0;
}
@media (max-width: 1196px) { .hp2 { padding: 0 20px; } }
.hp2 *, .hp2 *:before, .hp2 *:after { box-sizing: border-box; }
.hp2 a { text-decoration: none; }
.hp2 h1, .hp2 h2, .hp2 h3 { text-align: left; }

/* ---------- kafle ze zdjeciem ---------- */
.hp2-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #e9e5df; color: #fff; }
.hp2-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hp2-tile:hover img { transform: scale(1.05); }
.hp2-tile:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6) 100%); }
.hp2-in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.hp2 .hp2-t { font-family: var(--hp2-serif); font-size: 25px; line-height: 1.1; color: #fff; }
.hp2 .hp2-s { font-size: 13px; color: rgba(255,255,255,.9); margin-top: 6px; }

/* ---------- mozaika ---------- */
.hp2-hero { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; grid-gap: 14px; height: 540px; }
.hp2-main { grid-row: 1 / 3; }
.hp2-main img { object-position: 70% center; }
.hp2-main:after { background: linear-gradient(90deg, rgba(20,14,8,.8) 0%, rgba(20,14,8,.45) 45%, rgba(20,14,8,0) 75%); }
.hp2-main .hp2-in { top: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 56px; max-width: 560px; }
.hp2-eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: bold; color: var(--hp2-gold); margin-bottom: 12px; }
.hp2-main .hp2-eyebrow { color: #e9d3ad; }
.hp2 .hp2-h { font-family: var(--hp2-serif); font-size: 50px; line-height: 1.08; color: #fff; margin: 0 0 16px; }
.hp2 .hp2-p { font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.9); margin: 0 0 28px; }
.hp2-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hp2 .hp2-btn { display: inline-block; padding: 14px 24px; border-radius: 8px; font-weight: bold; font-size: 14px; background: #fff; color: var(--hp2-ink); transition: background .2s, color .2s; }
.hp2 .hp2-btn:hover, .hp2-tile:hover .hp2-btn { background: var(--hp2-gold); color: #fff; }
.hp2 .hp2-btn-dark { background: var(--hp2-ink); color: #fff; }

/* ---------- pasek zaufania ---------- */
.hp2-trust { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hp2-line); border-radius: 12px; margin: 18px 0 0; }
.hp2-trust div { padding: 18px 22px; font-size: 13.5px; line-height: 1.4; color: var(--hp2-muted); border-left: 1px solid var(--hp2-line); }
.hp2-trust div:first-child { border-left: 0; }
.hp2-trust div { display: flex; align-items: center; gap: 14px; }
.hp2-trust-ic { flex: 0 0 44px; display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--hp2-soft); color: var(--hp2-gold); align-items: center; justify-content: center; }
.hp2-trust b { display: block; font-family: var(--hp2-serif); font-weight: normal; font-size: 18px; color: var(--hp2-ink); margin-bottom: 2px; }

/* ---------- sekcje ---------- */
.hp2-section { margin-top: 56px; }
.hp2-sec { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.hp2 .hp2-sec h2 { font-family: var(--hp2-serif); font-weight: normal; font-size: 32px; line-height: 1.15; margin: 0; padding: 0; color: var(--hp2-ink); }
.hp2 .hp2-sec a { color: var(--hp2-accent); font-weight: bold; font-size: 14px; white-space: nowrap; }
.hp2 .hp2-sec a:hover { text-decoration: underline; }

.hp2-styles { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 14px; }
.hp2-styles .hp2-tile { aspect-ratio: 4 / 5; }

/* ---------- karuzela produktow ---------- */
.hp2-rail { position: relative; }
.hp2-rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); grid-gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.hp2-rail-track::-webkit-scrollbar { display: none; }
.hp2-prod { scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; }
.hp2 .hp2-prod-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--hp2-line); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.hp2-prod-img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; transition: transform .5s ease; }
.hp2-prod:hover .hp2-prod-img img { transform: scale(1.05); }
.hp2-prod-badge { position: absolute; top: 10px; left: 10px; background: #c0392b; color: #fff; font-size: 12px; font-weight: bold; padding: 4px 8px; border-radius: 999px; }
.hp2 .hp2-prod-name { font-size: 14px; line-height: 1.4; color: var(--hp2-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; margin-bottom: 6px; }
.hp2 .hp2-prod-name:hover { color: var(--hp2-accent); }
.hp2-prod-price { font-size: 16px; font-weight: bold; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.hp2-price-promo { color: #c0392b; }
.hp2-price-old { color: var(--hp2-muted); font-weight: normal; font-size: 13px; text-decoration: line-through; }
.hp2-omnibus { font-size: 11.5px; color: var(--hp2-muted); margin-top: 4px; line-height: 1.35; }
.hp2-rail-btn {
	position: absolute; top: calc(50% - 50px); z-index: 3;
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--hp2-line); background: #fff; color: var(--hp2-ink);
	font-size: 24px; line-height: 38px; text-align: center; cursor: pointer;
	box-shadow: 0 6px 18px -8px rgba(0,0,0,.3);
	transition: background .2s, color .2s;
}
.hp2-rail-btn:hover { background: var(--hp2-ink); color: #fff; }
.hp2-prev { left: -20px; }
.hp2-next { right: -20px; }

/* ---------- kategorie: kwadraty z przyciemnieniem ---------- */
.hp2-cats { display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 14px; }
.hp2 .hp2-cat { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #2a2622; text-align: center; }
.hp2-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hp2-cat:after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); transition: background .3s ease; }
.hp2-cat:hover img { transform: scale(1.07); }
.hp2-cat:hover:after { background: rgba(0,0,0,.3); }
.hp2 .hp2-cat-name { position: relative; z-index: 2; padding: 0 12px; font-family: var(--hp2-serif); font-size: 22px; line-height: 1.2; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hp2 .hp2-cat:hover .hp2-cat-name { color: #fff; }

/* ---------- prezenty ---------- */
.hp2-gift { display: grid; grid-template-columns: 1fr 1fr; background: var(--hp2-soft); border-radius: 14px; overflow: hidden; margin-top: 60px; }
.hp2-gift-img { position: relative; display: block; min-height: 380px; }
.hp2-gift-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp2-gift-body { padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hp2 .hp2-gift h2 { font-family: var(--hp2-serif); font-weight: normal; font-size: 36px; line-height: 1.15; margin: 0 0 14px; padding: 0; color: var(--hp2-ink); }
.hp2 .hp2-gift p { font-size: 16px; line-height: 1.6; color: #4d4d4d; margin: 0 0 26px; }

/* ---------- blog (karty z blog-v2.css) ---------- */
.hp2-section.bv2 { padding-bottom: 0; }

/* ---------- SEO ---------- */
.hp2-seo { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--hp2-line); }
.hp2 .hp2-seo h1 { font-family: var(--hp2-serif); font-weight: normal; font-size: 28px; line-height: 1.2; margin: 0 0 22px; padding: 0; color: var(--hp2-ink); }
.hp2-seo-cols { columns: 2; column-gap: 48px; }
.hp2-seo-cols > div { break-inside: avoid; margin-bottom: 18px; }
.hp2 .hp2-seo-cols, .hp2 .hp2-seo-cols p { font-size: 14.5px; line-height: 1.7; color: #555; text-align: left !important; margin: 0 0 12px; }
.hp2 .hp2-seo-cols h2, .hp2 .hp2-seo-cols h3 { font-family: var(--hp2-serif); font-weight: normal; font-size: 20px; color: var(--hp2-ink); margin: 0 0 8px; padding: 0; }
.hp2 .hp2-seo-cols img { max-width: 100%; height: auto; border-radius: 10px; }

/* ---------- newsletter ---------- */
.hp2-news { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--hp2-ink); color: #fff; border-radius: 14px; padding: 40px 48px; margin: 50px 0 40px; }
.hp2 .hp2-news h2 { font-family: var(--hp2-serif); font-weight: normal; font-size: 32px; color: #fff; margin: 0 0 6px; padding: 0; }
.hp2 .hp2-news p { color: rgba(255,255,255,.75); margin: 0; font-size: 15px; }
.hp2-news .hp2-eyebrow { color: #e9d3ad; }
.hp2-news-actions { display: flex; align-items: center; gap: 22px; }
.hp2-social { display: flex; gap: 10px; }
.hp2-social a { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); align-items: center; justify-content: center; filter: invert(1); }

/* ---------- responsywnosc ---------- */
@media (max-width: 1024px) {
	.hp2-hero { height: 460px; }
	.hp2 .hp2-h { font-size: 40px; }
	.hp2-main .hp2-in { padding: 0 36px; }
	.hp2-rail-track { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
	.hp2-cats { grid-gap: 12px; }
	.hp2 .hp2-cat-name { font-size: 19px; }
	.hp2-gift-body { padding: 36px; }
}
@media (max-width: 767px) {
	.hp2 { margin-top: 8px; padding: 0 12px; }
	.hp2-hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; grid-gap: 10px; }
	.hp2-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
	.hp2-main:after { background: linear-gradient(180deg, rgba(20,14,8,.1) 20%, rgba(20,14,8,.8) 100%); }
	.hp2-main .hp2-in { top: auto; padding: 24px 22px 26px; justify-content: flex-end; }
	.hp2-hero > .hp2-tile:not(.hp2-main) { aspect-ratio: 1 / 1; }
	.hp2 .hp2-h { font-size: 32px; }
	.hp2 .hp2-p { font-size: 15px; margin-bottom: 20px; }
	.hp2 .hp2-t { font-size: 20px; }
	.hp2-in { padding: 14px 16px; }
	.hp2 .hp2-s { display: none; }
	.hp2-trust { grid-template-columns: 1fr 1fr; }
	.hp2-trust div { padding: 14px 16px; gap: 10px; }
	.hp2-trust-ic { flex-basis: 36px; width: 36px; height: 36px; }
	.hp2-trust-ic svg { width: 18px; height: 18px; }
	.hp2-trust div:nth-child(3) { border-left: 0; }
	.hp2-trust div:nth-child(n+3) { border-top: 1px solid var(--hp2-line); }
	.hp2-section { margin-top: 40px; }
	.hp2 .hp2-sec h2 { font-size: 24px; }
	.hp2-styles { grid-template-columns: 1fr 1fr; grid-gap: 10px; }
	.hp2-rail-track { grid-auto-columns: 44%; grid-gap: 12px; }
	.hp2-rail-btn { display: none; }
	.hp2-cats { grid-template-columns: repeat(2, 1fr); grid-gap: 10px; }
	.hp2 .hp2-cat-name { font-size: 18px; }
	.hp2-gift { grid-template-columns: 1fr; margin-top: 44px; }
	.hp2-gift-img { min-height: 0; aspect-ratio: 4 / 3; }
	.hp2-gift-body { padding: 26px 22px 30px; }
	.hp2 .hp2-gift h2 { font-size: 26px; }
	.hp2-seo-cols { columns: 1; }
	.hp2-news { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
	.hp2 .hp2-news h2 { font-size: 26px; }
}

/* sekcje polecanych produktow na karcie produktu */
.hp2.hp2-related { max-width: none; margin: 10px 0 30px; padding: 0; clear: both; }
.hp2-related .hp2-section { margin-top: 48px; }
.hp2-related .hp2-prev { left: -14px; }
.hp2-related .hp2-next { right: -14px; }
@media (max-width: 767px) { .hp2-related .hp2-section { margin-top: 36px; } }
