/* POPK homepage sections (loaded only on pages using [popk_home_*] / [popk_footer]). */

:root {
	--ph-accent: #f89921;
	--ph-accent-dark: #e0820a;
	--ph-ink: #1f2733;
	--ph-muted: #5f6b7a;
	--ph-line: #ececec;
	--ph-cream: #fff6ec;
	--ph-radius: 16px;
}

/* ── Section rhythm ──────────────────────────────────────────────────────── */
.popk-sec { margin-bottom: 44px !important; }
.popk-sec > .vc_column_container > .vc_column-inner { padding-top: 0 !important; }
@media (max-width: 767px) { .popk-sec { margin-bottom: 30px !important; } }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.popk-btn-primary,
.popk-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none !important;
	transition: background .15s, color .15s, border-color .15s;
}
.popk-btn-primary { background: var(--ph-accent); color: #fff !important; }
.popk-btn-primary:hover { background: var(--ph-accent-dark); }
.popk-btn-secondary { background: #fff; color: var(--ph-ink) !important; border: 2px solid var(--ph-ink); }
.popk-btn-secondary:hover { background: var(--ph-ink); color: #fff !important; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.popk-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 24px;
	background: var(--ph-cream);
	border-radius: 24px;
	padding: 48px 52px;
	overflow: hidden;
}
.popk-hero__eyebrow { margin: 0 0 12px; color: var(--ph-accent-dark); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.popk-hero__title { margin: 0 0 14px; font-size: 44px; line-height: 1.12; color: var(--ph-ink); font-weight: 800; }
.popk-hero__sub { margin: 0 0 26px; font-size: 18px; line-height: 1.55; color: var(--ph-muted); max-width: 520px; }
.popk-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.popk-hero__help { margin: 0; font-size: 14px; color: var(--ph-muted); }
.popk-hero__help a { color: #1f8a43; font-weight: 700; }
.popk-hero__media img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }

@media (max-width: 1024px) {
	.popk-hero { padding: 36px; }
	.popk-hero__title { font-size: 36px; }
}
@media (max-width: 767px) {
	.popk-hero { grid-template-columns: 1fr; padding: 26px 20px 8px; gap: 8px; border-radius: 18px; }
	.popk-hero__title { font-size: 28px; }
	.popk-hero__sub { font-size: 16px; margin-bottom: 20px; }
	.popk-hero__ctas a { flex: 1 1 0; padding: 0 14px; }
	.popk-hero__media { margin: 0 -20px; }
}

/* ── Trust strip ─────────────────────────────────────────────────────────── */
.popk-trust {
	list-style: none;
	margin: 0;
	padding: 18px 8px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	border: 1px solid var(--ph-line);
	border-radius: var(--ph-radius);
	background: #fff;
}
.popk-trust li { display: flex; align-items: center; gap: 12px; padding: 4px 16px; margin: 0; }
.popk-trust li + li { border-left: 1px solid var(--ph-line); }
.popk-trust__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ph-cream); color: var(--ph-accent-dark); }
.popk-trust strong { display: block; color: var(--ph-ink); font-size: 15px; line-height: 1.25; }
.popk-trust small { display: block; color: var(--ph-muted); font-size: 13px; }
@media (max-width: 1024px) {
	.popk-trust { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
	.popk-trust li:nth-child(3) { border-left: 0; }
}
@media (max-width: 767px) {
	.popk-trust { padding: 12px 4px; }
	.popk-trust li { padding: 4px 8px; gap: 8px; }
	.popk-trust__icon { width: 36px; height: 36px; }
	.popk-trust__icon svg { width: 20px; height: 20px; }
	.popk-trust strong { font-size: 13px; }
	.popk-trust small { font-size: 12px; }
}

/* ── Section heading ─────────────────────────────────────────────────────── */
.popk-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.popk-heading h2 { margin: 0; font-size: 26px; font-weight: 800; color: var(--ph-ink); text-transform: none; }
.popk-heading a { flex: 0 0 auto; font-weight: 700; color: var(--ph-accent-dark); white-space: nowrap; }
@media (max-width: 767px) { .popk-heading h2 { font-size: 21px; } .popk-heading a { font-size: 14px; } }

/* ── Category tiles ──────────────────────────────────────────────────────── */
.popk-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.popk-cats li { margin: 0; }
.popk-cats a { display: block; text-align: center; text-decoration: none; color: var(--ph-ink); }
.popk-cats__img {
	display: block;
	aspect-ratio: 1;
	border-radius: var(--ph-radius);
	background: #f6f6f4;
	overflow: hidden;
	margin-bottom: 8px;
	transition: transform .15s, box-shadow .15s;
}
.popk-cats__img img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; }
.popk-cats a:hover .popk-cats__img { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.popk-cats__name { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; }
@media (max-width: 1024px) { .popk-cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) {
	/* Two rows that scroll sideways: all 12 categories without a long page */
	.popk-cats {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-template-rows: repeat(2, auto);
		grid-auto-columns: 30%;
		gap: 12px 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 6px;
		margin-right: -15px;
		scrollbar-width: none;
	}
	.popk-cats::-webkit-scrollbar { display: none; }
	.popk-cats li { scroll-snap-align: start; }
	.popk-cats__name { font-size: 13px; }
}

/* ── Top brands ──────────────────────────────────────────────────────────── */
.popk-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.popk-brands li { margin: 0; }
.popk-brands a {
	display: grid;
	place-items: center;
	height: 84px;
	padding: 12px;
	border: 1px solid var(--ph-line);
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
}
.popk-brands a:hover { border-color: var(--ph-accent); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.popk-brands img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
.popk-brands span { font-weight: 800; color: var(--ph-ink); font-size: 15px; text-align: center; }
@media (max-width: 1024px) { .popk-brands { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) {
	.popk-brands { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.popk-brands a { height: 64px; padding: 8px; }
	.popk-brands img { max-height: 38px; }
	.popk-brands li:nth-child(n+13) { display: none; } /* 12 on mobile */
}

/* ── Promo banners ───────────────────────────────────────────────────────── */
.popk-sec .vc_single_image-wrapper img,
.popk-sec .wpb_single_image img { border-radius: var(--ph-radius); }

/* ── Product carousels on the homepage: brand orange, consistent cards ───── */
.popk-sec .wd-products-element .add_to_cart_button,
.popk-sec .wd-products-element .product_type_variable,
.popk-sec .wd-products-element .product_type_simple,
.popk-sec .wd-products-element .button.add_to_cart_button {
	background-color: var(--ph-accent) !important;
	border-radius: 999px;
}
.popk-sec .wd-products-element .add_to_cart_button:hover { background-color: var(--ph-accent-dark) !important; }
.popk-sec .wd-tabs-header .tabs-name { display: none; }
.popk-sec .wd-tabs-header { margin-bottom: 18px; }
.popk-sec .wd-nav-tabs > li > a { font-weight: 700; font-size: 15px; }

/* ── Wholesale banner ────────────────────────────────────────────────────── */
.popk-wholesale {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 30px 36px;
	border-radius: var(--ph-radius);
	background: var(--ph-ink);
	color: #fff;
}
.popk-wholesale h2 { margin: 0 0 6px; color: #fff; font-size: 24px; text-transform: none; }
.popk-wholesale p { margin: 0; color: #cfd5dc; }
@media (max-width: 767px) {
	.popk-wholesale { flex-direction: column; align-items: stretch; padding: 24px 20px; text-align: center; }
	.popk-wholesale h2 { font-size: 20px; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.popk-footer {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 28px;
	padding: 36px 0 8px;
	border-top: 1px solid var(--ph-line);
	color: var(--ph-muted);
	font-size: 14px;
}
.popk-footer h3 { margin: 0 0 12px; font-size: 16px; color: var(--ph-ink); text-transform: none; }
.popk-footer ul { list-style: none; margin: 0; padding: 0; }
.popk-footer li { margin: 0 0 8px; }
.popk-footer a { color: var(--ph-ink); }
.popk-footer a:hover { color: var(--ph-accent-dark); }
.popk-footer p { margin: 0 0 10px; line-height: 1.6; }
@media (max-width: 767px) { .popk-footer { grid-template-columns: 1fr 1fr; gap: 20px; } .popk-footer__about { grid-column: 1 / -1; } }
