/*
Theme Name:   Magnet Bear
Theme URI:    https://magnetbear.com/
Description:  Child šablona pro Kadence – vizuální vrstva e-shopu Magnet Bear (neodymové a feritové magnety, magnetický rybolov, průmysl, vědecké materiály). Design tokeny, komponenty, WooCommerce UX. Vychází z architektury PlayGames child 0.7.0.
Author:       Magnet Bear
Template:     kadence
Version:      1.1.1
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  magnetbear
Domain Path:  /languages
*/

/* Lokální písma (SIL OFL 1.1) – latin + latin-ext pokryje DE, FR, NL, ES, PL, HU, CZ, SK */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url("assets/fonts/inter-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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
	src: url("assets/fonts/space-grotesk-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; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
	src: url("assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


/* ==========================================================================
   OBSAH
   0. Design tokeny (CSS custom properties)
   1. Základ: typografie, odkazy, focus, pohyb
   2. Tlačítka a formuláře
   3. Hlavička (Kadence header builder), navigace, mega menu, mobilní menu
   4. Vyhledávání (FiboSearch + záložní formulář), přepínač trhu, účet
   5. Sekce a vzory: hero, trust bar, dlaždice kategorií, kroky, FAQ, CTA
   6. Odznaky (parametry, sleva)
   7. Produktové karty (výpis)
   8. Detail produktu: buy box, trust box, záložky, tabulky
   9. Výpis kategorie: řazení, stránkování, hero archivu
   10. Košík, pokladna, souhlas s doručením, děkovná stránka, můj účet
   11. Hlášky (notices)
   12. Patička
   13. Přístupnost, tisk, forced-colors
   17. Magnet Bear: technické parametry, množstevní ceny, bezpečnost, tvary, srovnávací tabulka
   ========================================================================== */

/* ==========================================================================
   0. DESIGN TOKENY
   Jediný zdroj pravdy pro barvy, typografii, mezery, rádiusy a stíny.
   Kontrasty (WCAG 2.2 AA) jsou ověřené u párů uvedených v komentářích.
   ========================================================================== */
:root {
	/* --- Inkoust: tmavé plochy (hlavička, hero, patička) --- */
	--mb-color-ink-950: #0C1016;
	--mb-color-ink-900: #121821; /* bílý text 17.8:1 */
	--mb-color-ink-800: #1B2430; /* bílý text 15.7:1 */
	--mb-color-ink-700: #263140;
	--mb-color-ink-600: #364254;
	--mb-color-ink-400: #9AA6B2; /* na ink-900 7.2:1 – sekundární text v tmavu */
	--mb-color-ink-300: #B8C1CB; /* na ink-900 9.8:1 */
	--mb-color-ink-200: #D0D6DD; /* na ink-900 12.2:1 */

	/* --- Primární (důvěra, akce) --- */
	--mb-color-primary: #D62839;       /* signální červená z loga – bílý text 5.0:1; jako text na bílé 5.0:1 */
	--mb-color-primary-hover: #B81F2F; /* bílý text 6.4:1 */
	--mb-color-primary-700: #9E1A28;   /* na primary-soft 7.0:1 */
	--mb-color-primary-300: #FF7A85;   /* odkazy na ink-900 7.1:1 */
	--mb-color-primary-soft: #FDECEE;
	--mb-color-primary-line: #F6C1C7;

	/* --- Akcent pro tmavé plochy (signal) a stavové barvy --- */
	--mb-color-signal: #FF7A85;        /* akcent na tmavých plochách (text) 7.1:1 na ink-900 */
	--mb-color-signal-soft: #E7F6EF;   /* skladem / expedice – světlá zelená plocha */
	--mb-color-success-soft: #E7F6EF;
	--mb-color-success: #03784F;       /* na bílé 5.5:1, na signal-soft 5.0:1 */
	--mb-color-sale: #B81F2F;          /* bílý text 6.4:1 */
	--mb-color-warning: #9A4A00;       /* na warning-soft 5.8:1 */
	--mb-color-warning-soft: #FFF4E0;
	--mb-color-amber: #FFB020;
	--mb-color-danger: #B42318;        /* na bílé 6.6:1, na danger-soft 6.0:1 */
	--mb-color-danger-soft: #FEF1F0;
	--mb-color-star: #C77700;          /* grafika na bílé 3.5:1 */

	/* --- Neutrální: světlá obsahová plocha --- */
	--mb-color-text: #14181F;          /* na bg 16.3:1 */
	--mb-color-text-muted: #4A5260;    /* na bílé 7.9:1 */
	--mb-color-text-subtle: #5A6270;   /* na bílé 6.2:1, na surface-2 5.4:1 */
	--mb-color-bg: #F4F5F7;
	--mb-color-surface: #FFFFFF;
	--mb-color-surface-2: #EEF0F3;
	--mb-color-border: #DDE1E6;        /* dekorativní */
	--mb-color-border-strong: #7D8693; /* hrany polí formuláře 3.7:1 (WCAG 1.4.11) */

	/* Focus prstenec – na tmavých plochách se přepíná na signal */
	--mb-focus: var(--mb-color-primary);

	/* --- Typografie: Inter (text) + Space Grotesk (nadpisy), hostováno lokálně v šabloně (GDPR – žádné Google Fonts) --- */
	--mb-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
	--mb-font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mb-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
	--mb-fs-xs: 0.75rem;     /* 12 */
	--mb-fs-sm: 0.875rem;    /* 14 */
	--mb-fs-base: 1rem;      /* 16 */
	--mb-fs-md: 1.125rem;    /* 18 */
	--mb-fs-lg: 1.25rem;     /* 20 */
	--mb-fs-xl: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);   /* 22–26 */
	--mb-fs-2xl: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem);  /* 26–34 */
	--mb-fs-3xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);       /* 32–52 */
	--mb-lh-tight: 1.15;
	--mb-lh-snug: 1.3;
	--mb-lh-base: 1.6;
	--mb-fw-medium: 500;
	--mb-fw-semibold: 600;
	--mb-fw-bold: 700;
	--mb-fw-black: 800;
	--mb-tracking-tight: -0.02em;

	/* --- Mezery (4px základ) --- */
	--mb-space-1: 0.25rem;  /* 4 */
	--mb-space-2: 0.5rem;   /* 8 */
	--mb-space-3: 0.75rem;  /* 12 */
	--mb-space-4: 1rem;     /* 16 */
	--mb-space-5: 1.5rem;   /* 24 */
	--mb-space-6: 2rem;     /* 32 */
	--mb-space-7: 3rem;     /* 48 */
	--mb-space-8: 4rem;     /* 64 */
	--mb-space-9: 6rem;     /* 96 */
	--mb-gutter: clamp(1rem, 0.6rem + 1.6vw, 1.5rem);
	--mb-section-y: clamp(2.5rem, 1.6rem + 4vw, 5rem);
	--mb-container: 1280px;

	/* --- Rádiusy --- */
	--mb-radius-sm: 6px;
	--mb-radius-md: 10px;
	--mb-radius-lg: 16px;
	--mb-radius-xl: 24px;
	--mb-radius-pill: 999px;

	/* --- Stíny (tónované inkoustem) --- */
	--mb-shadow-sm: 0 1px 2px rgba(18, 24, 33, 0.06), 0 1px 1px rgba(18, 24, 33, 0.04);
	--mb-shadow-md: 0 4px 14px rgba(18, 24, 33, 0.08), 0 2px 4px rgba(18, 24, 33, 0.04);
	--mb-shadow-lg: 0 18px 44px rgba(18, 24, 33, 0.14), 0 4px 10px rgba(18, 24, 33, 0.06);
	--mb-shadow-ring: 0 0 0 4px rgba(214, 40, 57, 0.22);

	/* --- Pohyb --- */
	--mb-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--mb-dur: 160ms;

	/* --- Ovládací prvky (min. 44px dotyková plocha) --- */
	--mb-control-h: 44px;
	--mb-control-h-lg: 52px;

	/* --- Ikony (inline data-URI masky, žádné externí soubory) --- */
	--mb-icon-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8z'/%3E%3C/svg%3E");
	--mb-icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.1 8.2 7.5 9.5 4.4-1.3 7.5-4.9 7.5-9.5V6z'/%3E%3Cpath d='m8.8 12.2 2.3 2.3 4.3-4.6'/%3E%3C/svg%3E");
	--mb-icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.5v2.5'/%3E%3C/svg%3E");
	--mb-icon-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5h16v10.5H10l-4.5 3.5V16H4z'/%3E%3Cpath d='M8.5 10.75h.01M12 10.75h.01M15.5 10.75h.01'/%3E%3C/svg%3E");
	--mb-icon-topup: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E");
	--mb-icon-repeat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 2.5 20.5 6 17 9.5'/%3E%3Cpath d='M3.5 11V9.5A3.5 3.5 0 0 1 7 6h13.5'/%3E%3Cpath d='M7 21.5 3.5 18 7 14.5'/%3E%3Cpath d='M20.5 13v1.5A3.5 3.5 0 0 1 17 18H3.5'/%3E%3C/svg%3E");
	--mb-icon-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6.5 15h4'/%3E%3C/svg%3E");
	--mb-icon-monitor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
	--mb-icon-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15.5' r='4.5'/%3E%3Cpath d='m11.2 12.3 8.8-8.8M16.5 7l2.5 2.5M14 9.5l2 2'/%3E%3C/svg%3E");
	--mb-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
	--mb-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--mb-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--mb-icon-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 2.5 20h19z'/%3E%3Cpath d='M12 10v4.5M12 17.5h.01'/%3E%3C/svg%3E");
	--mb-icon-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5M12 7.5h.01'/%3E%3C/svg%3E");
	--mb-icon-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E");
	--mb-icon-gamepad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8h10a4.5 4.5 0 0 1 4.4 5.5l-.8 3.6a2.4 2.4 0 0 1-4.1 1.1L14 15.5h-4l-2.5 2.7a2.4 2.4 0 0 1-4.1-1.1l-.8-3.6A4.5 4.5 0 0 1 7 8z'/%3E%3Cpath d='M8 11v3M6.5 12.5h3M15.5 11.5h.01M17.5 13.5h.01'/%3E%3C/svg%3E");
	--mb-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m3.5 6.5 8.5 6.5 8.5-6.5'/%3E%3C/svg%3E");
	--mb-icon-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4.5A1.5 1.5 0 0 1 4.5 3H12l9 9-9 9z'/%3E%3Cpath d='M7.5 7.5h.01'/%3E%3C/svg%3E");
	--mb-icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	--mb-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3CclipPath id='l'%3E%3Crect width='60' height='120'/%3E%3C/clipPath%3E%3CclipPath id='r'%3E%3Crect x='60' width='60' height='120'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23l)' fill='%23D62839'%3E%3Ccircle cx='31' cy='34' r='14'/%3E%3Ccircle cx='60' cy='68' r='40'/%3E%3C/g%3E%3Cg clip-path='url(%23r)' fill='%239AA6B2'%3E%3Ccircle cx='89' cy='34' r='14'/%3E%3Ccircle cx='60' cy='68' r='40'/%3E%3C/g%3E%3Ccircle cx='45' cy='62' r='5' fill='%23121821'/%3E%3Ccircle cx='75' cy='62' r='5' fill='%23121821'/%3E%3Cellipse cx='60' cy='84' rx='15' ry='11' fill='%23121821'/%3E%3Cellipse cx='60' cy='80' rx='6' ry='4.2' fill='%239AA6B2'/%3E%3C/svg%3E");

	/* --- Napojení na proměnné Kadence (tlačítka, písmo) --- */
	--global-body-font-family: var(--mb-font-sans);
	--global-heading-font-family: var(--mb-font-display);
	--global-palette-btn-bg: var(--mb-color-primary);
	--global-palette-btn-bg-hover: var(--mb-color-primary-hover);
	--global-palette-btn: #FFFFFF;
	--global-palette-btn-hover: #FFFFFF;
}

/* ==========================================================================
   1. ZÁKLAD
   ========================================================================== */
body {
	font-family: var(--mb-font-sans);
	color: var(--mb-color-text);
	background-color: var(--mb-color-bg);
	line-height: var(--mb-lh-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3 {
	font-family: var(--mb-font-sans);
	font-weight: var(--mb-fw-black);
	letter-spacing: var(--mb-tracking-tight);
	line-height: var(--mb-lh-tight);
	color: var(--mb-color-text);
	text-wrap: balance;
}

h1 { font-size: var(--mb-fs-3xl); }
h2 { font-size: var(--mb-fs-2xl); }
h3 { font-size: var(--mb-fs-xl); line-height: var(--mb-lh-snug); }
h4 { font-size: var(--mb-fs-lg); line-height: var(--mb-lh-snug); }

p { text-wrap: pretty; }

/* Odkazy v textu – :where() drží nulovou specificitu, aby komponenty (dlaždice, čipy…) vyhrály */
:where(.entry-content, .woocommerce-tabs, .woocommerce-checkout, .woocommerce-cart) a:where(:not([class])) {
	color: var(--mb-color-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

:where(.entry-content, .woocommerce-tabs, .woocommerce-checkout, .woocommerce-cart) a:where(:not([class])):hover {
	color: var(--mb-color-primary-hover);
	text-decoration-thickness: 2px;
}

::selection {
	background: var(--mb-color-primary);
	color: #FFFFFF;
}

/* Viditelný focus (WCAG 2.4.7 / 2.4.11) – nikdy ho neodstraňujeme */
body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--mb-focus);
	outline-offset: 2px;
	box-shadow: none;
}

.site-header,
.site-footer,
#mobile-drawer,
.mb-section--dark {
	--mb-focus: var(--mb-color-signal);
}

/* Skip link (Kadence ho vkládá) – při focusu musí být čitelný */
.skip-link:focus,
.screen-reader-text:focus {
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	border-radius: var(--mb-radius-md);
	box-shadow: var(--mb-shadow-lg);
	padding: var(--mb-space-3) var(--mb-space-4);
	font-weight: var(--mb-fw-bold);
	z-index: 100000;
}

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

/* Pomocné třídy */
.mb-container {
	width: 100%;
	max-width: var(--mb-container);
	margin-inline: auto;
	padding-inline: var(--mb-gutter);
	box-sizing: border-box;
}

.mb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--mb-space-2);
	margin: 0 0 var(--mb-space-3);
	font-size: var(--mb-fs-sm);
	font-weight: var(--mb-fw-bold);
	letter-spacing: 0.02em;
	color: var(--mb-color-primary-700);
}

.mb-lead {
	font-size: var(--mb-fs-md);
	color: var(--mb-color-text-muted);
	max-width: 62ch;
}

.mb-muted { color: var(--mb-color-text-subtle); }

/* ==========================================================================
   2. TLAČÍTKA A FORMULÁŘE
   ========================================================================== */
.button,
a.button,
button.button,
input[type="submit"]:not(.search-submit),
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--mb-space-2);
	min-height: var(--mb-control-h);
	padding: 0.625rem 1.25rem;
	border: 0;
	border-radius: var(--mb-radius-md);
	background-color: var(--mb-color-primary);
	color: #FFFFFF;
	font-family: var(--mb-font-sans);
	font-size: var(--mb-fs-base);
	font-weight: var(--mb-fw-bold);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: background-color var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease), transform var(--mb-dur) var(--mb-ease), color var(--mb-dur) var(--mb-ease);
}

.button:hover,
a.button:hover,
button.button:hover,
input[type="submit"]:not(.search-submit):hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
	background-color: var(--mb-color-primary-hover);
	color: #FFFFFF;
	box-shadow: var(--mb-shadow-md);
}

.button:active,
.wp-block-button__link:active {
	transform: translateY(1px);
}

.button:disabled,
.button.disabled,
.button[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	box-shadow: none;
}

/* Sekundární WooCommerce tlačítka (Aktualizovat košík, Použít kupón…) */
.woocommerce-cart-form .button:not(.alt),
.woocommerce .coupon .button,
.woocommerce-MyAccount-content .button:not(.alt) {
	background-color: var(--mb-color-surface-2);
	color: var(--mb-color-text);
	box-shadow: inset 0 0 0 1px var(--mb-color-border);
}

.woocommerce-cart-form .button:not(.alt):hover,
.woocommerce .coupon .button:hover,
.woocommerce-MyAccount-content .button:not(.alt):hover {
	background-color: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
}

/* Obrysové tlačítko (blok Tlačítko → styl Obrys) */
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button__link.is-style-outline {
	background-color: transparent;
	color: var(--mb-color-primary);
	box-shadow: inset 0 0 0 2px currentColor;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background-color: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
}

.mb-section--dark .wp-block-button.is-style-outline > .wp-block-button__link {
	color: #FFFFFF;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.mb-section--dark .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

/* Signal varianta (výrazná CTA na tmavém pozadí) – třída mb-btn-signal na bloku Tlačítko */
.mb-btn-signal > .wp-block-button__link,
.button.mb-btn-signal {
	background-color: var(--mb-color-primary);
	color: #FFFFFF;
}

.mb-btn-signal > .wp-block-button__link:hover,
.button.mb-btn-signal:hover {
	background-color: #B81F2F;
	color: var(--mb-color-ink-900);
}

/* Formulářová pole */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="url"],
select,
textarea {
	min-height: var(--mb-control-h);
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--mb-color-border-strong);
	border-radius: var(--mb-radius-md);
	background-color: var(--mb-color-surface);
	color: var(--mb-color-text);
	font-family: var(--mb-font-sans);
	font-size: 1rem; /* 16px = bez zoomu na iOS */
	line-height: 1.4;
	box-shadow: none;
	transition: border-color var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease);
}

textarea { min-height: 7rem; }

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
	border-color: var(--mb-color-primary);
	box-shadow: var(--mb-shadow-ring);
	outline: none;
}

input::placeholder,
textarea::placeholder {
	color: var(--mb-color-text-subtle);
	opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--mb-color-primary);
}

/* selectWoo / Select2 (výběr země v pokladně) */
.select2-container--default .select2-selection--single {
	height: var(--mb-control-h);
	border: 1px solid var(--mb-color-border-strong);
	border-radius: var(--mb-radius-md);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: calc(var(--mb-control-h) - 2px);
	padding-left: 0.875rem;
	color: var(--mb-color-text);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: calc(var(--mb-control-h) - 2px);
}

.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single {
	border-color: var(--mb-color-primary);
	box-shadow: var(--mb-shadow-ring);
}

.select2-dropdown {
	border-color: var(--mb-color-border-strong);
	border-radius: var(--mb-radius-md);
	overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: var(--mb-color-primary);
}

/* ==========================================================================
   3. HLAVIČKA (Kadence Header Builder)
   Doporučené rozložení viz UX-SPEC.md, kap. 2.
   Barvy řádků hlavičky řídí tokeny (přebíjí Customizer – nastavte ho stejně).
   ========================================================================== */
.site-header .site-top-header-wrap .site-header-row-container-inner {
	background: var(--mb-color-ink-950);
	color: var(--mb-color-ink-300);
	font-size: var(--mb-fs-sm);
}

.site-header .site-main-header-wrap .site-header-row-container-inner {
	background: var(--mb-color-ink-900);
	color: #FFFFFF;
}

