/*
Theme Name: HeatPro Woo
Theme URI: https://carvolt.pl
Author: Carvolt
Description: Jasny, minimalistyczny motyw WooCommerce dla sklepu Carvolt. Nowoczesny układ, duża typografia, karty produktów, sekcja FAQ i responsywne menu.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heatpro-woo
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready
Woo: 8.0
*/

/* ===== Tokens ===== */
:root {
	--hp-bg: #ffffff;
	--hp-soft: #f5f5f3;
	--hp-ink: #0d0d0f;
	--hp-ink-2: #2a2a2e;
	--hp-muted: #6e6e75;
	--hp-line: #e9e9e6;
	--hp-accent: #ff5a1f;
	--hp-accent-dark: #e14810;
	--hp-accent-soft: #fff1ea;
	--hp-success: #1f9d55;
	--hp-radius-sm: 12px;
	--hp-radius: 20px;
	--hp-radius-lg: 32px;
	--hp-shadow-sm: 0 1px 2px rgba(13, 13, 15, .04), 0 2px 8px rgba(13, 13, 15, .04);
	--hp-shadow: 0 2px 4px rgba(13, 13, 15, .03), 0 18px 48px rgba(13, 13, 15, .08);
	--hp-container: min(1240px, calc(100% - 48px));
	--hp-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--hp-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--hp-bg);
	color: var(--hp-ink);
	font-family: var(--hp-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--hp-ease); }
a:hover { color: var(--hp-accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; color: var(--hp-ink); }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
::selection { background: var(--hp-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--hp-accent); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 12px; left: 12px; padding: 10px 16px; background: var(--hp-ink); color: #fff; border-radius: 10px;
}

.hp-container { width: var(--hp-container); margin-inline: auto; }

/* ===== Buttons ===== */
.hp-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px;
	border: 1px solid var(--hp-ink); border-radius: 999px;
	background: var(--hp-ink); color: #fff;
	font: 600 15px/1 var(--hp-font); letter-spacing: -0.01em;
	cursor: pointer; text-decoration: none;
	transition: transform .2s var(--hp-ease), background .2s var(--hp-ease), border-color .2s var(--hp-ease), box-shadow .2s var(--hp-ease), color .2s var(--hp-ease);
}
.hp-button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wp-block-button__link:hover {
	background: var(--hp-accent); border-color: var(--hp-accent); color: #fff;
	transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 90, 31, .25);
}
.hp-button svg { transition: transform .2s var(--hp-ease); }
.hp-button:hover svg { transform: translateX(3px); }
.hp-button--ghost { background: transparent; color: var(--hp-ink); border-color: var(--hp-line); }
.hp-button--ghost:hover { background: var(--hp-ink); border-color: var(--hp-ink); box-shadow: none; }
.hp-button--light { background: #fff; color: var(--hp-ink); border-color: #fff; }
.hp-button--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.hp-button--outline-light:hover { background: #fff; color: var(--hp-ink); border-color: #fff; box-shadow: none; }

.hp-link-arrow { font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ===== Header ===== */
.hp-site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .78);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s var(--hp-ease), box-shadow .25s var(--hp-ease);
}
.admin-bar .hp-site-header { top: 32px; }
.hp-site-header.is-scrolled { border-bottom-color: var(--hp-line); }
.hp-header-inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }

.hp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--hp-ink); }
.hp-brand:hover { color: var(--hp-ink); }
.hp-brand-mark {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
	background: var(--hp-ink); color: var(--hp-accent);
}
.hp-brand-text { display: grid; line-height: 1.1; }
.hp-brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.hp-brand-text small { color: var(--hp-muted); font-size: 12px; font-weight: 500; }
.custom-logo { max-height: 44px; width: auto; }

.hp-nav { margin-left: auto; }
.hp-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hp-nav a {
	display: block; padding: 8px 14px; border-radius: 999px;
	color: var(--hp-ink-2); font-size: 15px; font-weight: 500;
}
.hp-nav a:hover { background: var(--hp-soft); color: var(--hp-ink); }
.hp-nav .sub-menu { display: none; }

