/* =========================================================================
   FRYDERYK COFFEE — DESIGN SYSTEM
   1. Tokens          5. Layout
   2. Reset           6. Komponenty
   3. Typografia      7. Sekcje strony głównej
   4. Utilities       8. Responsywność / a11y
   ========================================================================= */

/* -------------------------------------------------- 1. TOKENS ---------- */
:root {
	/* Kolor */
	--fc-black:        #0B0908;
	--fc-ink:          #100C0A;
	--fc-surface:      #15110F;
	--fc-surface-2:    #1C1714;
	--fc-surface-3:    #241D18;
	--fc-gold:         #C6A15B;
	--fc-gold-light:   #E3C88E;
	--fc-gold-dark:    #8A6A34;
	--fc-cream:        #F4EEE5;
	--fc-text:         #E8DFD2;
	--fc-muted:        #A2937F;
	--fc-muted-2:      #7A6D5D;
	--fc-line:         rgba(198,161,91,.20);
	--fc-line-soft:    rgba(244,238,229,.09);
	--fc-success:      #7FA86B;
	--fc-danger:       #C4694F;

	/* Typografia */
	--fc-font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--fc-font-body:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--fc-fs-xs:   .75rem;
	--fc-fs-sm:   .875rem;
	--fc-fs-base: 1rem;
	--fc-fs-md:   1.0625rem;
	--fc-fs-lg:   clamp(1.125rem, .4vw + 1rem, 1.3125rem);
	--fc-fs-h4:   clamp(1.25rem, .6vw + 1.05rem, 1.5rem);
	--fc-fs-h3:   clamp(1.5rem, 1vw + 1.2rem, 2rem);
	--fc-fs-h2:   clamp(2rem, 2.4vw + 1.2rem, 3.25rem);
	--fc-fs-h1:   clamp(2.6rem, 5vw + 1rem, 5.25rem);

	--fc-lh-tight: 1.06;
	--fc-lh-snug:  1.3;
	--fc-lh-base:  1.72;

	--fc-ls-wide:  .18em;
	--fc-ls-mid:   .08em;

	/* Przestrzeń (skala 4 px) */
	--fc-s1: .25rem;  --fc-s2: .5rem;   --fc-s3: .75rem;  --fc-s4: 1rem;
	--fc-s5: 1.5rem;  --fc-s6: 2rem;    --fc-s7: 2.5rem;  --fc-s8: 3rem;
	--fc-s9: 4rem;    --fc-s10: 5.5rem; --fc-s11: 7rem;   --fc-s12: 9rem;

	--fc-section-y:   clamp(4rem, 8vw, 8.5rem);
	--fc-container:   1240px;
	--fc-container-n: 820px;
	--fc-gutter:      clamp(1.25rem, 4vw, 2.5rem);

	/* Forma */
	--fc-radius:    2px;
	--fc-radius-md: 4px;
	--fc-radius-lg: 8px;
	--fc-shadow:    0 24px 60px -30px rgba(0,0,0,.9);
	--fc-shadow-gold: 0 20px 60px -25px rgba(198,161,91,.35);

	/* Ruch */
	--fc-ease:  cubic-bezier(.22,.61,.36,1);
	--fc-dur:   .45s;
	--fc-dur-f: .22s;

	--fc-header-h: 84px;
}