.site-header .site-bottom-header-wrap .site-header-row-container-inner {
	background: var(--mb-color-ink-800);
	color: var(--mb-color-ink-200);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Logo: když není nahrané obrázkové logo, Kadence vypíše název webu –
   doplníme značku (klávesa s „P“) a wordmark písmem systému. */
.site-header .site-branding a.brand {
	gap: var(--mb-space-3);
	text-decoration: none;
}

.site-header .site-branding a.brand:not(.has-logo-image)::before {
	content: "";
	flex: none;
	width: 36px;
	height: 36px;
	background: var(--mb-mark) center / contain no-repeat;
}

.site-header .site-branding a.brand:has(img)::before {
	content: none; /* nahrané logo → značku nekreslíme */
}

.site-header .site-branding .site-title {
	margin: 0;
	color: #FFFFFF;
	font-size: 1.375rem;
	font-weight: var(--mb-fw-black);
	letter-spacing: -0.03em;
	line-height: 1;
}

.site-header .site-branding .site-description {
	color: var(--mb-color-ink-400);
}

.site-header .site-branding img.custom-logo {
	max-height: 40px;
	width: auto;
}

/* Kadence HTML prvek (vyhledávání) – bez prázdných odstavců z wpautop */
.site-header .header-html-inner > p {
	margin: 0;
}

.site-header .header-html-inner > p:empty {
	display: none;
}

.site-header .site-header-main-section-center .header-html,
.site-header .site-header-main-section-center .header-html-inner {
	width: 100%;
}

.site-header .site-header-main-section-center {
	flex: 1 1 auto;
}

/* Tlačítko v hlavičce (např. „Můj účet“) */
.site-header .header-button {
	min-height: 40px;
	border-radius: var(--mb-radius-pill);
	font-weight: var(--mb-fw-bold);
}

.site-header .header-button.button-style-outline {
	background: transparent;
	color: #FFFFFF;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.site-header .header-button.button-style-outline:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
}

/* Košík v hlavičce */
.site-header .header-cart-wrap .header-cart-button {
	color: #FFFFFF;
	border-radius: var(--mb-radius-pill);
	padding: 0.375rem 0.625rem;
}

.site-header .header-cart-wrap .header-cart-button:hover {
	background: rgba(255, 255, 255, 0.08);
}

.site-header .header-cart-wrap .header-cart-button .header-cart-total {
	background: var(--mb-color-primary);
	color: #FFFFFF;
	font-weight: var(--mb-fw-black);
}

/* Ikona vyhledávání (Kadence modální search) */
.site-header .search-toggle-open-container .search-toggle-open {
	color: #FFFFFF;
}

/* --- Primární navigace (desktop) --- */
.site-header .header-navigation .header-menu-container > ul > li.menu-item > a {
	color: var(--mb-color-ink-200);
	font-weight: var(--mb-fw-semibold);
	font-size: 0.9375rem;
	letter-spacing: 0;
	text-decoration: none;
}

.site-header .header-navigation .header-menu-container > ul > li.menu-item > a:hover,
.site-header .header-navigation .header-menu-container > ul > li.menu-item:focus-within > a,
.site-header .header-navigation .header-menu-container > ul > li.current-menu-item > a,
.site-header .header-navigation .header-menu-container > ul > li.current-menu-ancestor > a {
	color: #FFFFFF;
}

/* Sekundární menu v horní liště (Návody, Kontakt…) – menší a tlumenější */
.site-header .site-top-header-wrap .header-navigation .header-menu-container > ul > li.menu-item > a {
	color: var(--mb-color-ink-300);
	font-size: var(--mb-fs-sm);
	font-weight: var(--mb-fw-medium);
}

.site-header .site-top-header-wrap .header-navigation .header-menu-container > ul > li.menu-item > a:hover {
	color: #FFFFFF;
}

/* Zvýraznění položky (třída mb-menu-highlight v Menu → CSS třídy), např. Výprodej */
.site-header .header-navigation .header-menu-container > ul > li.mb-menu-highlight > a {
	color: var(--mb-color-signal);
}

/* Rozbalovací panel */
.site-header .header-navigation .header-menu-container ul ul.sub-menu {
	background: var(--mb-color-surface);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	box-shadow: var(--mb-shadow-lg);
	padding: var(--mb-space-2);
}

.site-header .header-navigation .header-menu-container ul ul li.menu-item {
	border-bottom: 0;
}

.site-header .header-navigation .header-menu-container ul ul li.menu-item > a {
	color: var(--mb-color-text);
	font-size: 0.9375rem;
	font-weight: var(--mb-fw-medium);
	padding: 0.625rem 0.75rem;
	border-radius: var(--mb-radius-md);
	text-decoration: none;
}

.site-header .header-navigation .header-menu-container ul ul li.menu-item > a:hover,
.site-header .header-navigation .header-menu-container ul ul li.menu-item > a:focus-visible,
.site-header .header-navigation .header-menu-container ul ul li.current-menu-item > a {
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
}

/* --- Mega menu (bez pluginu) ---
   Položce 1. úrovně dejte v Menu CSS třídu „mb-mega“ (u položek vpravo navíc
   „mb-mega--right“). Položky 2. úrovně se zobrazí jako sloupce, 3. úroveň
   jako odkazy pod nimi. Volitelně --mb-mega-cols přes třídu mb-mega--2/--4. */
@media (min-width: 1025px) {
	.site-header .header-navigation .header-menu-container ul li.mb-mega {
		--mb-mega-cols: 3;
	}

	.site-header .header-navigation .header-menu-container ul li.mb-mega.mb-mega--2 { --mb-mega-cols: 2; }
	.site-header .header-navigation .header-menu-container ul li.mb-mega.mb-mega--4 { --mb-mega-cols: 4; }

	.site-header .header-navigation .header-menu-container ul li.mb-mega:hover > ul.sub-menu,
	.site-header .header-navigation .header-menu-container ul li.mb-mega:focus-within > ul.sub-menu,
	.site-header .header-navigation .header-menu-container ul li.mb-mega.menu-item--toggled-on > ul.sub-menu {
		display: grid;
		grid-template-columns: repeat(var(--mb-mega-cols), minmax(0, 1fr));
		gap: var(--mb-space-2) var(--mb-space-4);
		width: min(880px, calc(100vw - 48px));
		left: 0;
		right: auto;
		padding: var(--mb-space-5);
	}

	.site-header .header-navigation .header-menu-container ul li.mb-mega.mb-mega--right:hover > ul.sub-menu,
	.site-header .header-navigation .header-menu-container ul li.mb-mega.mb-mega--right:focus-within > ul.sub-menu,
	.site-header .header-navigation .header-menu-container ul li.mb-mega.mb-mega--right.menu-item--toggled-on > ul.sub-menu {
		left: auto;
		right: 0;
	}

	/* Sloupec = položka 2. úrovně */
	.site-header .header-navigation .header-menu-container ul li.mb-mega > ul.sub-menu > li.menu-item > a {
		width: auto;
		font-weight: var(--mb-fw-black);
		font-size: 1rem;
		color: var(--mb-color-text);
	}

	.site-header .header-navigation .header-menu-container ul li.mb-mega > ul.sub-menu > li.menu-item > a .dropdown-nav-toggle,
	.site-header .header-navigation .header-menu-container ul li.mb-mega > ul.sub-menu > li.menu-item > .dropdown-nav-special-toggle {
		display: none;
	}

	/* 3. úroveň trvale viditelná uvnitř sloupce */
	.site-header .header-navigation .header-menu-container ul li.mb-mega > ul.sub-menu > li > ul.sub-menu {
		display: block;
		position: static;
		left: auto;
		top: auto;
		width: auto;
		min-width: 0;
		opacity: 1;
		visibility: visible;
		clip: auto;
		height: auto;
		overflow: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: transparent;
		padding: 0 0 var(--mb-space-2);
	}

	.site-header .header-navigation .header-menu-container ul li.mb-mega > ul.sub-menu > li > ul.sub-menu > li > a {
		width: auto;
		padding: 0.375rem 0.75rem;
		font-size: 0.875rem;
		color: var(--mb-color-text-muted);
	}
}

/* --- Mobilní hlavička a šuplík --- */
#mobile-header .site-branding .site-title {
	font-size: 1.25rem;
}

.site-header .mobile-toggle-open-container .menu-toggle-open {
	color: #FFFFFF;
}

#mobile-drawer .drawer-inner {
	background: var(--mb-color-ink-900);
	color: #FFFFFF;
}

#mobile-drawer .drawer-header .drawer-toggle {
	color: #FFFFFF;
}

#mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
	color: #FFFFFF;
	font-weight: var(--mb-fw-semibold);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#mobile-drawer .mobile-navigation ul ul li > a {
	color: var(--mb-color-ink-200);
	font-weight: var(--mb-fw-medium);
}

#mobile-drawer .mobile-navigation .drawer-sub-toggle {
	color: var(--mb-color-ink-300);
}

/* ==========================================================================
   4. VYHLEDÁVÁNÍ, PŘEPÍNAČ TRHU, ÚČET
   Shortcode [magnetbear_search] vykreslí FiboSearch, nebo záložní formulář.
   ========================================================================== */
.mb-search {
	width: 100%;
	max-width: 720px;
	margin-inline: auto;
}

.mb-search__form {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
}

.mb-search__form::before {
	content: "";
	position: absolute;
	left: 1rem;
	top: 50%;
	width: 1.25rem;
	height: 1.25rem;
	transform: translateY(-50%);
	background-color: var(--mb-color-text-subtle);
	-webkit-mask: var(--mb-icon-search) center / contain no-repeat;
	mask: var(--mb-icon-search) center / contain no-repeat;
	pointer-events: none;
}

.mb-search .mb-search__input {
	width: 100%;
	height: var(--mb-control-h);
	padding: 0 6.5rem 0 2.875rem;
	border: 1px solid transparent;
	border-radius: var(--mb-radius-pill);
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	box-shadow: var(--mb-shadow-sm);
	-webkit-appearance: none;
	appearance: none;
}

.mb-search .mb-search__input:focus {
	border-color: var(--mb-color-primary);
	box-shadow: 0 0 0 4px rgba(214, 40, 57, 0.35);
}

.mb-search .mb-search__submit {
	position: absolute;
	top: 4px;
	right: 4px;
	bottom: 4px;
	min-height: 0;
	padding: 0 1.125rem;
	border-radius: var(--mb-radius-pill);
	font-size: 0.9375rem;
}

/* Velká varianta v hero */
.mb-hero .mb-search {
	margin-inline: 0;
	max-width: 640px;
}

.mb-hero .mb-search .mb-search__input {
	height: 56px;
	font-size: 1.0625rem;
	box-shadow: var(--mb-shadow-lg);
}

/* FiboSearch – sjednocení vzhledu (v nastavení FiboSearch zvolte styl „Solaris“
   a ponechte barvy prázdné, viz UX-SPEC.md) */
.mb-search .dgwt-wcas-search-wrapp {
	max-width: none;
	min-width: 0;
	width: 100%;
	margin: 0;
}

.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp {
	padding: 0;
	background: transparent;
	border-radius: var(--mb-radius-pill);
}

.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	height: var(--mb-control-h);
	padding: 0 3.75rem 0 1.25rem;
	border: 1px solid transparent;
	border-radius: var(--mb-radius-pill);
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	font-size: 1rem;
	box-shadow: var(--mb-shadow-sm);
}

.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
	border-color: var(--mb-color-primary);
	box-shadow: 0 0 0 4px rgba(214, 40, 57, 0.35);
}

.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder {
	color: var(--mb-color-text-subtle);
	opacity: 1;
}

.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
	top: 4px;
	right: 4px;
	bottom: 4px;
	left: auto; /* styl „Pirx“ dává tlačítko doleva přes text */
	height: auto;
	min-height: 0;
	width: 44px;
	min-width: 44px;
	padding: 0;
	border-radius: var(--mb-radius-pill);
	background: var(--mb-color-primary);
	color: #FFFFFF;
	box-shadow: none;
}

.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before {
	display: none; /* šipka stylu Solaris */
}

.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover {
	background: var(--mb-color-primary-hover);
}

.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier path {
	fill: #FFFFFF;
}

.mb-hero .mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	height: 56px;
	font-size: 1.0625rem;
	box-shadow: var(--mb-shadow-lg);
}

/* Našeptávač FiboSearch */
.dgwt-wcas-suggestions-wrapp {
	border: 1px solid var(--mb-color-border) !important; /* FiboSearch nastavuje inline */
	border-radius: 0 0 var(--mb-radius-lg) var(--mb-radius-lg);
	box-shadow: var(--mb-shadow-lg);
	overflow: hidden;
}

.dgwt-wcas-suggestion {
	color: var(--mb-color-text);
}

.dgwt-wcas-suggestion-selected {
	background-color: var(--mb-color-primary-soft);
}

.dgwt-wcas-st-title,
.dgwt-wcas-sp {
	color: var(--mb-color-text);
}

.dgwt-wcas-sp ins,
.dgwt-wcas-sp .amount {
	font-weight: var(--mb-fw-bold);
	text-decoration: none;
}

/* Přepínač trhu CZ / SK – shortcode [magnetbear_market_switcher] */
.mb-market {
	display: inline-flex;
	align-items: center;
	gap: var(--mb-space-2);
	font-size: var(--mb-fs-sm);
}

.mb-market__label {
	color: var(--mb-color-ink-400);
}

ul.mb-market__list,
.mb-market__list {
	display: inline-flex;
	gap: 2px;
	margin: 0;
	padding: 2px;
	list-style: none;
	border-radius: var(--mb-radius-pill);
	background: rgba(255, 255, 255, 0.08);
}

.mb-market__list li {
	margin: 0;
}

.mb-market__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 28px;
	padding: 0.125rem 0.75rem;
	border-radius: var(--mb-radius-pill);
	color: var(--mb-color-ink-200);
	font-weight: var(--mb-fw-bold);
	text-decoration: none;
}

.mb-market__list a:hover {
	color: #FFFFFF;
}

.mb-market__list a[aria-current="true"] {
	background: #FFFFFF;
	color: var(--mb-color-ink-900);
}

/* Odkaz na účet – shortcode [magnetbear_account_link] */
.mb-account {
	display: inline-flex;
	align-items: center;
	gap: var(--mb-space-2);
	min-height: 40px;
	padding: 0.25rem 0.75rem;
	border-radius: var(--mb-radius-pill);
	color: #FFFFFF;
	font-weight: var(--mb-fw-semibold);
	text-decoration: none;
}

.mb-account:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
}

.mb-account svg {
	width: 22px;
	height: 22px;
	flex: none;
}

@media (max-width: 767px) {
	.mb-account__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ==========================================================================
   5. SEKCE A VZORY
   ========================================================================== */
.entry-content .mb-section,
.single-content .mb-section,
.mb-section {
	margin-top: 0;
	margin-bottom: 0;
	padding-block: var(--mb-section-y);
}

.mb-section--tight { padding-block: var(--mb-space-6); }
.mb-section--white { background: var(--mb-color-surface); }
.mb-section--soft { background: var(--mb-color-bg); }

.mb-section--dark {
	background: var(--mb-color-ink-900);
	color: var(--mb-color-ink-300);
}

.mb-section--dark :is(h1, h2, h3, h4, h5, h6) {
	color: #FFFFFF;
}

.mb-section--dark a:where(:not([class])) {
	color: var(--mb-color-primary-300);
}

.mb-section--dark .mb-eyebrow {
	color: var(--mb-color-signal);
}

.mb-section--dark .mb-lead {
	color: var(--mb-color-ink-300);
}

.mb-section > .wp-block-group__inner-container {
	padding: 0;
}

/* Hlavička sekce: nadpis + odkaz „Zobrazit vše“ */
.mb-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--mb-space-3) var(--mb-space-5);
	margin-bottom: var(--mb-space-5);
}

.mb-section-head > * {
	margin: 0;
}

.mb-section-head h2 {
	margin: 0;
}

.mb-section-head p {
	margin: 0;
}

.mb-link-arrow a,
a.mb-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-weight: var(--mb-fw-bold);
	color: var(--mb-color-primary);
	text-decoration: none;
}

.mb-link-arrow a::after,
a.mb-link-arrow::after {
	content: "";
	width: 1rem;
	height: 1rem;
	background-color: currentColor;
	-webkit-mask: var(--mb-icon-arrow) center / contain no-repeat;
	mask: var(--mb-icon-arrow) center / contain no-repeat;
	transition: transform var(--mb-dur) var(--mb-ease);
}

.mb-link-arrow a:hover::after,
a.mb-link-arrow:hover::after {
	transform: translateX(3px);
}

/* --- Hero --- */
.mb-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: clamp(3rem, 2rem + 5vw, 6.5rem);
	background:
		radial-gradient(1100px 520px at 88% -12%, rgba(214, 40, 57, 0.55), transparent 62%),
		radial-gradient(760px 420px at -5% 115%, rgba(214, 40, 57, 0.16), transparent 60%),
		var(--mb-color-ink-900);
}

/* jemná mřížka (čistě CSS, bez obrázků) */
.mb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	pointer-events: none;
}

/* dekorativní značka vpravo (jen desktop) */
@media (min-width: 1025px) {
	.mb-hero::after {
		content: "";
		position: absolute;
		z-index: -1;
		top: 50%;
		right: max(2rem, calc((100vw - var(--mb-container)) / 2 + 2rem));
		width: 300px;
		height: 300px;
		transform: translateY(-50%) rotate(-8deg);
		background: var(--mb-hero-art, var(--mb-mark)) center / contain no-repeat;
		filter: drop-shadow(0 30px 60px rgba(214, 40, 57, 0.35));
		opacity: 0.95;
		pointer-events: none;
	}
}

.mb-hero .mb-container > * {
	max-width: 660px;
}

.mb-hero .mb-hero__title {
	margin: 0 0 var(--mb-space-4);
	color: #FFFFFF;
	font-size: var(--mb-fs-3xl);
}

.mb-hero .mb-hero__title strong {
	color: var(--mb-color-signal);
	font-weight: inherit;
}

.mb-hero .mb-lead {
	margin: 0 0 var(--mb-space-5);
}

/* Rychlé odkazy (čipy) pod vyhledáváním */
.mb-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--mb-space-2);
	margin: var(--mb-space-4) 0 0;
	font-size: var(--mb-fs-sm);
	color: var(--mb-color-ink-400);
}

.mb-chips a,
.mb-section--dark .mb-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0.25rem 0.75rem;
	border-radius: var(--mb-radius-pill);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	color: #FFFFFF;
	font-weight: var(--mb-fw-semibold);
	text-decoration: none;
	transition: background-color var(--mb-dur) var(--mb-ease);
}

.mb-chips a:hover,
.mb-section--dark .mb-chips a:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #FFFFFF;
}

/* --- Trust bar --- */
.mb-trust {
	background: var(--mb-color-surface);
	border-bottom: 1px solid var(--mb-color-border);
	padding-block: var(--mb-space-5);
}

.wp-block-columns.mb-trust__grid,
.mb-trust__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--mb-space-4) var(--mb-space-5);
	margin: 0;
}

@media (min-width: 1025px) {
	.wp-block-columns.mb-trust__grid,
	.mb-trust__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.mb-trust__item {
	position: relative;
	padding-left: 3.25rem;
	min-height: 2.5rem;
}

.mb-trust__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-primary-soft);
}

.mb-trust__item::after {
	content: "";
	position: absolute;
	left: 0.625rem;
	top: 0.625rem;
	width: 1.25rem;
	height: 1.25rem;
	background-color: var(--mb-color-primary);
	-webkit-mask: var(--mb-ico, var(--mb-icon-check)) center / contain no-repeat;
	mask: var(--mb-ico, var(--mb-icon-check)) center / contain no-repeat;
}

.mb-trust__item.mb-ico-bolt::before { background: var(--mb-color-signal-soft); }
.mb-trust__item.mb-ico-bolt::after { background-color: var(--mb-color-success); }

.mb-trust__item h3,
.mb-trust__item p {
	margin: 0;
}

.mb-trust__item h3 {
	font-size: var(--mb-fs-base);
	font-weight: var(--mb-fw-black);
	letter-spacing: 0;
	line-height: 1.3;
}

.mb-trust__item p {
	font-size: var(--mb-fs-sm);
	color: var(--mb-color-text-subtle);
	line-height: 1.45;
}

/* Přiřazení ikon (třída na sloupci/položce) */
.mb-ico-bolt { --mb-ico: var(--mb-icon-bolt); }
.mb-ico-shield { --mb-ico: var(--mb-icon-shield); }
.mb-ico-lock { --mb-ico: var(--mb-icon-lock); }
.mb-ico-chat { --mb-ico: var(--mb-icon-chat); }
.mb-ico-card { --mb-ico: var(--mb-icon-card); }
.mb-ico-tag { --mb-ico: var(--mb-icon-tag); }
.mb-ico-clock { --mb-ico: var(--mb-icon-clock); }
.mb-ico-mail { --mb-ico: var(--mb-icon-mail); }

/* --- Dlaždice kategorií --- */
.wp-block-columns.mb-tiles,
.mb-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--mb-space-3);
	margin: 0;
}

@media (min-width: 768px) {
	.wp-block-columns.mb-tiles,
	.mb-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--mb-space-4);
	}
}

@media (min-width: 1025px) {
	.wp-block-columns.mb-tiles,
	.mb-tiles {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.mb-tile {
	--mb-tile-accent: var(--mb-color-primary);
	--mb-tile-soft: var(--mb-color-primary-soft);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--mb-space-1);
	min-height: 9.5rem;
	padding: var(--mb-space-5) var(--mb-space-4) var(--mb-space-4);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-sm);
	transition: transform var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease), border-color var(--mb-dur) var(--mb-ease);
}

.mb-tile::before {
	content: "";
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: var(--mb-space-2);
	border-radius: var(--mb-radius-md);
	background:
		var(--mb-tile-soft);
}

.mb-tile::after {
	content: "";
	position: absolute;
	top: calc(var(--mb-space-5) + 0.6875rem);
	left: calc(var(--mb-space-4) + 0.6875rem);
	width: 1.375rem;
	height: 1.375rem;
	background-color: var(--mb-tile-accent);
	-webkit-mask: var(--mb-ico, var(--mb-icon-magnet)) center / contain no-repeat;
	mask: var(--mb-ico, var(--mb-icon-magnet)) center / contain no-repeat;
}

.mb-tile:hover,
.mb-tile:focus-within {
	transform: translateY(-2px);
	box-shadow: var(--mb-shadow-lg);
	border-color: var(--mb-color-primary-line);
}

.mb-tile h3 {
	margin: 0;
	font-size: var(--mb-fs-md);
	letter-spacing: -0.01em;
}

.mb-tile h3 a {
	color: var(--mb-color-text);
	text-decoration: none;
}

/* celá dlaždice je klikací (stretched link) */
.mb-tile h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.mb-tile h3 a:focus-visible {
	outline: none;
}

.mb-tile h3 a:focus-visible::after {
	outline: 3px solid var(--mb-focus);
	outline-offset: 2px;
}

.mb-tile p {
	margin: 0;
	font-size: var(--mb-fs-sm);
	line-height: 1.45;
	color: var(--mb-color-text-subtle);
}

.mb-tile--signal { --mb-tile-accent: var(--mb-color-success); --mb-tile-soft: var(--mb-color-signal-soft); }
.mb-tile--amber { --mb-tile-accent: var(--mb-color-warning); --mb-tile-soft: var(--mb-color-warning-soft); }
.mb-tile--ink { --mb-tile-accent: #FFFFFF; --mb-tile-soft: var(--mb-color-ink-800); }

/* --- Jak to funguje (3 kroky) --- */
.wp-block-columns.mb-steps,
.mb-steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--mb-space-4);
	margin: 0;
	counter-reset: mb-step;
}

@media (min-width: 768px) {
	.wp-block-columns.mb-steps,
	.mb-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--mb-space-5);
	}
}

.mb-step {
	position: relative;
	padding: var(--mb-space-5);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	counter-increment: mb-step;
}

.mb-step::before {
	content: counter(mb-step);
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: var(--mb-space-3);
	border-radius: var(--mb-radius-pill);
	background: var(--mb-color-ink-900);
	color: var(--mb-color-signal);
	font-weight: var(--mb-fw-black);
	font-size: var(--mb-fs-md);
}

.mb-step h3 {
	margin: 0 0 var(--mb-space-2);
	font-size: var(--mb-fs-lg);
}

.mb-step p {
	margin: 0;
	color: var(--mb-color-text-muted);
}

/* --- FAQ akordeon (core/details) --- */
.mb-faq {
	max-width: 860px;
}

.mb-faq .wp-block-details,
.mb-faq details {
	margin: 0 0 var(--mb-space-3);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	transition: box-shadow var(--mb-dur) var(--mb-ease);
}

.mb-faq details[open] {
	box-shadow: var(--mb-shadow-md);
	border-color: var(--mb-color-primary-line);
}

.mb-faq summary {
	position: relative;
	display: block;
	padding: var(--mb-space-4) 3.5rem var(--mb-space-4) var(--mb-space-5);
	font-weight: var(--mb-fw-bold);
	font-size: var(--mb-fs-md);
	line-height: 1.4;
	color: var(--mb-color-text);
	cursor: pointer;
	list-style: none;
	border-radius: var(--mb-radius-lg);
}

.mb-faq summary::-webkit-details-marker {
	display: none;
}

/* plus / mínus z gradientů */
.mb-faq summary::after {
	content: "";
	position: absolute;
	right: var(--mb-space-5);
	top: 50%;
	width: 14px;
	height: 14px;
	transform: translateY(-50%);
	background:
		linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
	color: var(--mb-color-primary);
	transition: transform var(--mb-dur) var(--mb-ease);
}

.mb-faq details[open] > summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.mb-faq details > :not(summary) {
	margin: 0;
	padding: 0 var(--mb-space-5) var(--mb-space-4);
	color: var(--mb-color-text-muted);
}

