/*!
Theme Name: Method Furia
Theme URI: https://methodfuria.am/
Author: Ashot Sardaryan
Author URI: https://methodfuria.am/
Description: Motyw klasyczny WooCommerce dla sklepu wędkarskiego Method Furia (Erywań, Armenia). Zbudowany na bazie _s.
Version: 1.0.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: methodfuria
Tags: custom-logo, custom-menu, featured-images, translation-ready, e-commerce

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Method Furia is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Zmienne (design tokens)
# Reset / Base
# Typografia
# Layout
# Header
# Top bar
# Nav
# Footer
# Komponenty (karta produktu, przyciski, badge, formularze)
# Strona główna
# Listing + filtry
# Karta produktu (PDP)
# WooCommerce — koszyk / checkout / moje konto
# Stany i focus
# Media queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Zmienne (design tokens)
--------------------------------------------------------------*/
@font-face {
	font-family: 'Noto Sans Armenian';
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url('assets/fonts/noto-sans-armenian-armenian.woff2') format('woff2');
	unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17;
}

@font-face {
	font-family: 'Noto Sans Armenian';
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url('assets/fonts/noto-sans-armenian-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* Colors — backgrounds */
	--mf-bg: #0a0a0a;
	--mf-bg-topbar: #000000;
	--mf-bg-header: #0d0d0f;
	--mf-bg-footer: #08080a;
	--mf-bg-card: #101013;
	--mf-bg-field: #141417;
	--mf-bg-field-alt: #16161a;
	--mf-bg-select: #1a1a1f;

	/* Colors — borders */
	--mf-border-subtle: #1f1f24;
	--mf-border: #26262b;
	--mf-border-field: #2e2e34;
	--mf-border-hover: #3a3a40;
	--mf-border-cta-photo: #4a4a50;
	--mf-border-footer-sep: #16161a;
	--mf-border-inline-sep: #2c2c31;

	/* Colors — text */
	--mf-text-heading: #f4f1ec;
	--mf-text-body: #e6e0d8;
	--mf-text-secondary: #d8d2ca;
	--mf-text-desc: #c2bbb2;
	--mf-text-helper: #b3aca4;
	--mf-text-muted: #a8a29a;
	--mf-text-muted-strong: #97918a;
	--mf-text-meta: #8b857d;
	--mf-text-meta-weak: #7d776f;
	--mf-text-meta-weakest: #6f6a63;

	/* Colors — accents */
	--mf-accent-yellow: #ffc400;
	--mf-accent-orange: #ff6a00;
	--mf-accent-orange-light: #ff8a3d;
	--mf-accent-red: #ff3b00;
	--mf-accent-red-dark: #ff2200;

	/* Colors — stock states */
	--mf-state-instock: #4ec97a;
	--mf-state-low: #e0a83a;
	--mf-state-oos: #8b857d;

	/* Gradient marki — jedyny dopuszczony gradient */
	--mf-gradient-brand: linear-gradient(100deg, var(--mf-accent-yellow), var(--mf-accent-red));
	--mf-gradient-logo: linear-gradient(100deg, var(--mf-accent-yellow), var(--mf-accent-red-dark));
	--mf-gradient-underline: linear-gradient(90deg, var(--mf-accent-red), rgba(255, 59, 0, 0));

	/* Tła akcentowane półprzezroczyste */
	--mf-tint-yellow-bg: rgba(255, 196, 0, 0.08);
	--mf-tint-yellow-border: rgba(255, 196, 0, 0.22);
	--mf-tint-yellow-chip-bg: rgba(255, 196, 0, 0.1);
	--mf-tint-yellow-chip-border: rgba(255, 196, 0, 0.3);
	--mf-tint-yellow-wholesale-bg: rgba(255, 196, 0, 0.07);
	--mf-tint-yellow-wholesale-border: rgba(255, 196, 0, 0.25);
	--mf-tint-red-bg: rgba(255, 59, 0, 0.1);

	/* Typografia */
	--mf-font-base: 'Noto Sans Armenian', system-ui, sans-serif;
	--mf-fs-body: 15px;

	/* Spacing scale */
	--mf-space-1: 4px;
	--mf-space-2: 6px;
	--mf-space-3: 8px;
	--mf-space-4: 10px;
	--mf-space-5: 12px;
	--mf-space-6: 14px;
	--mf-space-7: 16px;
	--mf-space-8: 18px;
	--mf-space-9: 20px;
	--mf-space-10: 22px;
	--mf-space-11: 26px;
	--mf-space-12: 30px;
	--mf-space-13: 32px;
	--mf-space-14: 40px;
	--mf-space-15: 44px;
	--mf-space-16: 52px;
	--mf-space-17: 56px;
	--mf-space-18: 64px;

	/* Promienie */
	--mf-radius-xs: 4px;
	--mf-radius-sm: 6px;
	--mf-radius-icon: 8px;
	--mf-radius-icon-lg: 9px;
	--mf-radius-input: 10px;
	--mf-radius-panel: 12px;
	--mf-radius-card: 14px;
	--mf-radius-block: 16px;
	--mf-radius-pill: 999px;

	/* Ruch */
	--mf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--mf-duration: 0.2s;
	--mf-duration-slow: 0.35s;
	--mf-transition: color var(--mf-duration) var(--mf-ease), border-color var(--mf-duration) var(--mf-ease), background var(--mf-duration) var(--mf-ease), filter var(--mf-duration) var(--mf-ease), transform var(--mf-duration) var(--mf-ease), box-shadow var(--mf-duration) var(--mf-ease), opacity var(--mf-duration) var(--mf-ease);
	--mf-shadow-glow: 0 8px 22px rgba(255, 59, 0, 0.28);
	--mf-shadow-lift: 0 14px 30px rgba(0, 0, 0, 0.4);

	/* Kontener */
	--mf-container-max: 1360px;
	--mf-container-padding: 40px;

	color-scheme: dark;
}

/*--------------------------------------------------------------
# Reset / Base
--------------------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--mf-bg);
	color: var(--mf-text-body);
	font-family: var(--mf-font-base);
	font-size: var(--mf-fs-body);
	line-height: 1.55;
	font-weight: 400;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

figure {
	margin: 0;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--mf-bg-card);
	border-radius: var(--mf-radius-sm);
	clip: auto !important;
	clip-path: none;
	color: var(--mf-text-heading);
	display: block;
	height: auto;
	left: var(--mf-space-7);
	top: var(--mf-space-7);
	padding: var(--mf-space-4) var(--mf-space-6);
	text-decoration: none;
	width: auto;
	z-index: 100000;
}

/*--------------------------------------------------------------
# Typografia
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 800;
	color: var(--mf-text-heading);
}

p {
	margin: 0;
}

.h1-hero {
	font-size: 38px;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.h1-listing {
	font-size: 32px;
	font-weight: 800;
}

.h1-product {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
}

.h2-section {
	font-size: 26px;
	font-weight: 800;
}

.h2-section--sm {
	font-size: 24px;
	font-weight: 800;
}

.h2-b2b {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
}

.section-heading {
	display: flex;
	align-items: baseline;
	gap: var(--mf-space-7);
	margin-bottom: var(--mf-space-8);
}

.section-heading__rule {
	flex: 1;
	height: 2px;
	background: var(--mf-gradient-underline);
}

.section-heading__link {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--mf-text-heading);
	white-space: nowrap;
}

.section-heading__link:hover {
	color: var(--mf-accent-yellow);
}

.kicker {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--mf-accent-yellow);
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.container {
	max-width: var(--mf-container-max);
	margin: 0 auto;
	padding-inline: var(--mf-container-padding);
}

#page {
	overflow-x: clip;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	background: var(--mf-bg-header);
	border-bottom: 1px solid var(--mf-border-subtle);
}

.site-header__row {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--mf-space-13);
	padding: var(--mf-space-4) var(--mf-container-padding);
}

.site-branding__logo img,
.site-branding__logo .custom-logo {
	height: 136px;
	width: auto;
	max-width: 250px;
	object-fit: contain;
	object-position: left center;
}

.site-branding__logo {
	display: inline-flex;
}

/* Search */
.site-search {
	display: flex;
	min-width: 0;
	border: 1px solid var(--mf-border-field);
	border-radius: var(--mf-radius-input);
	overflow: hidden;
	background: var(--mf-bg-field);
}

.site-search__input {
	flex: 1;
	padding: var(--mf-space-5) var(--mf-space-6);
	background: transparent;
	border: none;
	color: var(--mf-text-heading);
	min-width: 0;
}

.site-search__input::placeholder {
	color: var(--mf-text-muted);
}

.site-search__submit {
	flex: 0 0 auto;
	background: var(--mf-gradient-brand);
	color: var(--mf-bg);
	font-weight: 700;
	padding-inline: var(--mf-space-9);
	white-space: nowrap;
}

.site-search__submit:hover {
	filter: brightness(1.1);
}

/* Account + cart */
.header-actions {
	display: flex;
	align-items: center;
	gap: var(--mf-space-10);
}

.header-action {
	display: flex;
	align-items: center;
	gap: var(--mf-space-3);
	position: relative;
}

.header-action__icon {
	width: 34px;
	height: 34px;
	border: 1px solid var(--mf-border-field);
	border-radius: var(--mf-radius-icon);
	display: grid;
	place-items: center;
	flex: none;
	color: var(--mf-text-helper);
}

.header-action__text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.header-action__label {
	font-size: 11px;
	color: var(--mf-text-meta-weak);
}

.header-action__value {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--mf-text-heading);
}