/* -------------------------------------------------- 2. RESET ----------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--fc-header-h) + 20px); }

body {
	margin: 0;
	background: var(--fc-black);
	color: var(--fc-text);
	font-family: var(--fc-font-body);
	font-size: var(--fc-fs-md);
	font-weight: 300;
	line-height: var(--fc-lh-base);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* Świadomie bez `overflow-x` na <body>: `hidden` robi z niego kontener przewijania
	   i zabija `position: sticky` (galeria produktu, podsumowanie kasy).
	   Poziome wychodzenie poza ekran przycinamy tam, gdzie faktycznie powstaje —
	   w sekcji hero (dekoracyjna poświata). */
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--fc-gold); text-decoration: none; transition: color var(--fc-dur-f) var(--fc-ease); }
a:hover { color: var(--fc-gold-light); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, dl, dd { margin: 0; }
hr { border: 0; border-top: 1px solid var(--fc-line); margin: var(--fc-s7) 0; }
::selection { background: var(--fc-gold); color: var(--fc-black); }

:focus-visible { outline: 2px solid var(--fc-gold); outline-offset: 3px; }

/* -------------------------------------------------- 3. TYPOGRAFIA ------ */
h1, h2, h3, h4 {
	font-family: var(--fc-font-display);
	font-weight: 300;
	line-height: var(--fc-lh-tight);
	color: var(--fc-cream);
	margin: 0;
	letter-spacing: .01em;
}

p { margin: 0 0 var(--fc-s4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; color: var(--fc-cream); }
small { font-size: var(--fc-fs-xs); }

.fc-eyebrow {
	font-size: var(--fc-fs-xs);
	letter-spacing: var(--fc-ls-wide);
	text-transform: uppercase;
	color: var(--fc-gold);
	font-weight: 400;
	margin: 0 0 var(--fc-s4);
}

.fc-lead {
	font-size: var(--fc-fs-lg);
	color: var(--fc-muted);
	max-width: 62ch;
	margin: 0;
}

.fc-gold { color: var(--fc-gold); }

.fc-section-title {
	font-size: var(--fc-fs-h2);
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 0 0 var(--fc-s4);
}

.fc-section-head { margin-bottom: var(--fc-s8); max-width: 46rem; }
.fc-section-head--center { margin-inline: auto; text-align: center; }
.fc-section-head--center .fc-lead { margin-inline: auto; }

.fc-prose { font-size: var(--fc-fs-md); color: var(--fc-text); }
.fc-prose h2 { font-size: var(--fc-fs-h3); margin: var(--fc-s8) 0 var(--fc-s4); text-transform: uppercase; letter-spacing: .04em; }
.fc-prose h3 { font-size: var(--fc-fs-h4); margin: var(--fc-s7) 0 var(--fc-s3); }
.fc-prose p, .fc-prose li { color: var(--fc-muted); }
.fc-prose ul { list-style: none; margin: 0 0 var(--fc-s5); }
.fc-prose ul li { position: relative; padding-left: var(--fc-s5); margin-bottom: var(--fc-s2); }
.fc-prose ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 1px; background: var(--fc-gold); }
.fc-prose ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 var(--fc-s5); color: var(--fc-muted); }
.fc-prose ol li { margin-bottom: var(--fc-s2); }
.fc-prose blockquote {
	border-left: 2px solid var(--fc-gold);
	padding: var(--fc-s2) 0 var(--fc-s2) var(--fc-s5);
	margin: var(--fc-s6) 0;
	font-family: var(--fc-font-display);
	font-size: var(--fc-fs-lg);
	color: var(--fc-cream);
}
.fc-prose table { width: 100%; border-collapse: collapse; margin: var(--fc-s5) 0; }
.fc-prose th, .fc-prose td { border-bottom: 1px solid var(--fc-line-soft); padding: var(--fc-s3); text-align: left; }

/* -------------------------------------------------- 4. UTILITIES ------- */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.fc-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--fc-gold); color: var(--fc-black); padding: var(--fc-s3) var(--fc-s5);
}
.fc-skip:focus { left: var(--fc-s4); top: var(--fc-s4); }

.fc-fade { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--fc-ease), transform .7s var(--fc-ease); }
.fc-fade.is-visible { opacity: 1; transform: none; }

.fc-rule { display: flex; align-items: center; gap: var(--fc-s3); margin: var(--fc-s5) 0; }
.fc-rule span { height: 1px; flex: 1 1 auto; max-width: 120px; background: linear-gradient(90deg, transparent, var(--fc-gold-dark)); }
.fc-rule span:last-child { background: linear-gradient(90deg, var(--fc-gold-dark), transparent); }
.fc-rule i { width: 5px; height: 5px; background: var(--fc-gold); transform: rotate(45deg); }
.fc-section-head--center .fc-rule { justify-content: center; }

.fc-dot { color: var(--fc-gold-dark); margin: 0 var(--fc-s2); }

/* -------------------------------------------------- 5. LAYOUT ---------- */
.fc-container { width: 100%; max-width: var(--fc-container); margin-inline: auto; padding-inline: var(--fc-gutter); }
.fc-container--narrow { max-width: var(--fc-container-n); }
.fc-main { display: block; }
.fc-main--shop { padding: var(--fc-s8) 0 var(--fc-s10); }

/* -------------------------------------------------- 6. KOMPONENTY ------ */

/* --- Przyciski --- */
.fc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--fc-s2);
	padding: 1.05rem 2.1rem;
	font-family: var(--fc-font-body);
	font-size: var(--fc-fs-sm);
	font-weight: 500;
	letter-spacing: var(--fc-ls-mid);
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: var(--fc-radius);
	transition: background var(--fc-dur-f) var(--fc-ease), color var(--fc-dur-f) var(--fc-ease),
	            border-color var(--fc-dur-f) var(--fc-ease), transform var(--fc-dur-f) var(--fc-ease),
	            box-shadow var(--fc-dur) var(--fc-ease);
	text-align: center;
	line-height: 1;
	position: relative;
}
.fc-btn:active { transform: translateY(1px); }
.fc-btn .fc-icon { flex: 0 0 auto; }