/* --- CTA / newsletter --- */
.mb-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
	border-radius: var(--mb-radius-xl);
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(214, 40, 57, 0.6), transparent 65%),
		radial-gradient(400px 260px at 0% 100%, rgba(214, 40, 57, 0.18), transparent 60%),
		var(--mb-color-ink-900);
	color: var(--mb-color-ink-300);
}

.mb-cta :is(h2, h3) {
	margin: 0 0 var(--mb-space-2);
	color: #FFFFFF;
}

.mb-cta p {
	margin: 0 0 var(--mb-space-4);
	max-width: 56ch;
}

.mb-cta .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mb-space-3);
	margin: 0;
}

.mb-cta .mb-cta__note {
	margin: var(--mb-space-3) 0 0;
	font-size: var(--mb-fs-xs);
	color: var(--mb-color-ink-400);
}

/* --- Produkty v sekci (shortcode [products class="mb-products"]) --- */
.mb-products {
	margin: 0;
}

/* ==========================================================================
   6. ODZNAKY
   ========================================================================== */
ul.mb-badges,
.mb-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-badge {
	--mb-dot: var(--mb-color-text-subtle);
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin: 0;
	padding: 0.1875rem 0.5rem;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-sm);
	background: var(--mb-color-surface-2);
	color: var(--mb-color-text);
	font-size: var(--mb-fs-xs);
	font-weight: var(--mb-fw-bold);
	line-height: 1.3;
	white-space: nowrap;
}

/* štítek s tečkou (jen orientační – vždy s textovým popiskem) */

/* region: ikona glóbu + barevný stav */

.mb-badges--single {
	gap: var(--mb-space-2);
	margin: 0 0 var(--mb-space-3);
}

.mb-badges--single .mb-badge {
	padding: 0.3125rem 0.625rem;
	font-size: var(--mb-fs-sm);
}

/* Okamžité doručení */

/* Sleva (WooCommerce .onsale – text upravuje functions.php na „−25 %“) */
body.woocommerce span.onsale,
body .woocommerce span.onsale,
body .woocommerce ul.products li.product .onsale,
body.woocommerce ul.products li.product .onsale {
	top: 0.625rem;
	left: 0.625rem;
	right: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0.25rem 0.5rem;
	border-radius: var(--mb-radius-sm);
	background: var(--mb-color-sale);
	color: #FFFFFF;
	font-size: 0.8125rem;
	font-weight: var(--mb-fw-black);
	line-height: 1.2;
	letter-spacing: 0;
	box-shadow: var(--mb-shadow-sm);
}

/* ==========================================================================
   7. PRODUKTOVÉ KARTY (WooCommerce výpis v Kadence)
   Obrázky produktů: poměr 3:4 (doporučeno 600×800 WebP/AVIF).
   ========================================================================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-sm);
	text-align: left;
	transition: transform var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease), border-color var(--mb-dur) var(--mb-ease);
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within {
	transform: translateY(-3px);
	box-shadow: var(--mb-shadow-lg);
	border-color: var(--mb-color-primary-line);
}

.woocommerce ul.products li.product a.woocommerce-loop-image-link,
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
	display: block;
	background: var(--mb-color-surface-2);
	text-decoration: none;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-image-link img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1; /* karty, dobití i předplatné mají čtvercové obrázky (WooCommerce ořez 1:1) */
	object-fit: cover;
	margin: 0;
	border-radius: 0;
}

.woocommerce ul.products li.product .product-details {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.4375rem;
	padding: var(--mb-space-3) 0.875rem 0.875rem;
	background: transparent;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	min-height: 2.6em;
	margin: 0;
	padding: 0;
	font-size: 0.96875rem;
	font-weight: var(--mb-fw-bold);
	line-height: 1.3;
	letter-spacing: -0.005em;
	color: var(--mb-color-text);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
	color: var(--mb-color-primary);
}

.woocommerce ul.products li.product .star-rating {
	margin: 0;
	font-size: 0.8125rem;
}

.woocommerce ul.products li.product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 0.5rem;
	margin: 0;
	color: var(--mb-color-text);
	font-size: var(--mb-fs-lg);
	font-weight: var(--mb-fw-black);
	letter-spacing: -0.01em;
}

.woocommerce ul.products li.product .price del {
	order: 2;
	color: var(--mb-color-text-subtle);
	font-size: var(--mb-fs-sm);
	font-weight: var(--mb-fw-semibold);
	opacity: 1;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--mb-color-text);
}

.woocommerce ul.products li.product .product-action-wrap,
.woocommerce ul.products li.product > .button {
	margin-top: auto;
}

.woocommerce ul.products li.product .button {
	width: 100%;
	min-height: 40px;
	margin-top: var(--mb-space-1);
	padding: 0.5rem 0.75rem;
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
	font-size: var(--mb-fs-sm);
	box-shadow: none;
}

.woocommerce ul.products li.product .button:hover {
	background: var(--mb-color-primary);
	color: #FFFFFF;
}

.woocommerce ul.products li.product .added_to_cart {
	font-size: var(--mb-fs-sm);
	font-weight: var(--mb-fw-bold);
	color: var(--mb-color-primary);
}

.woocommerce ul.products li.product.outofstock .woocommerce-loop-image-link img {
	filter: grayscale(0.6);
	opacity: 0.8;
}

/* ==========================================================================
   8. DETAIL PRODUKTU
   ========================================================================== */
.single-product div.product .woocommerce-product-gallery {
	border-radius: var(--mb-radius-xl);
	overflow: hidden;
	background: var(--mb-color-surface-2);
}

.single-product div.product .woocommerce-product-gallery img {
	border-radius: 0;
}

/* Buy box */
.single-product div.product .summary.entry-summary {
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-xl);
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-md);
}

.single-product div.product .product_title {
	margin: 0 0 var(--mb-space-3);
	font-size: var(--mb-fs-2xl);
	line-height: 1.2;
}

.single-product div.product .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: var(--mb-space-2);
	margin: 0 0 var(--mb-space-3);
	font-size: var(--mb-fs-sm);
}

.single-product div.product .summary .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 var(--mb-space-3);
	margin: var(--mb-space-2) 0 var(--mb-space-3);
	color: var(--mb-color-text);
	font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
	font-weight: var(--mb-fw-black);
	letter-spacing: var(--mb-tracking-tight);
	line-height: 1.1;
}

.single-product div.product .summary .price del {
	order: 2;
	color: var(--mb-color-text-subtle);
	font-size: 0.5em;
	font-weight: var(--mb-fw-semibold);
	letter-spacing: 0;
	opacity: 1;
}

.single-product div.product .summary .price ins {
	text-decoration: none;
}

.single-product div.product .woocommerce-product-details__short-description {
	color: var(--mb-color-text-muted);
	font-size: 0.9375rem;
}

.single-product div.product .stock {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin: 0 0 var(--mb-space-3);
	font-weight: var(--mb-fw-bold);
	font-size: var(--mb-fs-sm);
}

.single-product div.product .stock.in-stock { color: var(--mb-color-success); }
.single-product div.product .stock.out-of-stock { color: var(--mb-color-danger); }

.single-product div.product .stock.in-stock::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--mb-color-success);
	box-shadow: 0 0 0 3px var(--mb-color-success-soft);
}

.single-product div.product form.cart {
	margin: var(--mb-space-4) 0 0;
}

.single-product div.product form.cart:not(.variations_form):not(.grouped_form),
.single-product div.product .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: var(--mb-space-3);
}

.single-product div.product form.cart .quantity {
	margin: 0;
}

.single-product div.product form.cart .quantity .qty {
	width: 4.75rem;
	height: var(--mb-control-h-lg);
	text-align: center;
	font-weight: var(--mb-fw-bold);
}

.single-product div.product .single_add_to_cart_button {
	flex: 1 1 12rem;
	min-height: var(--mb-control-h-lg);
	border-radius: 12px;
	font-size: 1.0625rem;
	font-weight: var(--mb-fw-black);
}

.single-product div.product table.variations {
	margin-bottom: var(--mb-space-3);
	border: 0;
}

.single-product div.product table.variations th,
.single-product div.product table.variations td {
	display: block;
	padding: 0;
	border: 0;
	text-align: left;
}

.single-product div.product table.variations th label {
	font-weight: var(--mb-fw-bold);
	font-size: var(--mb-fs-sm);
}

.single-product div.product table.variations select {
	width: 100%;
	margin-bottom: var(--mb-space-3);
}

.single-product div.product .product_meta {
	margin-top: var(--mb-space-4);
	font-size: var(--mb-fs-sm);
	color: var(--mb-color-text-subtle);
}

/* Trust box pod tlačítkem Do košíku (functions.php → magnetbear_single_trust_box) */
.mb-trust-box {
	display: grid;
	gap: var(--mb-space-4);
	margin-top: var(--mb-space-5);
	padding-top: var(--mb-space-5);
	border-top: 1px solid var(--mb-color-border);
}

ul.mb-trust-box__list,
.mb-trust-box__list {
	display: grid;
	gap: var(--mb-space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-trust-box__item {
	position: relative;
	min-height: 2.25rem;
	margin: 0;
	padding-left: 3rem;
	font-size: var(--mb-fs-sm);
	line-height: 1.45;
	color: var(--mb-color-text-subtle);
}

.mb-trust-box__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-primary-soft);
}

.mb-trust-box__item::after {
	content: "";
	position: absolute;
	left: 0.5625rem;
	top: 0.5625rem;
	width: 1.125rem;
	height: 1.125rem;
	background-color: var(--mb-color-primary);
	-webkit-mask: var(--mb-ico, var(--mb-icon-check)) center / contain no-repeat;
	mask: var(--mb-ico, var(--mb-icon-check)) center / contain no-repeat;
}
.mb-trust-box__item--secure { --mb-ico: var(--mb-icon-lock); }

.mb-trust-box__item strong {
	display: block;
	color: var(--mb-color-text);
	font-size: 0.9375rem;
	font-weight: var(--mb-fw-bold);
}

.mb-trust-box__guide {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mb-space-3);
	padding: var(--mb-space-3) var(--mb-space-4);
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-surface-2);
	color: var(--mb-color-text);
	font-weight: var(--mb-fw-bold);
	font-size: 0.9375rem;
	text-decoration: none;
	transition: background-color var(--mb-dur) var(--mb-ease);
}

.mb-trust-box__guide::after {
	content: "";
	width: 1.125rem;
	height: 1.125rem;
	flex: none;
	background-color: var(--mb-color-primary);
	-webkit-mask: var(--mb-icon-arrow) center / contain no-repeat;
	mask: var(--mb-icon-arrow) center / contain no-repeat;
}

.mb-trust-box__guide:hover {
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
}

/* Upozornění na region */

/* Záložky produktu */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--mb-space-2);
	margin: 0 0 var(--mb-space-4);
	padding: 0;
	border: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--mb-radius-pill);
	background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.5rem 1rem;
	border-radius: var(--mb-radius-pill);
	background: var(--mb-color-surface);
	box-shadow: inset 0 0 0 1px var(--mb-color-border);
	color: var(--mb-color-text);
	font-weight: var(--mb-fw-bold);
	font-size: 0.9375rem;
	text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	background: var(--mb-color-ink-900);
	box-shadow: none;
	color: #FFFFFF;
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin: 0 0 var(--mb-space-6);
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-xl);
	background: var(--mb-color-surface);
}

.woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
	font-size: var(--mb-fs-xl);
}

/* Aktivace – kroky (záložka „Jak aktivovat“) */

ol.mb-activation__steps,
.mb-activation__steps {
	display: grid;
	gap: var(--mb-space-3);
	margin: 0 0 var(--mb-space-4);
	padding: 0;
	list-style: none;
	counter-reset: mb-act;
}

.mb-activation__steps li {
	position: relative;
	margin: 0;
	padding: 0.375rem 0 0.375rem 3rem;
	counter-increment: mb-act;
	color: var(--mb-color-text);
}

.mb-activation__steps li::before {
	content: counter(mb-act);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 2.125rem;
	height: 2.125rem;
	border-radius: var(--mb-radius-pill);
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
	font-weight: var(--mb-fw-black);
}

.mb-activation__note {
	font-size: var(--mb-fs-sm);
	color: var(--mb-color-text-subtle);
}

/* Tabulka nabídek prodejců (marketplace – fáze 2, připraveno) */
.mb-offers {
	width: 100%;
	margin: 0 0 var(--mb-space-5);
	border-collapse: separate;
	border-spacing: 0 var(--mb-space-2);
	font-size: 0.9375rem;
}

.mb-offers caption {
	text-align: left;
	font-weight: var(--mb-fw-black);
	font-size: var(--mb-fs-lg);
	color: var(--mb-color-text);
	padding-bottom: var(--mb-space-2);
}

.mb-offers th {
	padding: 0 var(--mb-space-4);
	font-size: var(--mb-fs-xs);
	font-weight: var(--mb-fw-bold);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--mb-color-text-subtle);
	text-align: left;
	border: 0;
}

.mb-offers td {
	padding: var(--mb-space-3) var(--mb-space-4);
	background: var(--mb-color-surface);
	border-top: 1px solid var(--mb-color-border);
	border-bottom: 1px solid var(--mb-color-border);
	vertical-align: middle;
}

.mb-offers td:first-child {
	border-left: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-md) 0 0 var(--mb-radius-md);
	font-weight: var(--mb-fw-bold);
}

.mb-offers td:last-child {
	border-right: 1px solid var(--mb-color-border);
	border-radius: 0 var(--mb-radius-md) var(--mb-radius-md) 0;
	text-align: right;
}

.mb-offers tr.is-featured td {
	border-color: var(--mb-color-primary-line);
	background: #FFF7F8;
}

.mb-offers .mb-offers__price {
	font-weight: var(--mb-fw-black);
	font-size: var(--mb-fs-md);
	white-space: nowrap;
}

.mb-offers .mb-offers__seller-meta {
	display: block;
	font-size: var(--mb-fs-xs);
	font-weight: var(--mb-fw-medium);
	color: var(--mb-color-text-subtle);
}

@media (max-width: 639px) {
	.mb-offers caption { display: block; width: 100%; }
	.mb-offers tr.is-featured { border-color: var(--mb-color-primary-line); background: #FFF7F8; }
	.mb-offers tr.is-featured td { background: transparent; }
	.mb-offers .button { width: 100%; margin-top: var(--mb-space-2); }
	.mb-offers thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.mb-offers,
	.mb-offers tbody,
	.mb-offers tr,
	.mb-offers td { display: block; width: 100%; }
	.mb-offers tr {
		margin-bottom: var(--mb-space-3);
		padding: var(--mb-space-3);
		border: 1px solid var(--mb-color-border);
		border-radius: var(--mb-radius-md);
		background: var(--mb-color-surface);
	}
	.mb-offers td,
	.mb-offers td:first-child,
	.mb-offers td:last-child {
		padding: 0.25rem 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		text-align: left;
	}
}

/* Hodnocení (WooCommerce + Customer Reviews for WooCommerce) */
.woocommerce .star-rating,
.woocommerce p.stars a,
.woocommerce .star-rating span::before {
	color: var(--mb-color-star);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border-color: var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
}

/* Související / upsell produkty */
.single-product .related.products > h2,
.single-product .upsells.products > h2 {
	font-size: var(--mb-fs-xl);
	margin-bottom: var(--mb-space-4);
}

/* ==========================================================================
   9. VÝPIS KATEGORIE
   ========================================================================== */
.product-archive-hero-section .entry-hero-container-inner {
	background:
		radial-gradient(900px 360px at 90% -20%, rgba(214, 40, 57, 0.5), transparent 60%),
		var(--mb-color-ink-900);
}

.product-archive-hero-section .entry-hero-container-inner :is(h1, .page-title, .archive-title) {
	color: #FFFFFF;
}

.product-archive-hero-section .entry-hero-container-inner .archive-description,
.product-archive-hero-section .entry-hero-container-inner .term-description {
	color: var(--mb-color-ink-300);
	max-width: 70ch;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.0625rem;
}

/* Vzdušnější hero kategorie – H1 nesmí lepit na navigaci */
.product-archive-hero-section .entry-hero-container-inner .entry-header {
	padding-top: clamp(2rem, 5vw, 3.5rem);
	padding-bottom: clamp(1.75rem, 4vw, 3rem);
	min-height: 0;
}

.product-archive-hero-section .entry-hero-container-inner :is(h1, .page-title, .archive-title) {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
	margin-bottom: var(--mb-space-3, 0.75rem);
}

/* Zbytek úvodu kategorie (přesunutý pod produkty) */
.mb-cat-more {
	max-width: 760px;
	margin: var(--mb-space-8, 2.5rem) auto 0;
	color: var(--mb-color-text);
	font-size: 1.0625rem;
	line-height: 1.7;
}

.mb-cat-more p {
	margin: 0 0 1em;
}

/* Formulář pro odstoupení od smlouvy */
.mb-withdrawal-form {
	max-width: 560px;
	padding: var(--mb-space-6, 1.5rem);
	border: 1px solid var(--mb-color-border, #E3E6EA);
	border-radius: var(--mb-radius-lg, 16px);
	background: var(--mb-color-surface, #FFFFFF);
}

.mb-withdrawal-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.mb-withdrawal-form .input-text {
	width: 100%;
}

.woocommerce .woocommerce-result-count {
	color: var(--mb-color-text-subtle);
	font-size: var(--mb-fs-sm);
}

.woocommerce .woocommerce-ordering select {
	min-height: 40px;
	font-size: 0.9375rem;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: var(--mb-space-2);
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.75rem;
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-surface);
	box-shadow: inset 0 0 0 1px var(--mb-color-border);
	color: var(--mb-color-text);
	font-weight: var(--mb-fw-bold);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--mb-color-ink-900);
	box-shadow: none;
	color: #FFFFFF;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
}

/* SEO text kategorie pod výpisem (třída mb-seo-text na skupině) */
.mb-seo-text {
	max-width: 78ch;
	color: var(--mb-color-text-muted);
}

/* Drobečková navigace (Rank Math / Kadence) */
.rank-math-breadcrumb,
.kadence-breadcrumbs {
	font-size: var(--mb-fs-sm);
	color: var(--mb-color-text-subtle);
}

.rank-math-breadcrumb a,
.kadence-breadcrumbs a {
	color: var(--mb-color-text-muted);
	text-decoration: none;
}

.rank-math-breadcrumb a:hover,
.kadence-breadcrumbs a:hover {
	color: var(--mb-color-primary);
	text-decoration: underline;
}

/* ==========================================================================
   10. KOŠÍK, POKLADNA, SOUHLAS, DĚKOVNÁ STRÁNKA, MŮJ ÚČET
   ========================================================================== */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-account .woocommerce-MyAccount-content {
	padding: clamp(1rem, 0.8rem + 1vw, 1.75rem);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-xl);
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-sm);
}

.woocommerce-checkout .woocommerce-additional-fields {
	margin-top: var(--mb-space-4);
}

.woocommerce table.shop_table {
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
	margin: 0;
}

.woocommerce table.shop_table th {
	font-size: var(--mb-fs-sm);
	font-weight: var(--mb-fw-bold);
	color: var(--mb-color-text-subtle);
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
	border-color: var(--mb-color-border);
	padding: var(--mb-space-3) var(--mb-space-2);
}

.woocommerce table.shop_table .product-name a {
	color: var(--mb-color-text);
	font-weight: var(--mb-fw-bold);
	text-decoration: none;
}

.woocommerce table.shop_table img {
	width: 56px;
	border-radius: var(--mb-radius-sm);
}

.woocommerce a.remove {
	color: var(--mb-color-text-subtle) !important; /* WooCommerce nastavuje !important */
	border-radius: var(--mb-radius-pill);
}

.woocommerce a.remove:hover {
	background: var(--mb-color-danger) !important;
	color: #FFFFFF !important;
}

.woocommerce .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-billing-fields > h3 {
	font-size: var(--mb-fs-xl);
	margin: 0 0 var(--mb-space-4);
}

.woocommerce .cart_totals .order-total .amount,
.woocommerce-checkout #order_review .order-total .amount {
	font-size: var(--mb-fs-xl);
	font-weight: var(--mb-fw-black);
	color: var(--mb-color-text);
}

.woocommerce .wc-proceed-to-checkout {
	padding-bottom: 0;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
	min-height: 56px;
	margin-bottom: var(--mb-space-3);
	border-radius: 12px;
	font-size: var(--mb-fs-md);
	font-weight: var(--mb-fw-black);
}

/* Mini trust v košíku */
ul.mb-mini-trust,
.mb-mini-trust {
	display: grid;
	gap: var(--mb-space-2);
	margin: var(--mb-space-2) 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--mb-fs-sm);
	color: var(--mb-color-text-muted);
}

.mb-mini-trust li {
	display: flex;
	align-items: center;
	gap: var(--mb-space-2);
	margin: 0;
}

.mb-mini-trust li::before {
	content: "";
	width: 1rem;
	height: 1rem;
	flex: none;
	background-color: var(--mb-color-success);
	-webkit-mask: var(--mb-ico, var(--mb-icon-check)) center / contain no-repeat;
	mask: var(--mb-ico, var(--mb-icon-check)) center / contain no-repeat;
}

/* Pokladna */
.woocommerce form .form-row {
	margin-bottom: var(--mb-space-4);
}

.woocommerce form .form-row label:not(.checkbox) {
	display: block;
	margin-bottom: var(--mb-space-1);
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
	width: 100%;
}

.woocommerce form .form-row label {
	font-weight: var(--mb-fw-semibold);
	font-size: 0.9375rem;
	color: var(--mb-color-text);
}

.woocommerce form .form-row .required {
	color: var(--mb-color-danger);
	text-decoration: none;
	border: 0;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
	border-color: var(--mb-color-danger);
}

.woocommerce form .form-row.woocommerce-validated input.input-text {
	border-color: var(--mb-color-success);
}

.mb-checkout-hint {
	display: flex;
	gap: var(--mb-space-2);
	align-items: flex-start;
	margin: 0 0 var(--mb-space-4);
	padding: var(--mb-space-3) var(--mb-space-4);
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-signal-soft);
	color: var(--mb-color-success);
	font-size: var(--mb-fs-sm);
	font-weight: var(--mb-fw-semibold);
	line-height: 1.5;
}

.mb-checkout-hint::before {
	content: "";
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.125rem;
	flex: none;
	background-color: currentColor;
	-webkit-mask: var(--mb-icon-mail) center / contain no-repeat;
	mask: var(--mb-icon-mail) center / contain no-repeat;
}

