/*
Theme Name: Passionfood
Theme URI: https://passionfood.ee/
Author: Passion Food OÜ
Description: Passionfood e-poe teema (Tropicks troopilised puuviljad ja Epic Spice maitseained). WooCommerce-valmis, mobiili- ja tahvlisõbralik, SEO-optimeeritud (Yoast SEO tugi, leivapuru, Product schema), AJAX ostukorvi sahtel.
Version: 1.0.7
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: passionfood
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, translation-ready
WC requires at least: 8.0
WC tested up to: 10.2
*/

/* ==========================================================================
   Tokens (from the approved design – "Organic" system on a white ground)
   ========================================================================== */
:root {
	--color-bg: #ffffff;
	--color-surface: #f9f4ed;
	--color-text: #201e1d;
	--color-accent: #c67139;
	--color-accent-600: #b2622d;
	--color-accent-700: #8c491a;
	--color-accent-2: #7a8a5e;
	--color-accent-2-100: #f0fae1;
	--color-accent-2-300: #ccdbb2;
	--color-divider: color-mix(in srgb, #201e1d 16%, transparent);
	--color-neutral-100: #f9f4ed;
	--color-neutral-200: #eee7db;
	--color-neutral-300: #dcd3c4;
	--color-neutral-600: #82796a;
	--color-neutral-700: #645c50;
	--color-neutral-800: #474238;
	--color-neutral-900: #2e2b25;

	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-heading: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-logo: "Figtree", "DM Sans", system-ui, sans-serif;

	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 28px;
	--shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);

	--container: 1200px;
	--gutter: 28px;
	--section-gap: 96px;
	--header-h: 76px;
}

@media (max-width: 1024px) {
	:root { --gutter: 24px; --section-gap: 72px; }
}
@media (max-width: 600px) {
	:root { --gutter: 16px; --section-gap: 56px; --header-h: 64px; }
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.pf-drawer-open { overflow: hidden; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(36px, 5vw, 60px); }
h2 { font-size: clamp(28px, 3.4vw, 36px); }
h3 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--color-text); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-700); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
address { font-style: normal; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 100; padding: 12px 18px;
	background: var(--color-text); color: #fff; border-radius: 999px; text-decoration: none;
}