.header-action__badge {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 19px;
	height: 19px;
	padding-inline: 3px;
	border-radius: var(--mf-radius-pill);
	background: var(--mf-accent-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: grid;
	place-items: center;
}

/*--------------------------------------------------------------
# Top bar
--------------------------------------------------------------*/
.topbar {
	background: var(--mf-bg-topbar);
	border-bottom: 1px solid #1d1d21;
	font-size: 12.5px;
	color: var(--mf-text-muted-strong);
}

.topbar__row {
	display: flex;
	align-items: center;
	padding: var(--mf-space-3) var(--mf-container-padding);
	gap: var(--mf-space-9);
}

.topbar__info {
	display: flex;
	align-items: center;
	gap: var(--mf-space-9);
	flex-wrap: wrap;
}

.topbar__sep {
	color: var(--mf-border-inline-sep);
}

.topbar__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: var(--mf-space-6);
}

.topbar__register-b2c {
	color: var(--mf-text-secondary);
	font-weight: 600;
	border-bottom: 1px solid var(--mf-border-hover);
	padding-bottom: 1px;
}

.topbar__register-b2c:hover {
	color: var(--mf-accent-yellow);
	border-color: var(--mf-accent-yellow);
}

.topbar__register-b2b {
	background: var(--mf-gradient-brand);
	color: var(--mf-bg);
	font-weight: 700;
	padding: 5px 12px;
	border-radius: var(--mf-radius-pill);
}

.topbar__register-b2b:hover {
	filter: brightness(1.12);
}

.topbar__lang-switcher {
	color: var(--mf-text-muted-strong);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.topbar__lang-link {
	color: inherit;
}

.topbar__lang-link:hover,
.topbar__lang-link.is-current {
	color: var(--mf-accent-yellow);
}

.topbar__lang-sep {
	color: var(--mf-border-cta-photo);
}

/*--------------------------------------------------------------
# Nav
--------------------------------------------------------------*/
.site-nav {
	border-top: 1px solid #1d1d21;
}

.site-nav__row {
	display: flex;
	align-items: center;
	padding-inline: var(--mf-container-padding);
	position: relative;
}

.mega-menu-wrapper {
	position: static;
}

.site-nav__all-categories {
	display: inline-flex;
	align-items: center;
	gap: var(--mf-space-3);
	font-size: 14px;
	font-weight: 700;
	color: var(--mf-text-heading);
	padding: 13px 18px 13px 0;
	margin-right: var(--mf-space-6);
	border-radius: var(--mf-radius-icon);
}

.site-nav__all-categories-icon {
	color: var(--mf-accent-yellow);
}

.site-nav__all-categories-arrow {
	font-size: 11px;
	color: var(--mf-text-meta-weakest);
	transition: transform 0.15s ease;
}

.mega-menu-wrapper.is-open .site-nav__all-categories {
	color: var(--mf-accent-yellow);
}

.mega-menu-wrapper.is-open .site-nav__all-categories-arrow {
	transform: rotate(180deg);
	color: var(--mf-accent-yellow);
}

/* Mega-menu panel */
.mega-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--mf-bg-card);
	border-bottom: 1px solid var(--mf-border-subtle);
	border-top: 1px solid var(--mf-accent-red);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.mega-menu[hidden] {
	display: none;
}

.mega-menu__inner {
	padding-block: var(--mf-space-9);
}

.mega-menu__columns {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: var(--mf-space-9);
}

.mega-menu__column-title {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--mf-text-heading);
	margin-bottom: var(--mf-space-4);
	padding-bottom: var(--mf-space-3);
	border-bottom: 1px solid var(--mf-border-subtle);
}

.mega-menu__column-title:hover {
	color: var(--mf-accent-yellow);
}

.mega-menu__sublist {
	display: grid;
	gap: var(--mf-space-3);
}

.mega-menu__sublist a {
	font-size: 13.5px;
	color: var(--mf-text-helper);
}

.mega-menu__sublist a:hover {
	color: var(--mf-accent-yellow);
}

.mega-menu__footer {
	margin-top: var(--mf-space-9);
	padding-top: var(--mf-space-7);
	border-top: 1px solid var(--mf-border-subtle);
}

.mega-menu__all-link {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--mf-accent-yellow);
}

.mega-menu__all-link:hover {
	color: var(--mf-accent-orange);
}

.site-nav__menu {
	display: flex;
	align-items: center;
}

.site-nav__menu ul {
	display: flex;
	align-items: center;
}

.site-nav__menu a {
	display: inline-block;
	font-size: 14px;
	color: var(--mf-text-helper);
	padding: 13px 15px;
	border-bottom: 2px solid transparent;
}

.site-nav__menu a:hover {
	color: var(--mf-accent-yellow);
	border-bottom-color: var(--mf-accent-red);
}

/* Admin tags one primary-menu item with the "nav-deals" CSS class
   (Appearance > Menus > Screen Options > CSS Classes) to push it to the
   right and give it the accent treatment, instead of us hardcoding it. */
.site-nav__menu li.nav-deals {
	margin-left: auto;
}

.site-nav__menu li.nav-deals > a {
	font-weight: 700;
	color: var(--mf-accent-orange);
}

.site-nav__menu li.nav-deals > a:hover {
	color: var(--mf-accent-yellow);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	background: var(--mf-bg-footer);
	border-top: 1px solid var(--mf-border-subtle);
	margin-top: var(--mf-space-18);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: auto auto;
	justify-content: start;
	column-gap: var(--mf-space-18);
	row-gap: var(--mf-space-14);
	padding: var(--mf-space-15) var(--mf-container-padding);
}

.footer-brand__logo img {
	height: 86px;
	width: 250px;
	object-fit: contain;
	object-position: left center;
}

.footer-brand__desc {
	margin-top: var(--mf-space-6);
	font-size: 13.5px;
	color: var(--mf-text-meta);
	max-width: 300px;
}

.footer-col__title {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mf-text-heading);
	margin-bottom: var(--mf-space-6);
}

.footer-col ul {
	display: flex;
	flex-direction: column;
	gap: var(--mf-space-4);
}

.footer-col a {
	display: inline-block;
	font-size: 13.5px;
	color: var(--mf-text-helper);
}

.footer-col a:hover {
	color: var(--mf-accent-yellow);
	transform: translateX(3px);
}

.footer-payments {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mf-space-3);
	margin-top: var(--mf-space-7);
}

.footer-payments span {
	font-size: 11.5px;
	color: var(--mf-text-helper);
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius-sm);
	padding: 4px 8px;
}

.site-footer__bottom {
	border-top: 1px solid var(--mf-border-footer-sep);
	padding: var(--mf-space-7) var(--mf-container-padding);
	font-size: 12.5px;
	color: var(--mf-text-meta-weakest);
}

/*--------------------------------------------------------------
# Komponenty (karta produktu, przyciski, badge, formularze)
--------------------------------------------------------------*/

/* Przyciski */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--mf-space-3);
	border-radius: var(--mf-radius-input);
	font-weight: 700;
	transition: var(--mf-transition);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: translateY(0) scale(0.98);
	transition-duration: 0.08s;
}

.btn-primary {
	background: var(--mf-gradient-brand);
	color: var(--mf-bg);
	font-weight: 800;
	padding: var(--mf-space-6) var(--mf-space-13);
	border: none;
}