.woocommerce-checkout #payment {
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface-2);
}

.woocommerce-checkout #payment ul.payment_methods {
	padding: var(--mb-space-4);
	border-bottom: 1px solid var(--mb-color-border);
}

.woocommerce-checkout #payment ul.payment_methods li {
	padding: var(--mb-space-2) 0;
}

.woocommerce-checkout #payment ul.payment_methods li label {
	font-weight: var(--mb-fw-bold);
}

.woocommerce-checkout #payment div.payment_box {
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-surface);
	color: var(--mb-color-text-muted);
	font-size: var(--mb-fs-sm);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--mb-color-surface);
}

.woocommerce-checkout #payment div.form-row.place-order {
	padding: var(--mb-space-4);
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	font-size: var(--mb-fs-sm);
	color: var(--mb-color-text-muted);
}

.woocommerce-checkout #place_order {
	width: 100%;
	min-height: 56px;
	float: none;
	border-radius: 12px;
	font-size: var(--mb-fs-md);
	font-weight: var(--mb-fw-black);
}

/* (souhlas s digitálním doručením se u fyzického zboží nepoužívá) */

/* Poznámka pod tlačítkem Objednat */
.mb-checkout-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--mb-space-2);
	margin: var(--mb-space-3) 0 0;
	font-size: var(--mb-fs-xs);
	color: var(--mb-color-text-subtle);
	text-align: center;
}

.mb-checkout-note::before {
	content: "";
	width: 0.875rem;
	height: 0.875rem;
	flex: none;
	background-color: currentColor;
	-webkit-mask: var(--mb-icon-lock) center / contain no-repeat;
	mask: var(--mb-icon-lock) center / contain no-repeat;
}

/* Děkovná stránka */
.woocommerce-order .woocommerce-thankyou-order-received {
	padding: var(--mb-space-4) var(--mb-space-5);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-signal-soft);
	color: var(--mb-color-success);
	font-weight: var(--mb-fw-bold);
}

.woocommerce ul.order_details,
.woocommerce-order ul.woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mb-space-3);
	padding: 0;
	margin: var(--mb-space-4) 0;
}

.woocommerce ul.order_details li,
.woocommerce-order ul.woocommerce-order-overview li {
	flex: 1 1 10rem;
	margin: 0;
	padding: var(--mb-space-3) var(--mb-space-4);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-surface);
	font-size: var(--mb-fs-xs);
	color: var(--mb-color-text-subtle);
	text-transform: none;
}

.woocommerce ul.order_details li strong,
.woocommerce-order ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.125rem;
	font-size: var(--mb-fs-base);
	color: var(--mb-color-text);
}

/* Můj účet */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: var(--mb-space-2);
	list-style: none;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-xl);
	background: var(--mb-color-surface);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0;
	border: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 0.625rem var(--mb-space-4);
	border-radius: var(--mb-radius-md);
	color: var(--mb-color-text);
	font-weight: var(--mb-fw-semibold);
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: var(--mb-color-surface-2);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background: var(--mb-color-ink-900);
	color: #FFFFFF;
}

/* ==========================================================================
   11. HLÁŠKY (notices)
   ========================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	margin: 0 0 var(--mb-space-5);
	border: 1px solid var(--mb-color-border);
	border-left-width: 4px;
	border-top-width: 1px;
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	font-size: 0.9375rem;
	line-height: 1.5;
	box-shadow: var(--mb-shadow-sm);
}

.woocommerce-message,
.wc-block-components-notice-banner.is-success {
	border-color: #B7E3CD;
	border-left-color: var(--mb-color-success);
	background: var(--mb-color-signal-soft);
}

.woocommerce-message::before { color: var(--mb-color-success); }

.woocommerce-info,
.wc-block-components-notice-banner.is-info {
	border-color: var(--mb-color-primary-line);
	border-left-color: var(--mb-color-primary);
	background: var(--mb-color-primary-soft);
}

.woocommerce-info::before { color: var(--mb-color-primary); }

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
	border-color: #F6C9C4;
	border-left-color: var(--mb-color-danger);
	background: var(--mb-color-danger-soft);
}

.woocommerce-error::before { color: var(--mb-color-danger); }

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	min-height: 36px;
	padding: 0.375rem 0.875rem;
	font-size: var(--mb-fs-sm);
}

.woocommerce-error li {
	margin: 0;
}

/* ==========================================================================
   12. PATIČKA
   ========================================================================== */
.site-footer .site-footer-row-container-inner {
	background: var(--mb-color-ink-900);
	color: var(--mb-color-ink-300);
}