.fc-btn--gold { background: linear-gradient(180deg, var(--fc-gold-light), var(--fc-gold)); color: #1A130A; }
.fc-btn--gold:hover { background: linear-gradient(180deg, #F0DAA9, var(--fc-gold-light)); color: #1A130A; box-shadow: var(--fc-shadow-gold); }

.fc-btn--ghost { border-color: var(--fc-line); color: var(--fc-cream); background: rgba(244,238,229,.02); }
.fc-btn--ghost:hover { border-color: var(--fc-gold); color: var(--fc-gold-light); background: rgba(198,161,91,.07); }

.fc-btn--sm { padding: .8rem 1.4rem; font-size: var(--fc-fs-xs); }
.fc-btn--lg { padding: 1.25rem 2.8rem; font-size: var(--fc-fs-base); }
.fc-btn--block { width: 100%; }
.fc-btn[disabled], .fc-btn.is-loading { opacity: .55; pointer-events: none; }

/* --- Ikony --- */
.fc-icon { display: inline-block; vertical-align: middle; }

/* --- Topbar --- */
.fc-topbar {
	background: var(--fc-ink);
	border-bottom: 1px solid var(--fc-line-soft);
	font-size: var(--fc-fs-xs);
	letter-spacing: var(--fc-ls-mid);
	text-transform: uppercase;
	color: var(--fc-muted-2);
}
.fc-topbar p { margin: 0; padding: .55rem 0; text-align: center; }

/* --- Header --- */
.fc-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11,9,8,.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--fc-dur) var(--fc-ease), background var(--fc-dur) var(--fc-ease);
}
.fc-header.is-stuck { border-bottom-color: var(--fc-line); background: rgba(11,9,8,.95); }
.fc-header__inner { display: flex; align-items: center; gap: var(--fc-s5); min-height: var(--fc-header-h); }
.fc-header__brand { flex: 0 0 auto; }
.fc-header__actions { display: flex; align-items: center; gap: var(--fc-s4); margin-left: auto; }

/* --- Logo --- */
.fc-logo { display: inline-block; color: var(--fc-gold); }
.fc-logo__frame { display: flex; align-items: center; gap: var(--fc-s3); border: 1px solid var(--fc-line); padding: .5rem .9rem; }
.fc-logo__mark { color: var(--fc-gold); display: flex; }
.fc-logo__type { display: flex; flex-direction: column; line-height: 1.05; }
.fc-logo__name { font-family: var(--fc-font-display); font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fc-cream); }
.fc-logo__sub { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--fc-gold); }
.custom-logo-link img { max-height: 64px; width: auto; }

/* --- Nawigacja --- */
.fc-nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.fc-nav__list a {
	font-size: var(--fc-fs-xs);
	letter-spacing: var(--fc-ls-mid);
	text-transform: uppercase;
	color: var(--fc-text);
	position: relative;
	padding: .4rem 0;
}
.fc-nav__list a::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
	background: var(--fc-gold); transition: width var(--fc-dur) var(--fc-ease);
}
.fc-nav__list a:hover { color: var(--fc-gold-light); }
.fc-nav__list a:hover::after,
.fc-nav__list .current-menu-item > a::after { width: 100%; }
.fc-nav__list .current-menu-item > a { color: var(--fc-gold); }

/* --- Koszyk w headerze --- */
.fc-cart-link { position: relative; color: var(--fc-cream); display: flex; padding: .35rem; }
.fc-cart-link:hover { color: var(--fc-gold); }
.fc-cart-count {
	position: absolute; top: -4px; right: -8px; min-width: 18px; height: 18px;
	display: grid; place-items: center; padding: 0 4px;
	background: var(--fc-gold); color: var(--fc-black);
	font-size: .625rem; font-weight: 500; border-radius: 999px; line-height: 1;
}

/* --- Burger / mobile nav --- */
.fc-burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.fc-burger span { display: block; width: 22px; height: 1px; background: var(--fc-cream); transition: transform var(--fc-dur-f) var(--fc-ease), opacity var(--fc-dur-f); }
.fc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.fc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.fc-mobile-nav {
	position: fixed; inset: calc(var(--fc-header-h) + 33px) 0 0 0; z-index: 99;
	background: var(--fc-black); padding: var(--fc-s7) var(--fc-gutter); overflow-y: auto;
}
.fc-mobile-nav__list { display: flex; flex-direction: column; gap: var(--fc-s2); margin-bottom: var(--fc-s7); }
.fc-mobile-nav__list a {
	display: block; padding: var(--fc-s4) 0; border-bottom: 1px solid var(--fc-line-soft);
	font-family: var(--fc-font-display); font-size: 1.6rem; text-transform: uppercase;
	letter-spacing: .06em; color: var(--fc-cream);
}

/* --- Karty --- */
.fc-card {
	background: linear-gradient(180deg, var(--fc-surface), var(--fc-ink));
	border: 1px solid var(--fc-line-soft);
	padding: var(--fc-s7) var(--fc-s6);
	transition: border-color var(--fc-dur) var(--fc-ease), transform var(--fc-dur) var(--fc-ease);
}
.fc-card:hover { border-color: var(--fc-line); transform: translateY(-4px); }
.fc-card__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--fc-line); color: var(--fc-gold); margin-bottom: var(--fc-s5); }
.fc-card__title { font-size: var(--fc-fs-h4); margin-bottom: var(--fc-s3); }
.fc-card__text { color: var(--fc-muted); font-size: var(--fc-fs-base); margin: 0; }