.btn-primary:hover {
	filter: brightness(1.1);
	box-shadow: var(--mf-shadow-glow);
}

.btn-secondary {
	border: 1px solid var(--mf-border-cta-photo);
	background: transparent;
	color: var(--mf-text-heading);
	padding: var(--mf-space-6) var(--mf-space-9);
}

.btn-secondary:hover {
	border-color: var(--mf-accent-yellow);
	color: var(--mf-accent-yellow);
}

.btn-outline {
	border: 1px solid var(--mf-border-hover);
	background: transparent;
	color: var(--mf-text-heading);
	padding: var(--mf-space-6);
	width: 100%;
}

.btn-outline:hover {
	border-color: var(--mf-accent-yellow);
	color: var(--mf-accent-yellow);
}

/* Badge */
.badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 5px 9px;
	border-radius: var(--mf-radius-xs);
	color: var(--mf-bg);
	background: var(--mf-gradient-brand);
}

/* Formularze */
.form-field {
	display: flex;
	flex-direction: column;
	gap: var(--mf-space-2);
}

.form-field label {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--mf-text-heading);
}

.form-field input[type='text'],
.form-field input[type='email'],
.form-field input[type='tel'],
.form-field input[type='search'],
.form-field input[type='number'],
.form-field input[type='password'],
.form-field select,
.form-field textarea {
	background: var(--mf-bg-field-alt);
	border: 1px solid var(--mf-border-field);
	border-radius: var(--mf-radius-icon);
	padding: var(--mf-space-4) var(--mf-space-5);
	color: var(--mf-text-body);
}

.form-field__error {
	font-size: 12.5px;
	color: var(--mf-accent-red);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
	border-color: var(--mf-accent-red);
}

/* Karta produktu — komponent (home, listing, powiązane) */
.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-card);
	overflow: hidden;
	transition: var(--mf-transition);
}

.product-card:hover {
	border-color: var(--mf-border-hover);
	transform: translateY(-4px);
	box-shadow: var(--mf-shadow-lift);
}

.product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

.product-card__image-link {
	display: block;
	overflow: hidden;
}

.product-card__image {
	height: 200px;
	width: 100%;
	object-fit: cover;
	transition: transform var(--mf-duration-slow) var(--mf-ease);
}

.product-card:hover .product-card__image {
	transform: scale(1.05);
}

.product-card--listing .product-card__image {
	height: 190px;
}

.product-card--related .product-card__image {
	height: 170px;
}

.product-card__body {
	padding: var(--mf-space-7);
	display: flex;
	flex-direction: column;
	gap: var(--mf-space-3);
	flex: 1;
}

.product-card--related .product-card__body {
	padding: 15px;
	gap: 7px;
}

.product-card__brand {
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--mf-text-meta-weak);
}

.product-card__title {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--mf-text-heading);
	min-height: 40px;
}

.product-card--related .product-card__title {
	font-size: 14px;
	min-height: 38px;
}

/* Prices render via $product->get_price_html() — WooCommerce's own <span
   class="price"> markup, with <del> (regular) + <ins> (sale) when on sale.
   Restyle those native elements rather than inventing parallel classes, so
   the wholesale-price swap (inc/b2b.php, woocommerce_get_price_html) and
   any other core price filter keeps working without extra plumbing here. */
.product-card__prices .price {
	display: flex;
	align-items: baseline;
	gap: var(--mf-space-4);
	font-size: 19px;
	font-weight: 800;
	color: var(--mf-accent-yellow);
}

.product-card--related .product-card__prices .price {
	font-size: 17px;
}

/* WC outputs <del>regular</del> <ins>sale</ins> — design wants the current
   price first, so reorder visually instead of fighting the semantic markup. */
.product-card__prices .price ins {
	order: 1;
	text-decoration: none;
}

.product-card__prices .price del {
	order: 2;
	font-size: 13px;
	font-weight: 400;
	color: var(--mf-text-meta-weakest);
	text-decoration: line-through;
}

.product-card__prices .price del .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.product-card__stock {
	font-size: 12.5px;
	font-weight: 600;
}

.product-card__stock--instock {
	color: var(--mf-state-instock);
}

.product-card__stock--low {
	color: var(--mf-state-low);
}

.product-card__stock--oos {
	color: var(--mf-state-oos);
}

.product-card__add {
	margin-top: auto;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 14px;
	border-radius: var(--mf-radius-icon-lg);
	border: 1px solid var(--mf-accent-red);
	background: var(--mf-tint-red-bg);
	color: var(--mf-accent-orange-light);
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.product-card__add:hover {
	background: var(--mf-gradient-brand);
	color: var(--mf-bg);
	border-color: transparent;
}

.product-card__add:disabled,
.product-card__add.is-disabled {
	background: var(--mf-bg-field);
	border-color: var(--mf-border-field);
	color: var(--mf-text-meta-weakest);
	cursor: not-allowed;
}

/*--------------------------------------------------------------
# Strona główna
--------------------------------------------------------------*/
.home-container {
	max-width: var(--mf-container-max);
	margin: 0 auto;
	padding: var(--mf-space-13) var(--mf-container-padding) 0;
}

.home-section {
	margin-top: var(--mf-space-16);
}

.home-section:first-child {
	margin-top: 0;
}

/* Hero + kafle promo */
.hero-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: var(--mf-space-9);
}

.hero {
	height: 440px;
	border-radius: var(--mf-radius-block);
	border: 1px solid var(--mf-border);
	background: var(--mf-bg-header);
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 40%;
}

.hero__content {
	padding: var(--mf-space-14) var(--mf-space-15);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--mf-space-7);
}

.hero__badge {
	align-self: flex-start;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--mf-bg);
	background: var(--mf-gradient-brand);
	padding: 6px 12px;
	border-radius: var(--mf-radius-xs);
}

.hero__lead {
	font-size: 16px;
	color: var(--mf-text-desc);
	max-width: 460px;
}

.hero__cta {
	display: flex;
	gap: var(--mf-space-5);
	margin-top: var(--mf-space-3);
}

.hero__cta .btn-primary {
	font-size: 15px;
}

.hero__cta .btn-secondary {
	font-size: 15px;
	font-weight: 700;
}

.hero__image {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.promo-tiles {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: var(--mf-space-9);
}

.promo-tile {
	border-radius: var(--mf-radius-block);
	border: 1px solid var(--mf-border);
	background: var(--mf-bg-card);
	overflow: hidden;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
}

.promo-tile__image {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: transform var(--mf-duration-slow) var(--mf-ease);
}

.promo-tile:hover .promo-tile__image {
	transform: scale(1.04);
}

.promo-tile__body {
	padding: var(--mf-space-6) var(--mf-space-9) var(--mf-space-7);
}

.promo-tile__title {
	font-size: 20px;
	font-weight: 800;
	margin-top: var(--mf-space-2);
}

/* Kategorie */
.category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--mf-space-7);
}

.category-card {
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-card);
	overflow: hidden;
	transition: var(--mf-transition);
}

.category-card:hover {
	border-color: var(--mf-accent-red);
	transform: translateY(-4px);
	box-shadow: var(--mf-shadow-lift);
}

.category-card__image {
	height: 132px;
	width: 100%;
	object-fit: cover;
	transition: transform var(--mf-duration-slow) var(--mf-ease);
}

.category-card:hover .category-card__image {
	transform: scale(1.06);
}

.category-card__footer {
	padding: var(--mf-space-6) var(--mf-space-7);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.category-card__name {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--mf-text-heading);
}

.category-card__count {
	font-size: 12px;
	color: var(--mf-text-meta-weak);
}

/* Bestsellery / siatka produktów home */
.product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--mf-space-7);
}

/* Baner B2B */
.b2b-banner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius-block);
	overflow: hidden;
	background: var(--mf-bg-card);
}

.b2b-banner__content {
	padding: var(--mf-space-14) var(--mf-space-15);
	display: flex;
	flex-direction: column;
	gap: var(--mf-space-6);
}

.b2b-banner__kicker {
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--mf-accent-yellow);
}

.b2b-banner__text {
	color: var(--mf-text-muted);
	max-width: 520px;
}

.b2b-banner__list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 14px;
	color: var(--mf-text-desc);
}

.b2b-banner__list li {
	display: flex;
	gap: var(--mf-space-4);
}