.site-footer .site-top-footer-wrap .site-footer-row-container-inner {
	background: var(--mb-color-ink-800);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer .site-bottom-footer-wrap .site-footer-row-container-inner {
	background: var(--mb-color-ink-950);
	color: var(--mb-color-ink-400);
	font-size: var(--mb-fs-sm);
}

.site-footer :is(h2, h3, h4, .widget-title) {
	color: #FFFFFF;
	font-size: var(--mb-fs-base);
	font-weight: var(--mb-fw-black);
	letter-spacing: 0;
}

.site-footer a {
	color: var(--mb-color-ink-200);
	text-decoration: none;
}

.site-footer a:hover {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.site-footer ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.site-footer li {
	margin-bottom: var(--mb-space-2);
}

/* Platební metody v patičce – pouze textové štítky, žádná loga */
ul.mb-pay,
.mb-pay {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mb-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-pay li {
	margin: 0;
	padding: 0.25rem 0.625rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--mb-radius-sm);
	color: var(--mb-color-ink-200);
	font-size: var(--mb-fs-xs);
	font-weight: var(--mb-fw-bold);
}

/* ==========================================================================
   13. RESPONZIVITA, PŘÍSTUPNOST, TISK
   ========================================================================== */
@media (max-width: 599px) {
	/* Lišta důvěry na mobilu: jen nadpisy 2×2, popisy zbytečně prodlužují stránku */
	.mb-trust__item p { display: none; }
	.mb-trust__item { display: flex; align-items: center; min-height: 2.5rem; }
	.mb-trust__item h3 { font-size: var(--mb-fs-sm); }
}

@media (max-width: 767px) {
	/* 5. dlaždice by na mobilu zůstala sama – roztáhneme ji přes oba sloupce */
	.wp-block-columns.mb-tiles > :last-child:nth-child(odd),
	.mb-tiles > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.single-product div.product .summary.entry-summary {
		border-radius: var(--mb-radius-lg);
		box-shadow: var(--mb-shadow-sm);
	}

	.woocommerce ul.products li.product .product-details {
		padding: 0.625rem 0.625rem 0.75rem;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.875rem;
	}

	.woocommerce ul.products li.product .price {
		font-size: var(--mb-fs-md);
	}

	.mb-faq summary {
		padding-left: var(--mb-space-4);
		font-size: var(--mb-fs-base);
	}

	.mb-tile {
		min-height: 8.5rem;
		padding: var(--mb-space-4) var(--mb-space-3) var(--mb-space-3);
	}

	.mb-tile::after {
		top: calc(var(--mb-space-4) + 0.6875rem);
		left: calc(var(--mb-space-3) + 0.6875rem);
	}
}

@media (hover: none) {
	.woocommerce ul.products li.product:hover,
	.mb-tile:hover {
		transform: none;
	}
}

@media (forced-colors: active) {
	.mb-badge,
	.mb-tile,
	.mb-step,
	.woocommerce ul.products li.product {
		border: 1px solid CanvasText;
	}

	.mb-trust__item::after,
	.mb-tile::after{
		background-color: CanvasText;
	}
}

@media print {
	.site-header,
	.site-footer,
	.mb-trust-box,
	.woocommerce-tabs ul.tabs {
		display: none !important;
	}

	body {
		background: #FFFFFF;
	}
}

/* Patička – sloupce s odkazy a značkou */
.site-footer .mb-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.site-footer .mb-footer-brand {
	font-size: 1.25rem;
	font-weight: 800;
	color: #FFFFFF;
	margin-bottom: 0.5rem;
}

.site-footer .mb-footer-note {
	font-size: 0.875rem;
	line-height: 1.6;
	max-width: 34ch;
}


/* Hero s koláží karet (pokud je nastavený obrázek) */
@media (min-width: 1025px) {
	.home .mb-hero::after {
		width: min(560px, 42vw);
		height: min(470px, 36vw);
		right: max(1rem, calc((100vw - var(--mb-container)) / 2 - 1rem));
		transform: translateY(-50%);
		filter: none;
	}
}

/* Obrázek kategorie v hlavičce výpisu */
@media (min-width: 1025px) {
	.mb-has-cat-art .product-archive-hero-section .entry-hero-container-inner .entry-header {
		position: relative;
		text-align: left;
		padding-right: 380px;
		min-height: 340px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.mb-has-cat-art .product-archive-hero-section .entry-hero-container-inner .archive-description {
		margin-left: 0;
	}
	.mb-has-cat-art .product-archive-hero-section .entry-hero-container-inner .entry-header::after {
		content: "";
		position: absolute;
		right: 0;
		top: 50%;
		width: 320px;
		height: 320px;
		transform: translateY(-50%);
		border-radius: 24px;
		background: var(--mb-cat-art) center / cover no-repeat;
		box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
	}
}

/* Obrázkové dlaždice kategorií */
.mb-cat-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

@media (max-width: 900px) {
	.mb-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem; }
}

.mb-cat-card a {
	display: block;
	border-radius: 18px;
	overflow: hidden;
	background: var(--mb-color-ink-900, #121821);
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(18, 24, 33, 0.12);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mb-cat-card a:hover,
.mb-cat-card a:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(18, 24, 33, 0.22);
}

.mb-cat-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.mb-cat-card__name {
	display: block;
	padding: 0.75rem 1rem 0.9rem;
	color: #FFFFFF;
	font-weight: 700;
}

/* Podkategorie ve výpisu (WooCommerce) */
.woocommerce ul.products li.product-category a img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 18px;
}

@media (min-width: 1025px) {
	.mb-has-cat-art .product-archive-hero-section .entry-hero-container-inner :is(h1, .page-title, .archive-title) {
		text-align: left;
		width: 100%;
	}
}

.mb-section ul.mb-cat-grid,
.entry-content ul.mb-cat-grid {
	margin: 0;
	padding: 0;
}

/* ==========================================================================
   Připravujeme, rozcestník podkategorií, filtry
   ========================================================================== */

.mb-subcats {
	margin: 0 0 2rem;
}

.mb-subcats .mb-cat-grid {
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 1rem;
}

.mb-subcats .mb-cat-card__name {
	font-size: 0.9375rem;
	padding: 0.6rem 0.85rem 0.75rem;
}

.mb-filters {
	margin: 0 0 1.75rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--mb-color-border, #E3E6EA);
	border-radius: 16px;
	background: #FFFFFF;
}

.mb-filters > summary {
	cursor: pointer;
	font-weight: 800;
	list-style: none;
}

.mb-filters > summary::-webkit-details-marker { display: none; }

.mb-filters > summary::after {
	content: " ▾";
	color: var(--mb-color-text-subtle, #5A6270);
}

.mb-filters[open] > summary { margin-bottom: 0.75rem; }

.mb-filter-row {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 0.75rem;
	align-items: start;
	padding: 0.5rem 0;
	border-top: 1px solid #EEF0F3;
}

.mb-filter-row:first-of-type { border-top: 0; }

.mb-filter-label {
	padding-top: 0.35rem;
	color: var(--mb-color-text-subtle, #5A6270);
	font-size: 0.875rem;
	font-weight: 700;
}

.mb-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.mb-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.75rem;
	border: 1px solid #D9DDE2;
	border-radius: 999px;
	background: #F8F9FA;
	color: var(--mb-color-text, #14181F);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s;
}

.mb-chip:hover { border-color: var(--mb-color-primary, #D62839); }

.mb-chip.is-active {
	border-color: var(--mb-color-primary, #D62839);
	background: var(--mb-color-primary, #D62839);
	color: #FFFFFF;
}

.mb-chip__count {
	font-size: 0.75rem;
	opacity: 0.65;
}

.mb-filter-reset {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
}

@media (max-width: 640px) {
	.mb-filter-row { grid-template-columns: 1fr; gap: 0.35rem; }
	.mb-filter-label { padding-top: 0; }
}

/* =========================================================================
   0.2.0 – vertikální rytmus (bloky se nelepí) + témata
   ========================================================================= */

/* Textový obsah: kategorie, témata, popis produktu, „více o kategorii“ */
:is(.mb-cat-content__body, .mb-cat-more, .woocommerce-tabs .panel, .term-description) > * {
	margin-top: 0;
	margin-bottom: 1rem;
}

:is(.mb-cat-content__body, .mb-cat-more, .woocommerce-tabs .panel, .term-description) > :is(h2, h3, h4) {
	margin-bottom: 0.6rem;
}

:is(.mb-cat-content__body, .mb-cat-more, .woocommerce-tabs .panel) > h2:not(:first-child) { margin-top: 2.5rem; }
:is(.mb-cat-content__body, .mb-cat-more, .woocommerce-tabs .panel) > h3:not(:first-child) { margin-top: 1.75rem; }
:is(.mb-cat-content__body, .mb-cat-more, .woocommerce-tabs .panel) > h2 + h3 { margin-top: 1rem; }
:is(.mb-cat-content__body, .mb-cat-more, .woocommerce-tabs .panel) > :last-child { margin-bottom: 0; }

:is(.mb-cat-content__body, .mb-cat-more, .woocommerce-tabs .panel) :is(ul, ol) {
	padding-left: 1.25rem;
}

:is(.mb-cat-content__body, .mb-cat-more, .woocommerce-tabs .panel) li + li { margin-top: 0.35rem; }

/* SEO text pod výpisem jako čitelná karta, oddělená od produktů */
.site-main .mb-cat-content.entry-content {
	margin-top: 3rem;
}

.site-main .mb-cat-more + .mb-cat-content.entry-content {
	margin-top: 2.5rem;
}

.mb-cat-content__body {
	max-width: 820px;
	margin: 0 auto;
	padding: 2rem 2.25rem;
	border: 1px solid var(--mb-color-border, #E3E6EA);
	border-radius: 20px;
	background: #FFFFFF;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.mb-cat-content__faq {
	max-width: 820px;
	margin: 2.5rem auto 0;
}

.mb-cat-content__faq > h2 { margin: 0 0 1rem; }

.mb-cat-content__disclaimer {
	max-width: 820px;
	margin: 1.5rem auto 0;
	color: var(--mb-color-text-subtle, #5A6270);
}

.site-main .mb-cat-more {
	max-width: 820px;
	margin-top: 3rem;
	padding: 0 2.25rem;
}

@media (max-width: 640px) {
	.site-main .mb-cat-more { padding: 0 0.25rem; margin-top: 2rem; }
	.site-main .mb-cat-content.entry-content { margin-top: 2rem; }
}

/* Výpis: odstupy mezi rozcestníkem, tématy, filtry a mřížkou */
.mb-subcats,
.mb-archive-themes,
.mb-filters {
	margin-bottom: 1.5rem;
}

.woocommerce-result-count,
.woocommerce-ordering {
	margin-bottom: 1.25rem !important;
}

.woocommerce .woocommerce-pagination { margin-top: 2.5rem; }

/* Karta produktu: štítky parametrů nejsou nalepené na obrázek */
.woocommerce ul.products li.product .mb-badges--loop {
	margin: 0.75rem 0 0.25rem;
	padding: 0 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin-top: 0.5rem;
}

.woocommerce ul.products li.product .price{
	margin-bottom: 0.25rem;
}

/* Detail produktu */
.single-product .product_meta {
	display: grid;
	gap: 0.35rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #EEF0F3;
	font-size: 0.875rem;
	line-height: 1.5;
}

.single-product .woocommerce-tabs { margin-top: 3rem; }
.woocommerce div.product .woocommerce-tabs .panel { padding: 1.75rem 2rem; }
.single-product :is(.related, .upsells).products { margin-top: 3.5rem; }

/* Témata – žánry a kolekce */
.mb-themes {
	display: grid;
	gap: 1rem;
}

.mb-archive-themes .mb-themes {
	padding: 1rem 1.25rem;
	border: 1px solid var(--mb-color-border, #E3E6EA);
	border-radius: 16px;
	background: #FFFFFF;
}

.mb-themes__title {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--mb-color-text-subtle, #5A6270);
}

.mb-themes__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.mb-chip--theme {
	padding: 0.45rem 0.9rem;
	background: #FFFFFF;
}

.mb-section .mb-themes .mb-chip--theme {
	padding: 0.6rem 1.1rem;
	font-size: 0.9375rem;
}

.mb-section--themes .mb-themes {
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.mb-theme-grid {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 1rem;
}

.mb-theme-grid .mb-cat-card__name {
	font-size: 0.9375rem;
	padding: 0.6rem 0.85rem 0.75rem;
}

.mb-section--themes .mb-themes__group {
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--mb-color-border, #E3E6EA);
	border-radius: 20px;
	background: #FFFFFF;
}

@media (max-width: 860px) {
	.mb-section--themes .mb-themes { grid-template-columns: 1fr; }
}

/* Mobil: témata ve výpisu jako vodorovně posuvné řádky, aby neodsunula produkty */
@media (max-width: 640px) {
	.mb-archive-themes .mb-themes { padding: 0.75rem 0.75rem 0.5rem; gap: 0.5rem; }
	.mb-archive-themes .mb-themes__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 0.4rem;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}
	.mb-archive-themes .mb-chip--theme { flex: 0 0 auto; white-space: nowrap; }
	.mb-filters .mb-filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.3rem; }
	.mb-filters .mb-chip { flex: 0 0 auto; white-space: nowrap; }
}

/* Stránky (návody, obchodní podmínky…) – čitelná šířka a rytmus */
.page .entry-content > :is(h2, h3) { margin-bottom: 0.75rem; }
.page .entry-content > h2:not(:first-child) { margin-top: 2.25rem; }

@media (max-width: 640px) {
	.mb-cat-content__body { padding: 1.25rem 1.1rem; font-size: 1rem; }
	.woocommerce div.product .woocommerce-tabs .panel { padding: 1.25rem 1rem; }
}

/* ==========================================================================
   14. MOBIL 0.3.0 – hlavička, šuplíkové menu, spodní lišta, výpisy, detail, patička
   Benchmark: Alza, Notino, Eneba, Instant Gaming
   – navigace pro palec dole, vyhledávání vždy po ruce, účet a košík v hlavičce i v menu,
     2 sloupce produktů, vodorovné „karusely“ podkategorií, zkrácené úvody.
   ========================================================================== */
:root {
	--mb-icon-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E");
	--mb-icon-gift: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E");
	--mb-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
	--mb-icon-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--mb-icon-sliders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h9M17 6h3M4 12h3M11 12h9M4 18h11M19 18h1'/%3E%3Ccircle cx='15' cy='6' r='2'/%3E%3Ccircle cx='9' cy='12' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");
	--mb-bnav-h: 62px;
	--mb-edge: var(--global-content-edge-padding, 1rem);
}

/* Výchozí stav mimo mobil */
.mb-bnav,
.mb-buybar,
.mb-hdr-account {
	display: none;
}

.mb-i {
	width: 24px;
	height: 24px;
	flex: none;
}

/* Přepínač WPML v patičce nahrazuje vlastní přepínač trhů (bez nefunkčních domén) */
.wpml-ls-statics-footer {
	display: none !important;
}

/* --- Přepínač země a měny (šuplík + patička) --- */
.mb-mkt ul {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-mkt li {
	margin: 0;
}

.mb-mkt a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	color: var(--mb-color-ink-200);
	font-size: 0.875rem;
	font-weight: var(--mb-fw-bold);
	text-decoration: none;
	transition: background-color var(--mb-dur) var(--mb-ease), border-color var(--mb-dur) var(--mb-ease);
}

.mb-mkt a:hover {
	border-color: rgba(255, 255, 255, 0.32);
	color: #FFFFFF;
	text-decoration: none;
}

.mb-mkt a[aria-current="true"] {
	border-color: #FFFFFF;
	background: #FFFFFF;
	color: var(--mb-color-ink-900);
}

.mb-mkt svg {
	width: 20px;
	height: 14px;
	flex: none;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.mb-mkt a[aria-current="true"] svg {
	box-shadow: 0 0 0 1px rgba(18, 24, 33, 0.15);
}

.mb-mkt__cur {
	font-size: 0.75rem;
	font-weight: var(--mb-fw-semibold);
	opacity: 0.7;
}

.site-footer .mb-mkt--footer {
	display: flex;
	justify-content: center;
	margin-top: 0.875rem;
}

.site-footer .mb-mkt--footer ul {
	grid-auto-columns: auto;
}

.site-footer .mb-mkt--footer a {
	min-height: 36px;
	padding: 0 14px;
}

.site-footer .mb-mkt--footer li {
	margin: 0;
}

/* 0.6.0: více trhů – pilulky se zalamují (šuplík po třech, patička podle šířky) */
.mb-mkt ul {
	display: flex;
	flex-wrap: wrap;
}

.mb-mkt li {
	flex: 1 1 calc(33.333% - 8px);
	min-width: 0;
}

.site-footer .mb-mkt--footer ul {
	justify-content: center;
}

.site-footer .mb-mkt--footer li {
	flex: 0 0 auto;
}

/* --- Ikony kategorií v menu (třídy přidává filtr nav_menu_css_class) --- */
.mb-ico--gamepad { --mb-ico: var(--mb-icon-gamepad); }
.mb-ico--bolt    { --mb-ico: var(--mb-icon-bolt); }
.mb-ico--repeat  { --mb-ico: var(--mb-icon-repeat); }
.mb-ico--gift    { --mb-ico: var(--mb-icon-gift); }
.mb-ico--key     { --mb-ico: var(--mb-icon-key); }
.mb-ico--monitor { --mb-ico: var(--mb-icon-monitor); }
.mb-ico--book    { --mb-ico: var(--mb-icon-book); }
.mb-ico--tag     { --mb-ico: var(--mb-icon-tag); }

/* --- Prázdný košík --- */
.mb-empty-cart {
	max-width: 560px;
	margin: 0 auto;
	padding: clamp(1.75rem, 1rem + 3vw, 2.75rem) clamp(1.25rem, 1rem + 2vw, 2.5rem);
	border: 1px solid var(--mb-color-border);
	border-radius: 24px;
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-sm);
	text-align: center;
}

.mb-empty-cart__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	margin-bottom: 1rem;
	border-radius: 22px;
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary);
}

.mb-empty-cart__icon .mb-i {
	width: 32px;
	height: 32px;
}

.mb-empty-cart .mb-empty-cart__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

.mb-empty-cart .mb-empty-cart__text {
	max-width: 44ch;
	margin: 0 auto;
	color: var(--mb-color-text-muted);
}

.mb-empty-cart .mb-empty-cart__label {
	margin: 1.5rem 0 0.625rem;
	color: var(--mb-color-text-subtle);
	font-size: 0.75rem;
	font-weight: var(--mb-fw-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mb-chips.mb-chips--light {
	justify-content: center;
	margin: 0;
}

.mb-chips.mb-chips--light a {
	background: var(--mb-color-surface-2);
	box-shadow: inset 0 0 0 1px var(--mb-color-border);
	color: var(--mb-color-text);
}

.mb-chips.mb-chips--light a:hover {
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
}

.woocommerce-cart .return-to-shop {
	margin-top: 1.25rem;
	text-align: center;
}

/* ==========================================================================
   14a. TABLET + MOBIL (≤ 1024 px) – Kadence zde zobrazuje mobilní hlavičku
   ========================================================================== */
@media (max-width: 1024px) {
	/* Lepicí hlavička; při posunu dolů se schová řádek s logem, vyhledávání zůstane */
	#masthead {
		position: sticky;
		top: 0;
		z-index: 990;
		transition: transform 0.28s var(--mb-ease);
	}

	body.mb-hdr-hidden #masthead {
		transform: translateY(calc(-1 * var(--mb-hdr-shift, 60px)));
	}

	#mobile-header .site-main-header-wrap .site-header-row-container-inner,
	#mobile-header .site-bottom-header-wrap .site-header-row-container-inner {
		background: var(--mb-color-ink-900);
	}

	#mobile-header .site-main-header-inner-wrap {
		min-height: 58px;
		column-gap: 4px;
	}

	#mobile-header .site-header-main-section-left,
	#mobile-header .site-header-main-section-right {
		gap: 2px;
	}

	/* Hamburger, účet a košík: jednotná 44px dotyková plocha */
	#mobile-header .mobile-toggle-open-container .menu-toggle-open,
	#mobile-header .mb-hdr-account,
	#mobile-header .header-mobile-cart-wrap .header-cart-button {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 12px;
		background: transparent;
		color: #FFFFFF;
		box-shadow: none;
		transition: background-color var(--mb-dur) var(--mb-ease);
	}

	#mobile-header .mobile-toggle-open-container .menu-toggle-open {
		margin-left: -10px;
	}

	#mobile-header .mobile-toggle-open-container .menu-toggle-open:hover,
	#mobile-header .mobile-toggle-open-container .menu-toggle-open:active,
	#mobile-header .mb-hdr-account:hover,
	#mobile-header .mb-hdr-account:active,
	#mobile-header .header-mobile-cart-wrap .header-cart-button:hover,
	#mobile-header .header-mobile-cart-wrap .header-cart-button:active {
		background: rgba(255, 255, 255, 0.1);
		color: #FFFFFF;
	}

	#mobile-header .mobile-toggle-open-container .menu-toggle-open .menu-toggle-icon {
		display: inline-flex;
	}

	#mobile-header .mobile-toggle-open-container .menu-toggle-open svg {
		width: 24px;
		height: 24px;
	}

	#mobile-header .header-mobile-cart-wrap .header-cart-inner-wrap {
		display: flex;
		align-items: center;
		gap: 2px;
	}

	#mobile-header .mb-hdr-account {
		display: inline-flex;
		text-decoration: none;
	}

	#mobile-header .mb-hdr-account.is-in::after {
		content: "";
		position: absolute;
		right: 9px;
		bottom: 10px;
		width: 9px;
		height: 9px;
		border: 2px solid var(--mb-color-ink-900);
		border-radius: 50%;
		background: var(--mb-color-primary);
	}

	#mobile-header .header-mobile-cart-wrap .header-cart-button .kadence-svg-iconset svg,
	#mobile-header .header-mobile-cart-wrap .header-cart-button svg {
		width: 24px;
		height: 24px;
	}

	#mobile-header .header-mobile-cart-wrap .header-cart-button .header-cart-total.header-cart-is-empty-true,
	#mobile-header .header-mobile-cart-wrap .header-cart-is-empty-true .header-cart-button .header-cart-total {
		display: none;
	}

	/* Počet kusů jako odznak v rohu ikony košíku */
	#mobile-header .header-mobile-cart-wrap .header-cart-button .header-cart-total {
		position: absolute;
		top: 3px;
		right: 1px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 18px;
		height: 18px;
		margin: 0;
		padding: 0 5px;
		border: 2px solid var(--mb-color-ink-900);
		border-radius: 999px;
		background: var(--mb-color-primary);
		color: #FFFFFF;
		font-size: 0.6875rem;
		font-weight: var(--mb-fw-black);
		line-height: 1;
		box-sizing: content-box;
	}

	/* Vyhledávání přes celou šířku pod logem */
	#mobile-header .site-bottom-header-wrap .site-header-row-container-inner {
		padding-bottom: 10px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	}

	#mobile-header .site-bottom-header-inner-wrap {
		display: flex;
		min-height: 0;
	}

	#mobile-header .site-bottom-header-inner-wrap .site-header-section,
	#mobile-header .site-bottom-header-inner-wrap .site-header-item,
	#mobile-header .mobile-html,
	#mobile-header .mobile-html-inner {
		flex: 1 1 auto;
		width: 100%;
		max-width: none;
		margin: 0;
	}

	#mobile-header .mb-search {
		max-width: none;
	}

	#mobile-header .mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
	#mobile-header .mb-search .mb-search__input {
		height: 44px;
		border-radius: 12px;
		font-size: 16px; /* < 16 px = iOS při zaostření zoomuje */
		box-shadow: none;
	}

	#mobile-header .mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
		border-radius: 9px;
	}

	/* WP admin lišta (jen pro přihlášené správce) */
	body.admin-bar #masthead {
		top: 0;
	}

	/* --- Šuplíkové menu --- */
	#mobile-drawer .drawer-overlay {
		background: rgba(12, 16, 22, 0.62);
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
	}

	#mobile-drawer .drawer-inner {
		width: min(88vw, 400px);
		max-width: none;
		background: var(--mb-color-ink-900);
		box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
	}

	#mobile-drawer .drawer-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 0;
		padding: 12px 14px 4px 18px;
	}

	#mobile-drawer .drawer-header::before {
		content: "Magnet Bear";
		padding-left: 40px;
		background: var(--mb-mark) left center / 30px 30px no-repeat;
		color: #FFFFFF;
		font-size: 1.125rem;
		font-weight: var(--mb-fw-black);
		letter-spacing: -0.01em;
		line-height: 32px;
	}

	#mobile-drawer .drawer-header .drawer-toggle {
		width: 42px;
		height: 42px;
		padding: 0;
		border: 0;
		border-radius: 12px;
		background: rgba(255, 255, 255, 0.08);
		color: #FFFFFF;
		font-size: 22px;
		box-shadow: none;
	}

	#mobile-drawer .drawer-header .drawer-toggle:hover {
		background: rgba(255, 255, 255, 0.14);
	}

	#mobile-drawer .drawer-header .drawer-toggle:focus:not(:focus-visible) {
		outline: none;
	}

	#mobile-drawer .drawer-content {
		padding: 8px 18px calc(28px + env(safe-area-inset-bottom));
	}

	/* Karta účtu */
	.mb-dacc {
		margin: 4px 0 10px;
		padding: 14px;
		border: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 18px;
		background:
			radial-gradient(240px 120px at 100% 0%, rgba(214, 40, 57, 0.35), transparent 70%),
			var(--mb-color-ink-800);
	}

	.mb-dacc__head {
		display: flex;
		align-items: center;
		gap: 12px;
		color: #FFFFFF;
		text-decoration: none;
	}

	a.mb-dacc__head:hover {
		color: #FFFFFF;
		text-decoration: none;
	}

	.mb-dacc__head > .mb-i--chevron {
		width: 20px;
		height: 20px;
		margin-left: auto;
		color: var(--mb-color-ink-400);
	}

	.mb-dacc__avatar {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		flex: none;
		border-radius: 50%;
		background: var(--mb-color-primary);
		color: #FFFFFF;
		font-size: 1.125rem;
		font-weight: var(--mb-fw-black);
	}

	.mb-dacc__avatar .mb-i {
		width: 22px;
		height: 22px;
	}

	.mb-dacc__txt {
		display: grid;
		gap: 2px;
		min-width: 0;
	}

	.mb-dacc__txt strong {
		color: #FFFFFF;
		font-size: 1rem;
		line-height: 1.25;
	}

	.mb-dacc__txt span {
		color: var(--mb-color-ink-300);
		font-size: 0.8125rem;
		line-height: 1.4;
	}

	.mb-dacc__actions {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		gap: 8px;
		margin-top: 12px;
	}

	.mb-dbtn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		padding: 0 14px;
		border: 1px solid rgba(255, 255, 255, 0.22);
		border-radius: 12px;
		color: #FFFFFF;
		font-size: 0.9375rem;
		font-weight: var(--mb-fw-bold);
		text-decoration: none;
	}

	.mb-dbtn:hover {
		border-color: rgba(255, 255, 255, 0.4);
		color: #FFFFFF;
		text-decoration: none;
	}

	.mb-dbtn--primary {
		border-color: var(--mb-color-primary);
		background: var(--mb-color-primary);
	}

	.mb-dbtn--primary:hover {
		border-color: var(--mb-color-primary-hover);
		background: var(--mb-color-primary-hover);
	}

	ul.mb-dacc__links {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		margin: 12px 0 0;
		padding: 0;
		list-style: none;
	}

	.mb-dacc__links li {
		margin: 0;
	}

	.mb-dacc__links a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		padding: 10px 4px;
		border-radius: 12px;
		background: rgba(255, 255, 255, 0.05);
		color: var(--mb-color-ink-200);
		font-size: 0.75rem;
		font-weight: var(--mb-fw-semibold);
		text-align: center;
		text-decoration: none;
	}

	.mb-dacc__links a:hover {
		background: rgba(255, 255, 255, 0.1);
		color: #FFFFFF;
	}

	.mb-dacc__links .mb-i {
		width: 20px;
		height: 20px;
	}

	/* Rychlé dlaždice: košík, návody */
	.mb-dquick {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		gap: 8px;
	}

	.mb-dquick__item {
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 48px;
		padding: 0 12px;
		border-radius: 14px;
		background: rgba(255, 255, 255, 0.05);
		color: #FFFFFF;
		font-size: 0.9375rem;
		font-weight: var(--mb-fw-semibold);
		text-decoration: none;
	}

	.mb-dquick__item:hover {
		background: rgba(255, 255, 255, 0.1);
		color: #FFFFFF;
		text-decoration: none;
	}

	.mb-dquick__item .mb-i {
		width: 22px;
		height: 22px;
		color: var(--mb-color-primary-300);
	}

	.mb-dquick__count {
		min-width: 20px;
		height: 20px;
		margin-left: auto;
		padding: 0 6px;
		border-radius: 999px;
		background: var(--mb-color-primary);
		color: #FFFFFF;
		font-size: 0.75rem;
		font-weight: var(--mb-fw-black);
		line-height: 20px;
		text-align: center;
	}

	.mb-dquick__count[data-count="0"] {
		display: none;
	}

	/* Popisky sekcí */
	.mb-dlabel {
		margin: 22px 0 4px;
		color: var(--mb-color-ink-400);
		font-size: 0.6875rem;
		font-weight: var(--mb-fw-bold);
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}

	/* Kategorie (menu Kadence) */
	#mobile-drawer .mobile-navigation ul#mobile-menu > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}

	#mobile-drawer .mobile-navigation ul#mobile-menu > li:last-child {
		border-bottom: 0;
	}

	#mobile-drawer .mobile-navigation ul#mobile-menu > li > a,
	#mobile-drawer .mobile-navigation ul#mobile-menu > li > .drawer-nav-drop-wrap > a {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 13px 4px;
		border: 0;
		color: #FFFFFF;
		font-size: 1rem;
		font-weight: var(--mb-fw-bold);
	}

	#mobile-drawer .mobile-navigation ul#mobile-menu > li > .drawer-nav-drop-wrap {
		border: 0;
	}

	#mobile-drawer .mobile-navigation ul#mobile-menu > li.mb-ico > a::before,
	#mobile-drawer .mobile-navigation ul#mobile-menu > li.mb-ico > .drawer-nav-drop-wrap > a::before {
		content: "";
		width: 22px;
		height: 22px;
		flex: none;
		background-color: var(--mb-color-primary-300);
		-webkit-mask: var(--mb-ico) center / contain no-repeat;
		mask: var(--mb-ico) center / contain no-repeat;
	}

	#mobile-drawer .mobile-navigation .drawer-sub-toggle {
		width: 48px;
		min-height: 48px;
		border: 0;
		border-left: 0;
		border-radius: 12px;
		color: var(--mb-color-ink-300);
	}

	#mobile-drawer .mobile-navigation .drawer-sub-toggle[aria-expanded="true"] {
		color: #FFFFFF;
	}

	#mobile-drawer .mobile-navigation ul#mobile-menu ul.sub-menu {
		margin: 0 0 12px;
		padding: 4px;
		border-radius: 14px;
		background: rgba(255, 255, 255, 0.04);
	}

	#mobile-drawer .mobile-navigation ul#mobile-menu ul.sub-menu li {
		border: 0;
	}

	#mobile-drawer .mobile-navigation ul#mobile-menu ul.sub-menu li > a {
		padding: 10px 12px;
		border: 0;
		border-radius: 10px;
		color: var(--mb-color-ink-200);
		font-size: 0.9375rem;
		font-weight: var(--mb-fw-medium);
	}

	#mobile-drawer .mobile-navigation ul#mobile-menu ul.sub-menu li > a:hover,
	#mobile-drawer .mobile-navigation ul#mobile-menu ul.sub-menu li.current-menu-item > a {
		background: rgba(255, 255, 255, 0.07);
		color: #FFFFFF;
	}

	/* Pomoc a informace */
	ul.mb-dlinks {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.mb-dlinks li {
		margin: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}

	.mb-dlinks li:last-child {
		border-bottom: 0;
	}

	.mb-dlinks a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 46px;
		padding: 0 4px;
		color: var(--mb-color-ink-200);
		font-size: 0.9375rem;
		font-weight: var(--mb-fw-medium);
		text-decoration: none;
	}

	.mb-dlinks a:hover {
		color: #FFFFFF;
		text-decoration: none;
	}

	.mb-dlinks .mb-i {
		width: 18px;
		height: 18px;
		color: var(--mb-color-ink-400);
	}

	.mb-mkt--drawer {
		margin-top: 8px;
	}

	.mb-dtrust {
		display: flex;
		align-items: flex-start;
		gap: 10px;
		margin: 22px 0 0;
		padding: 12px 14px;
		border-radius: 14px;
		background: rgba(214, 40, 57, 0.08);
		color: var(--mb-color-ink-200);
		font-size: 0.8125rem;
		line-height: 1.45;
	}

	.mb-dtrust .mb-i {
		width: 18px;
		height: 18px;
		margin-top: 1px;
		color: var(--mb-color-signal);
	}

	/* --- Spodní navigační lišta --- */
	body.mb-has-bnav {
		padding-bottom: calc(var(--mb-bnav-h) + env(safe-area-inset-bottom));
	}

	.mb-bnav {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 980;
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		height: calc(var(--mb-bnav-h) + env(safe-area-inset-bottom));
		padding: 4px 6px env(safe-area-inset-bottom);
		border-top: 1px solid var(--mb-color-border);
		background: rgba(255, 255, 255, 0.94);
		-webkit-backdrop-filter: saturate(180%) blur(14px);
		backdrop-filter: saturate(180%) blur(14px);
		box-shadow: 0 -8px 24px rgba(18, 24, 33, 0.06);
	}

	.mb-bnav__item {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-width: 0;
		margin: 0;
		padding: 4px 2px;
		border: 0;
		border-radius: 14px;
		background: transparent;
		color: var(--mb-color-text-subtle);
		font: inherit;
		font-size: 0.6875rem;
		font-weight: var(--mb-fw-semibold);
		line-height: 1.1;
		letter-spacing: 0;
		text-decoration: none;
		box-shadow: none;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.mb-bnav__item > span:last-child {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.mb-bnav__item:hover,
	.mb-bnav__item:focus {
		background: transparent;
		color: var(--mb-color-text);
		text-decoration: none;
	}

	.mb-bnav__item:active .mb-i {
		transform: scale(0.92);
	}

	.mb-bnav__item.is-active {
		color: var(--mb-color-primary);
	}

	.mb-bnav__item.is-active::before {
		content: "";
		position: absolute;
		top: -5px;
		left: 50%;
		width: 28px;
		height: 3px;
		border-radius: 0 0 3px 3px;
		background: var(--mb-color-primary);
		transform: translateX(-50%);
	}

	.mb-bnav__item .mb-i {
		width: 24px;
		height: 24px;
		transition: transform var(--mb-dur) var(--mb-ease);
	}

	.mb-bnav__icon {
		position: relative;
		display: inline-flex;
	}

	.mb-bnav__count {
		position: absolute;
		top: -6px;
		left: 14px;
		min-width: 18px;
		height: 18px;
		padding: 0 5px;
		border: 2px solid #FFFFFF;
		border-radius: 999px;
		background: var(--mb-color-sale);
		color: #FFFFFF;
		font-size: 0.6875rem;
		font-weight: var(--mb-fw-black);
		line-height: 14px;
		text-align: center;
		box-sizing: border-box;
	}

	.mb-bnav__count[data-count="0"] {
		display: none;
	}

	.mb-bnav__dot {
		position: absolute;
		right: -2px;
		bottom: 0;
		width: 9px;
		height: 9px;
		border: 2px solid #FFFFFF;
		border-radius: 50%;
		background: var(--mb-color-success);
	}

	/* --- Lepicí „Do košíku“ na detailu produktu --- */
	body.mb-has-buybar {
		padding-bottom: calc(76px + env(safe-area-inset-bottom));
	}

	.mb-buybar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 980;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--mb-color-border);
		background: rgba(255, 255, 255, 0.96);
		-webkit-backdrop-filter: saturate(180%) blur(14px);
		backdrop-filter: saturate(180%) blur(14px);
		box-shadow: 0 -8px 24px rgba(18, 24, 33, 0.08);
		transform: translateY(110%);
		transition: transform 0.25s var(--mb-ease);
	}

	.mb-buybar.is-visible {
		transform: none;
	}

	.mb-buybar__info {
		display: grid;
		min-width: 0;
		flex: 1 1 auto;
	}

	.mb-buybar__name {
		overflow: hidden;
		color: var(--mb-color-text-muted);
		font-size: 0.75rem;
		font-weight: var(--mb-fw-semibold);
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.mb-buybar__price {
		color: var(--mb-color-text);
		font-size: 1.125rem;
		font-weight: var(--mb-fw-black);
		line-height: 1.2;
	}

	.mb-buybar__price del {
		color: var(--mb-color-text-subtle);
		font-size: 0.8125rem;
		font-weight: var(--mb-fw-medium);
	}

	.mb-buybar__price ins {
		text-decoration: none;
	}

	.mb-buybar .mb-buybar__btn {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 48px;
		padding: 0 18px;
		border-radius: 14px;
		font-weight: var(--mb-fw-bold);
		white-space: nowrap;
	}

	.mb-buybar__btn .mb-i {
		width: 20px;
		height: 20px;
	}

	/* Plovoucí prvky nesmí překrýt spodní lištu */
	body:is(.mb-has-bnav, .mb-has-buybar) #kt-scroll-up,
	body:is(.mb-has-bnav, .mb-has-buybar) #kt-scroll-up-reader {
		bottom: calc(var(--mb-bnav-h) + 18px + env(safe-area-inset-bottom));
	}

	body:is(.mb-has-bnav, .mb-has-buybar) #cmplz-manage-consent .cmplz-manage-consent {
		bottom: calc(var(--mb-bnav-h) + env(safe-area-inset-bottom)) !important;
	}

	/* Domovská stránka: hero bez druhého vyhledávání (to je v hlavičce) */
	.home .mb-hero .mb-search {
		display: none;
	}
}

@media (min-width: 601px) and (max-width: 782px) {
	body.admin-bar #masthead { top: 46px; }
}

@media (min-width: 783px) and (max-width: 1024px) {
	body.admin-bar #masthead { top: 32px; }
}

/* ==========================================================================
   14b. TELEFON (≤ 767 px)
   ========================================================================== */