/* --- Pola formularzy --- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], input[type="url"], select, textarea {
	width: 100%;
	background: var(--fc-surface);
	border: 1px solid var(--fc-line-soft);
	border-radius: var(--fc-radius);
	color: var(--fc-cream);
	padding: .95rem 1.1rem;
	font-size: var(--fc-fs-base);
	transition: border-color var(--fc-dur-f) var(--fc-ease), background var(--fc-dur-f) var(--fc-ease);
	min-height: 52px;
}
input:focus, select:focus, textarea:focus { border-color: var(--fc-gold); background: var(--fc-surface-2); outline: none; }
input::placeholder, textarea::placeholder { color: var(--fc-muted-2); }
label { font-size: var(--fc-fs-sm); color: var(--fc-muted); }

.fc-field { display: flex; gap: var(--fc-s3); flex-wrap: wrap; }
.fc-field input { flex: 1 1 260px; }

.fc-consent { display: flex; gap: var(--fc-s3); align-items: flex-start; margin-top: var(--fc-s4); font-size: var(--fc-fs-sm); color: var(--fc-muted); text-align: left; }
.fc-consent input { width: 20px; height: 20px; min-height: 0; flex: 0 0 20px; margin-top: 3px; accent-color: var(--fc-gold); }

.fc-form-msg { margin: var(--fc-s4) 0 0; font-size: var(--fc-fs-sm); min-height: 1.4em; }
.fc-form-msg.is-ok { color: var(--fc-success); }
.fc-form-msg.is-error { color: var(--fc-danger); }
.fc-hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- Stepper ilości --- */
.fc-qty { display: inline-flex; align-items: center; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); background: var(--fc-surface); }
.fc-qty__btn { width: 48px; height: 52px; display: grid; place-items: center; color: var(--fc-muted); transition: color var(--fc-dur-f); }
.fc-qty__btn:hover { color: var(--fc-gold); }
.fc-qty__input, .fc-qty input.qty {
	width: 54px; min-height: 52px; text-align: center; border: 0; background: transparent;
	-moz-appearance: textfield; padding: 0; font-variant-numeric: tabular-nums;
}
.fc-qty__input::-webkit-outer-spin-button, .fc-qty__input::-webkit-inner-spin-button,
.fc-qty input.qty::-webkit-outer-spin-button, .fc-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* --- Toast --- */
.fc-toast {
	position: fixed; z-index: 200; right: var(--fc-s5); bottom: var(--fc-s5);
	max-width: 360px; background: var(--fc-surface-2); border: 1px solid var(--fc-line);
	box-shadow: var(--fc-shadow); padding: var(--fc-s5); display: flex; gap: var(--fc-s4);
	align-items: flex-start; transform: translateY(20px); opacity: 0;
	transition: opacity var(--fc-dur) var(--fc-ease), transform var(--fc-dur) var(--fc-ease);
}
.fc-toast.is-visible { opacity: 1; transform: none; }
.fc-toast__icon { color: var(--fc-gold); }
.fc-toast__title { font-family: var(--fc-font-display); font-size: 1.2rem; color: var(--fc-cream); margin: 0 0 var(--fc-s1); }
.fc-toast__actions { display: flex; gap: var(--fc-s3); margin-top: var(--fc-s3); flex-wrap: wrap; }
.fc-toast__actions a { font-size: var(--fc-fs-xs); text-transform: uppercase; letter-spacing: var(--fc-ls-mid); }
.fc-toast__close { color: var(--fc-muted-2); margin-left: auto; }

/* -------------------------------------------------- 7. STRONA GŁÓWNA --- */

/* --- HERO --- */
.fc-hero { position: relative; overflow: hidden; background: var(--fc-black); }
.fc-hero__bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(120% 90% at 78% 40%, rgba(198,161,91,.14), transparent 55%),
		radial-gradient(80% 70% at 12% 15%, rgba(122,84,38,.16), transparent 60%),
		linear-gradient(180deg, #0B0908 0%, #130E0B 55%, #0B0908 100%);
}
.fc-hero__bg::after {
	content: ""; position: absolute; inset: 0; opacity: .5;
	background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 3px 3px;
}
.fc-hero__inner {
	position: relative;
	display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--fc-s9);
	align-items: center; min-height: min(88vh, 820px); padding-block: var(--fc-s9);
}
.fc-hero__title { font-size: var(--fc-fs-h1); text-transform: uppercase; letter-spacing: .02em; }
.fc-hero__title span { display: block; }
.fc-hero__text { max-width: 46ch; color: var(--fc-muted); font-size: var(--fc-fs-lg); margin-bottom: var(--fc-s7); }
.fc-hero__actions { display: flex; gap: var(--fc-s4); flex-wrap: wrap; }
.fc-hero__meta { margin-top: var(--fc-s6); font-size: var(--fc-fs-sm); color: var(--fc-muted); letter-spacing: .04em; }
.fc-hero__meta .amount, .fc-hero__meta .woocommerce-Price-amount { color: var(--fc-gold-light); font-size: var(--fc-fs-lg); font-family: var(--fc-font-display); }
.fc-hero__media { position: relative; display: grid; place-items: center; }
.fc-hero__pack, .fc-pack-svg { position: relative; z-index: 2; max-height: 640px; width: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.75)); }
.fc-hero__glow {
	position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(198,161,91,.22), transparent 65%); filter: blur(28px);
}
.fc-hero__scroll { position: absolute; left: 50%; bottom: var(--fc-s5); transform: translateX(-50%); color: var(--fc-gold-dark); animation: fcBob 2.6s var(--fc-ease) infinite; }
@keyframes fcBob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* --- Filary --- */
.fc-pillars { background: var(--fc-ink); border-block: 1px solid var(--fc-line-soft); }
.fc-pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fc-pillar { display: flex; gap: var(--fc-s4); padding: var(--fc-s7) var(--fc-s5); border-left: 1px solid var(--fc-line-soft); }
.fc-pillar:first-child { border-left: 0; }
.fc-pillar__icon { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--fc-line); border-radius: 50%; color: var(--fc-gold); }
.fc-pillar__body { display: flex; flex-direction: column; gap: 2px; }
.fc-pillar__body strong { font-size: var(--fc-fs-sm); letter-spacing: var(--fc-ls-mid); text-transform: uppercase; font-weight: 500; }
.fc-pillar__body span { font-size: var(--fc-fs-sm); color: var(--fc-muted); line-height: 1.5; }