.b2b-banner__list li::before {
	content: '✓';
	color: var(--mf-accent-orange);
	flex: none;
}

.b2b-banner__cta {
	display: flex;
	gap: var(--mf-space-5);
	margin-top: var(--mf-space-4);
}

.b2b-banner__cta .btn-primary {
	padding: 13px 24px;
}

.b2b-banner__cta .btn-secondary {
	padding: 13px 22px;
}

.b2b-banner__image {
	min-height: 300px;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

/* Blok B2B w koncie / sidebarze (skrót dla zalogowanego B2B) */
.b2b-account-block {
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-8);
}

/*--------------------------------------------------------------
# Listing + filtry
--------------------------------------------------------------*/
.shop-container {
	padding: var(--mf-space-10) var(--mf-container-padding) 0;
	max-width: var(--mf-container-max);
	margin: 0 auto;
}

.breadcrumb {
	font-size: 12.5px;
	color: var(--mf-text-meta-weak);
}

.breadcrumb a:hover {
	color: var(--mf-accent-yellow);
}

.breadcrumb__sep {
	margin-inline: var(--mf-space-3);
}

.breadcrumb__current {
	color: var(--mf-text-desc);
}

.archive-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--mf-space-10);
	padding-bottom: var(--mf-space-9);
	border-bottom: 1px solid var(--mf-border-subtle);
	margin-top: var(--mf-space-9);
}

.archive-header__count {
	font-size: 13.5px;
	color: var(--mf-text-meta);
	margin-top: 6px;
}

.archive-header__sort {
	display: flex;
	align-items: center;
	gap: var(--mf-space-4);
	font-size: 13px;
	color: var(--mf-text-meta);
}

.archive-header__sort select {
	font-size: 13.5px;
	padding: var(--mf-space-4) var(--mf-space-6);
	border-radius: var(--mf-radius-icon-lg);
	border: 1px solid var(--mf-border-field);
	background: var(--mf-bg-field);
	color: var(--mf-text-body);
}

.shop-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--mf-space-12);
	padding-top: var(--mf-space-11);
	padding-bottom: var(--mf-space-16);
}

/* Sidebar filtrów — Filter Everything nie jest jeszcze skonfigurowane,
   ukryte tymczasowo, produkty zajmują całą szerokość .shop-layout. */
.shop-filters {
	display: none;
	gap: var(--mf-space-5);
	align-content: start;
}

.shop-content {
	min-width: 0;
}

/* WooCommerce's own <ul class="products"> from loop/loop-start.php — no
   extra wrapper div, the grid goes directly on WC's real markup so the
   <li> product cards are true grid items (a wrapping div would leave the
   <ul> as the single grid cell and collapse the whole layout). */
.shop-content ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--mf-space-7);
	list-style: none;
	margin: 0;
	padding: 0;
}

.shop-content ul.products li.product {
	margin: 0;
}

.shop-filters__panel {
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-8);
}

/* --------------------------------------------------------------
   Filter Everything Pro — the plugin renders the actual filter UI
   (price slider, checkboxes, chips); we only restyle its own real
   markup/classes below, per CLAUDE.md §5 ("zero edycji plików wtyczki").
   Class names taken from the plugin's own views/frontend/*.php + wpc-helpers.php.
   -------------------------------------------------------------- */

.wpc-filters-widget-wrapper {
	display: grid;
	gap: var(--mf-space-5);
}

.wpc-filters-section {
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-8);
}

.wpc-filter-header {
	margin-bottom: var(--mf-space-6);
}

.wpc-filter-title {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--mf-text-heading);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wpc-filter-header button {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
}

.wpc-open-icon {
	font-size: 12px;
	color: var(--mf-text-meta-weakest);
}

.wpc-open-icon::after {
	content: '▾';
}

.wpc-filter-collapsible-reverse .wpc-open-icon::after {
	content: '▴';
}

/* Filter-set title + "Ֆիլտրեր" heading (admin-configured, Filters widget) */
.wpc-filter-set-widget-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--mf-text-heading);
	padding: 0 2px var(--mf-space-1);
}

/* Chips (active filters + "Reset all") */
.wpc-filter-chips-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mf-space-3);
	margin-bottom: var(--mf-space-1);
}

.wpc-filter-chip a,
.wpc-filter-chip span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	padding: 6px 10px;
	border-radius: var(--mf-radius-pill);
	background: var(--mf-tint-yellow-chip-bg);
	border: 1px solid var(--mf-tint-yellow-chip-border);
	color: var(--mf-accent-yellow);
}

.wpc-chip-remove-icon {
	font-size: 11px;
}

.wpc-chip-reset-all a,
.wpc-chip-reset-all span {
	background: transparent;
	border-color: var(--mf-border-field);
	color: var(--mf-text-meta);
}

.wpc-chip-reset-all a:hover,
.wpc-chip-reset-all span:hover {
	color: var(--mf-accent-orange);
}

/* Price range — jQuery UI slider under .wpc-filters-range-inputs */
.wpc-filters-range-wrapper {
	display: flex;
	align-items: center;
	gap: var(--mf-space-3);
	margin-bottom: var(--mf-space-7);
}

.wpc-filters-range-column {
	position: relative;
	flex: 1;
}

.wpc-filters-range-min,
.wpc-filters-range-max {
	width: 100%;
	font-size: 13px;
	padding: 9px 10px;
	border-radius: var(--mf-radius-icon);
	border: 1px solid var(--mf-border-field);
	background: var(--mf-bg-field-alt);
	color: var(--mf-text-body);
}

.wpc-range-clear {
	display: none;
}

.wpc-filters-range-slider-wrapper {
	padding-inline: 6px;
}

.wpc-filters-range-inputs .ui-slider {
	position: relative;
	height: 3px;
	background: #2a2a30;
	border-radius: 3px;
}

.wpc-filters-range-inputs .ui-slider-range {
	position: absolute;
	height: 100%;
	background: var(--mf-gradient-brand);
	border-radius: 3px;
}

.wpc-filters-range-inputs .ui-slider-handle {
	position: absolute;
	top: 50%;
	width: 15px;
	height: 15px;
	margin-left: -7px;
	border-radius: 50%;
	background: var(--mf-text-heading);
	border: 3px solid var(--mf-accent-red);
	transform: translateY(-50%);
	cursor: grab;
	outline: none;
}

/* Checkbox / radio term lists */
.wpc-filters-ul-list {
	display: grid;
	gap: var(--mf-space-4);
}

.wpc-term-item-content-wrapper {
	display: flex;
	align-items: center;
	gap: var(--mf-space-4);
}

.wpc-term-item label {
	display: flex;
	align-items: center;
	gap: var(--mf-space-4);
	flex: 1;
	font-size: 13.5px;
	color: var(--mf-text-helper);
	cursor: pointer;
}

.wpc-term-item:hover label {
	color: var(--mf-text-heading);
}

.wpc-term-item input[type='checkbox'],
.wpc-term-item input[type='radio'] {
	appearance: none;
	flex: none;
	width: 16px;
	height: 16px;
	border-radius: var(--mf-radius-xs);
	border: 1px solid var(--mf-border-hover);
	background: var(--mf-bg-field-alt);
}

.wpc-term-item input:checked {
	background: var(--mf-gradient-brand);
	border-color: transparent;
}

.wpc-filter-link {
	flex: 1;
}

.wpc-term-count {
	font-size: 12px;
	color: var(--mf-text-meta-weakest);
}

.wpc-term-item.wpc-term-disabled label {
	color: var(--mf-text-meta-weakest);
	opacity: 0.5;
	pointer-events: none;
}

/* Panel B2B w sidebarze */
.shop-filters__b2b {
	border-style: dashed;
	border-color: var(--mf-border-hover);
	display: grid;
	gap: var(--mf-space-3);
}

.shop-filters__b2b-title {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--mf-accent-yellow);
}

.shop-filters__b2b-text {
	font-size: 12.5px;
	color: var(--mf-text-meta);
}

.shop-filters__b2b-link {
	font-size: 13px;
	font-weight: 700;
	color: var(--mf-text-heading);
}

.shop-filters__b2b-link:hover {
	color: var(--mf-accent-yellow);
}

/* Paginacja — woocommerce_pagination() → paginate_links( type: 'list' ) */
.woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--mf-space-3);
	margin-top: var(--mf-space-13);
}