@media (max-width: 767px) {
	/* --- Hero úvodní stránky: kompaktnější, čipy v jednom posuvném řádku --- */
	.home .mb-hero {
		padding-block: 1.75rem 1.5rem;
	}

	.home .mb-hero .mb-hero__title,
	.home .mb-hero h1 {
		font-size: clamp(1.75rem, 1.3rem + 2.4vw, 2.125rem);
		margin-bottom: 0.75rem;
	}

	.home .mb-hero .mb-lead {
		margin-bottom: 1rem;
		font-size: 0.9375rem;
	}

	.mb-hero .mb-chips {
		flex-wrap: nowrap;
		white-space: nowrap;
		margin-right: calc(-1 * var(--mb-gutter));
		padding-right: var(--mb-gutter);
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.mb-hero .mb-chips::-webkit-scrollbar {
		display: none;
	}

	.mb-hero .mb-chips a {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	/* --- Hlavička výpisu kategorie: vlevo, menší H1, úvod na 3 řádky --- */
	.product-archive-hero-section .entry-hero-container-inner .entry-header {
		align-items: flex-start;
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
		text-align: left;
	}

	.product-archive-hero-section .entry-hero-container-inner :is(h1, .page-title, .archive-title) {
		width: 100%;
		margin-bottom: 0.5rem;
		font-size: clamp(1.5rem, 1.2rem + 1.8vw, 1.875rem);
		text-align: left;
	}

	.product-archive-hero-section .entry-hero-container-inner :is(.archive-description, .term-description) {
		display: -webkit-box;
		margin: 0;
		overflow: hidden;
		font-size: 0.9375rem;
		line-height: 1.55;
		text-align: left;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		line-clamp: 3;
	}

	.product-archive-hero-section .entry-hero-container-inner :is(.archive-description, .term-description).is-expanded {
		display: block;
		overflow: visible;
		-webkit-line-clamp: unset;
		line-clamp: unset;
	}

	.product-archive-hero-section .entry-hero-container-inner :is(.archive-description, .term-description) p {
		margin: 0;
	}

	.mb-more-toggle {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		min-height: 32px;
		margin-top: 2px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--mb-color-signal);
		font-size: 0.875rem;
		font-weight: var(--mb-fw-bold);
		box-shadow: none;
	}

	.mb-more-toggle:hover,
	.mb-more-toggle:focus {
		background: none;
		color: #FFFFFF;
	}

	/* Hlavička běžných stránek (Košík, Můj účet…) – bez prázdného prostoru */
	.entry-hero.page-hero-section .entry-header {
		min-height: 0 !important;
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
	}

	.entry-hero.page-hero-section .entry-header :is(h1, .entry-title) {
		font-size: clamp(1.5rem, 1.2rem + 1.8vw, 1.875rem);
	}

	/* --- Podkategorie a témata: vodorovný karusel (produkty zůstanou na očích) --- */
	.mb-subcats {
		margin: 0 calc(-1 * var(--mb-edge)) 1.25rem;
	}

	.mb-subcats .mb-cat-grid,
	.mb-section .mb-cat-grid.mb-theme-grid {
		display: grid;
		grid-auto-columns: 42%;
		grid-auto-flow: column;
		grid-template-columns: none;
		gap: 10px;
		padding: 2px var(--mb-edge) 12px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-padding-inline: var(--mb-edge);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.mb-section .mb-cat-grid.mb-theme-grid {
		margin-inline: calc(-1 * var(--mb-gutter)) !important;
		padding-inline: var(--mb-gutter);
		scroll-padding-inline: var(--mb-gutter);
	}

	.mb-subcats .mb-cat-grid::-webkit-scrollbar,
	.mb-section .mb-cat-grid.mb-theme-grid::-webkit-scrollbar {
		display: none;
	}

	.mb-subcats .mb-cat-card,
	.mb-theme-grid .mb-cat-card {
		scroll-snap-align: start;
	}

	.mb-subcats .mb-cat-card a,
	.mb-theme-grid .mb-cat-card a {
		height: 100%;
		border-radius: 14px;
		box-shadow: 0 6px 16px rgba(18, 24, 33, 0.12);
	}

	.mb-subcats .mb-cat-card__name,
	.mb-theme-grid .mb-cat-card__name {
		padding: 0.5rem 0.625rem 0.625rem;
		font-size: 0.8125rem;
		line-height: 1.25;
	}

	.mb-section .mb-cat-grid:not(.mb-theme-grid) {
		gap: 10px;
	}

	.mb-section .mb-cat-grid:not(.mb-theme-grid) .mb-cat-card a {
		border-radius: 14px;
	}

	.mb-section .mb-cat-grid:not(.mb-theme-grid) .mb-cat-card__name {
		padding: 0.5rem 0.75rem 0.625rem;
		font-size: 0.875rem;
		line-height: 1.25;
	}

	/* --- Lišta výsledků: počet vlevo, řazení vpravo, bez přepínače mřížka/seznam --- */
	.kadence-shop-top-row {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 12px;
	}

	.kadence-shop-top-row .kadence-shop-top-item {
		width: auto;
		flex: 0 1 auto;
		margin: 0;
	}

	/* Žánry na úvodní stránce – kompaktnější čipy */
	.mb-section--themes .mb-themes__group {
		padding: 1rem;
		border-radius: 16px;
	}

	.mb-section .mb-themes .mb-chip--theme {
		padding: 0.45rem 0.8rem;
		font-size: 0.875rem;
	}

	.kadence-shop-top-row .kadence-woo-toggle {
		display: none;
	}

	.kadence-shop-top-row .woocommerce-result-count,
	.kadence-shop-top-row .woocommerce-ordering {
		margin: 0 !important;
	}

	.kadence-shop-top-row .woocommerce-result-count {
		font-size: 0.8125rem;
		white-space: nowrap;
	}

	.kadence-shop-top-row .kadence-woo-ordering {
		min-width: 0;
		margin-left: auto;
	}

	.woocommerce .kadence-shop-top-row .woocommerce-ordering select {
		max-width: 190px;
		min-height: 38px;
		padding: 0 2rem 0 0.75rem;
		border-radius: 10px;
		font-size: 0.875rem;
	}

	/* --- Filtry jako tlačítko „Filtrovat“ --- */
	.mb-filters {
		padding: 0;
		overflow: hidden;
		border-radius: 14px;
	}

	.mb-filters > summary {
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 48px;
		padding: 0 14px;
		font-size: 0.9375rem;
	}

	.mb-filters > summary::before {
		content: "";
		width: 20px;
		height: 20px;
		flex: none;
		background-color: var(--mb-color-primary);
		-webkit-mask: var(--mb-icon-sliders) center / contain no-repeat;
		mask: var(--mb-icon-sliders) center / contain no-repeat;
	}

	.mb-filters > summary::after {
		content: "";
		width: 18px;
		height: 18px;
		margin-left: auto;
		background-color: var(--mb-color-text-subtle);
		-webkit-mask: var(--mb-icon-chevron-down) center / contain no-repeat;
		mask: var(--mb-icon-chevron-down) center / contain no-repeat;
		transition: transform var(--mb-dur) var(--mb-ease);
	}

	.mb-filters[open] > summary {
		margin-bottom: 0;
		border-bottom: 1px solid var(--mb-color-surface-2);
	}

	.mb-filters[open] > summary::after {
		transform: rotate(180deg);
	}

	.mb-filters .mb-filter-row {
		padding: 10px 14px;
	}

	.mb-filters .mb-filter-chips {
		margin-right: -14px;
		padding-right: 14px;
		scrollbar-width: none;
	}

	.mb-filters .mb-filter-reset {
		margin: 0 14px 12px;
	}

	/* --- Detail produktu --- */
	.single-product .product-title.product-above {
		margin-bottom: 0.5rem;
	}

	.single-product .kadence-breadcrumbs {
		margin: 0;
		overflow-x: auto;
		font-size: 0.75rem;
		white-space: nowrap;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
		mask-image: linear-gradient(90deg, #000 88%, transparent);
	}

	.single-product .kadence-breadcrumbs::-webkit-scrollbar {
		display: none;
	}

	.single-product div.product .woocommerce-product-gallery {
		max-width: 320px;
		margin: 0 auto 1rem;
	}

	.single-product div.product .summary.entry-summary {
		padding: 1.125rem;
	}

	.single-product div.product .summary .product_title {
		font-size: clamp(1.375rem, 1.1rem + 1.4vw, 1.75rem);
	}

	.single-product div.product form.cart {
		display: flex;
		gap: 8px;
	}

	.single-product div.product form.cart .single_add_to_cart_button {
		flex: 1 1 auto;
		min-height: 52px;
		border-radius: 14px;
		font-size: 1rem;
	}

	/* Záložky jako jeden vodorovně posuvný řádek */
	.woocommerce div.product .woocommerce-tabs ul.tabs {
		display: flex;
		flex-wrap: nowrap;
		gap: 8px;
		margin: 0 calc(-1 * var(--mb-edge)) 1rem;
		padding: 0 var(--mb-edge) 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
		display: none;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		flex: 0 0 auto;
		margin: 0;
	}

	.single-product .woocommerce-tabs {
		margin-top: 2rem;
	}

	.single-product :is(.related, .upsells).products {
		margin-top: 2.5rem;
	}

	/* --- Patička: značka přes celou šířku, odkazy ve dvou sloupcích --- */
	.site-footer .site-middle-footer-wrap .site-footer-row.site-middle-footer-inner-wrap {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.75rem 1rem;
	}

	.site-footer .site-middle-footer-inner-wrap > .site-footer-middle-section-1 {
		grid-column: 1 / -1;
	}

	.site-footer .site-middle-footer-inner-wrap > .site-footer-section:not(:has(a, img, h2, h3, p:not(:empty))) {
		display: none;
	}

	.site-footer .site-middle-footer-wrap .site-footer-row-container-inner {
		padding-top: 2rem;
		padding-bottom: 1.5rem;
	}

	.site-footer .site-middle-footer-wrap :is(h2, h3, .widget-title) {
		margin-bottom: 0.625rem;
		color: var(--mb-color-ink-400);
		font-size: 0.75rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.site-footer .site-middle-footer-wrap .widget :is(a, li) {
		font-size: 0.9375rem;
	}

	.site-footer .site-middle-footer-wrap li {
		margin-bottom: 0.25rem;
	}

	.site-footer .site-middle-footer-wrap .widget a {
		display: inline-block;
		padding: 0.3rem 0;
	}

	.site-footer .site-middle-footer-wrap .widget p:empty {
		display: none;
	}

	.site-footer .site-bottom-footer-wrap .site-footer-row-container-inner {
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
		font-size: 0.75rem;
		text-align: center;
	}

	/* --- Prázdný košík na telefonu --- */
	.woocommerce-cart .mb-empty-cart {
		border-radius: 20px;
	}
}

/* ==========================================================================
   14c. MALÝ TELEFON (≤ 543 px) – produkty ve 2 sloupcích (Kadence zde dává 1)
   ========================================================================== */
@media (max-width: 543px) {
	.woocommerce ul.products.grid-cols,
	.woocommerce-page ul.products.grid-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 10px;
	}

	.woocommerce ul.products li.product {
		border-radius: 14px;
	}

	.woocommerce ul.products li.product .mb-badges--loop {
		gap: 4px;
		margin: 0.5rem 0 0;
		padding: 0 0.625rem;
	}

	.woocommerce ul.products li.product .mb-badges--loop .mb-badge {
		padding: 0.125rem 0.375rem;
		font-size: 0.6875rem;
	}

	.woocommerce ul.products li.product .product-details {
		padding: 0.25rem 0.625rem 0.75rem;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		display: -webkit-box;
		margin-top: 0.375rem;
		overflow: hidden;
		font-size: 0.8125rem;
		line-height: 1.3;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.woocommerce ul.products li.product .price {
		font-size: 1rem;
	}

	.woocommerce ul.products li.product .product-excerpt {
		display: none;
	}

	.woocommerce ul.products li.product .button {
		width: 100%;
		min-height: 38px;
		padding: 0.375rem 0.5rem;
		font-size: 0.8125rem;
	}

	.mb-subcats .mb-cat-grid,
	.mb-section .mb-cat-grid.mb-theme-grid {
		grid-auto-columns: 40%;
	}
}

/* Desktop: širší vyhledávání v hlavičce, mezera pod nadpisy sloupců patičky */
@media (min-width: 1025px) {
	#main-header .header-html .mb-search {
		width: min(42vw, 540px);
	}
}

.site-footer .site-middle-footer-wrap :is(h2, h3, .widget-title) {
	margin-bottom: 0.75rem;
}

/* ==========================================================================
   15. ROZHRANÍ 0.4.0 – témata na telefonu, lišta Filtrovat/Řazení, vysouvací panely,
       panel vyhledávání, naposledy prohlížené, potvrzení košíku, mikrointerakce
   ========================================================================== */
body.mb-hdr-hidden {
	--mb-hdr-hidden: 1;
}

/* Reset tlačítek Kadence u vlastních komponent */
:is(.mb-sheet, .mb-mtools, .mb-spanel, .mb-recent, .mb-toast) button,
button.mb-share {
	font: inherit;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}

/* --- Témata (žánry, kolekce) ve výpisu na telefonu: řádky čipů přes celou šířku --- */
@media (max-width: 767px) {
	.mb-archive-themes {
		margin: 0 calc(-1 * var(--mb-edge)) 1.25rem;
	}

	.mb-archive-themes .mb-themes {
		display: grid;
		gap: 12px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
	}

	.mb-archive-themes .mb-themes__group {
		min-width: 0;
	}

	.mb-archive-themes .mb-themes__title {
		margin: 0 0 6px;
		padding: 0 var(--mb-edge);
		color: var(--mb-color-text-subtle);
		font-size: 0.6875rem;
		font-weight: var(--mb-fw-black);
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.mb-archive-themes .mb-themes__chips {
		display: flex;
		flex-wrap: nowrap;
		gap: 8px;
		padding: 2px var(--mb-edge) 6px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-padding-inline: var(--mb-edge);
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
	}

	.mb-archive-themes .mb-themes__chips::-webkit-scrollbar {
		display: none;
	}

	.mb-archive-themes .mb-chip--theme {
		flex: 0 0 auto;
		min-height: 38px;
		padding: 0 14px;
		border-color: var(--mb-color-border);
		background: var(--mb-color-surface);
		font-size: 0.875rem;
		white-space: nowrap;
		box-shadow: var(--mb-shadow-sm);
		scroll-snap-align: start;
	}

	.mb-archive-themes .mb-chip--theme.is-active {
		border-color: var(--mb-color-primary);
		background: var(--mb-color-primary);
		color: #FFFFFF;
	}

	/* Lišta Filtrovat / Řazení nahrazuje rozbalovací filtry a výběr řazení */
	body.mb-mtools-on details.mb-filters,
	body.mb-mtools-on .kadence-shop-top-row .kadence-woo-ordering {
		display: none;
	}

	body.mb-mtools-on .kadence-shop-top-row {
		margin-bottom: 10px;
	}
}

.mb-mtools {
	position: sticky;
	top: calc(var(--mb-hdr-h, 106px) - var(--mb-hdr-hidden, 0) * var(--mb-hdr-shift, 58px));
	z-index: 970;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 calc(-1 * var(--mb-edge)) 12px;
	padding: 8px var(--mb-edge);
	background: rgba(244, 246, 251, 0.92);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	backdrop-filter: saturate(180%) blur(10px);
	transition: top 0.28s var(--mb-ease);
}

.mb-mtools[data-count="1"] {
	grid-template-columns: minmax(0, 1fr);
}

.mb-mtools .mb-mtools__btn {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--mb-color-border);
	border-radius: 14px;
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	font-size: 0.9375rem;
	font-weight: var(--mb-fw-bold);
	text-align: left;
	box-shadow: var(--mb-shadow-sm);
}

.mb-mtools .mb-mtools__btn:hover,
.mb-mtools .mb-mtools__btn:focus {
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
}

.mb-mtools .mb-mtools__btn.is-active {
	border-color: var(--mb-color-primary);
	box-shadow: 0 0 0 1px var(--mb-color-primary) inset, var(--mb-shadow-sm);
}

.mb-mtools__btn .mb-i {
	width: 20px;
	height: 20px;
	color: var(--mb-color-primary);
}

.mb-mtools__text {
	display: grid;
	min-width: 0;
	line-height: 1.15;
}

.mb-mtools__btn--sort .mb-mtools__text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mb-mtools__text small {
	color: var(--mb-color-text-subtle);
	font-size: 0.6875rem;
	font-weight: var(--mb-fw-semibold);
}

.mb-mtools__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	margin-left: auto;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--mb-color-primary);
	color: #FFFFFF;
	font-size: 0.75rem;
	font-weight: var(--mb-fw-black);
}

/* --- Vysouvací panel (bottom sheet) --- */
html.mb-sheet-open {
	overflow: hidden;
}

.mb-sheet {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.mb-sheet[hidden] {
	display: none;
}

.mb-sheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 16, 22, 0.55);
	opacity: 0;
	transition: opacity 0.25s var(--mb-ease);
}

.mb-sheet.is-open .mb-sheet__backdrop {
	opacity: 1;
}

.mb-sheet__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 560px;
	max-height: min(86vh, 720px);
	border-radius: 22px 22px 0 0;
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	box-shadow: 0 -20px 60px rgba(12, 16, 22, 0.3);
	transform: translateY(100%);
	transition: transform 0.28s var(--mb-ease);
}

.mb-sheet.is-open .mb-sheet__panel {
	transform: none;
}

.mb-sheet__grab {
	flex: none;
	width: 40px;
	height: 5px;
	margin: 8px auto 2px;
	border-radius: 99px;
	background: var(--mb-color-border);
}

.mb-sheet__head {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 12px 10px 20px;
	border-bottom: 1px solid var(--mb-color-surface-2);
	touch-action: none;
}

.mb-sheet .mb-sheet__title {
	margin: 0;
	font-size: 1.125rem;
	letter-spacing: -0.01em;
}

.mb-sheet .mb-sheet__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--mb-color-surface-2);
	color: var(--mb-color-text);
}

.mb-sheet .mb-sheet__close:hover {
	background: var(--mb-color-border);
	color: var(--mb-color-text);
}

.mb-sheet__close .mb-i {
	width: 20px;
	height: 20px;
}

.mb-sheet__body {
	flex: 1 1 auto;
	padding: 4px 20px 16px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.mb-sheet__foot {
	display: flex;
	flex: none;
	gap: 10px;
	padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--mb-color-surface-2);
}

.mb-sheet__foot:empty {
	display: none;
}

.mb-sheet .mb-sheet__btn {
	flex: 1 1 auto;
	min-height: 50px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 14px;
	font-size: 1rem;
	font-weight: var(--mb-fw-bold);
}

.mb-sheet .mb-sheet__btn--ghost {
	flex: 0 0 auto;
	background: var(--mb-color-surface-2);
	color: var(--mb-color-text);
}

.mb-sheet .mb-sheet__btn--ghost:hover {
	background: var(--mb-color-border);
	color: var(--mb-color-text);
}

.mb-sheet .mb-sheet__btn--primary {
	background: var(--mb-color-primary);
	color: #FFFFFF;
}

.mb-sheet .mb-sheet__btn--primary:hover {
	background: var(--mb-color-primary-hover);
	color: #FFFFFF;
}

.mb-sheet .is-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Filtry v panelu – vícenásobný výběr, pak „Zobrazit výsledky“ */
.mb-fs {
	min-width: 0;
	margin: 0;
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--mb-color-surface-2);
}

.mb-fs:last-child {
	border-bottom: 0;
}

.mb-fs .mb-fs__label {
	margin: 0 0 10px;
	padding: 0;
	color: var(--mb-color-text-subtle);
	font-size: 0.75rem;
	font-weight: var(--mb-fw-black);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mb-fs__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mb-sheet .mb-fchip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 42px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--mb-color-border);
	border-radius: 999px;
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	font-size: 0.9375rem;
	font-weight: var(--mb-fw-semibold);
	transition: background-color var(--mb-dur) var(--mb-ease), border-color var(--mb-dur) var(--mb-ease), transform 0.12s ease;
}

.mb-sheet .mb-fchip:hover {
	border-color: var(--mb-color-primary);
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
}

.mb-fchip small {
	color: var(--mb-color-text-subtle);
	font-size: 0.75rem;
	font-weight: var(--mb-fw-semibold);
}

.mb-fchip .mb-fchip__tick {
	display: none;
	width: 16px;
	height: 16px;
}

.mb-sheet .mb-fchip.is-on,
.mb-sheet .mb-fchip.is-on:hover {
	border-color: var(--mb-color-primary);
	background: var(--mb-color-primary);
	color: #FFFFFF;
}

.mb-fchip.is-on small {
	color: rgba(255, 255, 255, 0.8);
}

.mb-fchip.is-on .mb-fchip__tick {
	display: inline-block;
}

/* Řazení v panelu */
.mb-sopts {
	display: grid;
}

.mb-sheet .mb-sopt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-bottom: 1px solid var(--mb-color-surface-2);
	border-radius: 0;
	background: none;
	color: var(--mb-color-text);
	font-size: 1rem;
	font-weight: var(--mb-fw-semibold);
	text-align: left;
}

.mb-sheet .mb-sopt:last-child {
	border-bottom: 0;
}

.mb-sheet .mb-sopt:hover {
	background: none;
	color: var(--mb-color-primary);
}

.mb-sopt .mb-sopt__tick {
	width: 22px;
	height: 22px;
	color: var(--mb-color-primary);
	opacity: 0;
}

.mb-sheet .mb-sopt.is-on {
	color: var(--mb-color-primary);
	font-weight: var(--mb-fw-bold);
}

.mb-sopt.is-on .mb-sopt__tick {
	opacity: 1;
}

/* --- Panel pod vyhledáváním: oblíbené + naposledy prohlížené --- */
.site-header .mb-search {
	position: relative;
}

.mb-spanel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	z-index: 60;
	max-height: min(70vh, 520px);
	padding: 12px 14px 14px;
	overflow-y: auto;
	border: 1px solid var(--mb-color-border);
	border-radius: 16px;
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	text-align: left;
	box-shadow: var(--mb-shadow-lg);
	animation: mb-pop 0.16s var(--mb-ease);
}

.mb-spanel[hidden] {
	display: none;
}

@keyframes mb-pop {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}

.mb-spanel__label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 2px 0 8px;
	color: var(--mb-color-text-subtle);
	font-size: 0.6875rem;
	font-weight: var(--mb-fw-black);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mb-spanel__label .mb-i {
	width: 15px;
	height: 15px;
	color: var(--mb-color-primary);
}

.mb-spanel__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.mb-spanel__chips a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--mb-color-surface-2);
	color: var(--mb-color-text);
	font-size: 0.875rem;
	font-weight: var(--mb-fw-semibold);
	text-decoration: none;
}

.mb-spanel__chips a:hover {
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
}

ul.mb-spanel__recent {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-spanel__recent li {
	margin: 0;
}

.mb-spanel__recent a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px;
	border-radius: 10px;
	color: var(--mb-color-text);
	font-size: 0.9375rem;
	font-weight: var(--mb-fw-semibold);
	line-height: 1.3;
	text-decoration: none;
}

.mb-spanel__recent a:hover {
	background: var(--mb-color-surface-2);
}

.mb-spanel__img {
	width: 40px;
	height: 40px;
	flex: none;
	overflow: hidden;
	border-radius: 8px;
	background: var(--mb-color-surface-2);
}

.mb-spanel__img img,
.mb-recent__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Naposledy prohlížené (úvodní stránka, prázdný košík) --- */
.mb-recent--home {
	padding-block: 1.5rem 0.25rem;
}

.mb-recent__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.mb-recent .mb-recent__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
}

.mb-recent__title .mb-i {
	width: 22px;
	height: 22px;
	color: var(--mb-color-primary);
}

.mb-recent .mb-recent__clear {
	flex: none;
	white-space: nowrap;
	margin: 0;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--mb-color-text-subtle);
	font-size: 0.8125rem;
	font-weight: var(--mb-fw-bold);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.mb-recent .mb-recent__clear:hover {
	background: none;
	color: var(--mb-color-text);
}

ul.mb-recent__list {
	display: grid;
	grid-auto-columns: minmax(140px, 160px);
	grid-auto-flow: column;
	gap: 12px;
	margin: 0;
	padding: 2px 0 10px;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.mb-recent__list::-webkit-scrollbar {
	display: none;
}

.mb-recent__item {
	margin: 0;
	scroll-snap-align: start;
}

.mb-recent__item a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 8px;
	border: 1px solid var(--mb-color-border);
	border-radius: 16px;
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	text-decoration: none;
	box-shadow: var(--mb-shadow-sm);
	transition: transform 0.15s var(--mb-ease), box-shadow 0.15s var(--mb-ease);
}