/* --- Blok produktu --- */
.fc-product-block { padding-block: var(--fc-section-y); background:
	radial-gradient(90% 60% at 20% 10%, rgba(198,161,91,.07), transparent 60%), var(--fc-black); }
.fc-product-block__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.fc-product-block__media { position: relative; display: grid; place-items: center; }
.fc-product-block__pack { max-height: 600px; width: auto; filter: drop-shadow(0 40px 70px rgba(0,0,0,.8)); }
.fc-thumbs { display: flex; gap: var(--fc-s3); margin-top: var(--fc-s5); justify-content: center; }
.fc-thumbs li { width: 72px; height: 72px; border: 1px solid var(--fc-line-soft); overflow: hidden; }
.fc-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.fc-product-block__title { font-size: var(--fc-fs-h2); text-transform: uppercase; letter-spacing: .03em; margin-bottom: var(--fc-s2); }
.fc-product-block__sub { font-family: var(--fc-font-display); font-size: var(--fc-fs-lg); color: var(--fc-gold); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--fc-s5); }
.fc-product-block__desc { color: var(--fc-muted); margin-bottom: var(--fc-s6); max-width: 52ch; }

.fc-specs { border-top: 1px solid var(--fc-line-soft); margin-bottom: var(--fc-s7); }
.fc-specs__row { display: grid; grid-template-columns: 34px 130px 1fr; align-items: baseline; gap: var(--fc-s3); padding: var(--fc-s4) 0; border-bottom: 1px solid var(--fc-line-soft); }
.fc-specs__icon { color: var(--fc-gold); align-self: center; }
.fc-specs__label { font-size: var(--fc-fs-xs); letter-spacing: var(--fc-ls-mid); text-transform: uppercase; color: var(--fc-muted-2); }
.fc-specs__value { color: var(--fc-cream); font-size: var(--fc-fs-base); }

/* --- Buybox --- */
.fc-buybox { border: 1px solid var(--fc-line); background: linear-gradient(180deg, rgba(28,23,20,.85), rgba(16,12,10,.85)); padding: var(--fc-s6); }
.fc-variants { border: 0; padding: 0; margin: 0 0 var(--fc-s5); display: grid; gap: var(--fc-s3); }
.fc-variants__legend { font-size: var(--fc-fs-xs); letter-spacing: var(--fc-ls-wide); text-transform: uppercase; color: var(--fc-muted-2); padding: 0; margin-bottom: var(--fc-s3); }
.fc-variant {
	display: flex; align-items: center; gap: var(--fc-s3); cursor: pointer;
	border: 1px solid var(--fc-line-soft); padding: var(--fc-s4) var(--fc-s5);
	transition: border-color var(--fc-dur-f) var(--fc-ease), background var(--fc-dur-f) var(--fc-ease);
}
.fc-variant:hover { border-color: var(--fc-line); }
.fc-variant input { appearance: none; width: 16px; height: 16px; min-height: 0; border: 1px solid var(--fc-gold-dark); border-radius: 50%; padding: 0; flex: 0 0 16px; transition: box-shadow var(--fc-dur-f); }
.fc-variant input:checked { background: var(--fc-gold); box-shadow: inset 0 0 0 3px var(--fc-surface); }
.fc-variant:has(input:checked) { border-color: var(--fc-gold); background: rgba(198,161,91,.06); }
.fc-variant__name { text-transform: uppercase; letter-spacing: var(--fc-ls-mid); font-size: var(--fc-fs-sm); }
.fc-variant__price { margin-left: auto; font-family: var(--fc-font-display); font-size: 1.35rem; color: var(--fc-gold-light); }
.fc-variant.is-out { opacity: .45; }

.fc-buybox__row { display: flex; gap: var(--fc-s3); align-items: stretch; }
.fc-buybox__row .fc-btn { flex: 1 1 auto; }
.fc-buybox__note { display: flex; align-items: center; gap: var(--fc-s2); margin: var(--fc-s5) 0 0; font-size: var(--fc-fs-xs); color: var(--fc-muted-2); letter-spacing: .03em; }
.fc-buybox__note .fc-icon { color: var(--fc-gold-dark); }
.fc-buybox__link { margin: var(--fc-s3) 0 0; }
.fc-buybox__link a { font-size: var(--fc-fs-xs); text-transform: uppercase; letter-spacing: var(--fc-ls-mid); display: inline-flex; gap: var(--fc-s2); align-items: center; }