.hp-header-actions { display: flex; align-items: center; gap: 8px; }
.hp-cart-link {
	position: relative; display: inline-flex; align-items: center; gap: 8px;
	height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
	background: var(--hp-soft); color: var(--hp-ink); font-weight: 600; font-size: 14px;
}
.hp-cart-link:hover { background: var(--hp-ink); color: #fff; }
.hp-cart-count {
	display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
	border-radius: 999px; background: var(--hp-accent); color: #fff; font-size: 12px; font-weight: 700;
}
.hp-menu-toggle {
	display: none; width: 44px; height: 44px; border: 0; border-radius: 999px;
	background: var(--hp-soft); cursor: pointer; place-items: center;
}
.hp-burger { display: grid; gap: 5px; width: 18px; }
.hp-burger i { display: block; height: 2px; background: var(--hp-ink); border-radius: 2px; transition: transform .25s var(--hp-ease); }
.is-menu-open .hp-burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.is-menu-open .hp-burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hp-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hp-pill {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
	padding: 6px 14px 6px 10px; border: 1px solid var(--hp-line); border-radius: 999px;
	font-size: 13px; font-weight: 600; color: var(--hp-ink-2); background: #fff;
}
.hp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hp-accent); box-shadow: 0 0 0 4px var(--hp-accent-soft); }
.hp-hero h1 { margin-bottom: 24px; max-width: 12ch; }
.hp-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--hp-muted); max-width: 46ch; margin-bottom: 32px; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-stats { display: flex; gap: 40px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--hp-line); }
.hp-stats dt { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.hp-stats dd { margin: 0; color: var(--hp-muted); font-size: 14px; }

.hp-hero-visual { position: relative; }
.hp-hero-card {
	position: relative; display: block; overflow: hidden;
	border-radius: var(--hp-radius-lg); background: var(--hp-soft);
	box-shadow: var(--hp-shadow); color: var(--hp-ink);
	transition: transform .4s var(--hp-ease);
}
.hp-hero-card:hover { color: var(--hp-ink); transform: translateY(-4px); }
.hp-hero-card__media { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 8%; background: radial-gradient(120% 90% at 50% 20%, #fff 0%, var(--hp-soft) 70%); }
.hp-hero-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--hp-ease); }
.hp-hero-card:hover .hp-hero-card__media img { transform: scale(1.04); }
.hp-hero-card__tag {
	position: absolute; top: 20px; left: 20px; z-index: 2;
	padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .06em; box-shadow: var(--hp-shadow-sm);
}
.hp-hero-card__body {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin: 0 16px 16px; padding: 18px 20px; border-radius: var(--hp-radius);
	background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hp-hero-card__body h2 { margin: 0 0 4px; font-size: 1.15rem; letter-spacing: -0.02em; }
.hp-hero-card__price { font-weight: 600; color: var(--hp-muted); }
.hp-hero-card__price ins { text-decoration: none; color: var(--hp-ink); }
.hp-round-btn {
	flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--hp-ink); color: #fff; transition: background .2s var(--hp-ease), transform .3s var(--hp-ease);
}
.hp-hero-card:hover .hp-round-btn { background: var(--hp-accent); transform: rotate(45deg); }
.hp-hero-card--empty { display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 40px; text-align: center; color: var(--hp-muted); }

.hp-float-chip {
	position: absolute; display: grid; gap: 2px; padding: 14px 18px;
	border-radius: 16px; background: #fff; box-shadow: var(--hp-shadow); font-size: 14px;
	animation: hp-float 6s ease-in-out infinite;
}
.hp-float-chip strong { font-size: 14px; }
.hp-float-chip span { color: var(--hp-muted); font-size: 13px; }
.hp-float-chip--a { top: 16%; left: -20px; }
.hp-float-chip--b { bottom: 30%; right: -16px; animation-delay: -3s; }
@keyframes hp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== Benefits strip ===== */
.hp-benefits { border-block: 1px solid var(--hp-line); }
.hp-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hp-benefit { display: flex; align-items: center; gap: 14px; padding: 26px 24px; }
.hp-benefit + .hp-benefit { border-left: 1px solid var(--hp-line); }
.hp-benefit svg { flex: none; color: var(--hp-accent); }
.hp-benefit strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.hp-benefit span { color: var(--hp-muted); font-size: 13px; }

/* ===== Sections ===== */
.hp-section { padding: clamp(64px, 9vw, 120px) 0; }
.hp-section--soft { background: var(--hp-soft); }
.hp-section--tight { padding: 40px 0 96px; }
.hp-section-head { max-width: 640px; margin-bottom: 48px; }
.hp-section-head p:last-child { color: var(--hp-muted); font-size: 1.08rem; margin: 0; }
.hp-section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.hp-section-head--row h2 { margin: 0; }
.hp-eyebrow {
	margin: 0 0 14px; color: var(--hp-accent); font-size: 13px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
}
.hp-eyebrow--light { color: #ffb08f; }
.hp-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hp-split .hp-section-head { position: sticky; top: 120px; margin-bottom: 0; }
.hp-empty { padding: 40px; border: 1px dashed var(--hp-line); border-radius: var(--hp-radius); text-align: center; color: var(--hp-muted); }

/* ===== Bento tiles ===== */
.hp-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.hp-tile {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 28px; border-radius: var(--hp-radius); background: #fff; color: var(--hp-ink);
	border: 1px solid var(--hp-line); overflow: hidden;
	transition: transform .35s var(--hp-ease), box-shadow .35s var(--hp-ease), border-color .35s var(--hp-ease);
}
.hp-tile:hover { color: var(--hp-ink); transform: translateY(-4px); box-shadow: var(--hp-shadow); border-color: transparent; }
.hp-tile h3 { font-size: 1.4rem; margin-bottom: 6px; }
.hp-tile p { margin: 0; color: var(--hp-muted); max-width: 36ch; }
.hp-tile__num { position: absolute; top: 24px; left: 28px; font-size: 13px; font-weight: 700; color: var(--hp-muted); }
.hp-tile::after {
	content: "\2197"; position: absolute; top: 20px; right: 22px;
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--hp-soft); font-size: 18px; transition: background .25s var(--hp-ease), color .25s var(--hp-ease);
}
.hp-tile:hover::after { background: var(--hp-accent); color: #fff; }
.hp-tile--lg { grid-row: span 2; background: var(--hp-ink); color: #fff; border-color: var(--hp-ink); }
.hp-tile--lg:hover { color: #fff; }
.hp-tile--lg h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.hp-tile--lg p, .hp-tile--lg .hp-tile__num { color: rgba(255, 255, 255, .62); }
.hp-tile--lg::before {
	content: ""; position: absolute; inset: auto -20% -40% auto; width: 80%; aspect-ratio: 1;
	border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .55), transparent 65%);
	pointer-events: none;
}
.hp-tile--lg::after { background: rgba(255, 255, 255, .1); color: #fff; }
.hp-tile--wide { grid-column: span 2; }

/* ===== Steps ===== */
.hp-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 16px; }
.hp-steps li {
	counter-increment: step; position: relative; padding: 28px 28px 28px 92px;
	border-radius: var(--hp-radius); background: var(--hp-soft);
}
.hp-steps li::before {
	content: counter(step, decimal-leading-zero); position: absolute; left: 28px; top: 26px;
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
	background: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--hp-shadow-sm);
}
.hp-steps h3 { margin-bottom: 6px; }
.hp-steps p { margin: 0; color: var(--hp-muted); }

/* ===== FAQ ===== */
.hp-faq { display: grid; gap: 12px; }
.hp-faq details { border-radius: var(--hp-radius); background: #fff; border: 1px solid var(--hp-line); transition: box-shadow .25s var(--hp-ease); }
.hp-faq details[open] { box-shadow: var(--hp-shadow-sm); }
.hp-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after {
	content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
	background: var(--hp-soft); font-size: 20px; font-weight: 400; transition: transform .25s var(--hp-ease), background .25s;
}
.hp-faq details[open] summary::after { transform: rotate(45deg); background: var(--hp-accent); color: #fff; }
.hp-faq details p { margin: 0; padding: 0 24px 22px; color: var(--hp-muted); }

/* ===== CTA ===== */
.hp-cta {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
	padding: clamp(36px, 6vw, 72px); border-radius: var(--hp-radius-lg);
	background: var(--hp-ink); color: #fff;
}
.hp-cta::before {
	content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 90, 31, .45), transparent 65%); pointer-events: none;
}
.hp-cta h2 { color: #fff; max-width: 18ch; }
.hp-cta p { color: rgba(255, 255, 255, .65); margin: 0; max-width: 46ch; }
.hp-cta__actions { position: relative; display: grid; gap: 12px; justify-items: stretch; }
.hp-cta__actions .hp-button { min-height: 56px; font-size: 16px; }

/* ===== Page heads ===== */
.hp-page-hero { padding: 48px 0 8px; }
.hp-page-hero--compact { padding-bottom: 0; }
.hp-page-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 8px 0 12px; }
.hp-page-hero .term-description, .hp-page-hero .page-description { color: var(--hp-muted); max-width: 60ch; }
.hp-page { padding: 32px 0 96px; }
.hp-content { max-width: 100%; }
.hp-content > *:not(.woocommerce):not(.wp-block-woocommerce-cart):not(.wp-block-woocommerce-checkout):not(.alignwide):not(.alignfull) { max-width: 760px; }

.woocommerce .woocommerce-breadcrumb, .woocommerce-breadcrumb {
	margin: 0 0 8px; color: var(--hp-muted); font-size: 14px;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--hp-muted); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--hp-ink); }