.mb-recent__item a:hover {
	transform: translateY(-2px);
	box-shadow: var(--mb-shadow-md);
}

.mb-recent__img {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 10px;
	background: var(--mb-color-surface-2);
}

.mb-recent__name {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.8125rem;
	font-weight: var(--mb-fw-bold);
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.mb-recent__price {
	color: var(--mb-color-text-subtle);
	font-size: 0.75rem;
	font-weight: var(--mb-fw-semibold);
}

.mb-recent-slot.mb-recent {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--mb-color-surface-2);
	text-align: left;
}

.mb-recent-slot .mb-recent__title {
	font-size: 1rem;
}

@media (max-width: 767px) {
	.mb-recent--home ul.mb-recent__list {
		margin-inline: calc(-1 * var(--mb-gutter));
		padding-inline: var(--mb-gutter);
		scroll-padding-inline: var(--mb-gutter);
	}
}

/* --- Potvrzení (toast) a „poskočení“ košíku --- */
.mb-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	z-index: 100001;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100vw - 32px);
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--mb-color-ink-900);
	color: #FFFFFF;
	font-size: 0.9375rem;
	font-weight: var(--mb-fw-semibold);
	box-shadow: var(--mb-shadow-lg);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 16px);
	transition: opacity 0.2s var(--mb-ease), transform 0.25s var(--mb-ease);
}

.mb-toast.is-on {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.mb-toast .mb-i {
	width: 20px;
	height: 20px;
	color: var(--mb-color-signal);
}

.mb-toast a {
	margin-left: 6px;
	color: var(--mb-color-signal);
	font-weight: var(--mb-fw-black);
	white-space: nowrap;
	text-decoration: none;
}

@media (max-width: 1024px) {
	body.mb-has-bnav .mb-toast {
		bottom: calc(var(--mb-bnav-h) + 14px + env(safe-area-inset-bottom));
	}

	body.mb-has-buybar .mb-toast {
		bottom: calc(86px + env(safe-area-inset-bottom));
	}
}

@keyframes mb-bump {
	0% { transform: scale(1); }
	30% { transform: scale(1.28); }
	60% { transform: scale(0.92); }
	100% { transform: scale(1); }
}

.mb-bump {
	animation: mb-bump 0.5s var(--mb-ease);
}

/* --- Sdílení produktu --- */
.single-product div.product .summary.mb-has-share {
	position: relative;
}

.single-product .summary.mb-has-share .product_title {
	padding-right: 48px;
}

button.mb-share {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--mb-color-border);
	border-radius: 12px;
	background: var(--mb-color-surface);
	color: var(--mb-color-text-muted);
}

button.mb-share:hover,
button.mb-share:focus {
	border-color: var(--mb-color-primary);
	background: var(--mb-color-surface);
	color: var(--mb-color-primary);
}

button.mb-share .mb-i {
	width: 20px;
	height: 20px;
}

/* --- Odezva na dotyk: prvky se při stisku jemně „zmáčknou“ --- */
@media (hover: none) {
	.mb-cat-card a,
	.woocommerce ul.products li.product,
	.mb-chip,
	.mb-dquick__item,
	.mb-recent__item a,
	.mb-mtools__btn,
	.mb-tile,
	.mb-dbtn,
	.mb-spanel__chips a {
		transition: transform 0.12s ease;
		-webkit-tap-highlight-color: transparent;
	}

	.mb-cat-card a:active,
	.woocommerce ul.products li.product:active,
	.mb-chip:active,
	.mb-dquick__item:active,
	.mb-recent__item a:active,
	.mb-mtools__btn:active,
	.mb-tile:active,
	.mb-dbtn:active,
	.mb-spanel__chips a:active,
	.mb-sheet .mb-fchip:active {
		transform: scale(0.97);
	}
}

/* --- Plynulé přechody mezi stránkami (Chrome/Edge/Safari 18+) --- */
@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	::view-transition-old(root),
	::view-transition-new(root) {
		animation-duration: 0.18s;
	}

	.mb-bnav {
		view-transition-name: mb-bnav;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mb-sheet__panel,
	.mb-sheet__backdrop,
	.mb-toast,
	.mb-mtools,
	#masthead {
		transition: none;
	}
}

.mb-sheet__panel:focus {
	outline: none;
}

#masthead .mb-spanel a,
#masthead .mb-spanel a:hover {
	text-decoration: none;
}

/* Aktivní filtry pod lištou (telefon) */
.mb-mtools-active {
	display: flex;
	gap: 8px;
	margin: -4px calc(-1 * var(--mb-edge)) 12px;
	padding: 0 var(--mb-edge) 4px;
	overflow-x: auto;
	scrollbar-width: none;
}

.mb-mtools-active::-webkit-scrollbar {
	display: none;
}

.mb-achip {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 0 8px 0 12px;
	border-radius: 999px;
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
	font-size: 0.8125rem;
	font-weight: var(--mb-fw-bold);
	white-space: nowrap;
	text-decoration: none;
}

.mb-achip:hover {
	color: var(--mb-color-primary-700);
	text-decoration: none;
}

.mb-achip .mb-i {
	width: 16px;
	height: 16px;
}

.mb-achip--reset {
	padding: 0 12px;
	background: transparent;
	color: var(--mb-color-text-subtle);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

@media (max-width: 767px) {
	body.mb-mtools-on .kadence-shop-top-row {
		min-height: 0;
		margin-bottom: 8px;
		padding: 0;
	}

	body.mb-mtools-on .kadence-shop-top-row .kadence-shop-top-item {
		min-height: 0;
		margin: 0;
		padding: 0;
	}
}

/* ==========================================================================
   16. PROVOZOVATEL – řádek v patičce, telefon v šuplíku
   ========================================================================== */
.site-footer .mb-company {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px 8px;
	max-width: 900px;
	margin: 0.625rem auto 0;
	color: var(--mb-color-ink-400);
	font-size: 0.8125rem;
	line-height: 1.6;
}

.site-footer .mb-company strong {
	color: var(--mb-color-ink-200);
	font-weight: var(--mb-fw-semibold);
}

.site-footer .mb-company a {
	color: var(--mb-color-ink-200);
	white-space: nowrap;
}

.mb-company__item {
	white-space: normal;
}

@media (max-width: 767px) {
	.site-footer .mb-company {
		flex-direction: column;
		align-items: center;
		gap: 0;
		font-size: 0.75rem;
	}

	.site-footer .mb-company__sep {
		display: none;
	}
}

.mb-dcall {
	display: grid;
	gap: 8px;
	margin: 18px 0 0;
}

.mb-dcall__row {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	color: #FFFFFF;
	text-decoration: none;
}

.mb-dcall__row:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
	text-decoration: none;
}

.mb-dcall__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 50%;
	background: var(--mb-color-primary);
	color: #FFFFFF;
}

.mb-dcall__icon--mail {
	background: var(--mb-color-primary);
	color: #FFFFFF;
}

.mb-dcall__txt {
	display: grid;
	min-width: 0;
	line-height: 1.25;
}

.mb-dcall__txt small {
	color: var(--mb-color-ink-300);
	font-size: 0.75rem;
	font-weight: var(--mb-fw-semibold);
}

.mb-dcall__txt strong {
	overflow: hidden;
	font-size: 1rem;
	letter-spacing: 0.01em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mb-dcall__more {
	justify-self: start;
	padding: 4px 2px;
	color: var(--mb-color-ink-200);
	font-size: 0.875rem;
	font-weight: var(--mb-fw-bold);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.mb-dcall__more:hover {
	color: #FFFFFF;
}

/* ==========================================================================
   17. MAGNET BEAR – komponenty specifické pro magnety
   Technické parametry, třída (grade), množstevní ceny, bezpečnostní upozornění,
   výběr podle tvaru, srovnávací tabulka, bannery, autor (materiálová vědkyně).
   Markup generuje functions.php (šablona) nebo plugin Magnet Bear Core.
   ========================================================================== */

/* --- Typografie displeje: nadpisy, ceny, čísla --- */
h1, h2, h3,
.entry-title,
.product_title,
.woocommerce-loop-product__title,
.mb-display {
	font-family: var(--mb-font-display);
	letter-spacing: var(--mb-tracking-tight);
}

.price,
.amount,
.mb-tiers,
.mb-compare,
.mb-techtable td {
	font-variant-numeric: tabular-nums;
}

.single-product div.product .summary .price {
	font-family: var(--mb-font-display);
}

/* --- Třída magnetu (N35–N52, feritová, AlNiCo…) --- */
.mb-grade {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.5rem;
	border-radius: var(--mb-radius-sm);
	background: var(--mb-color-ink-900);
	color: #FFFFFF;
	font-size: var(--mb-fs-xs);
	font-weight: var(--mb-fw-bold);
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.woocommerce ul.products li.product .mb-grade {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
}

/* --- Technické parametry (čipy pod názvem a v kartě) --- */
ul.mb-specs,
.mb-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-specs li {
	margin: 0;
	padding: 0.2rem 0.5rem;
	border-radius: var(--mb-radius-sm);
	background: var(--mb-color-surface-2);
	color: var(--mb-color-ink-600);
	font-size: var(--mb-fs-xs);
	font-weight: var(--mb-fw-semibold);
	line-height: 1.5;
	white-space: nowrap;
}

/* velká varianta na detailu: štítek + hodnota v dlaždici */
.mb-specs--tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
	gap: var(--mb-space-2);
	margin: var(--mb-space-4) 0;
}

.mb-specs--tiles li {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	font-size: var(--mb-fs-base);
	font-weight: var(--mb-fw-bold);
	white-space: normal;
}

.mb-specs--tiles li > span {
	color: var(--mb-color-text-subtle);
	font-size: var(--mb-fs-xs);
	font-weight: var(--mb-fw-medium);
}

/* --- Množstevní ceny --- */
.mb-tiers {
	margin: var(--mb-space-4) 0 0;
	padding: 0;
	border: 0;
}

.mb-tiers > legend,
.mb-tiers__title {
	margin-bottom: var(--mb-space-2);
	padding: 0;
	color: var(--mb-color-text);
	font-size: var(--mb-fs-sm);
	font-weight: var(--mb-fw-bold);
}

.mb-tiers__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
	gap: var(--mb-space-2);
}

.mb-tier {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.1rem;
	min-height: var(--mb-control-h-lg);
	padding: 0.5rem 0.375rem;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	font: inherit;
	text-align: center;
	cursor: pointer;
	transition: border-color var(--mb-dur) var(--mb-ease), background-color var(--mb-dur) var(--mb-ease);
}

.mb-tier:hover {
	border-color: var(--mb-color-primary);
}

.mb-tier__qty {
	color: var(--mb-color-text-subtle);
	font-size: var(--mb-fs-xs);
	font-weight: var(--mb-fw-medium);
}

.mb-tier__price {
	font-family: var(--mb-font-display);
	font-size: var(--mb-fs-base);
	font-weight: var(--mb-fw-bold);
}

.mb-tier__save {
	color: var(--mb-color-success);
	font-size: 0.6875rem;
	font-weight: var(--mb-fw-bold);
}

.mb-tier.is-active,
.mb-tier[aria-pressed="true"] {
	border: 2px solid var(--mb-color-primary);
	background: var(--mb-color-primary-soft);
	padding: calc(0.5rem - 1px) calc(0.375rem - 1px);
}

.mb-tier-hint {
	display: block;
	color: var(--mb-color-success);
	font-size: var(--mb-fs-xs);
	font-weight: var(--mb-fw-semibold);
}

/* --- Bezpečnostní upozornění (silné magnety) --- */
.mb-safety {
	display: flex;
	gap: var(--mb-space-3);
	margin: var(--mb-space-4) 0;
	padding: 0.85rem 1rem;
	border: 1px solid #F2C46B;
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-warning-soft);
	color: #5C3A00;
	font-size: var(--mb-fs-sm);
	line-height: 1.55;
}

.mb-safety::before {
	content: "";
	width: 1.375rem;
	height: 1.375rem;
	flex: none;
	background-color: currentColor;
	-webkit-mask: var(--mb-icon-alert) center / contain no-repeat;
	mask: var(--mb-icon-alert) center / contain no-repeat;
}

.mb-safety strong {
	color: #4A2E00;
}

.mb-safety--strong {
	border-color: var(--mb-color-primary-line);
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
}

.mb-safety--strong strong {
	color: var(--mb-color-primary-700);
}

/* --- Výběr podle tvaru --- */
ul.mb-shapes,
.entry-content ul.mb-shapes,
.mb-shapes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(6.75rem, 1fr));
	gap: var(--mb-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-hero .mb-container > .wp-block-group__inner-container {
	max-width: 660px;
}

.mb-shapes li {
	margin: 0;
}

.mb-shapes a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--mb-space-2);
	min-height: 6.25rem;
	padding: 0.85rem 0.5rem;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	font-size: var(--mb-fs-sm);
	font-weight: var(--mb-fw-semibold);
	text-align: center;
	text-decoration: none;
	transition: border-color var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease);
}

.mb-shapes a:hover {
	border-color: var(--mb-color-primary);
	box-shadow: var(--mb-shadow-md);
	color: var(--mb-color-text);
}

.mb-shapes svg {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--mb-color-primary);
}

/* --- Srovnávací tabulka velikostí (výpis kategorie) --- */
.mb-compare-wrap {
	overflow-x: auto;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	-webkit-overflow-scrolling: touch;
}

table.mb-compare {
	width: 100%;
	min-width: 46rem;
	margin: 0;
	border-collapse: collapse;
	font-size: var(--mb-fs-sm);
}

.mb-compare thead th {
	position: sticky;
	top: 0;
	padding: 0.75rem 0.75rem;
	background: var(--mb-color-ink-900);
	color: #FFFFFF;
	font-weight: var(--mb-fw-semibold);
	text-align: left;
	white-space: nowrap;
}

.mb-compare thead th[aria-sort] button {
	all: unset;
	cursor: pointer;
}

.mb-compare td {
	padding: 0.6rem 0.75rem;
	border-top: 1px solid var(--mb-color-surface-2);
	vertical-align: middle;
}

.mb-compare tbody tr:hover {
	background: #FAFBFC;
}

.mb-compare__name a {
	display: flex;
	align-items: center;
	gap: var(--mb-space-3);
	color: var(--mb-color-text);
	font-weight: var(--mb-fw-semibold);
	text-decoration: none;
}

.mb-compare__name img {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--mb-radius-sm);
	background: var(--mb-color-surface-2);
	object-fit: contain;
}

.mb-compare__pull,
.mb-compare__price {
	font-weight: var(--mb-fw-bold);
}

.mb-compare__bulk {
	color: var(--mb-color-success);
	font-weight: var(--mb-fw-bold);
}

.mb-compare__add form {
	display: flex;
	justify-content: flex-end;
	gap: 0.375rem;
	margin: 0;
}

.mb-compare__add input.qty {
	width: 4rem;
	min-height: 2.5rem;
}

.mb-compare__add .button {
	min-width: 2.75rem;
	min-height: 2.5rem;
	padding: 0 0.75rem;
}

/* --- Bannery na úvodní stránce (červený / grafitový) --- */
.mb-banner {
	display: flex;
	flex-direction: column;
	gap: var(--mb-space-3);
	padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
	border-radius: var(--mb-radius-xl);
	color: #FFFFFF;
}

.mb-banner--red {
	background: var(--mb-color-primary);
}

.mb-banner--ink {
	background: var(--mb-color-ink-900);
}

.mb-banner :is(h2, h3, p) {
	margin: 0;
	color: #FFFFFF;
}

.mb-banner--red .mb-eyebrow {
	color: #FFD9DD;
}

.mb-banner--ink .mb-eyebrow {
	color: var(--mb-color-ink-400);
}

.mb-banner--red .wp-block-button__link {
	background: #FFFFFF;
	color: var(--mb-color-primary-700);
}

.mb-banner--red .wp-block-button__link:hover {
	background: var(--mb-color-primary-soft);
	color: var(--mb-color-primary-700);
}

/* --- Hero: siločáry místo mřížky --- */
.mb-hero--field {
	background-image:
		radial-gradient(ellipse 60% 70% at 78% 50%, rgba(214, 40, 57, 0.16), transparent 70%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%239AA6B2' stroke-opacity='.18'%3E%3Cpath d='M980 280c-180-260-520-300-760-120'/%3E%3Cpath d='M980 280c-200-200-460-210-640-60'/%3E%3Cpath d='M980 280c-220-140-400-120-520 0'/%3E%3Cpath d='M1180 280c180-260 360-240 420-120'/%3E%3Cpath d='M1180 280c120-180 260-170 300-60'/%3E%3Cpath d='M980 280c-180 260-520 300-760 120'/%3E%3Cpath d='M980 280c-200 200-460 210-640 60'/%3E%3Cpath d='M1180 280c180 260 360 240 420 120'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 100% 100%, 100% 100%;
	background-repeat: no-repeat;
}

/* --- Autor: materiálová vědkyně --- */
.mb-scientist {
	display: flex;
	flex-direction: column;
	gap: var(--mb-space-3);
	padding: var(--mb-space-6);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-xl);
	background: var(--mb-color-surface);
}

.mb-scientist__who {
	display: flex;
	align-items: center;
	gap: var(--mb-space-3);
}

.mb-scientist__who img,
.mb-scientist__avatar {
	width: 3.5rem;
	height: 3.5rem;
	flex: none;
	border-radius: 50%;
	background: var(--mb-color-ink-900);
	color: #FFFFFF;
	display: grid;
	place-items: center;
	font-family: var(--mb-font-display);
	font-weight: var(--mb-fw-bold);
	object-fit: cover;
}

.mb-scientist__name {
	font-weight: var(--mb-fw-bold);
}

.mb-scientist__role {
	color: var(--mb-color-text-subtle);
	font-size: var(--mb-fs-sm);
}

/* --- Technická data na detailu (záložka) --- */
table.mb-techtable {
	width: 100%;
	margin: 0;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--mb-color-surface);
}

.mb-techtable th,
.mb-techtable td {
	padding: 0.7rem 1rem;
	border-top: 1px solid var(--mb-color-surface-2);
	text-align: left;
}

.mb-techtable tr:first-child th,
.mb-techtable tr:first-child td {
	border-top: 0;
}

.mb-techtable th {
	width: 44%;
	color: var(--mb-color-text-muted);
	font-weight: var(--mb-fw-medium);
}

.mb-techtable td {
	font-weight: var(--mb-fw-semibold);
}

/* --- Poptávka B2B (box vedle technických dat) --- */
.mb-quote {
	display: flex;
	flex-direction: column;
	gap: var(--mb-space-3);
	padding: var(--mb-space-5);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-ink-900);
	color: var(--mb-color-ink-300);
}

.mb-quote :is(h2, h3) {
	margin: 0;
	color: #FFFFFF;
}

.mb-quote a.button,
.mb-quote .wp-block-button__link {
	align-self: flex-start;
}

/* --- Ikony specifické pro magnety (doplňují sadu --mb-icon-*) --- */
:root {
	--mb-icon-magnet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v8a6 6 0 0 0 12 0V3'/%3E%3Cpath d='M6 7h4M14 7h4'/%3E%3C/svg%3E");
	--mb-icon-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='18' r='1.8'/%3E%3Ccircle cx='17' cy='18' r='1.8'/%3E%3C/svg%3E");
	--mb-icon-return: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 3-6.2'/%3E%3Cpath d='M4 4v4h4'/%3E%3C/svg%3E");
	--mb-icon-invoice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l3 3v15H6z'/%3E%3Cpath d='M9 11h6M9 15h6'/%3E%3C/svg%3E");
	--mb-icon-ruler: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M7 16V9M12 16V5M17 16v-4'/%3E%3C/svg%3E");
	--mb-icon-flask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9a2 2 0 0 0 2 3h10a2 2 0 0 0 2-3l-5-9V3'/%3E%3C/svg%3E");
}

.mb-ico-magnet { --mb-ico: var(--mb-icon-magnet); }
.mb-ico-truck { --mb-ico: var(--mb-icon-truck); }
.mb-ico-return { --mb-ico: var(--mb-icon-return); }
.mb-ico-invoice { --mb-ico: var(--mb-icon-invoice); }
.mb-ico-ruler { --mb-ico: var(--mb-icon-ruler); }
.mb-ico-flask { --mb-ico: var(--mb-icon-flask); }
.mb-ico-book { --mb-ico: var(--mb-icon-book); }

.mb-trust-box__item--dispatch { --mb-ico: var(--mb-icon-truck); }
.mb-trust-box__item--dispatch::before { background: var(--mb-color-success-soft); }
.mb-trust-box__item--dispatch::after { background-color: var(--mb-color-success); }
.mb-trust-box__item--returns { --mb-ico: var(--mb-icon-return); }
.mb-trust-box__item--invoice { --mb-ico: var(--mb-icon-invoice); }

/* --- Bloky Skupina v klasické šabloně obalují obsah do __inner-container:
       u mřížek a flexů ho zprůhledníme, aby děti byly přímo položkami mřížky --- */
:is(.mb-tiles, .mb-trust__grid, .mb-section-head, .mb-tile, .mb-trust__item, .mb-cta) > .wp-block-group__inner-container {
	display: contents;
}

/* --- Úvodní stránka: 8 kategorií = 4 sloupce, bannery, návody --- */
@media (min-width: 1025px) {
	.mb-tiles.mb-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.mb-tile--ink {
	border-color: var(--mb-color-ink-800);
	background: var(--mb-color-ink-900);
}

.mb-tile--ink h3 a,
.mb-tile--ink h3 a:hover {
	color: #FFFFFF;
}

.mb-tile--ink p {
	color: var(--mb-color-ink-300);
}

.wp-block-columns.mb-banners {
	gap: var(--mb-space-4);
	margin: 0;
}

.mb-banner .wp-block-buttons {
	margin-top: auto;
}

.mb-banner--ink .wp-block-button__link {
	background: var(--mb-color-primary);
	color: #FFFFFF;
}

ul.mb-guides,
.mb-guides.wp-block-latest-posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: var(--mb-space-3);
	margin: 0;
	padding: 0;
}

.mb-guides.wp-block-latest-posts li {
	margin: 0;
	padding: var(--mb-space-4);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
}