.woocommerce-pagination .page-numbers li {
	display: contents;
}

.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers {
	min-width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--mf-radius-icon-lg);
	font-size: 14px;
	font-weight: 600;
	color: var(--mf-text-helper);
	border: 1px solid var(--mf-border-field);
	padding-inline: var(--mf-space-4);
}

.woocommerce-pagination a.page-numbers:hover {
	border-color: var(--mf-accent-yellow);
	color: var(--mf-accent-yellow);
}

.woocommerce-pagination span.page-numbers.current {
	background: var(--mf-gradient-brand);
	color: var(--mf-bg);
	font-weight: 700;
	border: none;
}

.woocommerce-pagination a.next.page-numbers {
	padding-inline: var(--mf-space-7);
	width: auto;
}

/* Stan pusty */
.empty-state {
	text-align: center;
	padding: var(--mf-space-18) var(--mf-space-9);
	color: var(--mf-text-helper);
	display: grid;
	gap: var(--mf-space-6);
	justify-items: center;
}

/* Skeleton (ładowanie filtrów AJAX) */
.skeleton {
	background: var(--mf-bg-field);
	border-radius: var(--mf-radius-card);
}

/*--------------------------------------------------------------
# Karta produktu (PDP)
--------------------------------------------------------------*/
.product-page {
	padding: var(--mf-space-10) var(--mf-container-padding) var(--mf-space-16);
	max-width: var(--mf-container-max);
	margin: 0 auto;
}

.product-page__breadcrumb {
	margin-bottom: var(--mf-space-10);
}

.product-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: var(--mf-space-15);
}

/* Galeria — main image is always full width of .product-gallery; thumbs
   sit below it as a horizontal strip (order swaps them visually above the
   main img in DOM order). */
.product-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--mf-space-6);
}

.product-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mf-space-5);
	order: 2;
}

.product-gallery__thumb {
	display: block;
	width: 84px;
	height: 84px;
	flex: none;
	padding: 0;
	border-radius: var(--mf-radius-input);
	border: 1px solid var(--mf-border);
	overflow: hidden;
	background: none;
	cursor: pointer;
}

.product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery__thumb.is-active {
	border-color: var(--mf-accent-red);
}

.product-gallery__main {
	position: relative;
	order: 1;
	width: 100%;
	height: 520px;
	border-radius: var(--mf-radius-block);
	border: 1px solid var(--mf-border);
	overflow: hidden;
}

.product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery__badge {
	position: absolute;
	top: var(--mf-space-7);
	left: var(--mf-space-7);
	pointer-events: none;
}

/* Blok zakupowy */
.buybox {
	display: flex;
	flex-direction: column;
	gap: var(--mf-space-7);
}

.buybox__brand {
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--mf-text-meta-weak);
}

.buybox__meta {
	display: flex;
	align-items: center;
	gap: var(--mf-space-6);
	font-size: 13px;
	color: var(--mf-text-meta);
}

.buybox__price-block {
	padding-block: var(--mf-space-8);
	border-top: 1px solid var(--mf-border-subtle);
	border-bottom: 1px solid var(--mf-border-subtle);
	display: flex;
	align-items: baseline;
	gap: var(--mf-space-6);
	flex-wrap: wrap;
}

/* Native $product->get_price_html() markup, same reasoning as the product
   card: keep WC's own <del>/<ins>, just restyle + reorder visually. */
.buybox__price-block .price {
	display: flex;
	align-items: baseline;
	gap: var(--mf-space-6);
	font-size: 34px;
	font-weight: 900;
	color: var(--mf-accent-yellow);
}

.buybox__price-block .price ins {
	order: 1;
	text-decoration: none;
}

.buybox__price-block .price del {
	order: 2;
	font-size: 17px;
	font-weight: 400;
	color: var(--mf-text-meta-weakest);
	text-decoration: line-through;
}

.buybox__price-block .price del .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.buybox__savings {
	font-size: 13px;
	font-weight: 700;
	color: var(--mf-accent-orange);
}

.buybox__wholesale-text {
	font-size: 13.5px;
	color: var(--mf-text-secondary);
}

.buybox__wholesale-text a {
	color: var(--mf-accent-yellow);
	font-weight: 700;
}

.buybox__stock {
	font-size: 13.5px;
	font-weight: 600;
}

.buybox__stock--instock::before {
	content: '● ';
	color: var(--mf-state-instock);
}

.buybox__stock--low::before {
	content: '● ';
	color: var(--mf-state-low);
}

.buybox__stock--oos::before {
	content: '● ';
	color: var(--mf-state-oos);
}

.buybox__purchase-row {
	display: flex;
	gap: var(--mf-space-5);
	align-items: stretch;
}

.buybox__purchase-row form.cart {
	flex: 1;
	display: flex;
	gap: var(--mf-space-5);
	align-items: stretch;
}

/* .quantity/.qty are WooCommerce's real classes (global/quantity-input.php),
   shared with the cart page — the +/- buttons are a small JS enhancement
   (js/quantity-stepper.js) added around the native number input, so the
   underlying <form> submission needs no changes. */
.quantity {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--mf-border-field);
	border-radius: var(--mf-radius-input);
	background: var(--mf-bg-field);
}

.quantity .qty {
	width: 40px;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	background: transparent;
	border: none;
	color: var(--mf-text-heading);
	-moz-appearance: textfield;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.quantity__stepper-btn {
	width: 44px;
	flex: none;
	font-size: 18px;
	color: var(--mf-text-helper);
}

.quantity__stepper-btn:hover {
	color: var(--mf-accent-yellow);
}

.single_add_to_cart_button {
	flex: 1;
	font-size: 15.5px;
	font-weight: 800;
	border-radius: var(--mf-radius-input);
	background: var(--mf-gradient-brand);
	color: var(--mf-bg);
	border: none;
}

.single_add_to_cart_button:hover {
	filter: brightness(1.1);
}

.buybox__favorite {
	width: 52px;
	flex: none;
	border: 1px solid var(--mf-border-field);
	border-radius: var(--mf-radius-input);
	background: var(--mf-bg-field);
	color: var(--mf-text-helper);
	font-size: 17px;
	display: grid;
	place-items: center;
}

.buybox__favorite:hover {
	border-color: var(--mf-accent-red);
	color: var(--mf-accent-orange);
}

.buybox__quick-buy {
	width: 100%;
	font-size: 15px;
	font-weight: 700;
}

/* Taby — woocommerce/single-product/tabs/tabs.php override adds our
   classes alongside WC's own (.wc-tabs-wrapper, .wc-tabs, .wc-tab); WC's
   single-product.js drives the actual show/hide + .active toggling, we
   only style the result. */
.product-tabs {
	margin-top: var(--mf-space-17);
	border-top: 1px solid var(--mf-border-subtle);
}

.product-tabs .wc-tabs {
	display: flex;
	gap: var(--mf-space-1);
	margin-top: -1px;
	flex-wrap: wrap;
}

.product-tabs .wc-tabs li {
	font-size: 14.5px;
	font-weight: 700;
	border-top: 2px solid transparent;
	color: var(--mf-text-meta-weak);
}

.product-tabs .wc-tabs li a {
	display: block;
	padding: var(--mf-space-7) var(--mf-space-10);
}

.product-tabs .wc-tabs li.active {
	border-top-color: var(--mf-accent-red);
	color: var(--mf-text-heading);
}

.product-tabs .wc-tab {
	padding-top: var(--mf-space-4);
	max-width: 860px;
	font-size: 14.5px;
	color: var(--mf-text-helper);
	display: grid;
	gap: var(--mf-space-6);
}

.product-tabs .wc-tab h2 {
	font-size: 20px;
}

/* Additional information tab — woocommerce_display_product_attributes() */
.woocommerce-product-attributes {
	border-collapse: collapse;
	max-width: 620px;
}

.woocommerce-product-attributes-item {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: var(--mf-space-9);
}

.woocommerce-product-attributes-item__label,
.woocommerce-product-attributes-item__value {
	padding-block: var(--mf-space-5);
	border-bottom: 1px solid var(--mf-border-subtle);
	font-weight: 400;
	text-align: left;
}

.woocommerce-product-attributes-item__label {
	color: var(--mf-text-meta-weak);
}

.woocommerce-product-attributes-item__value {
	color: var(--mf-text-body);
	font-weight: 600;
}

.woocommerce-product-attributes-item__value p {
	margin: 0;
}

/* Produkty powiązane */
.related-products {
	margin-top: var(--mf-space-17);
}

/* Toast koszyka */
.cart-toast {
	position: fixed;
	right: var(--mf-space-9);
	bottom: var(--mf-space-9);
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-7);
	display: flex;
	align-items: center;
	gap: var(--mf-space-5);
	box-shadow: none;
	z-index: 1000;
}