.hp-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.hp-post-card { padding: 28px; border-radius: var(--hp-radius); background: var(--hp-soft); }

/* ===== WooCommerce: product grid ===== */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px;
	margin: 0; padding: 0;
}
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none; width: auto !important; margin: 0 !important; padding: 0;
	position: relative; display: flex; flex-direction: column;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--hp-ink); }
.woocommerce ul.products li.product a img {
	margin: 0 0 16px; aspect-ratio: 1 / 1; object-fit: contain; padding: 10%;
	border-radius: var(--hp-radius); background: var(--hp-soft); mix-blend-mode: multiply;
	transition: transform .5s var(--hp-ease), box-shadow .3s var(--hp-ease);
}
.woocommerce ul.products li.product:hover a img { transform: translateY(-4px); box-shadow: var(--hp-shadow); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0; margin: 0 0 4px; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title::first-letter { text-transform: uppercase; }
.woocommerce ul.products li.product .price { color: var(--hp-ink); font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.woocommerce ul.products li.product .price del { color: var(--hp-muted); font-weight: 500; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--hp-accent); }
.woocommerce ul.products li.product .button {
	margin-top: auto; width: 100%; min-height: 44px; background: #fff; color: var(--hp-ink); border-color: var(--hp-line);
}
.woocommerce ul.products li.product .button:hover { background: var(--hp-ink); border-color: var(--hp-ink); color: #fff; box-shadow: none; }
.woocommerce ul.products li.product .button.added::after { margin-left: 6px; }
.woocommerce a.added_to_cart { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; text-align: center; }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
	top: 12px; left: 12px; right: auto; margin: 0; min-width: 0; min-height: 0; padding: 4px 10px;
	border-radius: 999px; background: var(--hp-accent); font-size: 12px; font-weight: 700; line-height: 1.6;
}
.woocommerce .star-rating span::before { color: var(--hp-accent); }

.hp-shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.hp-shop-toolbar .woocommerce-result-count, .hp-shop-toolbar .woocommerce-ordering { float: none; margin: 0; color: var(--hp-muted); font-size: 14px; }
.hp-shop-toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }

