/*
Theme Name: BioPrevent
Description: The small theme of the headless bioprevent.hr (Path A, on the VPS). The shop's pages are static (repo SEO-LICK/bioprevent.hr); WordPress renders only what must stay dynamic: My Account and its login, password reset and order pages, the 404 page and the author archive. Header and footer come from the same data the static pages use (plugin bioprevent-site), so the two never differ.
Version: 0.1.0
Requires PHP: 8.1
Author: SEO LICK
Text Domain: bioprevent
*/

:root {
	--c-ink: #1d2a2e;
	--c-muted: #56666b;
	--c-teal: #0b5e6e;
	--c-teal-50: #eaf3f4;
	--c-violet: #764c9f;
	--c-line: #e3e9ea;
	--c-mist: #f6f8f7;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--c-ink); line-height: 1.6; background: #fff; }
a { color: var(--c-teal); }
img { max-width: 100%; height: auto; }
.bp-bar { margin: 0; padding: 0.4rem 1rem; text-align: center; background: var(--c-violet); color: #fff; font-size: 0.9rem; }
.bp-header { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; max-width: 1200px; margin: 0 auto; padding: 1rem; }
.bp-logo img { display: block; width: 150px; height: auto; }
.bp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.bp-nav li { position: relative; }
.bp-nav a, .bp-nav span { display: inline-block; padding: 0.35rem 0; color: var(--c-ink); text-decoration: none; font-weight: 600; }
.bp-nav ul ul { display: none; position: absolute; z-index: 10; top: 100%; left: 0; min-width: 14rem; flex-direction: column; gap: 0; padding: 0.5rem 0.75rem; background: #fff; border: 1px solid var(--c-line); border-radius: 8px; }
.bp-nav li:hover > ul, .bp-nav li:focus-within > ul { display: flex; }
.bp-nav ul ul a { font-weight: 400; }
.bp-main { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1rem 3rem; min-height: 50vh; }
.bp-main h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.bp-footer { background: var(--c-mist); border-top: 1px solid var(--c-line); margin-top: 2rem; }
.bp-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 2.5rem 1rem; font-size: 0.92rem; }
.bp-footer__cols .footer-widget + .footer-widget { margin-top: 1rem; }
.bp-footer .wp-block-social-links { list-style: none; display: flex; gap: 0.75rem; padding: 0; }
.bp-footer .wp-block-image img { height: 26px; width: auto; }
.bp-footer .wp-block-image { display: inline-block; margin: 0 0.4rem 0.4rem 0; }
.bp-copyright { margin: 0; padding: 1rem; text-align: center; font-size: 0.85rem; color: var(--c-muted); border-top: 1px solid var(--c-line); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { padding: 0.6rem 0.7rem; border: 1px solid var(--c-line); border-radius: 6px; }
.woocommerce button.button, .woocommerce a.button { background: var(--c-teal); color: #fff; border-radius: 6px; padding: 0.7rem 1.2rem; }