.cart-toast::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mf-state-instock);
	flex: none;
}

.cart-toast a {
	color: var(--mf-accent-yellow);
	font-weight: 700;
}

/*--------------------------------------------------------------
# WooCommerce — koszyk / checkout / moje konto

Poza zakresem hifi handoffu (brak makiet), ale musi działać i wyglądać
spójnie z resztą motywu. Stylujemy realne klasy WooCommerce (WC-owe
wc_enqueue_styles wyłączone w inc/woocommerce.php — jeden style.css jest
teraz jedynym źródłem stylu dla tych ekranów, jak dla reszty serwisu),
nie własne makiety — te strony mają zbyt wiele stanów, żeby je
przepisywać w PHP bez realnych wymagań UX.
--------------------------------------------------------------*/
/* page.php (content-page.php) has no container of its own — cart, checkout,
   my-account and any other plain Page all render through it. */
.page .entry-header,
.page .entry-content {
	max-width: var(--mf-container-max);
	margin-inline: auto;
	padding-inline: var(--mf-container-padding);
}

.page .entry-header {
	padding-block: var(--mf-space-13) var(--mf-space-9);
}

.page .entry-title {
	font-size: 32px;
	font-weight: 800;
}

.page .entry-content {
	padding-block: 0 var(--mf-space-16);
}

/* Prose — editorial rich text (privacy policy, delivery info, FAQ, blog
   posts…), wherever .entry-content shows up. Scoped narrower than the site
   max-width since long text lines past ~70ch get hard to read. */
.entry-content {
	max-width: 860px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--mf-text-helper);
}

.entry-content > * + * {
	margin-top: var(--mf-space-7);
}

.entry-content h2 {
	font-size: 24px;
	font-weight: 800;
	color: var(--mf-text-heading);
	margin-top: var(--mf-space-16);
}

.entry-content > h2:first-child {
	margin-top: 0;
}

.entry-content h3 {
	font-size: 19px;
	font-weight: 700;
	color: var(--mf-text-heading);
	margin-top: var(--mf-space-11);
}

.entry-content h4 {
	font-size: 16px;
	font-weight: 700;
	color: var(--mf-text-heading);
}

.entry-content p {
	color: var(--mf-text-helper);
}

.entry-content a {
	color: var(--mf-accent-yellow);
	text-decoration: underline;
	text-decoration-color: rgba(255, 196, 0, 0.35);
	text-underline-offset: 2px;
}

.entry-content a:hover {
	color: var(--mf-accent-orange);
}

.entry-content strong,
.entry-content b {
	color: var(--mf-text-heading);
	font-weight: 700;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
	display: grid;
	gap: var(--mf-space-3);
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li::marker {
	color: var(--mf-accent-yellow);
}

.entry-content blockquote {
	margin: 0;
	padding: var(--mf-space-6) var(--mf-space-8);
	border-left: 3px solid var(--mf-accent-red);
	background: var(--mf-bg-card);
	border-radius: 0 var(--mf-radius-panel) var(--mf-radius-panel) 0;
	color: var(--mf-text-secondary);
	font-style: italic;
}

.entry-content hr {
	border: none;
	border-top: 1px solid var(--mf-border-subtle);
}

.entry-content img {
	border-radius: var(--mf-radius-block);
	height: auto;
}

.entry-content figcaption {
	margin-top: var(--mf-space-3);
	font-size: 12.5px;
	color: var(--mf-text-meta);
	text-align: center;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.entry-content th,
.entry-content td {
	padding: var(--mf-space-5) var(--mf-space-6);
	border-bottom: 1px solid var(--mf-border-subtle);
	text-align: left;
}

.entry-content thead th {
	color: var(--mf-text-heading);
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.entry-content code {
	background: var(--mf-bg-field);
	border: 1px solid var(--mf-border-field);
	border-radius: var(--mf-radius-xs);
	padding: 2px 6px;
	font-size: 0.9em;
}

/* Generic WC button (Update cart, Apply coupon, Place order, Pay…) */
.woocommerce .button,
.woocommerce-page .button {
	transition: var(--mf-transition);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--mf-radius-input);
	border: 1px solid var(--mf-border-hover);
	background: transparent;
	color: var(--mf-text-heading);
	font-weight: 700;
	font-size: 14px;
	padding: 12px 20px;
}

.woocommerce .button:hover,
.woocommerce-page .button:hover {
	border-color: var(--mf-accent-yellow);
	color: var(--mf-accent-yellow);
	transform: translateY(-2px);
}

.woocommerce .button:active,
.woocommerce-page .button:active {
	transform: translateY(0) scale(0.98);
}

.woocommerce .button.alt,
.woocommerce-page .button.alt,
.checkout-button {
	background: var(--mf-gradient-brand);
	border: none;
	color: var(--mf-bg);
	font-weight: 800;
}

.woocommerce .button.alt:hover,
.woocommerce-page .button.alt:hover,
.checkout-button:hover {
	filter: brightness(1.1);
	color: var(--mf-bg);
	box-shadow: var(--mf-shadow-glow);
}

.woocommerce .button:disabled,
.woocommerce-page .button:disabled,
.woocommerce .button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
p.no-comments {
	list-style: none;
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-left: 3px solid var(--mf-state-instock);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-6) var(--mf-space-7);
	margin: 0 0 var(--mf-space-7);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mf-space-6);
	color: var(--mf-text-body);
	font-size: 14px;
}

.woocommerce-error {
	border-left-color: var(--mf-accent-red);
}

.woocommerce-info {
	border-left-color: var(--mf-accent-yellow);
}

.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
	padding: 8px 16px;
	font-size: 13px;
}

/* Forms shared by checkout / login / register / edit-account */
.woocommerce form .form-row {
	margin-bottom: var(--mf-space-7);
}

.woocommerce form label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--mf-text-heading);
	margin-bottom: var(--mf-space-2);
}

.woocommerce form .required,
.required {
	color: var(--mf-accent-red);
	text-decoration: none;
}

.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.woocommerce-page form .input-text,
.woocommerce-page form select,
.woocommerce-page form textarea {
	width: 100%;
	background: var(--mf-bg-field-alt);
	border: 1px solid var(--mf-border-field);
	border-radius: var(--mf-radius-icon);
	padding: var(--mf-space-4) var(--mf-space-5);
	color: var(--mf-text-body);
}

.woocommerce form .select2-container .select2-selection--single {
	height: auto;
	background: var(--mf-bg-field-alt);
	border: 1px solid var(--mf-border-field);
	border-radius: var(--mf-radius-icon);
	padding: var(--mf-space-4) var(--mf-space-5);
}

.woocommerce form .select2-selection__rendered {
	color: var(--mf-text-body) !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}

.woocommerce form .woocommerce-input-wrapper .woocommerce-password-strength {
	margin-top: var(--mf-space-2);
	font-size: 12.5px;
}

/* Tables: cart contents, checkout review, my-account orders */
.shop_table {
	width: 100%;
	border-collapse: collapse;
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	overflow: hidden;
	font-size: 14px;
}

.shop_table th,
.shop_table td {
	padding: var(--mf-space-6) var(--mf-space-7);
	border-bottom: 1px solid var(--mf-border-subtle);
	text-align: left;
}

.shop_table thead th {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--mf-text-meta-weak);
}

.shop_table tbody tr:last-child th,
.shop_table tbody tr:last-child td {
	border-bottom: none;
}

.shop_table .product-thumbnail img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: var(--mf-radius-icon);
	border: 1px solid var(--mf-border);
}

.shop_table .product-remove a {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--mf-text-meta-weak);
}

.shop_table .product-remove a:hover {
	background: var(--mf-tint-red-bg);
	color: var(--mf-accent-red);
}

/* Base .quantity/.qty look lives in the PDP section above (shared with the
   buy box) — this just widens the cart table's copy a little. */
.shop_table .quantity .qty {
	width: 64px;
}

/* Cart */
.cart-collaterals {
	display: flex;
	justify-content: flex-end;
	margin-top: var(--mf-space-9);
}