.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; padding: 0; background: var(--hp-soft);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--hp-ink); color: #fff; }

/* ===== WooCommerce: single product ===== */
.hp-page--product { padding-top: 24px; }
.woocommerce div.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 16px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product div.images { position: sticky; top: 104px; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: var(--hp-radius-lg); overflow: hidden; background: var(--hp-soft); }
.woocommerce div.product div.images img { mix-blend-mode: normal; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 80px; float: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 12px; background: var(--hp-soft); opacity: .6; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product .woocommerce-product-gallery__trigger { top: 16px; right: 16px; background: #fff; border-radius: 50%; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.woocommerce div.product .product_title::first-letter { text-transform: uppercase; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--hp-ink); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--hp-accent); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--hp-muted); font-size: 1.05rem; margin-bottom: 24px; }
.hp-product-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.hp-product-badges li {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	background: var(--hp-soft); font-size: 13px; font-weight: 600;
}
.hp-product-badges li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hp-success); }
.woocommerce div.product form.cart {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch;
	padding: 20px; margin: 0 0 24px; border-radius: var(--hp-radius); background: var(--hp-soft);
}
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; flex: 1; min-height: 52px; font-size: 16px; }
.woocommerce .quantity .qty {
	width: 84px; height: 52px; border: 1px solid var(--hp-line); border-radius: 999px; background: #fff;
	font: 600 16px var(--hp-font); text-align: center;
}
.woocommerce div.product form.cart table.variations { margin-bottom: 8px; width: 100%; }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--hp-muted); display: grid; gap: 4px; }
.woocommerce div.product .product_meta a { color: var(--hp-ink); }
.woocommerce div.product .stock { color: var(--hp-success); font-weight: 600; }
.woocommerce div.product .stock.out-of-stock { color: #c62828; }

.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: inline-flex; gap: 4px; margin: 0 0 24px; padding: 4px; border-radius: 999px; background: var(--hp-soft);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 20px; font-weight: 600; color: var(--hp-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; box-shadow: var(--hp-shadow-sm); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--hp-ink); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 820px; color: var(--hp-ink-2); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 1.6rem; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--hp-line); background: transparent !important; padding: 14px 0; font-style: normal; }
.woocommerce table.shop_attributes th { width: 40%; text-align: left; font-weight: 600; }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: 64px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 1.8rem; margin-bottom: 24px; }

/* ===== WooCommerce: notices, forms, tables ===== */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	border: 0; border-radius: var(--hp-radius-sm); background: var(--hp-soft); color: var(--hp-ink);
	padding: 16px 20px 16px 52px; margin-bottom: 24px;
}
.woocommerce-message::before { color: var(--hp-success); top: 16px; }
.woocommerce-info::before { color: var(--hp-accent); top: 16px; }
.woocommerce-error::before { top: 16px; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 36px; padding: 0 16px; font-size: 14px; }

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], textarea, select {
	min-height: 48px; padding: 10px 16px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius-sm);
	background: #fff; color: var(--hp-ink); font: 15px var(--hp-font);
	transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--hp-ink); box-shadow: 0 0 0 4px rgba(13, 13, 15, .06); }
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; }

.woocommerce table.shop_table { border: 1px solid var(--hp-line); border-radius: var(--hp-radius); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { font-weight: 600; font-size: 14px; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--hp-line); padding: 16px; }
.woocommerce-cart table.cart img { width: 72px; border-radius: 12px; background: var(--hp-soft); }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
	padding: 28px; border-radius: var(--hp-radius); background: var(--hp-soft);
}
.woocommerce-checkout #payment { border-radius: var(--hp-radius); background: var(--hp-soft); }

/* ===== Footer ===== */
.hp-footer { margin-top: 0; padding: 72px 0 32px; background: var(--hp-soft); color: var(--hp-ink-2); }
.hp-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.hp-footer-brand p { margin-top: 16px; color: var(--hp-muted); max-width: 34ch; }
.hp-footer h4 { margin: 6px 0 16px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--hp-muted); }
.hp-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hp-footer ul a { color: var(--hp-ink); font-weight: 500; }
.hp-footer ul a:hover { color: var(--hp-accent); }
.hp-footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hp-line); color: var(--hp-muted); font-size: 14px;
}

/* ===== Reveal animation ===== */
@media (prefers-reduced-motion: no-preference) {
	.hp-js .hp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--hp-ease), transform .8s var(--hp-ease); }
	.hp-js .hp-reveal.is-visible { opacity: 1; transform: none; }
	.hp-bento .hp-reveal:nth-child(2), .hp-steps .hp-reveal:nth-child(2) { transition-delay: .08s; }
	.hp-bento .hp-reveal:nth-child(3), .hp-steps .hp-reveal:nth-child(3) { transition-delay: .16s; }
	.hp-bento .hp-reveal:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hp-float-chip { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hp-benefits-grid { grid-template-columns: repeat(2, 1fr); }
	.hp-benefit:nth-child(3) { border-left: 0; }
	.hp-benefit:nth-child(n+3) { border-top: 1px solid var(--hp-line); }
	.hp-float-chip--a { left: 12px; }
	.hp-float-chip--b { right: 12px; }
}

