/* AndLem Black Friday */

/* Ukrycie tytułu strony z motywu – H1 daje wtyczka */
.abf-page .al-page-header,
.abf-page .entry-title,
.abf-page .page-title,
.abf-page h1.title,
.abf-page .page-header h1 {
	display: none;
}

.abf {
	--abf-dark: #111;
	--abf-accent: #e8b931;
	--abf-light: #f6f4ef;
	margin: 0 auto 48px;
}

/* Hero */
.abf-hero {
	background: var(--abf-dark);
	color: #fff;
	border-radius: 12px;
	padding: 40px 32px;
	margin-bottom: 32px;
	text-align: center;
}
.abf-badge {
	display: inline-block;
	background: var(--abf-accent);
	color: var(--abf-dark);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.abf-h1 {
	color: #fff;
	font-size: clamp(26px, 4vw, 40px);
	line-height: 1.2;
	margin: 0 0 16px;
}
.abf-intro {
	max-width: 720px;
	margin: 0 auto;
	color: #ddd;
	font-size: 16px;
	line-height: 1.6;
}
.abf-intro p:last-child { margin-bottom: 0; }

/* Odliczanie */
.abf-countdown {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 8px;
}
.abf-countdown-label {
	width: 100%;
	font-size: 14px;
	color: #bbb;
}
.abf-cd {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 68px;
	padding: 10px 8px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 8px;
}
.abf-cd b {
	font-size: 28px;
	line-height: 1;
	color: var(--abf-accent);
	font-variant-numeric: tabular-nums;
}
.abf-cd small {
	font-size: 12px;
	color: #bbb;
	margin-top: 4px;
}
.abf-until {
	font-size: 13px;
	color: #999;
	margin: 0;
}

/* Termin dostawy */
.abf-note {
	max-width: 720px;
	margin: 24px auto 0;
	padding: 14px 18px;
	background: rgba(232, 185, 49, .12);
	border-left: 4px solid var(--abf-accent);
	border-radius: 6px;
	color: #f2f2f2;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}

/* Produkty – siatka jak na stronach kategorii motywu */
.abf-products { margin-bottom: 40px; }
.abf-products .woocommerce-result-count,
.abf-products .woocommerce-ordering { display: none !important; }
.abf-products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 44px 34px;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
.abf-products ul.products::before,
.abf-products ul.products::after { content: none !important; display: none !important; }
.abf-products ul.products li.product {
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	min-width: 0;
}
@media (max-width: 1320px) {
	.abf-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.abf-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; }
}
@media (max-width: 768px) {
	.abf-products ul.products { gap: 30px 12px; }
}
@media (max-width: 430px) {
	.abf-products ul.products { gap: 26px 10px; }
}
.abf-empty,
.abf-ended {
	background: var(--abf-light);
	border-radius: 10px;
	padding: 28px;
	text-align: center;
}
.abf-btn {
	display: inline-block;
	margin-top: 8px;
	padding: 12px 22px;
	background: var(--abf-dark);
	color: #fff !important;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
}

/* Tekst SEO i FAQ */
.abf-seo,
.abf-faq {
	max-width: 860px;
	margin: 0 auto 32px;
	line-height: 1.7;
}
.abf-seo h2,
.abf-faq h2 {
	font-size: 24px;
	margin: 28px 0 12px;
}
.abf-faq details {
	border-bottom: 1px solid #e5e5e5;
	padding: 14px 0;
}
.abf-faq summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	position: relative;
	padding-right: 28px;
}
.abf-faq summary::-webkit-details-marker { display: none; }
.abf-faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: -2px;
	font-size: 20px;
	font-weight: 400;
}
.abf-faq details[open] summary::after { content: "–"; }
.abf-faq details p { margin: 10px 0 0; }

/* Pasek na całej stronie */
.abf-bar {
	display: block;
	background: #111;
	color: #fff !important;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 16px;
	text-decoration: none !important;
	position: relative;
	z-index: 9999;
}
.abf-bar:hover { color: #e8b931 !important; }

@media (max-width: 600px) {
	.abf-hero { padding: 28px 18px; border-radius: 0; }
	.abf-cd { min-width: 58px; }
	.abf-cd b { font-size: 22px; }
	.abf-bar { font-size: 13px; }
}