.cart_totals {
	width: 100%;
	max-width: 420px;
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-8);
}

.cart_totals h2 {
	font-size: 18px;
	margin-top: 0;
	margin-bottom: var(--mf-space-6);
}

.cart_totals .shop_table {
	border: none;
	border-radius: 0;
	background: transparent;
}

.cart_totals .shop_table th,
.cart_totals .shop_table td {
	padding: var(--mf-space-4) 0;
}

.cart_totals .order-total .woocommerce-Price-amount {
	font-size: 19px;
	font-weight: 800;
	color: var(--mf-accent-yellow);
}

.wc-proceed-to-checkout .checkout-button {
	width: 100%;
	padding: var(--mf-space-6);
	font-size: 15.5px;
	margin-top: var(--mf-space-5);
}

.woocommerce-shipping-calculator {
	margin-top: var(--mf-space-4);
}

.woocommerce-shipping-calculator .shipping-calculator-button {
	color: var(--mf-accent-yellow);
	font-size: 13px;
}

/* Kupon — cart (td.actions > .coupon + "Update cart") and checkout
   (form.checkout_coupon > two .form-row paragraphs): input and button
   side by side; stacked on mobile (see media queries). */
/* td.actions stays a table-cell (it spans all columns via colspan) —
   only the .coupon group inside it is flex; "Update cart" floats right. */
.woocommerce-cart-form td.actions {
	padding-top: var(--mf-space-7);
}

.woocommerce-cart-form td.actions .coupon {
	display: flex;
	align-items: stretch;
	gap: var(--mf-space-4);
	float: left;
	width: min(460px, 100%);
}

.woocommerce-cart-form td.actions > .button {
	float: right;
}

.woocommerce-cart-form td.actions::after {
	content: '';
	display: table;
	clear: both;
}

.woocommerce-cart-form td.actions .coupon .input-text,
form.checkout_coupon .input-text {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}

.woocommerce-cart-form td.actions .button,
form.checkout_coupon .button {
	white-space: nowrap;
}

form.checkout_coupon {
	gap: var(--mf-space-4);
	align-items: stretch;
	max-width: 520px;
	margin-bottom: var(--mf-space-9);
}

/* WC toggles this form with an inline display:none/block via jQuery
   slideToggle — only lay it out as flex once it's visible. */
form.checkout_coupon:not([style*="none"]) {
	display: flex;
}

form.checkout_coupon .form-row {
	margin: 0;
	float: none;
	width: auto;
}

form.checkout_coupon .form-row-first {
	flex: 1 1 auto;
}

form.checkout_coupon .form-row-last .button {
	height: 100%;
}

form.checkout_coupon .clear {
	display: none;
}

/* Checkout — two columns via grid-template-areas, independent of the
   template's source order (h3 sits between the two blocks in the DOM). */
form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	grid-template-areas: 'billing heading' 'billing summary';
	column-gap: var(--mf-space-15);
	align-items: start;
}

.checkout .col2-set {
	grid-area: billing;
	display: flex;
	gap: var(--mf-space-9);
}

.checkout .col2-set .col-1,
.checkout .col2-set .col-2 {
	flex: 1;
	min-width: 0;
}

#order_review_heading {
	grid-area: heading;
	font-size: 20px;
	font-weight: 800;
	margin-bottom: var(--mf-space-4);
}

#order_review {
	grid-area: summary;
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-8);
}

#order_review .shop_table {
	border: none;
	background: transparent;
}

.wc_payment_methods {
	list-style: none;
	margin: var(--mf-space-6) 0 0;
	padding: 0;
	display: grid;
	gap: var(--mf-space-4);
}

.wc_payment_methods .wc_payment_method {
	border: 1px solid var(--mf-border-field);
	border-radius: var(--mf-radius-input);
	padding: var(--mf-space-5);
}

.payment_box {
	margin-top: var(--mf-space-4);
	font-size: 13.5px;
	color: var(--mf-text-helper);
}

#place_order {
	width: 100%;
	padding: var(--mf-space-6);
	font-size: 15.5px;
	margin-top: var(--mf-space-6);
}

/* My account */
.woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: var(--mf-space-2);
}

.woocommerce-MyAccount-navigation-link a {
	display: block;
	padding: var(--mf-space-5) var(--mf-space-6);
	border-radius: var(--mf-radius-input);
	font-size: 14px;
	font-weight: 600;
	color: var(--mf-text-helper);
}

.woocommerce-MyAccount-navigation-link a:hover {
	color: var(--mf-text-heading);
	background: var(--mf-bg-card);
}

.woocommerce-MyAccount-navigation-link.is-active a {
	color: var(--mf-bg);
	background: var(--mf-gradient-brand);
	font-weight: 700;
}

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: var(--mf-space-15);
	align-items: start;
}

.woocommerce-MyAccount-content {
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-8);
}

.woocommerce-form-login,
.woocommerce-form-register {
	max-width: 420px;
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-8);
}

/* Logowanie (my-account, niezalogowany) — the logged-in 220px nav + content
   grid above must not apply here; one centred, wider card instead. */
.woocommerce-account:not(.logged-in) .woocommerce {
	display: block;
	max-width: 520px;
	margin-inline: auto;
	padding-block: var(--mf-space-13) var(--mf-space-16);
}

.woocommerce-account:not(.logged-in) .woocommerce > h2,
.woocommerce-account:not(.logged-in) #customer_login h2 {
	font-size: 28px;
	text-align: center;
	margin-bottom: var(--mf-space-9);
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce-form-register {
	max-width: none;
	padding: var(--mf-space-14);
}

.woocommerce-account:not(.logged-in) .woocommerce form .input-text {
	padding: var(--mf-space-6) var(--mf-space-7);
	font-size: 15px;
}

.woocommerce-form-login .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: var(--mf-space-3);
	font-weight: 500;
	margin-bottom: var(--mf-space-7);
}

.woocommerce-form-login .woocommerce-form-login__submit {
	width: 100%;
	padding: var(--mf-space-6);
	font-size: 15.5px;
	font-weight: 800;
	background: var(--mf-gradient-brand);
	border: none;
	color: var(--mf-bg);
}

.woocommerce-form-login .woocommerce-form-login__submit:hover {
	color: var(--mf-bg);
	filter: brightness(1.1);
	box-shadow: var(--mf-shadow-glow);
}

.woocommerce-form-login .lost_password {
	margin: 0;
	text-align: center;
	font-size: 13.5px;
}

.woocommerce-form-login .lost_password a {
	color: var(--mf-text-helper);
}

.woocommerce-form-login .lost_password a:hover {
	color: var(--mf-accent-yellow);
}

.login-register {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--mf-space-6);
	margin-top: var(--mf-space-9);
}

.login-register__divider {
	display: flex;
	align-items: center;
	gap: var(--mf-space-5);
	width: 100%;
	font-size: 13px;
	color: var(--mf-text-meta);
}

.login-register__divider::before,
.login-register__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--mf-border-subtle);
}

.login-register__btn {
	font-size: 15px;
}

.login-register__b2b {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--mf-accent-yellow);
}

.login-register__b2b:hover {
	color: var(--mf-accent-orange);
}

/* B2C/B2B registration pages (page-templates/register-b2c.php,
   register-b2b.php) — two separate forms/pages, not one with a checkbox. */
.auth-page {
	max-width: 480px;
	margin-inline: auto;
	padding: var(--mf-space-13) var(--mf-container-padding) var(--mf-space-16);
}

.auth-page--wide {
	max-width: 640px;
}

.auth-page__lead {
	color: var(--mf-text-helper);
	margin-top: var(--mf-space-3);
	margin-bottom: var(--mf-space-9);
}

.auth-page__form {
	display: grid;
	gap: var(--mf-space-6);
	background: var(--mf-bg-card);
	border: 1px solid var(--mf-border-subtle);
	border-radius: var(--mf-radius-panel);
	padding: var(--mf-space-8);
}

.auth-page__form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--mf-space-6);
}

.auth-page__fieldset-title {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--mf-text-meta-weak);
	margin-top: var(--mf-space-4);
}

.auth-page__submit {
	margin-top: var(--mf-space-3);
	width: 100%;
	padding: var(--mf-space-6);
	font-size: 15.5px;
}

.auth-page__switch {
	margin-top: var(--mf-space-7);
	text-align: center;
	font-size: 13.5px;
	color: var(--mf-text-meta);
}