/* --- Dlaczego --- */
.fc-why { padding-block: var(--fc-section-y); background: var(--fc-ink); }
.fc-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fc-s5); }

/* --- Profil smakowy --- */
.fc-flavour { padding-block: var(--fc-section-y); }
.fc-flavour__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.fc-notes { display: flex; flex-wrap: wrap; gap: var(--fc-s3); margin: var(--fc-s6) 0; }
.fc-note {
	border: 1px solid var(--fc-line); padding: .55rem 1.1rem; border-radius: 999px;
	font-size: var(--fc-fs-sm); color: var(--fc-gold-light); background: rgba(198,161,91,.05);
	text-transform: lowercase;
}
.fc-brewing { display: grid; gap: var(--fc-s3); border-top: 1px solid var(--fc-line-soft); padding-top: var(--fc-s5); }
.fc-brewing > div { display: grid; grid-template-columns: 110px 1fr; gap: var(--fc-s4); align-items: baseline; }
.fc-brewing dt { font-size: var(--fc-fs-xs); letter-spacing: var(--fc-ls-mid); text-transform: uppercase; color: var(--fc-gold); }
.fc-brewing dd { color: var(--fc-muted); font-size: var(--fc-fs-sm); }

.fc-flavour__chart { border: 1px solid var(--fc-line-soft); background: linear-gradient(180deg, var(--fc-surface), var(--fc-ink)); padding: var(--fc-s7); }
.fc-scale { display: grid; gap: var(--fc-s5); }
.fc-scale__row { display: grid; grid-template-columns: 92px 1fr 52px; align-items: center; gap: var(--fc-s4); }
.fc-scale__label { font-size: var(--fc-fs-xs); letter-spacing: var(--fc-ls-mid); text-transform: uppercase; color: var(--fc-muted); }
.fc-scale__track { display: flex; gap: 5px; }
.fc-scale__track i { flex: 1 1 auto; height: 6px; background: rgba(244,238,229,.08); transition: background .6s var(--fc-ease); }
.fc-scale__track i.is-on { background: linear-gradient(90deg, var(--fc-gold-dark), var(--fc-gold)); }
.fc-scale__val { font-family: var(--fc-font-display); font-size: 1.2rem; color: var(--fc-cream); text-align: right; }
.fc-scale__val small { color: var(--fc-muted-2); font-size: .7rem; }

/* --- Pochodzenie --- */
.fc-origin { padding-block: var(--fc-section-y); background: var(--fc-ink); }
.fc-origin__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.fc-origin__text p { color: var(--fc-muted); max-width: 52ch; }
.fc-facts { border-top: 1px solid var(--fc-line); }
.fc-facts__row { display: grid; grid-template-columns: 130px 1fr; gap: var(--fc-s4); padding: var(--fc-s4) 0; border-bottom: 1px solid var(--fc-line-soft); }
.fc-facts dt { font-size: var(--fc-fs-xs); letter-spacing: var(--fc-ls-mid); text-transform: uppercase; color: var(--fc-muted-2); }
.fc-facts dd { color: var(--fc-cream); }

/* --- Proces palenia --- */
.fc-roasting { padding-block: var(--fc-section-y); }
.fc-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fc-s6) var(--fc-s5); counter-reset: step; }
.fc-timeline__item { position: relative; padding-top: var(--fc-s6); border-top: 1px solid var(--fc-line-soft); }
.fc-timeline__item::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--fc-gold); }
.fc-timeline__num { font-family: var(--fc-font-display); font-size: 2.4rem; color: rgba(198,161,91,.35); display: block; line-height: 1; margin-bottom: var(--fc-s3); }
.fc-timeline__title { font-size: var(--fc-fs-h4); margin-bottom: var(--fc-s2); }
.fc-timeline__text { color: var(--fc-muted); font-size: var(--fc-fs-base); margin: 0; }

/* --- Opinie --- */
.fc-reviews { padding-block: var(--fc-section-y); background: var(--fc-ink); }
.fc-reviews__score { display: flex; align-items: center; justify-content: center; gap: var(--fc-s3); margin-bottom: var(--fc-s7); color: var(--fc-muted); font-size: var(--fc-fs-sm); }
.fc-reviews__score strong { font-family: var(--fc-font-display); font-size: 1.6rem; color: var(--fc-cream); }
.fc-stars { display: inline-flex; gap: 2px; color: var(--fc-muted-2); }
.fc-stars i.is-on { color: var(--fc-gold); }
.fc-stars i.is-on svg { fill: currentColor; }
.fc-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fc-s5); }
.fc-review { position: relative; border: 1px solid var(--fc-line-soft); background: var(--fc-surface); padding: var(--fc-s6); }
.fc-review__quote { position: absolute; top: var(--fc-s4); right: var(--fc-s5); color: rgba(198,161,91,.18); }
.fc-review__text { margin: var(--fc-s3) 0 var(--fc-s5); font-family: var(--fc-font-display); font-size: 1.28rem; line-height: 1.55; color: var(--fc-cream); }
.fc-review__author { margin: 0; font-size: var(--fc-fs-xs); text-transform: uppercase; letter-spacing: var(--fc-ls-mid); color: var(--fc-gold); }
.fc-review__author span { display: block; color: var(--fc-muted-2); letter-spacing: .04em; text-transform: none; margin-top: 2px; }
.fc-reviews__empty { text-align: center; color: var(--fc-muted); max-width: 56ch; margin-inline: auto; }
.fc-reviews__cta { text-align: center; margin-top: var(--fc-s7); }