@media (max-width: 900px) {
	.hp-header-inner { gap: 12px; }
	.hp-menu-toggle { display: grid; }
	.hp-cart-label { display: none; }
	.hp-cart-link { padding: 0 12px; }
	.hp-header-actions { margin-left: auto; }
	.hp-nav {
		position: absolute; top: 100%; left: 0; right: 0; margin: 0;
		padding: 12px 20px 24px; background: #fff; border-bottom: 1px solid var(--hp-line);
		box-shadow: 0 24px 40px rgba(13, 13, 15, .08);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s var(--hp-ease), transform .25s var(--hp-ease), visibility .25s;
	}
	.is-menu-open .hp-nav { opacity: 1; visibility: visible; transform: none; }
	.hp-nav ul { flex-direction: column; gap: 2px; }
	.hp-nav a { padding: 14px 12px; font-size: 18px; font-weight: 600; border-radius: 12px; }

	.hp-hero-grid, .hp-split, .hp-cta, .woocommerce div.product { grid-template-columns: 1fr; }
	.hp-hero h1 { max-width: none; }
	.hp-hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
	.hp-split .hp-section-head { position: static; }
	.woocommerce div.product div.images { position: static; }
	.hp-bento { grid-template-columns: 1fr 1fr; }
	.hp-tile--lg { grid-row: auto; grid-column: span 2; min-height: 280px; }
	.hp-footer-grid { grid-template-columns: 1fr 1fr; }
	.hp-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .hp-site-header { top: 46px; }
}

@media (max-width: 640px) {
	:root { --hp-container: calc(100% - 32px); }
	.hp-header-inner { min-height: 64px; }
	.hp-brand-text small { display: none; }
	.hp-stats { gap: 24px; justify-content: space-between; }
	.hp-stats dt { font-size: 1.3rem; }
	.hp-actions .hp-button { flex: 1 1 100%; }
	.hp-float-chip { display: none; }
	.hp-benefits-grid { grid-template-columns: 1fr; }
	.hp-benefit { padding: 18px 4px; }
	.hp-benefit + .hp-benefit { border-left: 0; border-top: 1px solid var(--hp-line); }
	.woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.hp-section-head--row { flex-direction: column; align-items: flex-start; }
	.hp-bento { grid-template-columns: 1fr; }
	.hp-tile--lg, .hp-tile--wide { grid-column: auto; }
	.hp-steps li { padding: 84px 22px 24px; }
	.hp-steps li::before { left: 22px; top: 22px; }
	.hp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.woocommerce div.product form.cart .button { flex-basis: 100%; }
}

