/* ==========================================================================
   FORM3D Studio 2.0 — „Warstwa po warstwie”
   Motyw pracowni druku 3D: siatka stołu roboczego, warstwy, kolory filamentu.
   ========================================================================== */

/* ---------- Fonty (lokalne, z polskimi znakami) ---------- */
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-display: swap; src: url(fonts/space-grotesk-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-weight: 400; font-display: swap; src: url(fonts/space-grotesk-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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-weight: 500 600; font-display: swap; src: url(fonts/space-grotesk-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-weight: 500 600; font-display: swap; src: url(fonts/space-grotesk-latin-ext-500.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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-weight: 700; font-display: swap; src: url(fonts/space-grotesk-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-weight: 700; font-display: swap; src: url(fonts/space-grotesk-latin-ext-700.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+FEFF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500 700; font-display: swap; src: url(fonts/jetbrains-mono-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+FEFF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500 700; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext-500.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; src: url(fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; src: url(fonts/instrument-serif-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; src: url(fonts/instrument-serif-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; src: url(fonts/instrument-serif-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokeny ---------- */
:root {
  --paper: #f3f0e8;
  --paper-2: #e9e4d8;
  --card: #fbfaf6;
  --ink: #15171c;
  --ink-2: #3b3e45;
  --muted: #6b6c6a;
  --line: #dcd6c8;
  --line-strong: #c4bcaa;
  --accent: #ff5a1f;
  --teal: #0e8a7d;
  --yellow: #ffc533;
  --frame: #22252b;
  --frame-2: #353941;
  --bed: #2b2f37;
  --metal: #a3a8b0;
  --screen: #0d0f12;
  --street: #e6e0d2;
  --park: #d8e3c9;
  --water: #bcd6dc;
  --font-sans: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -22px rgba(21,23,28,.35);
  --gutter: 48px;
  --header-h: 84px;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.02; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(38px, 4.8vw, 70px); margin-bottom: .4em; }
h3 { font-size: 22px; letter-spacing: -.03em; }
p { text-wrap: pretty; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.accent { color: var(--accent); }
.shell { width: min(1360px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.f3-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
.eyebrow, .mono-label {
  display: flex; align-items: center; gap: 10px;
  font: 500 11.5px/1.5 var(--font-mono);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 22px; color: var(--ink-2);
}
.mono-label { margin-bottom: 14px; font-size: 10.5px; color: var(--muted); }
.mono-label .f3-icon { width: 15px; height: 15px; }
.idx { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 10.5px; letter-spacing: .04em; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10000; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Przyciski ---------- */
.btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .wp-element-button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 24px;
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 999px;
  font: 600 14px/1.2 var(--font-sans); letter-spacing: -.01em;
  cursor: pointer; text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease), box-shadow .35s;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover, .wp-element-button:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-2px); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn .f3-icon { transition: transform .35s var(--ease); }
.btn:hover .f3-icon { transform: translate(3px, -3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: none; }
.quiet-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; transition: color .2s; }
.quiet-link:hover { color: var(--accent); }
.quiet-link .f3-icon { width: 16px; height: 16px; }

/* ---------- Pasek ogłoszeń ---------- */
.announcement { background: var(--ink); color: var(--paper); font: 500 11px/1.4 var(--font-mono); letter-spacing: .05em; }
.announcement-inner { min-height: 38px; display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: dot-pulse 2.4s infinite; flex: none; }
.announcement-end { margin-left: auto; opacity: .6; letter-spacing: .14em; white-space: nowrap; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0,0,0,.25); }
.admin-bar .site-header { top: 32px; }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 25px; letter-spacing: -.06em; white-space: nowrap; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.05); }
.custom-logo { max-width: 180px; max-height: 52px; width: auto; object-fit: contain; }
.header-inner nav { margin-inline: auto; }
.header-inner nav ul { list-style: none; display: flex; gap: 6px; padding: 5px; margin: 0; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); border-radius: 999px; }
.header-inner nav li { position: relative; }
.header-inner nav a { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.header-inner nav a:hover, .header-inner nav .current-menu-item > a { background: var(--ink); color: var(--paper); }
.header-inner nav .sub-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; flex-direction: column; min-width: 210px; padding: 8px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); }
.header-inner nav li:hover > .sub-menu, .header-inner nav li:focus-within > .sub-menu { display: flex; }
.header-actions { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.icon-link, .bag { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; transition: background .2s; }
.icon-link:hover { background: var(--paper-2); }
.bag { background: var(--ink); color: var(--paper); padding: 9px 9px 9px 16px; }
.bag:hover { background: var(--accent); color: #fff; }
.f3-cart-count { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--paper); color: var(--ink); font: 600 12px/1 var(--font-mono); }
.menu-toggle { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; padding: 13px 12px; cursor: pointer; }
.menu-toggle span { height: 1.5px; background: var(--ink); display: block; margin: 5px 0; transition: transform .3s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 56px 88px; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: 620px; }
.hero-copy { position: relative; z-index: 2; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: dot-pulse 2.4s infinite; }
.hero h1 { font-size: clamp(58px, 8vw, 124px); line-height: .92; letter-spacing: -.065em; margin-bottom: 28px; font-weight: 700; }
.h-line { display: block; overflow: hidden; padding-bottom: .06em; }
.h-line > span { display: inline-block; }
.hero h1 .serif { font-weight: 400; letter-spacing: -.035em; font-size: 1.08em; line-height: .9; }
.hero .intro { max-width: 460px; font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 46px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hero-specs div { padding: 16px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-specs div:last-child { border-right: 0; margin-right: 0; }
.hero-specs dt { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-specs dd { margin: 0; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }

.hero-visual { position: relative; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease); }
.printer-card, .hero-photo {
  position: relative; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #2a2e36 0%, #16181d 60%);
  color: var(--paper);
  box-shadow: 0 40px 80px -40px rgba(21,23,28,.6), 0 0 0 1px rgba(255,255,255,.04) inset;
  aspect-ratio: 1 / 1.03;
  isolation: isolate;
}
.printer-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.printer-svg { display: block; width: 100%; height: 100%; padding: 64px 26px 70px; color: var(--paper); --frame: #2d3139; --frame-2: #3d424c; --bed: #111317; --metal: #b6bcc5; --screen: #0a0b0d; --paper: #f3f0e8; }
.printer-svg .svg-mono { font: 600 11px var(--font-mono); letter-spacing: .1em; }
.printer-svg .layer { fill: var(--accent); stroke: rgba(0,0,0,.22); stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.printer-svg .layer:nth-child(even) { fill: color-mix(in srgb, var(--accent) 88%, #fff); }
.printer-svg .head { animation: head-move 1.25s ease-in-out infinite alternate; }
.printer-svg .gantry { transition: transform .25s linear; }
.printer-svg .hot { animation: hot 1s ease-in-out infinite alternate; }
.printer-svg .glow { opacity: .6; }
.printer-svg .spool { animation: spool 9s linear infinite; transform-box: fill-box; transform-origin: center; }
.printer-card.is-printing .layer { opacity: 0; transform: scaleX(.3); transition: opacity .25s, transform .4s var(--ease); }
.printer-card.is-printing .layer.on { opacity: 1; transform: none; }
.printer-card.is-done .head { animation-play-state: paused; }
.hud { position: absolute; left: 20px; right: 20px; display: flex; align-items: center; gap: 18px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em; color: rgba(243,240,232,.6); z-index: 2; }
.hud b { color: var(--paper); font-weight: 600; }
.hud-top { top: 20px; }
.hud-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--paper); }
.hud-live i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; animation: dot-pulse-green 1.6s infinite; }
.is-done .hud-live i { background: var(--accent); animation: none; }
.hud-bottom { bottom: 20px; }
.progress { flex: 1; height: 5px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--p, 100%); background: linear-gradient(90deg, var(--accent), var(--yellow)); border-radius: inherit; transition: width .3s linear; }
.art-label { position: absolute; left: 24px; bottom: 56px; z-index: 2; }
.art-label span { display: block; font: 500 10px/1 var(--font-mono); letter-spacing: .16em; color: rgba(243,240,232,.55); margin-bottom: 6px; }
.art-label b { font-weight: 500; font-size: 20px; letter-spacing: -.03em; color: var(--paper); }
.printer-card .art-label { display: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10,12,15,.6)); }
.hero-photo .art-label { bottom: 26px; }
.sticker {
  position: absolute; left: -40px; top: 40px; z-index: 3;
  width: 116px; height: 116px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 80%, #000);
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.sticker text { font: 600 8.6px var(--font-mono); letter-spacing: .18em; fill: #fff; }
.sticker b { font-size: 30px; font-weight: 700; letter-spacing: -.06em; }

/* ---------- Cechy ---------- */
.features { border-block: 1px solid var(--line); background: var(--card); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; gap: 16px; padding: 30px 26px 30px 0; }
.feature + .feature { padding-left: 26px; border-left: 1px solid var(--line); }
.feature-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--accent); }
.feature-icon .f3-icon { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; margin: 2px 0 6px; letter-spacing: -.02em; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Pasek przewijany ---------- */
.marquee { overflow: hidden; padding: 22px 0; background: var(--ink); color: var(--paper); user-select: none; }
.marquee > div { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font: 600 clamp(20px, 2.4vw, 32px)/1 var(--font-sans); letter-spacing: -.03em; white-space: nowrap; }
.m-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); flex: none; }
.m-teal { background: var(--teal); border-radius: 4px; transform: rotate(45deg); }
.m-yellow { background: var(--yellow); border-radius: 3px; }
.marquee:hover > div { animation-play-state: paused; }

/* ---------- Sekcje ---------- */
.section-space { padding-block: 112px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p, .section-heading > div + div { max-width: 340px; color: var(--muted); font-size: 15px; }
.section-heading > div + div p { margin-bottom: 16px; }
.section-heading .quiet-link { color: var(--ink); }
.category-links { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.category-links a { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.category-links a:hover, .category-links .selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.category-links sup { margin-left: 4px; font: 500 10px var(--font-mono); opacity: .6; }
.empty-state { padding: 70px 24px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); background: repeating-linear-gradient(0deg, transparent 0 9px, color-mix(in srgb, var(--line) 50%, transparent) 9px 10px); }
.empty-state .f3-icon { width: 44px; height: 44px; color: var(--accent); margin: 0 auto 18px; }
.empty-state .eyebrow { justify-content: center; }
.empty-state h3 { font-size: 32px; }
.empty-state p:last-child { color: var(--muted); margin: 0; }

/* ---------- Produkty (siatka) ---------- */
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; padding: 0; margin: 0 0 30px; list-style: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; position: relative; min-width: 0; display: flex; flex-direction: column; }
.woocommerce ul.products li.product > a:first-child { display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; margin: 0 0 18px !important;
  border-radius: var(--r-lg); background: var(--paper-2);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.woocommerce ul.products li.product:hover a img { transform: translateY(-6px); box-shadow: 0 26px 40px -26px rgba(21,23,28,.5); }
.loop-cat { display: block; font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 20px; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; padding: 0 0 8px; margin: 0; color: var(--ink); }
.woocommerce ul.products li.product .price { font: 600 15px/1.3 var(--font-mono); color: var(--ink); margin: 0 0 14px; }
.woocommerce ul.products li.product .price del { opacity: .5; font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--accent); }
.woocommerce ul.products li.product .button { align-self: flex-start; padding: 10px 16px; font-size: 13px; background: transparent; color: var(--ink); border-color: var(--line-strong); margin-top: auto; }
.woocommerce ul.products li.product .button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.woocommerce ul.products li.product .added_to_cart { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }
.woocommerce span.onsale { position: absolute; z-index: 2; background: var(--accent); color: #fff; min-height: 0; min-width: 0; padding: 7px 12px; line-height: 1; font: 600 11px/1 var(--font-mono); letter-spacing: .06em; border-radius: 999px; top: 14px; left: 14px; right: auto !important; margin: 0 !important; }
.woocommerce .star-rating { color: var(--accent); }
.woocommerce .woocommerce-result-count { font: 500 12px var(--font-mono); color: var(--muted); }
.woocommerce .woocommerce-ordering select { border-radius: 999px; padding: 10px 16px; }

/* ---------- Proces ---------- */
.process { background: var(--card); border-block: 1px solid var(--line); position: relative; }
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-card { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s, background .3s; }
.process-card:hover { transform: translateY(-6px); border-color: var(--ink); }
.process-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.step-number { font: 400 54px/1 var(--font-serif); font-style: italic; color: var(--accent); }
.process-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.process-icon .f3-icon { width: 22px; height: 22px; }
.process-layers { display: flex; flex-direction: column-reverse; gap: 3px; margin-bottom: 24px; }
.process-layers i { height: 6px; border-radius: 3px; background: var(--line); }
.process-layers i:nth-child(2) { width: 88%; margin-inline: auto; }
.process-layers i:nth-child(3) { width: 72%; margin-inline: auto; }
.process-layers i:nth-child(4) { width: 52%; margin-inline: auto; }
.process-layers i.on { background: var(--accent); }
.process-card h3 { font-size: 24px; margin-bottom: 10px; }
.process-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Pracownia ---------- */
.studio { background: var(--ink); color: var(--paper); padding: 110px 0; position: relative; overflow: hidden; }
.studio::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.studio-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.studio-photo { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); overflow: hidden; }
.studio-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 100% center; transform: scale(1.06); transform-origin: right center; transition: transform 1.2s var(--ease); }
.studio-photo:hover > img { transform: scale(1.1); }
.studio-photo .photo-tag { position: absolute; left: 22px; bottom: 20px; font: 500 10.5px var(--font-mono); letter-spacing: .14em; color: #fff; background: rgba(0,0,0,.45); padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--accent); z-index: 2; }
.c1 { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.c2 { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.c3 { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.c4 { bottom: 14px; left: 14px; border-right: 0; border-top: 0; display: none; }
.studio .eyebrow { color: rgba(243,240,232,.7); }
.studio .idx { background: var(--accent); color: #fff; }
.studio-copy h2 { font-size: clamp(36px, 4vw, 58px); max-width: 520px; }
.studio-copy > p:not(.eyebrow) { color: rgba(243,240,232,.7); font-size: 17px; max-width: 460px; line-height: 1.7; }
.studio-signature { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 26px; display: flex; align-items: center; gap: 18px; font: 500 12px/1.6 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(243,240,232,.75); }
.studio-signature .brand-mark { width: 46px; height: 46px; color: var(--paper); }

/* ---------- Dostawa ---------- */
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.delivery-copy h2 { font-size: clamp(36px, 4.2vw, 60px); }
.delivery-lead { color: var(--ink-2); font-size: 17px; max-width: 520px; margin-bottom: 30px; }
.carrier-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.carrier-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.carrier-row:hover { padding-left: 8px; }
.carrier-name { flex: 1; font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.carrier-name small, .carrier-price small { display: block; font: 400 12px/1.4 var(--font-sans); color: var(--muted); }
.carrier-price { text-align: right; font: 600 14px var(--font-mono); white-space: nowrap; }
.carrier-badge {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  min-width: 102px; height: 34px; padding: 0 12px;
  border-radius: 9px; background: var(--cb, var(--ink)); color: var(--cf, #fff);
  font: 700 12px/1 var(--font-sans); letter-spacing: -.01em;
}
.carrier-badge .f3-icon { width: 17px; height: 17px; }
.carrier-badge.has-logo { background: #fff; border: 1px solid var(--line); padding: 0 10px; justify-content: center; }
.carrier-badge.has-logo img { height: 20px; width: auto; max-width: 84px; object-fit: contain; }
.delivery-map { position: relative; color: var(--ink); }
.map-svg { width: 100%; height: auto; display: block; border-radius: 28px; box-shadow: var(--shadow); }
.map-svg .route { animation: route 2.6s linear infinite; }
.map-svg .map-pin { animation: pin-bob 3s ease-in-out infinite; transform-box: fill-box; }
.map-svg .pin-b { animation-delay: -.6s; } .map-svg .pin-c { animation-delay: -1.2s; } .map-svg .pin-d { animation-delay: -1.8s; } .map-svg .pin-e { animation-delay: -2.4s; }
.map-svg .ping { animation: ping 2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.map-card { position: absolute; right: -18px; top: 30px; width: 230px; padding: 16px 18px; border-radius: var(--r-md); background: var(--ink); color: var(--paper); box-shadow: 0 24px 40px -20px rgba(0,0,0,.5); display: grid; gap: 4px; }
.map-card .mono-label { color: rgba(243,240,232,.6); margin: 0 0 4px; }
.map-card .mono-label .f3-icon { color: var(--accent); }
.map-card b { font: 600 16px var(--font-mono); }
.map-card small { color: rgba(243,240,232,.6); font-size: 12px; }

/* znaczki w etykietach metod (koszyk, zamówienie) */
.carrier-inpost, .f3-rate-badge.carrier-inpost, .courier-inpost { --cb: #ffcd00; --cf: #1d1d1b; }
.carrier-orlen { --cb: #e3000f; --cf: #fff; }
.carrier-dpd, .courier-dpd { --cb: #dc0032; --cf: #fff; }
.carrier-dhl, .courier-dhl { --cb: #ffcc00; --cf: #d40511; }
.carrier-pocztex, .courier-pocztex { --cb: #e2001a; --cf: #fff; }
.courier-gls { --cb: #061ab1; --cf: #ffd100; }
.courier-ups { --cb: #351c15; --cf: #ffb500; }
.courier-fedex { --cb: #4d148c; --cf: #fff; }
.f3-rate-badge { background: var(--cb, var(--ink)) !important; color: var(--cf, #fff) !important; }

/* ---------- FAQ ---------- */
.faq-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; border-top: 1px solid var(--line); padding-block: 100px; }
.faq-section h2 { font-size: clamp(36px, 4vw, 54px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; transition: color .2s; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .4s var(--ease), background .2s, color .2s; }
.faq-plus .f3-icon { width: 18px; height: 18px; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-list details p { color: var(--ink-2); font-size: 15.5px; max-width: 560px; padding-bottom: 22px; margin: 0; animation: fade-up .4s var(--ease); }

/* ---------- Kontakt ---------- */
.contact-band { position: relative; overflow: hidden; background: var(--accent); color: #fff; border-radius: 28px; padding: 56px; margin-bottom: 100px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-band::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 11px, rgba(255,255,255,.08) 11px 12px); pointer-events: none; }
.contact-band > * { position: relative; }
.contact-band .eyebrow { color: rgba(255,255,255,.85); }
.contact-band h2 { font-size: clamp(36px, 4.4vw, 64px); margin: 0 0 10px; }
.contact-band p:last-child { margin: 0; opacity: .9; }
.round-link { flex: none; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .5s var(--ease), background .2s, color .2s; }
.round-link .f3-icon { width: 36px; height: 36px; }
.round-link:hover { transform: rotate(45deg) scale(1.05); background: var(--ink); color: #fff; }

/* ---------- Stopka ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--paper); padding-top: 80px; overflow: hidden; }
.footer-layers { position: absolute; left: 0; right: 0; top: 0; height: 10px; background: linear-gradient(90deg, var(--accent) 0 40%, var(--yellow) 40% 62%, var(--teal) 62% 80%, var(--paper) 80%); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-top p, .footer-top a:not(.brand) { font-size: 14.5px; color: rgba(243,240,232,.65); }
.footer-top > div > a:not(.brand), .footer-top li a { display: block; margin-bottom: 9px; transition: color .2s; }
.footer-top a:not(.brand):hover { color: var(--accent); }
.footer-top .brand { color: var(--paper); margin-bottom: 18px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top .mono-label { color: rgba(243,240,232,.45); }
.footer-brand p:first-of-type { margin-bottom: 28px; }
.footer-carriers { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-carriers .carrier-badge { min-width: 0; height: 28px; font-size: 11px; padding: 0 9px; }
.footer-carriers .carrier-badge .f3-icon { display: none; }
.footer-mail { display: inline-flex !important; align-items: center; gap: 8px; }
.footer-word { font-weight: 700; font-size: clamp(80px, 19vw, 300px); line-height: .78; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1px rgba(243,240,232,.18); white-space: nowrap; user-select: none; margin: 10px 0 -0.06em; overflow: hidden; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font: 500 11px var(--font-mono); letter-spacing: .08em; color: rgba(243,240,232,.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Strony, sklep ---------- */
.page-content, .commerce { padding-block: 64px 110px; min-height: 55vh; }
.page-content h1, .commerce h1, .woocommerce-products-header__title { font-size: clamp(42px, 5.6vw, 84px); letter-spacing: -.055em; font-weight: 700; }
.woocommerce .woocommerce-breadcrumb { font: 500 12px var(--font-mono); color: var(--muted); margin-bottom: 26px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink); }
.entry-content { max-width: 820px; font-size: 17px; }
.entry-content > * { max-width: 100%; }
.entry-content a:not(.button):not(.wp-element-button) { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.entry-content > .woocommerce, .entry-content > .wp-block-woocommerce-cart, .entry-content > .wp-block-woocommerce-checkout { max-width: none; }
.page-content:has(.woocommerce) .entry-content, .page-content:has(.wp-block-woocommerce-cart) .entry-content, .page-content:has(.wp-block-woocommerce-checkout) .entry-content { max-width: none; }
.journal-entry { padding: 30px 0; border-bottom: 1px solid var(--line); }
.journal-entry h2 { font-size: 34px; }
.not-found .eyebrow { margin-top: 20px; }
.err-code { font: 700 clamp(120px, 22vw, 280px)/.8 var(--font-sans); letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 2px var(--ink); display: flex; gap: .02em; margin-bottom: 30px; }
.err-code span:nth-child(2) { -webkit-text-stroke: 0; color: var(--accent); }

input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=range]), select, textarea {
  max-width: 100%; background: var(--card); border: 1.5px solid var(--line); padding: 13px 14px; border-radius: 10px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); outline: none; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 18px; height: 18px; vertical-align: middle; }

/* Karta produktu */
.woocommerce div.product div.images img { border-radius: var(--r-lg); background: var(--paper-2); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 22% !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: var(--r-md); }
.woocommerce div.product .product_title { font-size: clamp(36px, 4vw, 60px); letter-spacing: -.055em; font-weight: 700; margin-bottom: 14px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font: 600 26px var(--font-mono); }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--accent); }
.woocommerce div.product div.summary { line-height: 1.7; }
.woocommerce div.product div.summary .woocommerce-product-details__short-description { color: var(--ink-2); font-size: 16.5px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 26px 0; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: left; }
.woocommerce div.product form.cart .variations select { min-width: 240px; border-radius: 10px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce .quantity .qty { min-width: 84px; height: 100%; min-height: 52px; border-radius: 999px !important; text-align: center; font-weight: 600; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 200px; padding-block: 17px; }
.woocommerce div.product .product_meta { font: 500 12px/1.8 var(--font-mono); color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.woocommerce div.product .product_meta a { color: var(--ink); }
.product-delivery { margin: 22px 0; padding: 18px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.product-delivery .mono-label { margin-bottom: 12px; color: var(--ink-2); }
.product-delivery-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.product-delivery-badges .carrier-badge { min-width: 0; height: 30px; font-size: 11.5px; padding: 0 10px; }
.product-delivery-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.product-delivery-note b { color: var(--ink); font-family: var(--font-mono); }
.woocommerce div.product .woocommerce-tabs { margin-top: 70px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 30px; display: flex; gap: 6px; flex-wrap: wrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 18px; font-weight: 500; color: var(--ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ink); border-color: var(--ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--paper); }
.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 .panel { max-width: 820px; font-size: 16px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 28px; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-bottom: 1px solid var(--line); background: transparent !important; padding: 12px; font-style: normal; }
.related.products > h2, .upsells.products > h2 { font-size: 36px; margin: 70px 0 30px; }

/* Koszyk i zamówienie */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 16px 14px; border-top-color: var(--line); }
.woocommerce table.shop_table img { width: 64px; border-radius: 10px; }
.woocommerce a.remove { color: var(--muted) !important; border-radius: 50%; }
.woocommerce a.remove:hover { background: var(--accent); color: #fff !important; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce #payment { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.woocommerce-cart .cart-collaterals .cart_totals h2, #order_review_heading { font-size: 28px; }
.woocommerce-checkout #order_review { padding: 22px; }
.woocommerce-checkout #order_review table.shop_table { border: 0; background: transparent; }
.woocommerce #payment { background: var(--paper); padding: 0; border: 0; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--line); padding: 0 0 16px; }
.woocommerce-checkout #payment div.payment_box { background: var(--card); border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--card); }
.woocommerce #payment #place_order { width: 100%; padding: 20px; font-size: 16px; background: var(--accent); border-color: var(--accent); }
.woocommerce #payment #place_order:hover { background: var(--ink); border-color: var(--ink); }
.woocommerce ul#shipping_method { margin: 0; padding: 0; }
.woocommerce ul#shipping_method li { display: block; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); text-align: left; text-indent: 0; }
.woocommerce ul#shipping_method li:has(input:checked) { border-color: var(--ink); background: var(--card); }
.woocommerce ul#shipping_method li input { margin: 3px 8px 0 0; }
.woocommerce ul#shipping_method .amount { font-family: var(--font-mono); font-weight: 600; }
.woocommerce form.checkout h3 { font-size: 26px; }
.woocommerce form .form-row label { font-size: 13.5px; font-weight: 500; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select { width: 100%; }
.select2-container--default .select2-selection--single { height: 50px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-top: 0; border-radius: var(--r-md); }
.woocommerce-error { border-left-color: #c62828; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent); }
.woocommerce-message .button { float: right; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 8px; margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 8px; font-weight: 500; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--paper-2); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--paper); }
.woocommerce-order-overview { padding: 20px !important; background: var(--card); border-radius: var(--r-md); border: 1px solid var(--line); }
.f3-order-point { display: inline-block; margin-top: 4px; color: var(--ink-2); }
.wc-block-components-button:not(.is-link) { border-radius: 999px !important; background: var(--ink); color: var(--paper); }
.wc-block-components-product-name { color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul { border: 0; margin: 40px 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--font-mono); }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Wydajność ---------- */
/* Sekcje poniżej pierwszego ekranu renderują się dopiero, gdy są blisko widoku. */
.process, .studio, .delivery, .faq-section, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Animacje poza ekranem są wstrzymane. */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* ---------- Animacje wejścia ---------- */
.reveal { opacity: 1; transform: none; }
.reveal.pending { opacity: 0; transform: translateY(28px); }
.reveal.visible { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0ms); }
.hero-copy .eyebrow, .hero .intro, .hero-actions, .hero-specs { animation: fade-up .9s var(--ease) both; }
.hero .intro { animation-delay: .25s; } .hero-actions { animation-delay: .35s; } .hero-specs { animation-delay: .45s; }
.h-line > span { animation: line-up 1s var(--ease) both; }
.h-line + .h-line > span { animation-delay: .12s; }
.hero-visual { animation: art-enter 1.2s var(--ease) both .1s; }
.cart-added { animation: cart-pulse .6s; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes art-enter { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
@keyframes cart-pulse { 50% { background: var(--accent); color: #fff; scale: 1.2; } }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes dot-pulse-green { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes head-move { from { transform: translateX(-118px); } to { transform: translateX(118px); } }
@keyframes hot { from { opacity: .35; } to { opacity: 1; } }
@keyframes spool { to { transform: rotate(-360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes route { to { stroke-dashoffset: -40; } }
@keyframes pin-bob { 50% { translate: 0 -6px; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Responsywność ---------- */
@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .header-inner nav a { padding: 8px 12px; font-size: 13.5px; }
  .account-link span, .bag-label { display: none; }
  .hero-inner { gap: 36px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-grid { gap: 50px; }
  .delivery-grid { gap: 50px; }
  .map-card { right: 12px; }
}
@media (max-width: 960px) {
  :root { --gutter: 28px; --header-h: 72px; }
  .admin-bar .site-header { top: 46px; }
  .header-inner nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); }
  .header-inner nav.open { display: block; animation: fade-up .35s var(--ease); }
  .header-inner nav ul { flex-direction: column; gap: 2px; background: transparent; border: 0; padding: 0; border-radius: 0; }
  .header-inner nav a { font-size: 22px; font-weight: 600; letter-spacing: -.03em; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .header-inner nav a:hover { background: transparent; color: var(--accent); }
  .header-inner nav .sub-menu { position: static; display: flex; box-shadow: none; background: transparent; padding: 0 0 0 16px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .hero { padding-block: 34px 70px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 44px; }
  .hero h1 { font-size: clamp(56px, 13vw, 100px); }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .sticker { left: -14px; top: -20px; width: 96px; height: 96px; }
  .sticker b { font-size: 24px; }
  .section-space { padding-block: 80px; }
  .studio { padding: 80px 0; }
  .studio-grid, .delivery-grid { grid-template-columns: 1fr; }
  .delivery-map { max-width: 560px; }
  .faq-section { grid-template-columns: 1fr; gap: 20px; padding-block: 70px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .announcement { font-size: 10px; }
  .announcement-end { display: none; }
  .brand { font-size: 22px; }
  .hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero .intro { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-specs { grid-template-columns: 1fr 1fr 1fr; }
  .hero-specs div { padding-right: 10px; margin-right: 10px; }
  .hero-specs dd { font-size: 13.5px; }
  .printer-svg { padding: 52px 10px 56px; }
  .hud { left: 14px; right: 14px; gap: 10px; font-size: 9.5px; }
  .hud-top span:nth-child(-n+2) { display: none; }
  .sticker { top: -34px; left: -6px; width: 84px; height: 84px; }
  .sticker b { font-size: 21px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 20px 0; border-left: 0; }
  .feature + .feature { border-top: 1px solid var(--line); }
  .section-heading { display: block; }
  .section-heading > p, .section-heading > div + div { margin-top: 20px; max-width: 100%; }
  h2 { font-size: 40px; }
  .process-grid { grid-template-columns: 1fr; }
  .studio-photo { aspect-ratio: 4 / 3.6; }
  .carrier-badge { min-width: 86px; height: 30px; font-size: 11px; padding: 0 9px; }
  .carrier-name { font-size: 14px; }
  .map-card { position: relative; right: auto; top: auto; width: auto; margin-top: -40px; margin-inline: 16px; }
  .faq-list summary { font-size: 16px; }
  .contact-band { flex-direction: column; align-items: flex-start; padding: 34px 24px; margin-bottom: 70px; }
  .round-link { width: 68px; height: 68px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-motto { display: none; }
  .woocommerce ul.products { gap: 28px 12px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; }
  .woocommerce ul.products li.product a img { border-radius: var(--r-md); }
  .woocommerce ul.products li.product .button { font-size: 12px; padding: 9px 12px; }
  .commerce, .page-content { padding-top: 36px; }
  .woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 12px 8px; }
  .woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { padding: 16px; }
}
@media (hover: none), (pointer: coarse) { .hero-visual { transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pending { opacity: 1; transform: none; }
  .hero-visual { transform: none !important; }
}