.pf-container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.pf-main { min-height: 50vh; }
.pf-muted { color: var(--color-neutral-700); font-size: 15px; }
.pf-lead { font-size: 18px; line-height: 1.6; color: var(--color-neutral-800); margin: 0; }
.pf-blend { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
.woocommerce .pf-single .single_add_to_cart_button.button,
.woocommerce .pf-single .single_add_to_cart_button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 40px; padding: 9px 18px;
	font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2;
	color: var(--color-text); background: #fff;
	border: 1px solid var(--color-divider); border-radius: 999px;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover,
.woocommerce .pf-single .single_add_to_cart_button.button:hover {
	background: color-mix(in srgb, var(--color-text) 7%, #fff); color: var(--color-text); border-color: var(--color-divider);
}
.btn:active { background: color-mix(in srgb, var(--color-text) 14%, #fff); }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn svg { display: block; flex: none; }
.btn-icon { width: 36px; min-height: 36px; height: 36px; padding: 0; border-color: transparent; background: transparent; }
.btn-secondary.btn-icon { border-color: var(--color-divider); }
.btn-block { width: 100%; }
.pf-btn-lg { padding: 12px 24px; font-size: 16px; min-height: 48px; }
.pf-btn-strong { font-weight: 700; }
.pf-btn-light { background: #fff; color: var(--color-text); border-color: #fff; font-weight: 700; font-size: 16px; padding: 14px 20px; }
.pf-btn-light:hover { background: var(--color-neutral-200); color: var(--color-text); }
.btn.loading { opacity: .6; pointer-events: none; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.pf-header {
	position: sticky; top: 0; z-index: 30;
	background: color-mix(in srgb, #fff 92%, transparent);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.admin-bar .pf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pf-header { top: 0; } }
.pf-header__inner {
	display: flex; align-items: center; gap: 28px;
	min-height: var(--header-h); padding-block: 12px;
}
.pf-brand { display: inline-flex; flex-direction: column; gap: 5px; line-height: 1; color: var(--color-text); text-decoration: none; margin-right: auto; }
.pf-brand:hover { color: var(--color-text); }
.pf-brand__word { display: flex; align-items: baseline; margin: 0; font-family: var(--font-logo); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; }
.pf-brand__bold { font-weight: 800; }
.pf-brand__light { font-weight: 300; }
.pf-brand__tag { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.custom-logo-link { margin-right: auto; }
.custom-logo { max-height: 48px; width: auto; }

.pf-nav__list { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.pf-nav__list a { color: var(--color-text); text-decoration: none; font-size: 15px; font-weight: 400; padding-block: 6px; }
.pf-nav__list a:hover { text-decoration: underline; color: var(--color-text); }
.pf-nav__list .current-menu-item > a,
.pf-nav__list .current-product_cat-ancestor > a,
.pf-nav__list .current-menu-parent > a,
.pf-nav__list a[aria-current="page"] { font-weight: 700; }

.pf-header__actions { display: flex; align-items: center; gap: 10px; }
.pf-cart-btn { gap: 8px; padding: 8px 16px; }
.pf-cart-count {
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
	background: var(--color-text); color: #fff; font-size: 12px; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
}
.pf-cart-count[data-count="0"] { background: #fff; color: var(--color-text); border: 1px solid var(--color-divider); }
.pf-menu-toggle { display: none; }
.pf-menu-toggle__close { display: none; }

@media (max-width: 899px) {
	.pf-header__inner { gap: 12px; }
	.pf-menu-toggle { display: inline-flex; }
	.pf-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--color-divider);
		box-shadow: 0 16px 24px -16px color-mix(in srgb, #2e2b25 30%, transparent);
		padding: 8px var(--gutter) 20px;
		display: none;
	}
	.pf-nav-open .pf-nav { display: block; }
	.pf-nav-open .pf-menu-toggle__open { display: none; }
	.pf-nav-open .pf-menu-toggle__close { display: inline; }
	.pf-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.pf-nav__list a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent); }
}
@media (max-width: 480px) {
	.pf-cart-btn__label { display: none; }
	.pf-cart-btn { padding: 8px 12px; }
	.pf-brand__word { font-size: 19px; letter-spacing: .12em; }
	.pf-brand__tag { font-size: 9px; letter-spacing: .28em; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.pf-hero {
	display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
	padding-block: 48px var(--section-gap);
}
.pf-hero__text { display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.pf-hero__text h1 { margin: 0; }
.pf-hero__media { aspect-ratio: 5 / 4; }
.pf-hero--archive { padding-top: 24px; }
/* Three overlapping product shots (spice hero in the design). */
.pf-stack { position: relative; width: 100%; height: 100%; }
.pf-stack .pf-stack__img { position: absolute; width: 44%; height: 66%; object-fit: contain; }
.pf-stack__img--1 { left: 4%; top: 4%; z-index: 1; }
.pf-stack__img--2 { left: 30%; top: 18%; z-index: 2; }
.pf-stack__img--3 { left: 54%; top: 32%; z-index: 3; }
@media (max-width: 899px) {
	.pf-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
	.pf-hero__media { aspect-ratio: 16 / 11; max-width: 560px; width: 100%; margin-inline: auto; order: -1; }
	.pf-hero__text { max-width: none; }
}
@media (max-width: 600px) {
	.pf-hero { padding-top: 8px; gap: 16px; }
	.pf-lead { font-size: 16px; }
	.pf-hero .pf-actions .btn { flex: 1 1 auto; }
}

.pf-section { padding-bottom: var(--section-gap); }
.pf-section > h2 { margin: 0 0 12px; }
.pf-section__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.pf-section__head h2 { margin: 0; }
.pf-section__head--split { justify-content: space-between; align-items: flex-end; }
.pf-section__head--split p { margin: 8px 0 0; }
.pf-section__sub { margin: 0 0 32px; color: var(--color-neutral-700); max-width: 560px; }

.pf-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.pf-benefit { display: flex; flex-direction: column; gap: 14px; }
.pf-benefit__media { aspect-ratio: 4 / 3; padding: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pf-benefit h3 { margin: 0; }
.pf-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--color-neutral-800); }
.pf-dots li { display: flex; gap: 10px; align-items: baseline; }
.pf-dots li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent-2); transform: translateY(-2px); }

.pf-split {
	display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
	margin-bottom: var(--section-gap);
}
.pf-split__media { aspect-ratio: 4 / 3; }
.pf-split__text { display: flex; flex-direction: column; gap: 18px; max-width: 480px; }
.pf-split__text h2 { margin: 0; font-size: clamp(28px, 3.2vw, 34px); }
.pf-split__text p { margin: 0; line-height: 1.65; color: var(--color-neutral-800); }
@media (max-width: 899px) {
	.pf-split { grid-template-columns: 1fr; gap: 24px; }
	.pf-split__media { max-width: 560px; }
	.pf-split__text { max-width: none; }
}

.pf-why { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 32px; margin-top: 24px; }
.pf-why__item h3 { margin: 0 0 10px; line-height: 1.3; }
.pf-why__item p { margin: 0; font-size: 15px; color: var(--color-neutral-800); }
@media (max-width: 600px) {
	.pf-why { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
	.pf-why__item h3 { font-size: 16px; }
	.pf-why__item p { font-size: 14px; }
	.pf-benefits { grid-template-columns: 1fr; gap: 28px; }
	.pf-benefit { display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 8px; }
	.pf-benefit__media { grid-row: 1 / 3; aspect-ratio: 1; padding: 0; }
}

.pf-archive-head { padding-block: 24px 32px; max-width: 760px; }
.pf-archive-head h1 { margin: 0 0 12px; font-size: clamp(32px, 4.4vw, 52px); }

.pf-breadcrumbs { font-size: 13px; color: var(--color-neutral-700); padding-top: 20px; }
.pf-breadcrumbs a { color: var(--color-neutral-700); text-decoration: none; }
.pf-breadcrumbs a:hover { color: var(--color-text); text-decoration: underline; }
.pf-breadcrumbs .breadcrumb_last { color: var(--color-text); }

.pf-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.pf-pill {
	display: inline-flex; align-items: center; min-height: 38px; padding: 8px 16px;
	border: 1px solid var(--color-divider); border-radius: 999px;
	font-size: 14px; font-weight: 600; text-decoration: none; color: var(--color-text); background: #fff;
}
.pf-pill:hover { background: color-mix(in srgb, var(--color-text) 7%, #fff); color: var(--color-text); }
.pf-pill.is-active { background: var(--color-text); color: #fff; border-color: var(--color-text); }
@media (max-width: 600px) {
	.pf-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
	.pf-pills::-webkit-scrollbar { display: none; }
	.pf-pill { flex: none; }
}

/* Text pages */
.pf-page { max-width: 760px; padding-bottom: var(--section-gap); }
.pf-page--wide { max-width: none; }
.pf-prose { font-size: 16px; line-height: 1.7; }
.pf-prose h2 { font-size: 26px; margin-top: 1.6em; }
.pf-prose h3 { font-size: 20px; margin-top: 1.4em; }
.pf-prose ul, .pf-prose ol { padding-left: 1.3em; }
.pf-prose li { margin-bottom: .35em; }
.pf-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.pf-prose th, .pf-prose td { padding: 10px; border-bottom: 1px solid var(--color-divider); text-align: left; }
.pf-seo-text { max-width: 760px; color: var(--color-neutral-800); }
.pf-seo-text h2 { font-size: 24px; }

.pf-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; padding-bottom: var(--section-gap); }
.pf-post-card__media img { border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.pf-post-card__title { font-size: 20px; margin: 14px 0 8px; }
.pf-post-card__title a { text-decoration: none; }
.pf-post-hero img { border-radius: var(--radius-lg); margin-bottom: 32px; }

/* ==========================================================================
   Product grid & cards
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 28px 22px;
	margin: 0 0 24px !important;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product.pf-card,
.woocommerce-page ul.products li.product.pf-card,
ul.products li.pf-card {
	float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important;
	display: flex; flex-direction: column; gap: 12px; text-align: left; position: relative;
}
.pf-card__media {
	position: relative; display: flex; align-items: center; justify-content: center;
	aspect-ratio: 1 / 1; padding: 22px; overflow: hidden; background: #fff; text-decoration: none;
}
.pf-card__media img { width: 100% !important; height: 100% !important; object-fit: contain; mix-blend-mode: multiply; margin: 0 !important; transition: opacity .35s ease, transform .35s ease; }
.pf-card__img2 { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; opacity: 0; mix-blend-mode: normal !important; }
@media (hover: hover) {
	.pf-card__media.has-hover:hover .pf-card__img2 { opacity: 1; }
	.pf-card__media:not(.has-hover):hover .pf-card__img { transform: scale(1.03); }
}
.pf-card__noimg { font-size: 13px; color: var(--color-neutral-600); text-align: center; }
.pf-badge { position: absolute; top: 10px; left: 10px; background: var(--color-accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pf-card__text { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.woocommerce ul.products li.product .pf-card__title,
.pf-card__title { font-family: var(--font-heading); font-size: 18px !important; font-weight: 700; line-height: 1.2; margin: 0; padding: 0 !important; letter-spacing: -0.01em; }
.pf-card__title a { color: var(--color-text); text-decoration: none; }
.pf-card__title a:hover { text-decoration: underline; color: var(--color-text); }
.pf-card__meta { font-size: 13px; color: var(--color-neutral-700); }
.pf-card__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; margin-top: auto; flex-wrap: wrap; }
.woocommerce ul.products li.product .pf-card__price .price,
.pf-card__price, .pf-card__price .amount { color: var(--color-text); font-weight: 700; font-size: 16px; margin: 0; }
.pf-card__price del { opacity: .55; font-weight: 400; margin-right: 4px; }
.pf-card__price ins { text-decoration: none; }
.pf-card .pf-add { padding: 9px 18px; font-weight: 600; margin: 0 !important; }
.pf-card .pf-add[hidden], .pf-qty[hidden] { display: none !important; }
.pf-card .added_to_cart { display: none !important; }

.pf-qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--color-divider); border-radius: 999px; padding: 2px; background: #fff; }
.pf-qty .btn-icon { width: 32px; height: 32px; min-height: 32px; }
.pf-qty .btn-icon:hover { background: color-mix(in srgb, var(--color-text) 7%, #fff); }
.pf-qty__n { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }
.pf-qty.is-busy { opacity: .55; pointer-events: none; }
.pf-qty--sm .btn-icon { width: 26px; height: 26px; min-height: 26px; }
.pf-qty--sm .pf-qty__n { font-size: 13px; min-width: 16px; }

@media (max-width: 1024px) and (min-width: 601px) {
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
}
@media (max-width: 600px) {
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.pf-card__media { padding: 10px; }
	.woocommerce ul.products li.product .pf-card__title, .pf-card__title { font-size: 15px !important; }
	.pf-card__meta { font-size: 12px; }
	.pf-card__buy { flex-direction: column; align-items: stretch; gap: 8px; }
	.pf-card .pf-add { width: 100%; padding: 8px 10px; font-size: 14px; min-height: 40px; }
	.pf-card .pf-qty { justify-content: space-between; }
	.pf-qty .btn-icon { width: 36px; height: 36px; min-height: 36px; }
}

/* Ordering / result count on the shop page */
.woocommerce .woocommerce-result-count { font-size: 14px; color: var(--color-neutral-700); margin: 0 0 20px; }
.woocommerce .woocommerce-ordering { margin: 0 0 20px; }
.woocommerce .woocommerce-ordering select, .pf-select {
	min-height: 40px; padding: 6px 36px 6px 16px; border: 1px solid var(--color-divider); border-radius: 999px;
	font: inherit; font-size: 14px; background: #fff; color: var(--color-text);
}
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 999px; min-width: 40px; padding: 10px; }

/* ==========================================================================
   Single product
   ========================================================================== */
.pf-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; margin: 16px 0 20px; }
.pf-single {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: start;
	padding-bottom: 72px;
}
.woocommerce div.product.pf-single div.images,
.woocommerce div.product.pf-single div.summary { float: none !important; width: 100% !important; margin: 0 !important; }
.pf-single__gallery { position: relative; }
.pf-single .woocommerce-product-gallery__wrapper,
.pf-single .woocommerce-product-gallery__image { background: #fff; }
.pf-single .woocommerce-product-gallery__image img { aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; padding: 28px; }
.pf-single .flex-control-thumbs { display: flex !important; gap: 10px; margin-top: 14px !important; }
.woocommerce div.product.pf-single div.images .flex-control-thumbs li { width: 76px !important; float: none !important; margin: 0 !important; }
.pf-single .flex-control-thumbs img { width: 76px; height: 76px; object-fit: contain; padding: 6px; border: 2px solid transparent; border-radius: var(--radius-md); opacity: 1 !important; background: #fff; }
.pf-single .flex-control-thumbs img.flex-active { border-color: var(--color-text); }
.pf-single .woocommerce-product-gallery__trigger { border-radius: 999px; background: #fff; border: 1px solid var(--color-divider); }
.pf-single__noimg { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; color: var(--color-neutral-600); background: var(--color-neutral-100); border-radius: var(--radius-lg); }
.pf-single .onsale { border-radius: 999px !important; background: var(--color-accent) !important; min-height: 0 !important; min-width: 0 !important; padding: 4px 12px !important; line-height: 1.4 !important; }

.pf-single__summary { display: flex; flex-direction: column; gap: 22px; max-width: 540px; }
.pf-single__summary .product_title { font-size: clamp(30px, 4vw, 48px); margin: 0; }
.pf-single__meta { font-size: 15px; color: var(--color-neutral-700); margin-top: -12px; }
.woocommerce div.product.pf-single p.price,
.woocommerce div.product.pf-single span.price { color: var(--color-text); font-size: 28px; font-weight: 700; margin: 0; }
.pf-single .stock { font-size: 14px; margin: 0; color: var(--color-accent-2) !important; font-weight: 600; }
.pf-single .stock.out-of-stock { color: var(--color-accent-700) !important; }
.woocommerce div.product.pf-single form.cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.woocommerce div.product.pf-single form.cart::before, .woocommerce div.product.pf-single form.cart::after { display: none; }
.woocommerce .pf-single .quantity { margin: 0 !important; float: none !important; }
.pf-qty-field { display: inline-flex !important; align-items: center; gap: 4px; border: 1px solid var(--color-divider); border-radius: 999px; padding: 3px; }
.pf-qty-field .pf-step { width: 40px; height: 40px; min-height: 40px; }
.woocommerce .pf-single .quantity input.qty, .pf-qty-field input.qty {
	width: 44px; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 700; font-size: 16px; -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.pf-qty-field input.qty::-webkit-outer-spin-button, .pf-qty-field input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce .pf-single .single_add_to_cart_button.button,
.woocommerce .pf-single .single_add_to_cart_button.button.alt { padding: 13px 28px; font-size: 16px; font-weight: 700; min-height: 48px; float: none; }
.pf-single__ship { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 14px; color: var(--color-neutral-800); background: var(--color-neutral-100); border-radius: var(--radius-md); padding: 12px 16px; }
.pf-single__ship svg { flex: none; color: var(--color-accent-2); }
.pf-single__body { display: flex; flex-direction: column; gap: 26px; }
.pf-single__desc { font-size: 16px; line-height: 1.65; color: var(--color-neutral-800); }
.pf-single__desc p:last-child { margin: 0; }
.pf-single__block h2 { font-size: 20px; margin: 0 0 12px; }
.pf-single__block p { margin: 0 0 8px; font-size: 15px; color: var(--color-neutral-800); }
.pf-single__allergens { font-size: 14px !important; }
.pf-details { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; font-size: 15px; margin: 0; }
.pf-details dt { color: var(--color-neutral-700); }
.pf-details dd { margin: 0; font-weight: 600; word-break: break-word; }
.pf-single__after { padding-bottom: var(--section-gap); }
.pf-single__after .related > h2, .pf-single__after .upsells > h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 24px; }
@media (max-width: 899px) {
	.pf-single { grid-template-columns: 1fr; gap: 28px; padding-bottom: 56px; }
	.pf-single__summary { max-width: none; }
	.pf-single .woocommerce-product-gallery__image img { padding: 12px; }
}
@media (max-width: 600px) {
	.pf-single__summary { gap: 18px; }
	.woocommerce div.product.pf-single form.cart { flex-wrap: nowrap; }
	.woocommerce .pf-single .single_add_to_cart_button.button { flex: 1; padding-inline: 16px; }
	.pf-details { gap: 8px 18px; font-size: 14px; }
}

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.pf-drawer { position: fixed; inset: 0; z-index: 60; }
.pf-drawer[hidden] { display: none; }
.pf-drawer__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-neutral-900) 40%, transparent); opacity: 0; transition: opacity .2s ease; }
.pf-drawer__panel {
	position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(420px, calc(100vw - 24px));
	display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border-radius: calc(var(--radius-lg) * 1.15); box-shadow: var(--shadow-lg);
	transform: translateX(24px); opacity: 0; transition: transform .22s ease, opacity .22s ease;
}
.pf-drawer.is-open .pf-drawer__backdrop { opacity: 1; }
.pf-drawer.is-open .pf-drawer__panel { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pf-drawer__panel, .pf-drawer__backdrop { transition: none; } }
.pf-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 12px; }
.pf-drawer__head h2 { margin: 0; font-size: 26px; }
.pf-drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.pf-drawer__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 24px; color: var(--color-neutral-700); }
.pf-drawer__empty p { margin: 0; }
.pf-drawer__items { list-style: none; margin: 0; padding: 8px 24px 16px; flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 16px; }
.pf-drawer__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.pf-drawer__thumb { width: 64px; height: 64px; border-radius: var(--radius-md); background: var(--color-neutral-100); padding: 6px; overflow: hidden; }
.pf-drawer__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pf-drawer__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pf-drawer__name { font-weight: 700; font-size: 14px; line-height: 1.3; text-decoration: none; }
.pf-drawer__info .pf-qty { align-self: flex-start; }
.pf-drawer__line { font-weight: 700; font-size: 14px; white-space: nowrap; }
.pf-drawer__foot { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 6px; background: var(--color-neutral-900); color: #fff; }
.pf-drawer__foot a { color: #fff; }
.pf-drawer__foot a.pf-btn-light, .pf-drawer__foot a.pf-btn-light:hover { color: var(--color-text); text-decoration: none; }
.pf-drawer__row { display: flex; justify-content: space-between; font-size: 14px; }
.pf-drawer__total { font-weight: 700; font-size: 18px; margin-top: 6px; }
.pf-drawer__note { font-size: 12px; margin: 4px 0 0; opacity: .9; }
.pf-drawer__free { font-size: 13px; margin: 0 0 8px; display: flex; flex-direction: column; gap: 6px; }
.pf-progress { display: block; height: 4px; border-radius: 999px; background: color-mix(in srgb, #fff 20%, transparent); overflow: hidden; }
.pf-progress span { display: block; height: 100%; background: var(--color-accent-2-300); border-radius: 999px; }
.pf-drawer__foot .btn-block { margin-top: 12px; }
.pf-drawer__cartlink { text-align: center; font-size: 13px; margin-top: 6px; }
@media (max-width: 480px) {
	.pf-drawer__panel { top: 0; right: 0; bottom: 0; width: 100vw; border-radius: 0; }
	.pf-drawer__head, .pf-drawer__items, .pf-drawer__foot { padding-inline: 16px; }
}

/* ==========================================================================
   WooCommerce: notices, cart/checkout blocks, account
   ========================================================================== */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error,
.wc-block-components-notice-banner {
	border-radius: var(--radius-md); border: 1px solid var(--color-divider); border-top-width: 1px;
	background: var(--color-neutral-100); color: var(--color-text); font-size: 15px;
}
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--color-accent-2); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button:not(.is-link), .wp-block-button__link {
	border-radius: 999px !important; font-family: var(--font-body); font-weight: 700;
	background: var(--color-text) !important; color: #fff !important; border: 1px solid var(--color-text) !important;
	padding: 12px 22px; min-height: 44px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.wc-block-components-button:not(.is-link):hover, .wp-block-button__link:hover { background: var(--color-neutral-800) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	border-radius: 12px !important; border-color: var(--color-divider) !important; font-family: var(--font-body);
}
.wc-block-cart .wc-block-cart__submit-container, .wc-block-checkout__actions { margin-top: 12px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--color-text); color: #fff; }
@media (max-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.pf-footer { background: var(--color-neutral-900); color: #fff; }
.pf-footer a { color: inherit; text-decoration: none; }
.pf-footer a:hover { color: #fff; text-decoration: underline; }
.pf-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 36px; padding-block: 64px 40px; }
.pf-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; }
.pf-footer .pf-brand { margin: 0 0 4px; color: #fff; }
.pf-footer__title { font-size: 14px; font-weight: 700; letter-spacing: 0; margin: 0 0 4px; color: #fff; }
.pf-footer address { display: flex; flex-direction: column; gap: 4px; }
.pf-footer__tagline { margin: 0; max-width: 260px; }
.pf-footer__brands, .pf-footer__small { font-size: 13px; margin: 0; }
.pf-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pf-footer__badges { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; padding-bottom: 40px; }
.pf-footer__group { display: flex; flex-direction: column; gap: 14px; }
.pf-certs, .pf-pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pf-certs li { width: 64px; height: 64px; border-radius: 50%; background: var(--color-neutral-100); display: flex; align-items: center; justify-content: center; }
.pf-certs img { width: 36px; height: 36px; object-fit: contain; }
.pf-pay li { height: 40px; min-width: 72px; border-radius: var(--radius-sm); background: var(--color-neutral-100); display: flex; align-items: center; justify-content: center; }
.pf-pay__text { padding: 0 14px; color: var(--color-neutral-800); font-size: 13px; font-weight: 600; }
.pf-footer__widgets { padding-bottom: 32px; }
.pf-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding-block: 20px 28px; font-size: 13px;
	border-top: 1px solid color-mix(in srgb, #f0fae1 15%, transparent);
}
@media (max-width: 1024px) {
	.pf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.pf-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 48px 32px; }
	.pf-footer__badges { flex-direction: column; }
	.pf-certs li { width: 56px; height: 56px; }
	.pf-certs img { width: 30px; height: 30px; }
}

/* Comments / misc */
.comment-list { list-style: none; padding: 0; }
.wp-block-image img { border-radius: var(--radius-md); }
.alignwide { max-width: 1200px; }

/* Language switcher (header) */
.pf-lang { position: relative; }
.pf-lang > summary { list-style: none; cursor: pointer; gap: 6px; padding: 8px 12px; font-size: 14px; font-weight: 600; letter-spacing: .04em; -webkit-user-select: none; user-select: none; }
.pf-lang > summary::-webkit-details-marker { display: none; }
.pf-lang > summary::marker { content: ""; }
.pf-lang__list {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 70;
	min-width: 176px; margin: 0; padding: 6px; list-style: none;
	background: #fff; border: 1px solid var(--color-divider); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}
.pf-lang__list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--color-text); text-decoration: none; font-size: 15px; line-height: 1.2; }
.pf-lang__list a:hover { background: var(--color-neutral-100); color: var(--color-text); }
.pf-lang__list a[aria-current] { background: var(--color-neutral-100); font-weight: 700; }
.pf-lang__code { flex: none; width: 24px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--color-neutral-600); }
@media (max-width: 480px) {
	.pf-lang > summary { padding: 8px 10px; }
	.pf-lang > summary svg { display: none; }
}
@media (max-width: 380px) {
	.pf-header__inner { gap: 8px; }
	.pf-header__actions { gap: 6px; }
	.pf-cart-btn { padding: 8px 10px; }
	.pf-brand__word { font-size: 17px; letter-spacing: .1em; }
}