.mb-guides .wp-block-latest-posts__post-title {
	display: block;
	color: var(--mb-color-text);
	font-family: var(--mb-font-display);
	font-size: var(--mb-fs-md);
	font-weight: var(--mb-fw-bold);
	line-height: 1.3;
	text-decoration: none;
}

.mb-guides .wp-block-latest-posts__post-excerpt {
	margin: var(--mb-space-2) 0 0;
	color: var(--mb-color-text-muted);
	font-size: var(--mb-fs-sm);
}

/* --- Primární navigace: 9 kategorií na jeden řádek i na menších noteboocích --- */
.site-header .site-bottom-header-wrap .header-navigation .header-menu-container > ul > li.menu-item > a {
	padding-right: 0.5em;
	padding-left: 0.5em;
}

@media (min-width: 1025px) and (max-width: 1080px) {
	.site-header .site-bottom-header-wrap .header-navigation .header-menu-container > ul > li > a .dropdown-nav-toggle {
		display: none;
	}

	.site-header .site-bottom-header-wrap .header-navigation .header-menu-container > ul > li > a .nav-drop-title-wrap {
		padding-right: 0;
	}
}

@media (min-width: 1025px) and (max-width: 1320px) {
	.site-header .site-bottom-header-wrap .header-navigation .header-menu-container > ul > li.menu-item > a {
		padding-right: 0.42em;
		padding-left: 0.42em;
		font-size: 0.875rem;
	}
}

@media (min-width: 1025px) and (max-width: 1140px) {
	.site-header .site-bottom-header-wrap .header-navigation .header-menu-container > ul > li.menu-item > a {
		padding-right: 0.3em;
		padding-left: 0.3em;
		font-size: 0.8125rem;
	}
}

/* --- Přepínač trhů: 9 trhů místo 2 → mřížka, ne jedna řada --- */
.mb-mkt ul {
	grid-auto-flow: row;
	grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr));
}

.mb-mkt--header ul {
	grid-template-columns: repeat(9, auto);
	gap: 4px;
}

.mb-mkt--header a {
	min-height: 32px;
	padding: 0 8px;
	border-radius: var(--mb-radius-sm);
	font-size: var(--mb-fs-xs);
}

.mb-mkt--header .mb-mkt__cur {
	display: none;
}

/* --- Vyhledávání: industriální hrany místo pilulky (sedí k logu) --- */
.mb-search .mb-search__input,
.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	border-radius: var(--mb-radius-md);
}

.mb-search .mb-search__submit,
.mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
	border-radius: calc(var(--mb-radius-md) - 3px);
}

@media (max-width: 640px) {
	.mb-tiers__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.375rem; }
	.mb-tier { min-height: 48px; padding-inline: 0.125rem; }
	.mb-tier__price { font-size: var(--mb-fs-sm); }
	.mb-specs--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mb-shapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (forced-colors: active) {
	.mb-tier.is-active, .mb-tier[aria-pressed="true"] { outline: 2px solid Highlight; }
	.mb-safety { border: 1px solid CanvasText; }
}

@media print {
	.mb-tiers, .mb-quote { display: none !important; }
	.mb-safety { border: 1px solid #000; background: none; color: #000; }
}


/* ==========================================================================
   18. UX PASS 1.1 – navigation, homepage, category pages, empty states,
       notices, content pages, forms
   ========================================================================== */

:root {
	--mb-section-y: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
	--mb-icon-horseshoe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21v-9a7 7 0 0 1 14 0v9h-4v-9a3 3 0 0 0-6 0v9z'/%3E%3Cpath d='M5 17h4M15 17h4'/%3E%3C/svg%3E");
	--mb-icon-hook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13' cy='5' r='2'/%3E%3Cpath d='M13 7v9a4 4 0 0 1-8 0v-2'/%3E%3C/svg%3E");
	--mb-icon-anchor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v14M5 13a7 7 0 0 0 14 0M8.5 11h7'/%3E%3C/svg%3E");
	--mb-icon-strip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='5' rx='2'/%3E%3Cpath d='M7 11v8M12 11v6M17 11v9'/%3E%3C/svg%3E");
	--mb-icon-layers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E");
	--mb-icon-board: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='m8 21 4-4 4 4M8 9h8M8 12h5'/%3E%3C/svg%3E");
	--mb-icon-weight: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 8a3 3 0 1 1 6 0'/%3E%3Cpath d='M6.5 8h11L21 21H3z'/%3E%3C/svg%3E");
}

.mb-ico-horseshoe { --mb-ico: var(--mb-icon-horseshoe); }
.mb-ico-hook { --mb-ico: var(--mb-icon-hook); }
.mb-ico-anchor { --mb-ico: var(--mb-icon-anchor); }
.mb-ico-strip { --mb-ico: var(--mb-icon-strip); }
.mb-ico-layers { --mb-ico: var(--mb-icon-layers); }
.mb-ico-board { --mb-ico: var(--mb-icon-board); }
.mb-ico-weight { --mb-ico: var(--mb-icon-weight); }

/* --- 18.1 Mobile drawer: one column, account card on top ------------------ */
#mobile-drawer .site-header-item-mobile-navigation {
	display: block;
	width: 100%;
}

#mobile-drawer .mobile-navigation,
#mobile-drawer .mobile-navigation .drawer-menu-container {
	width: 100%;
}

#mobile-drawer .drawer-content {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

#mobile-drawer .mb-dquick {
	margin-top: 14px;
}

.mb-dlinks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 12px;
	margin: 14px 0 0;
	padding: 10px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	list-style: none;
}

.mb-dlinks a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--mb-color-ink-300);
	font-size: 0.9375rem;
	text-decoration: none;
}

.mb-dlinks a:hover,
.mb-dlinks a:focus-visible {
	color: #FFFFFF;
}

/* Mobile header: the account link is an icon, its label stays for screen readers */
#mobile-header .mb-hdr-account .mb-account__text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.mb-account,
.mb-account__text {
	white-space: nowrap;
}

/* --- 18.2 Homepage --------------------------------------------------------- */
.mb-hero .wp-block-buttons {
	gap: 0.75rem;
	margin: 1.75rem 0 0;
}

.mb-hero .wp-block-button__link {
	min-height: 52px;
	padding: 0.875rem 1.5rem;
	font-size: 1.0625rem;
}

.mb-hero .mb-chips {
	margin-top: 1.5rem;
}

/* Grid items never carry the theme's block margins (Kadence gives every group 2em) */
.entry-content .mb-trust__item,
.entry-content .mb-tile,
.entry-content .mb-banner,
.entry-content .mb-section-head,
.entry-content .mb-container,
.mb-trust__item,
.mb-tile,
.mb-banner {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-columns.mb-trust__grid,
.mb-trust__grid {
	align-items: start;
}

.mb-trust__item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 2.5rem;
}

@media (max-width: 767px) {
	.wp-block-columns.mb-trust__grid,
	.mb-trust__grid {
		gap: 0.875rem 0.75rem;
	}

	.mb-trust__item {
		padding-left: 3rem;
	}

	.mb-trust__item h3 {
		font-size: 0.875rem;
		line-height: 1.25;
	}

	.mb-trust__item p {
		display: none;
	}
}

/* Category tiles: icon left, name and one line of text right */
ul.mb-tiles,
.entry-content ul.mb-tiles {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-tiles.mb-tiles--cats {
	grid-template-columns: minmax(0, 1fr);
	gap: 0.625rem;
}

@media (min-width: 640px) {
	.mb-tiles.mb-tiles--cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.875rem;
	}
}

@media (min-width: 1025px) {
	.mb-tiles.mb-tiles--cats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

.mb-tiles--cats .mb-tile {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	column-gap: 0.875rem;
	align-content: center;
	align-items: center;
	min-height: 5.25rem;
	padding: 0.875rem 2.5rem 0.875rem 1rem;
}

.mb-tiles--cats .mb-tile::before {
	grid-row: 1 / span 2;
	margin: 0;
}

.mb-tiles--cats .mb-tile::after {
	top: calc(50% - 0.6875rem);
	left: calc(1rem + 0.6875rem);
}

.mb-tiles--cats .mb-tile h3 {
	grid-column: 2;
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.25;
}

.mb-tiles--cats .mb-tile p {
	grid-column: 2;
	margin: 0.125rem 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Arrow on the right edge shows the whole tile is a link */
.mb-tiles--cats .mb-tile h3 a::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 1rem;
	width: 1rem;
	height: 1rem;
	margin-top: -0.5rem;
	background-color: var(--mb-color-text-subtle);
	-webkit-mask: var(--mb-icon-chevron) center / contain no-repeat;
	mask: var(--mb-icon-chevron) center / contain no-repeat;
	transition: transform var(--mb-dur) var(--mb-ease), background-color var(--mb-dur) var(--mb-ease);
}

.mb-tiles--cats .mb-tile:hover h3 a::before {
	background-color: var(--mb-color-primary);
	transform: translateX(3px);
}

.mb-tiles--cats .mb-tile--ink h3 a::before {
	background-color: var(--mb-color-ink-300);
}

.mb-tile--ink {
	border-color: var(--mb-color-ink-900);
	background: var(--mb-color-ink-900);
}

.mb-tile--ink h3 a,
.mb-tile--ink h3 {
	color: #FFFFFF;
}

.mb-tile--ink p {
	color: var(--mb-color-ink-300);
}

/* "Materials scientist" card + help links */
.wp-block-columns.mb-about {
	gap: 1rem;
	align-items: stretch;
	margin: 0;
}

.mb-about > .wp-block-column {
	margin: 0;
}

ul.mb-helplinks,
.entry-content ul.mb-helplinks {
	display: grid;
	gap: 0.75rem;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-helplinks li {
	display: flex;
	margin: 0;
}

.mb-help {
	position: relative;
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	column-gap: 0.875rem;
	align-content: center;
	flex: 1;
	padding: 1rem 2.5rem 1rem 1rem;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-sm);
	color: var(--mb-color-text);
	text-decoration: none;
	transition: border-color var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease);
}

.mb-help::before {
	content: "";
	grid-row: 1 / span 2;
	align-self: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-primary-soft);
}

.mb-help::after {
	content: "";
	position: absolute;
	top: calc(50% - 0.6875rem);
	left: calc(1rem + 0.6875rem);
	width: 1.375rem;
	height: 1.375rem;
	background-color: var(--mb-color-primary);
	-webkit-mask: var(--mb-ico, var(--mb-icon-info)) center / contain no-repeat;
	mask: var(--mb-ico, var(--mb-icon-info)) center / contain no-repeat;
}

.mb-help strong {
	grid-column: 2;
	font-family: var(--mb-font-display);
	font-size: 1.0625rem;
	line-height: 1.25;
}

.mb-help span {
	grid-column: 2;
	margin-top: 0.125rem;
	color: var(--mb-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.mb-help:hover,
.mb-help:focus-visible {
	border-color: var(--mb-color-primary-line);
	box-shadow: var(--mb-shadow-md);
	color: var(--mb-color-text);
	text-decoration: none;
}

/* Guides row */
ul.mb-guide-grid,
.entry-content ul.mb-guide-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	ul.mb-guide-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.mb-guide__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-sm);
	color: var(--mb-color-text);
	text-decoration: none;
}

.mb-guide__img img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.mb-guide__body {
	display: grid;
	gap: 0.375rem;
	padding: 1rem 1.125rem 1.125rem;
}

.mb-guide__body strong {
	font-family: var(--mb-font-display);
	font-size: 1.125rem;
	line-height: 1.3;
}

.mb-guide__body span {
	color: var(--mb-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.mb-guide__link:hover {
	border-color: var(--mb-color-primary-line);
	color: var(--mb-color-text);
	text-decoration: none;
}

/* Sections printed by shortcodes sit directly in the page content */
.entry-content > .mb-section--auto {
	max-width: none;
}

/* --- 18.3 Category pages ---------------------------------------------------- */
.mb-subcats {
	margin: 0 0 1.25rem;
}

.mb-subcats__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.mb-subcats .mb-chip {
	min-height: 40px;
	padding: 0.5rem 1rem;
	background: var(--mb-color-surface);
	font-size: 0.9375rem;
}

.mb-subcats .mb-chip.is-active {
	background: var(--mb-color-ink-900);
	border-color: var(--mb-color-ink-900);
}

.mb-subcats .mb-chip--all {
	border-style: dashed;
}

@media (max-width: 767px) {
	.mb-subcats {
		margin-inline: calc(var(--mb-gutter) * -1);
	}

	.mb-subcats__row {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 0 var(--mb-gutter) 4px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.mb-subcats__row::-webkit-scrollbar {
		display: none;
	}

	.mb-subcats .mb-chip {
		flex: 0 0 auto;
		white-space: nowrap;
	}
}

/* Breadcrumbs in the dark category header */
.product-archive-hero-section .kadence-breadcrumbs,
.product-archive-hero-section .kadence-breadcrumbs a {
	color: var(--mb-color-ink-300);
	font-size: 0.875rem;
}

.product-archive-hero-section .kadence-breadcrumbs a:hover {
	color: #FFFFFF;
}

.kadence-breadcrumbs {
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.kadence-breadcrumbs::-webkit-scrollbar {
	display: none;
}

/* Empty state */
.mb-empty {
	max-width: 46rem;
	margin: 0 auto 2.5rem;
	padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-sm);
	text-align: center;
}

.mb-empty__icon {
	position: relative;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--mb-color-primary-soft);
}

.mb-empty__icon::after {
	content: "";
	position: absolute;
	inset: 0.9375rem;
	background-color: var(--mb-color-primary);
	-webkit-mask: var(--mb-icon-magnet) center / contain no-repeat;
	mask: var(--mb-icon-magnet) center / contain no-repeat;
}

.mb-empty__title,
.mb-notfound__title {
	margin: 0 0 0.5rem;
	font-size: var(--mb-fs-2xl);
	line-height: 1.2;
}

.mb-empty__text,
.mb-notfound__text {
	max-width: 36rem;
	margin: 0 auto 1.25rem;
	color: var(--mb-color-text-muted);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.mb-empty__actions,
.mb-notfound__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.625rem;
	margin: 0;
}

.button.mb-btn--ghost,
a.button.mb-btn--ghost {
	border: 1px solid var(--mb-color-border-strong);
	background: transparent;
	color: var(--mb-color-text);
	box-shadow: none;
}

.button.mb-btn--ghost:hover,
a.button.mb-btn--ghost:hover {
	border-color: var(--mb-color-text);
	background: var(--mb-color-surface-2);
	color: var(--mb-color-text);
}

.mb-empty-cats {
	margin: 0 0 1rem;
}

.mb-empty-cats > h2 {
	margin: 0 0 1rem;
	font-size: var(--mb-fs-xl);
}

/* 404 and empty archives */
.mb-notfound {
	padding-block: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}

.mb-notfound__box {
	max-width: 46rem;
	margin: 0 auto 2.5rem;
	padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-sm);
	text-align: center;
}

.mb-notfound__box .mb-eyebrow {
	margin: 0 0 0.5rem;
	color: var(--mb-color-primary);
}

.mb-notfound__box .mb-search {
	max-width: 32rem;
	margin: 0 auto 1.25rem;
	text-align: left;
}

.mb-notfound__box .mb-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.mb-notfound__box .mb-search .mb-search__input {
	border-color: var(--mb-color-border-strong);
	box-shadow: none;
}

/* --- 18.4 Notices: one calm style, button on the right ---------------------- */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0 0 var(--mb-space-5);
	padding: 0.875rem 1rem 0.875rem 1.125rem;
	border: 1px solid var(--mb-color-border);
	border-left-width: 4px;
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-surface);
	color: var(--mb-color-text);
	font-size: 0.9375rem;
	line-height: 1.5;
	box-shadow: var(--mb-shadow-sm);
	outline: 0;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce .woocommerce-message,
.woocommerce-message {
	border-color: #B7E3CD;
	border-left-color: var(--mb-color-success);
	background: var(--mb-color-success-soft);
}

.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce .woocommerce-info,
.woocommerce-info {
	border-color: var(--mb-color-border);
	border-left-color: var(--mb-color-ink-600);
	background: var(--mb-color-surface);
}

.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce .woocommerce-error,
.woocommerce-error {
	border-color: #F6C9C4;
	border-left-color: var(--mb-color-danger);
	background: var(--mb-color-danger-soft);
}

/* The notice receives programmatic focus for screen readers – no visible ring needed */
body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):is(:focus, :focus-visible) {
	outline: 0;
	box-shadow: var(--mb-shadow-sm);
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	flex-direction: row;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.woocommerce-notices-wrapper .woocommerce-message a.button {
	float: none;
	order: 2;
	flex: 0 0 auto;
	width: auto;
	margin: 0 0 0 auto;
}

@media (max-width: 480px) {
	.woocommerce-message .button,
	.woocommerce-notices-wrapper .woocommerce-message a.button {
		margin-left: 0;
	}
}

/* --- 18.5 Content pages: reading width and type ----------------------------- */
.mb-prose-page .content-container {
	max-width: 54rem;
}

.mb-prose-page .entry-content-wrap {
	padding: clamp(1.25rem, 0.8rem + 2.4vw, 2.75rem);
}

.mb-prose-page .entry-content {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.mb-prose-page .entry-content > :first-child {
	margin-top: 0;
}

.mb-prose-page .entry-content h2 {
	margin: 2.25rem 0 0.75rem;
	font-size: var(--mb-fs-xl);
	line-height: 1.25;
}

.mb-prose-page .entry-content h3 {
	margin: 1.75rem 0 0.5rem;
	font-size: var(--mb-fs-lg);
	line-height: 1.3;
}

.mb-prose-page .entry-content p,
.mb-prose-page .entry-content ul,
.mb-prose-page .entry-content ol {
	margin: 0 0 1rem;
}

.mb-prose-page .entry-content li {
	margin-bottom: 0.375rem;
}

.mb-prose-page .entry-content .mb-updated {
	color: var(--mb-color-text-subtle);
	font-size: 0.9375rem;
}

/* Operator card (contact, legal notice) */
.mb-operator {
	display: grid;
	gap: 0.25rem;
	margin: 0 0 1.5rem;
	padding: 1.125rem 1.25rem;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-bg);
	font-size: 1rem;
	line-height: 1.55;
}

.mb-operator__name {
	font-family: var(--mb-font-display);
	font-size: 1.125rem;
	font-weight: var(--mb-fw-bold);
}

.mb-operator dl {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 0.25rem 1rem;
	margin: 0.5rem 0 0;
}

.mb-operator dt {
	color: var(--mb-color-text-subtle);
	font-weight: var(--mb-fw-medium);
}

.mb-operator dd {
	margin: 0;
	overflow-wrap: anywhere;
}

/* Contact layout: channels on the left, form on the right */
.mb-contact {
	display: grid;
	gap: 1.5rem;
	margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
	.mb-contact {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		align-items: start;
	}
}

ul.mb-channels,
.entry-content ul.mb-channels {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-channels li {
	position: relative;
	margin: 0;
	padding: 0.875rem 1rem 0.875rem 3.75rem;
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.mb-channels li::before {
	content: "";
	position: absolute;
	top: 0.875rem;
	left: 0.875rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--mb-radius-md);
	background: var(--mb-color-primary-soft);
}

.mb-channels li::after {
	content: "";
	position: absolute;
	top: calc(0.875rem + 0.5625rem);
	left: calc(0.875rem + 0.5625rem);
	width: 1.125rem;
	height: 1.125rem;
	background-color: var(--mb-color-primary);
	-webkit-mask: var(--mb-ico, var(--mb-icon-info)) center / contain no-repeat;
	mask: var(--mb-ico, var(--mb-icon-info)) center / contain no-repeat;
}

.mb-channels strong {
	display: block;
	font-size: 1rem;
}

.mb-channels a {
	overflow-wrap: anywhere;
}

/* Forms printed by Magnet Bear Core (contact, quote, withdrawal) */
.mb-form {
	display: grid;
	gap: 0.875rem;
	margin: 0;
	padding: clamp(1rem, 0.7rem + 1.6vw, 1.5rem);
	border: 1px solid var(--mb-color-border);
	border-radius: var(--mb-radius-lg);
	background: var(--mb-color-surface);
	box-shadow: var(--mb-shadow-sm);
}

.mb-form__row {
	display: grid;
	gap: 0.875rem;
}

@media (min-width: 560px) {
	.mb-form__row--2 {
		grid-template-columns: 1fr 1fr;
	}
}

.mb-form label {
	display: grid;
	gap: 0.3125rem;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: var(--mb-fw-semibold);
	line-height: 1.35;
}

.mb-form label small {
	color: var(--mb-color-text-subtle);
	font-weight: 400;
}

.mb-form input[type="text"],
.mb-form input[type="email"],
.mb-form input[type="tel"],
.mb-form select,
.mb-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--mb-color-border-strong);
	border-radius: var(--mb-radius-md);
	background: #FFFFFF;
	color: var(--mb-color-text);
	font: inherit;
	font-size: 1rem;
	font-weight: 400;
}

.mb-form textarea {
	min-height: 9rem;
	resize: vertical;
}

.mb-form input:focus,
.mb-form select:focus,
.mb-form textarea:focus {
	border-color: var(--mb-color-primary);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(214, 40, 57, 0.22);
}

.mb-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mb-form__note {
	margin: 0;
	color: var(--mb-color-text-subtle);
	font-size: 0.875rem;
	line-height: 1.5;
}

.mb-form .button {
	justify-self: start;
	min-height: 48px;
	padding-inline: 1.5rem;
}

@media (max-width: 559px) {
	.mb-form .button {
		justify-self: stretch;
	}
}

/* --- 18.6 Cart: suggestions on small screens -------------------------------- */
@media (max-width: 600px) {
	.wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
		margin: 0;
	}

	.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
		flex: none;
		width: auto;
		max-width: none;
		margin: 0;
		padding: 0;
		border: 0;
	}
}

/* --- 18.7 Mobile: the space reserved for the bottom bar belongs to the footer */
@media (max-width: 1024px) {
	body.mb-has-bnav {
		padding-bottom: 0;
	}

	body.mb-has-bnav .site-footer {
		padding-bottom: calc(var(--mb-bnav-h) + env(safe-area-inset-bottom));
	}
}

/* Drawer buttons and quick tiles stay on one line */
.mb-dbtn,
.mb-dquick__item span {
	white-space: nowrap;
}

/* Withdrawal form keeps WooCommerce's label + field rows */
.mb-form .form-row {
	display: grid;
	gap: 0.3125rem;
	margin: 0;
	padding: 0;
}

.mb-form .form-row label {
	display: block;
}

.mb-form > p {
	margin: 0;
}