/* ===== Fixes v2.0.1 ===== */
.hp-hero { overflow: visible; }
body { overflow-x: hidden; }
.woocommerce ul.products li.product .button {
	display: flex; align-items: center; justify-content: center;
	padding: 0 20px; line-height: 1; margin-top: auto;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link { margin-bottom: 0; }
@media (max-width: 1240px) {
	.hp-float-chip--a { left: 12px; }
	.hp-float-chip--b { right: 12px; }
}

.woocommerce div.product div.images, .woocommerce div.product div.summary,
.woocommerce-page div.product div.images, .woocommerce-page div.product div.summary {
	float: none !important; width: 100% !important; margin: 0 !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder { border-radius: var(--hp-radius-lg); overflow: hidden; background: var(--hp-soft); }
.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder img { width: 100%; }
.woocommerce div.product form.cart .button { white-space: nowrap; }

.woocommerce div.product .product_title { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.15; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 1.4rem; margin-top: 2em; }
.woocommerce div.product .woocommerce-tabs .panel ul { padding-left: 1.2em; }
.woocommerce div.product .woocommerce-product-details__short-description ul { padding-left: 1.2em; margin: 0; }

/* WhatsApp */
.hp-button--whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.hp-button--whatsapp:hover { background: #1ebe5a; border-color: #1ebe5a; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.hp-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
	transition: transform .2s var(--hp-ease);
}
.hp-wa-float:hover { color: #fff; transform: scale(1.08); }

/* ===== Contact page ===== */
.hp-content > .hp-contact-page { max-width: none !important; }
.hp-contact-lead { font-size: 1.2rem; color: var(--hp-muted); max-width: 52ch; margin-bottom: 40px; }
.hp-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.hp-contact-card {
	display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--hp-radius);
	background: var(--hp-soft); color: var(--hp-ink); border: 1px solid transparent;
	transition: transform .3s var(--hp-ease), box-shadow .3s var(--hp-ease), background .3s;
}
.hp-contact-card:hover { color: var(--hp-ink); background: #fff; border-color: var(--hp-line); transform: translateY(-4px); box-shadow: var(--hp-shadow); }
.hp-contact-card__icon {
	display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px;
	border-radius: 14px; background: #fff; color: var(--hp-accent); box-shadow: var(--hp-shadow-sm);
}
.hp-contact-card--wa .hp-contact-card__icon { color: #25d366; }
.hp-contact-card__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hp-muted); }
.hp-contact-card strong { font-size: 1.15rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.hp-contact-card__cta { margin-top: 10px; font-weight: 600; font-size: 14px; color: var(--hp-accent); }
.hp-contact-card--wa .hp-contact-card__cta { color: #1ebe5a; }
.hp-contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-contact-info > div { padding: 28px; border-radius: var(--hp-radius); border: 1px solid var(--hp-line); }
.hp-contact-info h3 { margin-bottom: 12px; }
.hp-contact-info ul { margin: 0; padding-left: 1.2em; color: var(--hp-ink-2); }
.hp-contact-info p { margin: 0; color: var(--hp-ink-2); }
@media (max-width: 900px) {
	.hp-contact-cards, .hp-contact-info { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) and (min-width: 901px) { .hp-contact-cards { grid-template-columns: repeat(2, 1fr); } }
.hp-footer-address { color: var(--hp-muted); line-height: 1.5; }

/* ===== Newsletter ===== */
.hp-section--nl { padding-top: 0; }
.hp-nl-band {
	display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
	padding: clamp(32px, 5vw, 64px); border-radius: var(--hp-radius-lg);
	background: linear-gradient(135deg, #fff4ee 0%, #fff 60%); border: 1px solid #ffe1d3;
}
.hp-nl-text h2 { margin-bottom: 14px; }
.hp-nl-text p:last-child { color: var(--hp-muted); margin: 0; max-width: 44ch; }
.hp-nl-badge { display: inline-block; padding: 0 .25em; border-radius: 12px; background: var(--hp-accent); color: #fff; }
.hp-nl-form { display: grid; gap: 12px; }
.hp-nl-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow-sm); }
.hp-nl-row input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; padding: 0 16px; min-height: 48px; }
.hp-nl-row input[type="email"]:focus { box-shadow: none; }
.hp-nl-row .hp-button { flex: none; background: var(--hp-accent); border-color: var(--hp-accent); }
.hp-nl-row .hp-button:hover { background: var(--hp-accent-dark); border-color: var(--hp-accent-dark); }
.hp-nl-row .hp-button:disabled { opacity: .6; cursor: wait; }
.hp-nl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--hp-muted); line-height: 1.45; cursor: pointer; }
.hp-nl-consent input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 1px 0 0; accent-color: var(--hp-accent); }
.hp-nl-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hp-nl-msg { font-size: 14px; font-weight: 600; min-height: 1em; }
.hp-nl-msg.is-error { color: #c62828; }
.hp-nl-success p { margin: 0 0 10px; font-weight: 600; }
.hp-nl-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border: 2px dashed var(--hp-accent); border-radius: 16px; background: #fff; }
.hp-nl-code span { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; }
.hp-nl-copy { border: 0; border-radius: 999px; padding: 10px 16px; background: var(--hp-ink); color: #fff; font: 600 14px var(--hp-font); cursor: pointer; }
.hp-nl-success small { display: block; margin-top: 10px; color: var(--hp-muted); }
.hp-nl-strip {
	display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center;
	margin-bottom: 56px; padding: 28px 32px; border-radius: var(--hp-radius); background: #fff; border: 1px solid var(--hp-line);
}
.hp-nl-strip strong { display: block; font-size: 1.2rem; color: var(--hp-ink); letter-spacing: -0.01em; }
.hp-nl-strip > div > span { color: var(--hp-muted); font-size: 14px; }
@media (max-width: 900px) {
	.hp-nl-band, .hp-nl-strip { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
	.hp-nl-row { flex-direction: column; border-radius: 20px; }
	.hp-nl-row .hp-button { width: 100%; }
}

/* Zoom fix: brak ciemnego "cienia" przy przybliżaniu */
.woocommerce div.product div.images img,
.woocommerce div.product div.images .zoomImg { mix-blend-mode: normal !important; }
.woocommerce div.product div.images .zoomImg { background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__image { background: #fff; }

/* ===== Opinie ===== */
.hp-stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.hp-star { position: relative; display: inline-block; width: 18px; height: 18px; background: #e3e3df; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hp-star > span { position: absolute; inset: 0 auto 0 0; background: #ffb400; }
.hp-rating-summary { display: flex; align-items: center; gap: 14px; }
.hp-rating-summary > strong { font-size: 3rem; line-height: 1; letter-spacing: -0.04em; }
.hp-rating-summary span { display: block; color: var(--hp-muted); font-size: 14px; margin-top: 4px; }
.hp-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hp-review-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--hp-radius); background: #fff; border: 1px solid var(--hp-line); }
.hp-review-card p { margin: 0; flex: 1; color: var(--hp-ink-2); }
.hp-review-card footer { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--hp-line); }
.hp-review-card footer strong { display: block; font-size: 15px; }
.hp-review-card footer span { font-size: 13px; color: var(--hp-muted); }
.hp-review-avatar { display: grid !important; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--hp-accent-soft); color: var(--hp-accent) !important; font-weight: 800; font-size: 16px !important; }
.hp-verified { font-style: normal; color: var(--hp-success); font-weight: 600; }
.hp-reviews-cta { margin-top: 28px; text-align: center; }
.hp-reviews-empty { max-width: 560px; margin: 0 auto; padding: 48px 32px; text-align: center; border-radius: var(--hp-radius-lg); background: #fff; border: 1px solid var(--hp-line); }
.hp-reviews-empty .hp-stars { margin-bottom: 16px; }
.hp-reviews-empty .hp-star { width: 26px; height: 26px; }
.hp-reviews-empty p { color: var(--hp-muted); margin-bottom: 24px; }
@media (max-width: 900px) { .hp-review-grid { grid-template-columns: 1fr; } }

/* Formularz opinii na karcie produktu */
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li { margin-bottom: 16px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { display: none; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin: 0; padding: 20px 24px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); }
.woocommerce #review_form #respond { padding: 28px; border-radius: var(--hp-radius); background: var(--hp-soft); }
.woocommerce #review_form #respond .comment-reply-title { display: block; font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.woocommerce #review_form #respond textarea { width: 100%; min-height: 140px; }
.woocommerce #review_form #respond input[type="text"], .woocommerce #review_form #respond input[type="email"] { width: 100%; }
.woocommerce #review_form #respond p { margin-bottom: 14px; }
.woocommerce #review_form #respond label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
.woocommerce #review_form #respond .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.woocommerce p.stars a { color: #ffb400; font-size: 1.4em; }
.woocommerce #review_form #respond .form-submit input { min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--hp-ink); color: #fff; border: 0; font: 600 15px var(--hp-font); cursor: pointer; }
.woocommerce #review_form #respond .form-submit input:hover { background: var(--hp-accent); }

/* Gwiazdki pod tytułem produktu */
.hp-product-rating { display: inline-flex; align-items: center; gap: 8px; margin: -2px 0 16px; font-size: 14px; color: var(--hp-muted); }
.hp-product-rating:hover { color: var(--hp-ink); }
.hp-product-rating strong { color: var(--hp-ink); font-size: 15px; }
.hp-product-rating .hp-star { width: 20px; height: 20px; }
.hp-nl-consent a { color: inherit; text-decoration: underline; }

/* Strony prawne */
.hp-content > .hp-legal { max-width: 820px !important; }
.hp-legal h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.hp-legal ol, .hp-legal ul { padding-left: 1.3em; }
.hp-legal li { margin-bottom: .5em; }
.hp-legal mark { background: #fff3cd; padding: 0 4px; border-radius: 4px; }


/* ===== v2.4: czytelność, nagłówek, oferta, karta produktu ===== */
body { font-size: 17px; }

/* Pasek „Darmowa wysyłka” nad nagłówkiem zamiast na nim */
.woocommerce-store-notice, p.demo_store {
	position: relative !important; top: auto !important; bottom: auto !important;
	margin: 0; padding: 10px 16px; font-size: 15px; box-shadow: none;
}

/* Nagłówek */
.hp-header-inner { min-height: 84px; gap: 28px; }
.hp-brand-mark { width: 44px; height: 44px; border-radius: 13px; }
.hp-brand-name { font-size: 24px; }
.hp-brand-text small { font-size: 13px; }
.custom-logo { max-height: 56px; }
.hp-nav a { font-size: 16px; font-weight: 600; padding: 10px 16px; }
.hp-header-actions { gap: 18px; }
.hp-header-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--hp-ink); font-weight: 700; font-size: 16px; white-space: nowrap; }
.hp-header-phone svg { color: var(--hp-accent); flex: none; }
.hp-header-phone span { display: grid; line-height: 1.15; }
.hp-header-phone small { font-size: 12px; font-weight: 500; color: var(--hp-muted); }
@media (max-width: 1080px) { .hp-header-phone span { display: none; } }

/* Hero */
.hp-hero h1 { max-width: 15ch; font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.hp-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--hp-ink-2); }

/* Przyciski */
.hp-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button.alt, .woocommerce button.button.alt {
	min-height: 52px; padding: 0 28px; font-size: 16px;
}
.hp-button--accent,
.woocommerce div.product form.cart .button,
.woocommerce ul.products li.product .button {
	background: var(--hp-accent); border-color: var(--hp-accent); color: #fff;
}
.hp-button--accent:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce ul.products li.product .button:hover {
	background: var(--hp-accent-dark); border-color: var(--hp-accent-dark); color: #fff;
}
.hp-button--lg { min-height: 60px; padding: 0 34px; font-size: 17px; }

/* Siatka produktów */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 18px; line-height: 1.3; }
.woocommerce ul.products li.product .price { font-size: 22px; font-weight: 800; }
.hp-loop-details { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; }

/* Dostępność i wysyłka */
.hp-availability { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; font-weight: 600; }
.hp-availability li { display: inline-flex; align-items: center; gap: 8px; }
.hp-availability li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--hp-muted); }
.hp-availability .is-ok { color: var(--hp-success); }
.hp-availability .is-ok::before { background: var(--hp-success); }
.hp-availability .is-off { color: #b42318; }
.hp-availability .is-off::before { background: #b42318; }
.hp-availability .is-ship::before { background: var(--hp-accent); }

/* Parametry */
.hp-specs { margin: 18px 0; border-top: 1px solid var(--hp-line); }
.hp-specs > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hp-line); }
.hp-specs dt { color: var(--hp-muted); font-size: 15px; }
.hp-specs dd { margin: 0; font-size: 15px; font-weight: 600; }