/* --- FAQ --- */
.fc-faq { padding-block: var(--fc-section-y); }
.fc-accordion { border-top: 1px solid var(--fc-line-soft); }
.fc-accordion__item { border-bottom: 1px solid var(--fc-line-soft); }
.fc-accordion h3 { margin: 0; }
.fc-accordion__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--fc-s4);
	padding: var(--fc-s5) 0; text-align: left; color: var(--fc-cream);
	font-family: var(--fc-font-display); font-size: var(--fc-fs-h4); line-height: 1.35;
	transition: color var(--fc-dur-f) var(--fc-ease);
}
.fc-accordion__trigger:hover { color: var(--fc-gold); }
.fc-accordion__trigger .fc-icon { flex: 0 0 auto; color: var(--fc-gold); transition: transform var(--fc-dur) var(--fc-ease); }
.fc-accordion__trigger[aria-expanded="true"] .fc-icon { transform: rotate(180deg); }
.fc-accordion__panel { overflow: hidden; }
.fc-accordion__content { padding: 0 0 var(--fc-s5); max-width: 68ch; }
.fc-accordion__content p { color: var(--fc-muted); }

/* --- Newsletter --- */
.fc-newsletter { padding-block: var(--fc-section-y); background: var(--fc-ink); }
.fc-newsletter__box {
	border: 1px solid var(--fc-line); padding: clamp(2rem, 5vw, 4rem); text-align: center;
	background: radial-gradient(80% 120% at 50% 0%, rgba(198,161,91,.10), transparent 60%), var(--fc-surface);
}
.fc-newsletter__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--fc-line); border-radius: 50%; color: var(--fc-gold); margin-bottom: var(--fc-s5); }
.fc-newsletter__title { font-size: var(--fc-fs-h3); text-transform: uppercase; letter-spacing: .03em; margin-bottom: var(--fc-s3); }
.fc-newsletter__text { color: var(--fc-muted); max-width: 52ch; margin: 0 auto var(--fc-s6); }
.fc-newsletter__form { max-width: 34rem; margin-inline: auto; }
.fc-newsletter__form .fc-consent { justify-content: flex-start; }

/* --- CTA --- */
.fc-cta { padding-block: var(--fc-section-y); text-align: center; background:
	radial-gradient(70% 100% at 50% 100%, rgba(198,161,91,.12), transparent 60%), var(--fc-black); }
.fc-cta__inner { max-width: 46rem; margin-inline: auto; }
.fc-cta .fc-rule { justify-content: center; }
.fc-cta__title { font-size: var(--fc-fs-h2); text-transform: uppercase; letter-spacing: .03em; margin-bottom: var(--fc-s4); }
.fc-cta__text { color: var(--fc-muted); margin-bottom: var(--fc-s7); }
.fc-cta__price { margin-top: var(--fc-s5); color: var(--fc-muted); font-size: var(--fc-fs-sm); }

/* --- Stopka --- */
.fc-footer { background: var(--fc-ink); border-top: 1px solid var(--fc-line-soft); padding-block: var(--fc-s9) var(--fc-s6); }
.fc-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--fc-s6); }
.fc-footer__tagline { color: var(--fc-muted-2); font-size: var(--fc-fs-sm); max-width: 30ch; margin-top: var(--fc-s4); }
.fc-footer__heading { font-family: var(--fc-font-body); font-size: var(--fc-fs-xs); letter-spacing: var(--fc-ls-wide); text-transform: uppercase; color: var(--fc-gold); margin: 0 0 var(--fc-s4); font-weight: 500; }
.fc-footer__list { display: grid; gap: var(--fc-s2); }
.fc-footer__list a { color: var(--fc-muted); font-size: var(--fc-fs-sm); }
.fc-footer__list a:hover { color: var(--fc-cream); }
.fc-social { display: flex; gap: var(--fc-s3); margin-top: var(--fc-s5); }
.fc-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--fc-line); color: var(--fc-muted); border-radius: 50%; }
.fc-social a:hover { border-color: var(--fc-gold); color: var(--fc-gold); }
.fc-footer__bottom {
	display: flex; flex-wrap: wrap; align-items: center; gap: var(--fc-s4);
	margin-top: var(--fc-s8); padding-top: var(--fc-s5); border-top: 1px solid var(--fc-line-soft);
	font-size: var(--fc-fs-xs); color: var(--fc-muted-2);
}
.fc-footer__copy { margin: 0; }
.fc-footer__legal { display: flex; gap: var(--fc-s4); flex-wrap: wrap; }
.fc-footer__legal a { color: var(--fc-muted-2); }
.fc-footer__legal a:hover { color: var(--fc-gold); }
.fc-payments { margin-left: auto; display: flex; gap: var(--fc-s3); flex-wrap: wrap; }
.fc-payments span { border: 1px solid var(--fc-line-soft); padding: .3rem .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fc-muted-2); }