.auth-page__switch a {
	color: var(--mf-accent-yellow);
	font-weight: 600;
}

.auth-page__switch a:hover {
	color: var(--mf-accent-orange);
}

.u-columns.woocommerce-Addresses,
.woocommerce-account .u-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--mf-space-9);
}

.woocommerce-Address-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--mf-space-4);
}

.woocommerce-orders-table__cell-order-actions .button {
	padding: 8px 14px;
	font-size: 12.5px;
}

/*--------------------------------------------------------------
# Stany i focus
--------------------------------------------------------------*/
a,
button,
input,
select,
textarea,
[tabindex] {
	transition: var(--mf-transition);
}

:focus-visible {
	outline: 2px solid var(--mf-accent-yellow);
	outline-offset: 2px;
}

/*--------------------------------------------------------------
# Media queries
--------------------------------------------------------------*/
@media (max-width: 1023px) {
	:root {
		--mf-container-padding: 24px;
	}

	.category-grid,
	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero {
		grid-template-columns: minmax(0, 1fr);
		height: auto;
	}

	.hero__image {
		height: 260px;
	}

	.product-page__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.b2b-banner {
		grid-template-columns: minmax(0, 1fr);
	}

	.b2b-banner__image {
		min-height: 220px;
		order: -1;
	}

	.shop-content ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Nav collapses into a hamburger — the "all categories" trigger and the
	   primary menu are both hidden until #site-navigation gets .toggled
	   (js/navigation.js), then stack full-width under the toggle button. */
	.menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: var(--mf-space-3);
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		padding: var(--mf-space-6) 0;
		overflow: visible;
		clip: auto;
		clip-path: none;
		white-space: normal;
		font-size: 14px;
		font-weight: 700;
		color: var(--mf-text-heading);
	}

	.menu-toggle::before {
		content: "\2630";
		font-size: 16px;
		color: var(--mf-accent-yellow);
	}

	.site-nav__row {
		flex-wrap: wrap;
	}

	.mega-menu-wrapper,
	.site-nav__menu {
		display: none;
		flex-basis: 100%;
		order: 1;
	}

	#site-navigation.toggled .mega-menu-wrapper,
	#site-navigation.toggled .site-nav__menu {
		display: block;
	}

	.site-nav__all-categories {
		width: 100%;
		justify-content: space-between;
		margin-right: 0;
	}

	.mega-menu {
		position: static;
		border: none;
		box-shadow: none;
	}

	.mega-menu__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-nav__menu ul {
		flex-direction: column;
		align-items: stretch;
	}

	.site-nav__menu a {
		display: block;
		padding: var(--mf-space-5) 0;
		border-bottom: 1px solid var(--mf-border-subtle);
	}

	.site-nav__menu li.nav-deals {
		margin-left: 0;
	}
}

@media (max-width: 767px) {
	:root {
		--mf-container-padding: 20px;
	}

	.category-grid,
	.product-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.shop-content ul.products {
		grid-template-columns: minmax(0, 1fr);
	}

	.topbar__row {
		flex-wrap: wrap;
		row-gap: var(--mf-space-3);
	}

	.topbar__info,
	.topbar__actions {
		flex: 1 1 100%;
	}

	.topbar__actions {
		margin-left: 0;
		flex-wrap: wrap;
	}

	/* Header reflows into two rows: logo + account/cart icons on top,
	   the search bar full-width underneath — instead of hiding search. */
	.site-header__row {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"logo actions"
			"search search";
		row-gap: var(--mf-space-6);
	}

	.site-branding {
		grid-area: logo;
	}

	.site-search {
		grid-area: search;
	}

	.header-actions {
		grid-area: actions;
	}

	.site-branding__logo img,
	.site-branding__logo .custom-logo {
		height: 96px;
	}

	.site-search__submit {
		padding-inline: var(--mf-space-6);
	}

	/* Footer stacks to a single column. */
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--mf-space-10);
	}

	.footer-brand__desc {
		max-width: none;
	}

	/* Hero + baner B2B: smaller headings, CTAs stacked full-width. */
	.hero__content,
	.b2b-banner__content {
		padding: var(--mf-space-12) var(--mf-space-9);
	}

	.h1-hero {
		font-size: 28px;
	}

	.h2-b2b {
		font-size: 24px;
	}

	.hero__cta,
	.b2b-banner__cta {
		flex-direction: column;
	}

	.hero__cta .btn,
	.b2b-banner__cta .btn {
		width: 100%;
	}

	/* Koszyk: the 6-column table turns into one card per item —
	   thumb | name + price | remove on top, quantity | subtotal below.
	   (WooCommerce's own smallscreen CSS is disabled, so this replaces it.) */
	.woocommerce-cart-form .shop_table,
	.woocommerce-cart-form .shop_table tbody,
	.woocommerce-cart-form .shop_table tr,
	.woocommerce-cart-form .shop_table td {
		display: block;
	}

	.woocommerce-cart-form .shop_table thead {
		display: none;
	}

	.woocommerce-cart-form .shop_table tr.cart_item {
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb name remove"
			"thumb price price"
			"qty qty subtotal";
		column-gap: var(--mf-space-6);
		row-gap: var(--mf-space-3);
		align-items: center;
		padding: var(--mf-space-7);
		border-bottom: 1px solid var(--mf-border-subtle);
	}

	.woocommerce-cart-form .shop_table tr.cart_item td {
		padding: 0;
		border: none;
	}

	.woocommerce-cart-form .cart_item .product-thumbnail {
		grid-area: thumb;
		align-self: start;
	}

	.woocommerce-cart-form .cart_item .product-thumbnail img {
		width: 72px;
		height: 72px;
	}

	.woocommerce-cart-form .cart_item .product-name {
		grid-area: name;
		font-weight: 600;
		line-height: 1.35;
	}

	.woocommerce-cart-form .cart_item .product-remove {
		grid-area: remove;
		align-self: start;
		justify-self: end;
		margin-top: -4px;
		margin-right: -6px;
	}

	.woocommerce-cart-form .cart_item .product-price {
		grid-area: price;
		font-size: 13px;
		color: var(--mf-text-meta);
	}

	.woocommerce-cart-form .cart_item .product-quantity {
		grid-area: qty;
		margin-top: var(--mf-space-4);
	}

	.woocommerce-cart-form .cart_item .quantity {
		display: inline-flex;
	}

	.woocommerce-cart-form .cart_item .product-subtotal {
		grid-area: subtotal;
		margin-top: var(--mf-space-4);
		text-align: right;
		font-weight: 800;
		color: var(--mf-accent-yellow);
	}

	.woocommerce-cart-form .cart_item .product-subtotal::before {
		content: attr(data-title);
		display: block;
		font-size: 11.5px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: var(--mf-text-meta-weak);
	}

	.woocommerce-cart-form .shop_table td.actions {
		padding: var(--mf-space-7);
	}

	.cart-collaterals {
		display: block;
	}

	.cart_totals {
		max-width: none;
		padding: var(--mf-space-7);
	}

	.cart_totals .shop_table th {
		padding-right: var(--mf-space-6);
		white-space: nowrap;
		vertical-align: top;
	}

	/* Kupon: input and button stacked. */
	.woocommerce-cart-form td.actions .coupon,
	form.checkout_coupon:not([style*="none"]) {
		flex-direction: column;
	}

	.woocommerce-cart-form td.actions .coupon,
	.woocommerce-cart-form td.actions > .button {
		float: none;
		width: 100%;
	}

	.woocommerce-cart-form td.actions > .button {
		margin-top: var(--mf-space-4);
	}

	.woocommerce-cart-form td.actions .button,
	form.checkout_coupon .button {
		width: 100%;
	}

	.woocommerce-account:not(.logged-in) .woocommerce-form-login,
	.woocommerce-account:not(.logged-in) .woocommerce-form-register {
		padding: var(--mf-space-9);
	}
}

@media (max-width: 480px) {
	:root {
		--mf-container-padding: 16px;
	}

	.h1-hero {
		font-size: 24px;
	}

	.header-actions {
		gap: var(--mf-space-5);
	}

	.header-action__text {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	.btn:hover,
	.product-card:hover,
	.category-card:hover,
	.product-card:hover .product-card__image,
	.category-card:hover .category-card__image,
	.promo-tile:hover .promo-tile__image {
		transform: none;
	}
}