/* Duża sekcja produktu na stronie głównej */
.hp-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(18px, 3vw, 36px); background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg); box-shadow: var(--hp-shadow); }
.hp-featured__main { display: block; overflow: hidden; border-radius: var(--hp-radius); background: var(--hp-soft); }
.hp-featured__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .5s var(--hp-ease); }
.hp-featured__main:hover img { transform: scale(1.03); }
.hp-featured__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.hp-featured__thumbs a { overflow: hidden; border: 1px solid var(--hp-line); border-radius: var(--hp-radius-sm); background: var(--hp-soft); }
.hp-featured__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hp-featured__title { margin: 6px 0 14px; font-size: clamp(1.6rem, 2.5vw, 2.3rem); line-height: 1.15; }
.hp-featured__title a:hover { color: var(--hp-ink); }
.hp-featured__price { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; }
.hp-featured__price del { font-size: .6em; color: var(--hp-muted); font-weight: 500; }
.hp-featured__price ins { text-decoration: none; }
.hp-featured__kit { font-size: 15px; color: var(--hp-ink-2); }
.hp-featured__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Pomoc w doborze */
.hp-guide { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.hp-guide__table { overflow-x: auto; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); }
.hp-compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.hp-compare th, .hp-compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hp-line); }
.hp-compare thead th { background: var(--hp-ink); color: #fff; font-weight: 700; }
.hp-compare thead th a { color: #fff; }
.hp-compare tbody th { width: 32%; color: var(--hp-muted); font-weight: 500; }
.hp-compare tbody tr:last-child th, .hp-compare tbody tr:last-child td { border-bottom: 0; }
.hp-compare__price { font-size: 18px; font-weight: 800; }
.hp-guide__kit { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); }
.hp-guide__kit img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--hp-soft); }
.hp-guide__kit figcaption { padding: 18px 22px 22px; }
.hp-guide__kit figcaption strong { font-size: 18px; }
.hp-guide__kit ul { margin: 8px 0 0; padding-left: 20px; font-size: 15px; }
.hp-help-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 24px 28px; background: var(--hp-accent-soft); border: 1px solid #ffd9c7; border-radius: var(--hp-radius); }
.hp-help-box strong { display: block; font-size: 20px; }
.hp-help-box span { color: var(--hp-ink-2); }
.hp-help-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Karta produktu: duża galeria na pierwszym planie */
.woocommerce div.product { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--hp-soft); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { aspect-ratio: 1 / 1; object-fit: cover; }
.woocommerce div.product .product_title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; }
.hp-buybox { margin: 4px 0 20px; padding: 16px 20px; background: var(--hp-soft); border-radius: var(--hp-radius); }
.hp-buybox .hp-availability { margin-top: 0; }
.hp-buybox .hp-specs { margin-bottom: 0; }
.hp-buybox .hp-specs > div:last-child { border-bottom: 0; }
.woocommerce div.product form.cart .button { min-height: 60px; padding: 0 40px; font-size: 18px; flex: 1 1 auto; }
.hp-details-link { margin: 12px 0 0; }
.hp-details-link .hp-button { width: 100%; }