/* --- Nagłówek podstrony --- */
.fc-page-hero { padding-block: var(--fc-s9) var(--fc-s7); border-bottom: 1px solid var(--fc-line-soft);
	background: radial-gradient(90% 100% at 20% 0%, rgba(198,161,91,.08), transparent 60%), var(--fc-ink); }
.fc-page-title { font-size: var(--fc-fs-h2); text-transform: uppercase; letter-spacing: .03em; }
.fc-page-hero + .fc-container { padding-top: var(--fc-s8); padding-bottom: var(--fc-s10); }

/* --- Blog / 404 --- */
.fc-posts { display: grid; gap: var(--fc-s7); padding-block: var(--fc-s8); }
.fc-post-card { display: grid; gap: var(--fc-s4); }
.fc-post-card__title { font-size: var(--fc-fs-h3); }
.fc-404 { padding-block: var(--fc-s11); text-align: center; }
.fc-404__actions { display: flex; gap: var(--fc-s4); justify-content: center; margin-top: var(--fc-s6); }

/* --- Sticky ATC (mobile) --- */
.fc-sticky-atc {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
	display: none; align-items: center; gap: var(--fc-s4);
	padding: var(--fc-s3) var(--fc-gutter) calc(var(--fc-s3) + env(safe-area-inset-bottom));
	background: rgba(11,9,8,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--fc-line);
	transform: translateY(105%); transition: transform var(--fc-dur) var(--fc-ease);
}
.fc-sticky-atc.is-visible { transform: none; }
.fc-sticky-atc__info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.fc-sticky-atc__name { font-size: var(--fc-fs-xs); text-transform: uppercase; letter-spacing: var(--fc-ls-mid); color: var(--fc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-sticky-atc__price { font-family: var(--fc-font-display); font-size: 1.2rem; color: var(--fc-gold-light); }
.fc-sticky-atc__price del { display: none; }
.fc-sticky-atc__btn { margin-left: auto; white-space: nowrap; }

/* -------------------------------------------------- 8. RESPONSYWNOŚĆ --- */
@media (max-width: 1080px) {
	.fc-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.fc-pillars__grid { grid-template-columns: 1fr 1fr; }
	.fc-pillar:nth-child(3) { border-left: 0; }
	.fc-pillar { border-top: 1px solid var(--fc-line-soft); }
	.fc-pillar:nth-child(-n+2) { border-top: 0; }
	.fc-why__grid, .fc-timeline, .fc-reviews__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	:root { --fc-header-h: 72px; }
	.fc-nav, .fc-header__cta span { display: none; }
	.fc-burger { display: flex; }
	.fc-hero__inner { grid-template-columns: 1fr; text-align: left; gap: var(--fc-s7); min-height: 0; }
	.fc-hero__media { order: -1; }
	.fc-hero__pack, .fc-pack-svg { max-height: 380px; }
	.fc-hero__scroll { display: none; }
	.fc-product-block__inner, .fc-flavour__inner, .fc-origin__inner { grid-template-columns: 1fr; }
	.fc-product-block__media { order: -1; }
	.fc-product-block__pack { max-height: 400px; }
	.fc-sticky-atc { display: flex; }
	body.single-product { padding-bottom: 84px; }
}

@media (max-width: 640px) {
	.fc-why__grid, .fc-timeline, .fc-reviews__grid, .fc-pillars__grid { grid-template-columns: 1fr; }
	.fc-pillar { border-left: 0; border-top: 1px solid var(--fc-line-soft); }
	.fc-pillar:first-child { border-top: 0; }
	.fc-footer__grid { grid-template-columns: 1fr 1fr; }
	.fc-footer__brand { grid-column: 1 / -1; }
	.fc-footer__bottom { flex-direction: column; align-items: flex-start; }
	.fc-payments { margin-left: 0; }
	.fc-specs__row { grid-template-columns: 28px 1fr; }
	.fc-specs__value { grid-column: 2; }
	.fc-buybox { padding: var(--fc-s5) var(--fc-s4); }
	.fc-buybox__row { flex-direction: column; }
	.fc-qty { align-self: stretch; justify-content: space-between; }
	.fc-toast { left: var(--fc-s4); right: var(--fc-s4); bottom: 90px; max-width: none; }
	.fc-scale__row { grid-template-columns: 78px 1fr 44px; }
	.fc-brewing > div { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.fc-fade { opacity: 1; transform: none; }
}

@media print {
	.fc-header, .fc-topbar, .fc-footer, .fc-sticky-atc, .fc-hero__bg { display: none !important; }
	body { background: #fff; color: #000; }
}

/* --- Poprawki packshotu SVG w blokach --- */
.fc-product-block .fc-pack-svg { max-height: 520px; }
.fc-hero .fc-pack-svg { max-height: 600px; }
@media (max-width: 900px) {
	.fc-product-block .fc-pack-svg, .fc-hero .fc-pack-svg { max-height: 360px; }
}

/* Pasek administracyjny WordPressa zasłaniałby przyklejony header i galerię. */
body.admin-bar .fc-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .fc-header { top: 46px; }
}