@media (max-width: 900px) {
	.hp-featured, .hp-guide { grid-template-columns: 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; }
	.hp-specs > div { grid-template-columns: 120px 1fr; }
}
@media (max-width: 640px) {
	.hp-featured__actions .hp-button, .hp-help-box__actions .hp-button { width: 100%; }
	.hp-compare th, .hp-compare td { padding: 12px; font-size: 15px; }
}


/* === Carvolt: opis produktu przeplatany zdjęciami (cv-ds) === */
.cv-ds{--ds-ink:#111214;--ds-muted:#5d6168;--ds-line:#e6e6e9;--ds-soft:#f5f5f6;--ds-accent:#ff5a1f;color:var(--ds-ink);font-size:15px;line-height:1.7}
.cv-ds *{box-sizing:border-box}
.cv-ds-title{font-size:clamp(22px,2.4vw,30px)!important;line-height:1.2;font-weight:800;letter-spacing:-.01em;margin:0 0 28px!important}
.cv-ds-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:36px;align-items:center;padding:32px 0;border-top:1px solid var(--ds-line)}
.cv-ds-row:first-of-type{border-top:0;padding-top:0}
.cv-ds-row--rev .cv-ds-img{order:2}
.cv-ds-row--text{grid-template-columns:1fr}
.cv-ds-img{margin:0;background:var(--ds-soft);border-radius:10px;overflow:hidden;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.cv-ds-img img{width:100%;height:100%;object-fit:contain;display:block;border-radius:0!important}
.cv-ds-text h3{font-size:20px!important;line-height:1.3;font-weight:800;margin:0 0 12px!important}
.cv-ds-text h3:before{content:"";display:block;width:32px;height:3px;background:var(--ds-accent);border-radius:2px;margin-bottom:12px}
.cv-ds-text h4{font-size:15px;font-weight:700;margin:18px 0 6px}
.cv-ds-text p{margin:0 0 12px;color:var(--ds-muted)}
.cv-ds-text p:last-child{margin-bottom:0}
.cv-ds-text ul{margin:8px 0 12px;padding:0;list-style:none}
.cv-ds-text li{position:relative;padding-left:24px;margin:6px 0}
.cv-ds-text li:before{content:"";position:absolute;left:4px;top:.6em;width:8px;height:8px;border-radius:50%;background:var(--ds-accent)}
.cv-ds-row--warn .cv-ds-text{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:22px}
.cv-desc .cv-ds-row{gap:24px}
@media (max-width:760px){
 .cv-ds-row,.cv-desc .cv-ds-row{grid-template-columns:1fr;gap:18px;padding:24px 0}
 .cv-ds-row--rev .cv-ds-img{order:0}
 .cv-ds-img{aspect-ratio:4/3}
}
