/*
Theme Name: Polacy.es Sklep
Theme URI: https://sklep.polacy.es
Author: Polacy.es
Description: Dedykowany motyw sklepu sklep.polacy.es. Kierunek wizualny "Skrzydla - polski sklep w Hiszpanii": papierowy off-white, granatowa noc, przygaszona czerwien. Fonty Archivo i Instrument Sans hostowane lokalnie.
Version: 1.0.8
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: polacy-sklep
Tags: e-commerce, custom-colors, translation-ready
*/

/* ============================================================
   1. FONTY (lokalnie, bez zapytan do Google)
   ============================================================ */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/archivo-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: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/archivo-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/instrument-sans-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/instrument-sans-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;
}

/* ============================================================
   2. TOKENY (zrodlo: DESIGN.md "Skrzydla")
   ============================================================ */
:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #15171c;
  --muted: #5c6070;
  --line: #e3ddd4;
  --accent: #b3122b;
  --accent-dark: #8d0d21;
  --navy: #1b2a45;
  --navy-soft: #33456c;
  --gold: #c19a3d;
  --success: #1f7a4d;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 32px;
  --sp-xl: 64px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-hover: 0 1px 2px rgba(21, 23, 28, .05), 0 10px 28px rgba(21, 23, 28, .08);
  --wrap: 1240px;
  --gutter: 24px;
}

/* ============================================================
   3. RESET (:where, zeby komponenty zawsze wygrywaly)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
:where(body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol) { margin: 0; padding: 0; }
:where(ul, ol) { list-style: none; }
:where(img, svg, video) { display: block; max-width: 100%; height: auto; }
:where(a) { color: inherit; text-decoration: none; }
:where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(input, select, textarea) { font: inherit; color: inherit; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.u-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 66px; }
.section--tight { padding-block: 34px 66px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 12px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ============================================================
   4. PRZYCISKI
   ============================================================ */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: background .15s ease, transform .15s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit:hover { background: var(--accent); color: #fff; }

.btn--primary,
.woocommerce button.single_add_to_cart_button,
.woocommerce .checkout-button,
.woocommerce #place_order,
.woocommerce button.button.alt.wc-forward { background: var(--accent); }
.btn--primary:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover { background: var(--accent-dark); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }

.btn--on-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .38); }
.btn--on-dark:hover { background: rgba(255, 255, 255, .12); }

.btn--lg { min-height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn .i { width: 17px; height: 17px; }

/* ============================================================
   5. PASEK GORNY
   ============================================================ */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__msg { display: flex; align-items: center; gap: 8px; opacity: .92; }
.topbar__msg .i { width: 15px; height: 15px; flex: none; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__right a { opacity: .82; }
.topbar__right a:hover { opacity: 1; }

.langsw { display: flex; background: rgba(255, 255, 255, .13); border-radius: var(--r-pill); padding: 3px; }
.langsw a {
  padding: 3px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .72;
}
.langsw a:hover { opacity: 1; }
.langsw a.is-active { background: #fff; color: var(--navy); opacity: 1; }

/* ============================================================
   6. NAGLOWEK
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 245, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 26px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand__mark .i { width: 20px; height: 20px; color: #fff; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.03em; line-height: 1.05; }
.brand__tag { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }

.mainnav ul { display: flex; gap: 22px; }
.mainnav a { display: block; padding: 6px 0; font-size: 14.5px; font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
.mainnav a:hover, .mainnav .current-menu-item > a { border-color: var(--accent); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.searchbox { display: flex; align-items: center; gap: 8px; background: #f2eee8; border: 1px solid transparent; border-radius: var(--r-sm); padding: 0 12px; height: 40px; width: 260px; }
.searchbox:focus-within { background: var(--surface); border-color: var(--line); }
.searchbox input { border: 0; background: none; outline: none; font-size: 14px; width: 100%; }
.searchbox .i { width: 17px; height: 17px; color: var(--muted); flex: none; }
.searchbox button { display: grid; place-items: center; }

.iconbtn { position: relative; width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; }
.iconbtn:hover { background: #f2eee8; }
.iconbtn .i { width: 20px; height: 20px; }
.iconbtn__count {
  position: absolute; top: 3px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center;
}
.burger { display: none; }

.i { display: inline-block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i--solid { fill: currentColor; stroke: none; }

/* ============================================================
   7. HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 82% 12%, rgba(179, 18, 43, .58), transparent 66%),
    radial-gradient(620px 380px at 6% 94%, rgba(193, 154, 61, .20), transparent 62%);
  pointer-events: none;
}
.hero__wing {
  position: absolute; right: -70px; top: -40px;
  width: 640px; max-width: 62vw;
  color: #fff; opacity: .13;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-block: 74px 78px; }
.hero__in { max-width: 640px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.03; font-weight: 800; }
.hero h1 em { font-style: normal; color: #ffd9a0; }
.hero__lead { margin-top: 20px; font-size: 17.5px; line-height: 1.55; color: rgba(255, 255, 255, .84); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 44px; }
.hero__stats div { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.hero__stats b { display: block; font-family: var(--font-display); font-size: 23px; font-weight: 700; letter-spacing: -.02em; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); color: #fff;
  padding: 7px 14px; border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.eyebrow i { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--gold); }

/* ============================================================
   8. PASEK USP
   ============================================================ */
.usp { background: var(--surface); border-bottom: 1px solid var(--line); }
.usp__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-block: 18px; }
.usp__i { display: flex; align-items: center; gap: 12px; }
.usp__i .i { width: 21px; height: 21px; color: var(--accent); flex: none; }
.usp__i b { display: block; font-size: 14px; font-weight: 600; }
.usp__i span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }

/* ============================================================
   9. NAGLOWKI SEKCJI
   ============================================================ */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.shead h2 { font-size: clamp(24px, 3vw, 33px); }
.shead p { color: var(--muted); margin-top: 7px; font-size: 15px; max-width: 46em; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: gap .15s ease; }
.link-more:hover { gap: 11px; }

/* ============================================================
   10. KAFLE KATEGORII
   ============================================================ */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  padding: 24px; min-height: 172px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  transition: transform .2s ease;
}
.cat:hover { transform: translateY(-3px); }
.cat h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -.02em; }
.cat span { font-size: 12.5px; opacity: .84; margin-top: 3px; }
.cat__glyph { position: absolute; right: -14px; top: -16px; width: 120px; color: #fff; opacity: .16; }
.cat--1 { background: linear-gradient(140deg, #1b2a45, #33456c); }
.cat--2 { background: linear-gradient(140deg, #8d0d21, #c4283f); }
.cat--3 { background: linear-gradient(140deg, #2f4a2c, #6c8f57); }
.cat--4 { background: linear-gradient(140deg, #6b4d17, #c19a3d); }

/* ============================================================
   11. FILTRY
   ============================================================ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 13.5px; font-weight: 500;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--muted); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ============================================================
   12. KARTA PRODUKTU
   ============================================================ */
.woocommerce ul.products,
ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product,
ul.products li.product {
  width: auto; margin: 0; padding: 0; float: none; clear: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.pcard__thumb { position: relative; }
.pcard__thumb a { display: block; }
.pcard__thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pcard__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tag {
  padding: 5px 9px;
  border-radius: var(--r-sm);
  background: var(--ink); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2;
}
.tag--new { background: var(--success); }
.tag--sale { background: var(--accent); }
.tag--limited { background: var(--gold); color: #2b210a; }
.pcard__fav { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.pcard__fav .i { width: 17px; height: 17px; }
.pcard__fav.is-on .i { fill: var(--accent); stroke: var(--accent); }

.pcard__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard__cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.woocommerce ul.products li.product .pcard__name,
.pcard__name { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin: 0; padding: 0; }
.pcard__desc { font-size: 13px; line-height: 1.45; color: var(--muted); }
.pcard__row { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.woocommerce ul.products li.product .price,
.pcard__price { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.woocommerce ul.products li.product .price del,
.pcard__price del { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--muted); margin-right: 6px; opacity: 1; }
.woocommerce ul.products li.product .price ins,
.pcard__price ins { text-decoration: none; color: var(--accent); }

.woocommerce ul.products li.product a.button,
.pcard__add {
  min-height: 38px; padding: 0 15px;
  border-radius: var(--r-sm);
  background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0;
}
.woocommerce ul.products li.product a.button:hover { background: var(--accent); }
.woocommerce ul.products li.product a.added_to_cart { display: none; }
.pcard__add .i { width: 15px; height: 15px; stroke-width: 2.1; }

.woocommerce span.onsale { display: none; }

.rating { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.rating .i { width: 12px; height: 12px; fill: var(--gold); stroke: none; }
.woocommerce .star-rating { font-size: 13px; color: var(--gold); margin: 0; }

/* ============================================================
   13. BANNER KOLEKCJI
   ============================================================ */
.collection { background: var(--ink); color: #fff; border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; }
.collection__txt { padding: 56px; }
.collection__txt h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; }
.collection__txt p { color: rgba(255, 255, 255, .74); margin-top: 16px; font-size: 16px; max-width: 30em; }
.collection__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.collection__art { position: relative; min-height: 350px; background: linear-gradient(140deg, #8d0d21, #1b2a45); display: grid; place-items: center; }
.collection__art svg { width: 72%; color: #fff; opacity: .92; }

/* ============================================================
   14. PAS MIAST
   ============================================================ */
.marquee { background: var(--accent); color: #fff; overflow: hidden; padding-block: 13px; }
.marquee__track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: marq 34s linear infinite; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   15. OPINIE
   ============================================================ */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; }
.rev blockquote { font-size: 14.5px; line-height: 1.6; margin: 12px 0 16px; }
.rev__who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.rev__av { width: 38px; height: 38px; border-radius: var(--r-pill); background: #f2eee8; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--navy); }
.rev__who b { display: block; font-size: 14px; }
.rev__who span { display: block; font-size: 12.5px; color: var(--muted); }

/* ============================================================
   16. NEWSLETTER
   ============================================================ */
.news { background: #f2eee8; border-radius: var(--r-lg); padding: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.news h2 { font-size: clamp(24px, 2.6vw, 30px); }
.news p { color: var(--muted); margin-top: 10px; font-size: 15px; max-width: 34em; }
.news__form { display: flex; gap: 10px; }
.news__form input { flex: 1; min-width: 0; height: 52px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 0 16px; font-size: 15px; outline: none; }
.news__form input:focus { border-color: var(--ink); }
.news__note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ============================================================
   17. STOPKA
   ============================================================ */
.site-footer { background: var(--navy); color: #fff; margin-top: 26px; padding-block: 60px 26px; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .56); margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer li a { color: rgba(255, 255, 255, .84); }
.site-footer li a:hover { color: #fff; }
.fbrand p { color: rgba(255, 255, 255, .68); font-size: 14px; margin-top: 14px; max-width: 32em; }
.fbrand .brand__name { color: #fff; }
.fbrand .brand__tag { color: rgba(255, 255, 255, .6); }
.pays { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay { height: 30px; padding: 0 11px; border-radius: 6px; background: rgba(255, 255, 255, .13); display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.fbot { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.fbot a { color: rgba(255, 255, 255, .8); }
.fbot a:hover { color: #fff; }

/* ============================================================
   18. TRESC STRON (proza)
   ============================================================ */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 44px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); }
.page-hero p { color: var(--muted); margin-top: 12px; font-size: 16px; max-width: 40em; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 24px; margin-top: 2em; }
.prose h3 { font-size: 18px; margin-top: 1.7em; font-weight: 700; }
.prose p, .prose li { font-size: 16px; line-height: 1.68; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li + li { margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--accent); }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose ol li + li { margin-top: .5em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose figure.wp-block-table { max-width: none; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.prose th { text-align: left; font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: #f2eee8; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.sidecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; position: sticky; top: 96px; }
.sidecard h2 { font-size: 15px; font-family: var(--font-display); margin-bottom: 12px; }
.sidecard ul { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.sidecard a { color: var(--muted); }
.sidecard a:hover, .sidecard .is-current a { color: var(--ink); }
.sidecard .is-current a { font-weight: 600; }

/* ============================================================
   19. WOOCOMMERCE - ogolne
   ============================================================ */
.woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-breadcrumb a:hover { color: var(--ink); }

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14.5px;
  list-style: none;
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
}
.woocommerce .woocommerce-message { border-top-color: var(--success); }
.woocommerce .woocommerce-error { border-top-color: var(--accent); }
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before { content: none; }
.woocommerce .woocommerce-message .button { margin-left: auto; min-height: 38px; padding: 0 16px; font-size: 13.5px; }

.woocommerce-products-header { margin-bottom: 8px; }
.woocommerce-products-header__title { font-size: clamp(28px, 4vw, 42px); }
.term-description { color: var(--muted); margin-top: 12px; max-width: 46em; font-size: 15.5px; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 26px 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.woocommerce .woocommerce-result-count { margin: 0; font-size: 13.5px; color: var(--muted); }
.woocommerce .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select,
.woocommerce-page select, .prose select {
  height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); font-size: 14px;
}

.woocommerce nav.woocommerce-pagination { margin: 44px 0 0; }
.woocommerce nav.woocommerce-pagination ul { display: flex; gap: 8px; justify-content: center; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); font-size: 14px; font-weight: 600; padding: 0;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Karta produktu - strona pojedyncza */
.woocommerce div.product { margin-top: 8px; }
.woocommerce div.product .product_title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.woocommerce div.product div.images { width: 48%; }
.woocommerce div.product div.images img { border-radius: var(--r-md); border: 1px solid var(--line); }
.woocommerce div.product div.summary { width: 47%; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-bottom: 18px; }
.woocommerce div.product p.price del { font-family: var(--font-body); font-size: 17px; font-weight: 400; color: var(--muted); }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--accent); }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.woocommerce div.product form.cart { margin-bottom: 26px; }
.woocommerce div.product form.cart div.quantity { margin-right: 10px; }
.woocommerce .quantity input.qty {
  width: 74px; height: 46px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface);
}
.woocommerce div.product form.cart .button { min-height: 46px; }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.woocommerce div.product .product_meta a { color: var(--ink); }

.woocommerce table.variations { border: 0; margin-bottom: 16px; }
.woocommerce table.variations th, .woocommerce table.variations td { border: 0; padding: 0 0 12px; background: none; }
.woocommerce table.variations label { font-weight: 600; font-size: 14px; }
.woocommerce table.variations select { width: 100%; max-width: 260px; }
.woocommerce .woocommerce-variation-price { margin-bottom: 14px; }

.woocommerce div.product .woocommerce-tabs { margin-top: 56px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 26px; border-bottom: 1px solid var(--line); display: flex; gap: 6px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none; border: 0; border-radius: 0; margin: 0; padding: 0;
}
.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 a {
  padding: 12px 18px; font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--muted); border-bottom: 2px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--accent); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 68ch; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 22px; margin-bottom: 14px; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 17px; margin-top: 1.6em; margin-bottom: .5em; }
.woocommerce div.product .woocommerce-tabs .panel p { margin-bottom: 1em; line-height: 1.68; }
.woocommerce div.product .woocommerce-tabs .panel ul { list-style: none; }
.woocommerce div.product .woocommerce-tabs .panel ul li { position: relative; padding-left: 20px; margin-bottom: .5em; }
.woocommerce div.product .woocommerce-tabs .panel ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--accent); }
.woocommerce table.shop_attributes { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--line); padding: 11px 14px; font-size: 14px; background: none; font-style: normal; }
.woocommerce table.shop_attributes th { background: #f2eee8; font-family: var(--font-display); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; width: 200px; }

.woocommerce #reviews #comments ol.commentlist li { margin-bottom: 18px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 20px; margin-left: 62px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { width: 46px; border: 0; border-radius: var(--r-pill); background: #f2eee8; padding: 0; }
.woocommerce #review_form_wrapper { margin-top: 32px; }
.woocommerce #respond form textarea,
.woocommerce #respond form input[type=text],
.woocommerce #respond form input[type=email] {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 12px 14px; font-size: 15px;
}

.woocommerce .related.products, .woocommerce .upsells.products { margin-top: 66px; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { font-size: 26px; margin-bottom: 26px; }

/* Koszyk i kasa */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r-md); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); }
.woocommerce table.shop_table th { font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 14px; background: #f2eee8; border: 0; }
.woocommerce table.shop_table td { padding: 16px 14px; border: 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.woocommerce table.shop_table img { width: 62px; border-radius: var(--r-sm); }
.woocommerce .cart_totals h2, .woocommerce-checkout h3, .woocommerce-checkout #order_review_heading { font-size: 20px; margin-bottom: 16px; }
.woocommerce-cart .cart-collaterals .cart_totals table { border: 1px solid var(--line); border-radius: var(--r-md); }
.woocommerce form .form-row { padding: 0; margin-bottom: 16px; }
.woocommerce form .form-row label { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; display: block; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page .select2-container .select2-selection--single {
  height: 46px; width: 100%;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); padding: 0 14px; font-size: 15px;
}
.woocommerce form .form-row textarea { height: 100px; padding: 12px 14px; }
.woocommerce-checkout #payment { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 20px; }
.woocommerce-checkout #payment div.form-row { padding: 20px; }
.woocommerce-checkout #payment div.payment_box { background: #f2eee8; border-radius: var(--r-sm); font-size: 14px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }

.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: var(--r-sm); font-size: 14.5px; color: var(--muted); }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--surface); color: var(--ink); font-weight: 600; }

/* ============================================================
   20. SZUFLADA KOSZYKA
   ============================================================ */
.scrim { position: fixed; inset: 0; background: rgba(21, 23, 28, .46); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 60; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 410px; max-width: 92vw;
  background: var(--bg); z-index: 70;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 17px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px 22px; }
.drawer__body .woocommerce-mini-cart__empty-message { text-align: center; color: var(--muted); padding: 64px 10px; font-size: 14.5px; }
.drawer ul.woocommerce-mini-cart { display: flex; flex-direction: column; }
.drawer ul.woocommerce-mini-cart li { display: flex; gap: 13px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; position: relative; }
.drawer ul.woocommerce-mini-cart li a { display: block; font-weight: 600; }
.drawer ul.woocommerce-mini-cart li img { width: 62px; height: 62px; border-radius: 10px; order: -1; flex: none; }
.drawer ul.woocommerce-mini-cart li a.remove_from_cart_button { position: absolute; right: 0; top: 15px; width: 22px; height: 22px; border-radius: var(--r-pill); background: #f2eee8; display: grid; place-items: center; font-size: 15px; color: var(--muted); font-weight: 400; }
.drawer ul.woocommerce-mini-cart li .quantity { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 22px; background: var(--surface); }
.drawer__foot .woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 8px; border: 0; padding: 0; }
.drawer__foot .woocommerce-mini-cart__total strong { font-weight: 700; }
.drawer__note { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.drawer__foot .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 9px; margin: 0; }
.drawer__foot .woocommerce-mini-cart__buttons a { width: 100%; }
.drawer__foot .woocommerce-mini-cart__buttons a.checkout { background: var(--accent); }
.drawer__foot .woocommerce-mini-cart__buttons a:not(.checkout) { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.drawer__foot .woocommerce-mini-cart__buttons a:not(.checkout):hover { background: var(--bg); color: var(--ink); border-color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; z-index: 90; opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   21. RESPONSYWNOSC
   ============================================================ */
@media (max-width: 1180px) {
  .searchbox { width: 190px; }
  .mainnav ul { gap: 16px; }
}
@media (max-width: 1080px) {
  .woocommerce ul.products, ul.products, .cats { grid-template-columns: repeat(3, 1fr); }
  .usp__in { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .revs { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidecard { position: static; }
}
@media (max-width: 900px) {
  .mainnav, .searchbox { display: none; }
  .burger { display: grid; }
  .mainnav.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
  }
  .mainnav.is-open ul { flex-direction: column; gap: 2px; }
  .mainnav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .collection { grid-template-columns: 1fr; }
  .collection__txt { padding: 36px; }
  .collection__art { min-height: 260px; }
  .news { grid-template-columns: 1fr; padding: 34px; }
  .woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100%; float: none; }
  .woocommerce div.product div.summary { margin-top: 28px; }
}
@media (max-width: 640px) {
  .woocommerce ul.products, ul.products, .cats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .usp__in { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .section { padding-block: 46px; }
  .hero .wrap { padding-block: 52px 56px; }
  .hero__stats { gap: 22px; }
  .topbar__msg { display: none; }
  .topbar__in { justify-content: flex-end; }
  .pcard__add span { display: none; }
  .pcard__body { padding: 13px 13px 15px; }
  .news__form { flex-direction: column; }
  .shead { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   22. UZUPELNIENIA
   ============================================================ */

/* Siatka produktow poza stronami WooCommerce (strona glowna, 404, wyszukiwanie)
   nie ma przodka .woocommerce, wiec te same reguly powtarzamy bez prefiksu. */
ul.products li.product .pcard__price { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
ul.products li.product .pcard__price del { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--muted); margin-right: 6px; text-decoration: line-through; }
ul.products li.product .pcard__price ins { text-decoration: none; color: var(--accent); }
ul.products li.product a.button {
  min-height: 38px; padding: 0 15px;
  border-radius: var(--r-sm);
  background: var(--ink); color: #fff;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  white-space: nowrap;
  transition: background .15s ease;
}
ul.products li.product a.button:hover { background: var(--accent); }
ul.products li.product a.added_to_cart { display: none; }
ul.products li.product a.button.loading { opacity: .6; }

/* Konkrety zakupowe pod przyciskiem na stronie produktu. */
.single-trust { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 11px; }
.single-trust li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--muted); }
.single-trust .i { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 2px; }

/* Produkt z jednym zdjeciem nie potrzebuje paska miniatur. */
.woocommerce div.product .plc-single-image .flex-control-thumbs { display: none; }

/* Tekst tylko dla czytnikow ekranu. */
.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;
}

/* Paginacja wpisow (nie WooCommerce). */
.navigation.pagination { margin-top: 40px; }
.navigation.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.navigation.pagination a, .navigation.pagination span.current {
  min-width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); font-size: 14px; font-weight: 600;
}
.navigation.pagination span.current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Pasek kategorii na archiwum: chipsy stoja nad paskiem sortowania. */
.woocommerce .chips { order: -1; width: 100%; }

/* Przelacznik jezyka doklejany przez TranslatePress w stopce - nie chcemy go. */
.trp-floating-switcher,
#trp-floater-ls { display: none !important; }
/* ============================================================
   23. STANY PRZYCISKOW
   WooCommerce maluje stan wylaczony wlasnym fioletem (#a46497),
   ktory jest poza paleta. Nadpisujemy wszystkie warianty.
   ============================================================ */
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce a.button.alt.disabled,
.woocommerce a.button.alt:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce input.button.disabled,
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled],
.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce div.product form.cart .button.disabled,
.woocommerce div.product form.cart .button:disabled {
  background: var(--line);
  color: var(--muted);
  opacity: 1;
  cursor: not-allowed;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover { background: var(--accent-dark); }
.woocommerce a.button.alt.disabled:hover,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:disabled:hover { background: var(--line); color: var(--muted); }

/* Domyslny fiolet WooCommerce pojawia sie tez na paskach postepu i zakladkach. */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message { border-left: 0; }
.woocommerce-store-notice,
p.demo_store { background: var(--navy); color: #fff; font-size: 13.5px; }
/* ============================================================
   24. BLOKI RDZENIA
   Zastepuje wp-block-library dla blokow, ktore realnie uzywamy.
   ============================================================ */
.prose .wp-block-image { margin-block: 1.6em; }
.prose .wp-block-image img { border-radius: var(--r-md); }
.prose .wp-block-image figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.prose .wp-block-quote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-block: 1.6em;
  font-size: 17px;
}
.prose .wp-block-quote cite { display: block; margin-top: 10px; font-size: 13.5px; font-style: normal; color: var(--muted); }

.prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 2.2em; }

.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 1.6em; }
.prose .wp-block-button__link {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px;
  border-radius: var(--r-pill); background: var(--accent); color: #fff;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.prose .wp-block-button__link:hover { background: var(--accent-dark); }
.prose .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }

.prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: var(--sp-lg); margin-block: 1.6em; }
.prose .wp-block-column { flex: 1 1 0; min-width: 240px; }

.prose .wp-block-group { margin-block: 1.6em; }
.prose .wp-block-embed figcaption { font-size: 13px; color: var(--muted); }
.prose .wp-block-code { background: #f2eee8; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; font-size: 14px; overflow-x: auto; }

.prose .alignleft { float: left; margin: 0 var(--sp-lg) var(--sp-md) 0; }
.prose .alignright { float: right; margin: 0 0 var(--sp-md) var(--sp-lg); }
.prose .aligncenter { margin-inline: auto; }
.prose .alignwide, .prose .alignfull { max-width: none; }

@media (max-width: 640px) {
  .prose .wp-block-columns { flex-direction: column; gap: var(--sp-md); }
  .prose .alignleft, .prose .alignright { float: none; margin: 1.4em 0; }
}
/* ============================================================
   25. KLASY PALETY (zamiast global-styles)
   ============================================================ */
:root {
  --wp--preset--color--papier: #faf8f5;
  --wp--preset--color--powierzchnia: #ffffff;
  --wp--preset--color--tusz: #15171c;
  --wp--preset--color--wyciszony: #5c6070;
  --wp--preset--color--linia: #e3ddd4;
  --wp--preset--color--czerwien: #b3122b;
  --wp--preset--color--czerwien-ciemna: #8d0d21;
  --wp--preset--color--granat: #1b2a45;
  --wp--preset--color--zloto: #c19a3d;
  --wp--preset--color--zielen: #1f7a4d;
}
.has-papier-color { color: #faf8f5; }
.has-papier-background-color { background-color: #faf8f5; }
.has-powierzchnia-color { color: #ffffff; }
.has-powierzchnia-background-color { background-color: #ffffff; }
.has-tusz-color { color: #15171c; }
.has-tusz-background-color { background-color: #15171c; }
.has-wyciszony-color { color: #5c6070; }
.has-wyciszony-background-color { background-color: #5c6070; }
.has-linia-color { color: #e3ddd4; }
.has-linia-background-color { background-color: #e3ddd4; }
.has-czerwien-color { color: #b3122b; }
.has-czerwien-background-color { background-color: #b3122b; }
.has-czerwien-ciemna-color { color: #8d0d21; }
.has-czerwien-ciemna-background-color { background-color: #8d0d21; }
.has-granat-color { color: #1b2a45; }
.has-granat-background-color { background-color: #1b2a45; }
.has-zloto-color { color: #c19a3d; }
.has-zloto-background-color { background-color: #c19a3d; }
.has-zielen-color { color: #1f7a4d; }
.has-zielen-background-color { background-color: #1f7a4d; }
.has-text-align-left { text-align: left; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

/* ============================================================
   26. KOSZYK, KASA, KONTO
   WooCommerce buduje te ekrany na floatach z procentami.
   Przestawiamy je na siatke, zeby tabela mial pelna szerokosc.
   ============================================================ */
.woocommerce-cart .woocommerce,
.woocommerce-checkout form.checkout,
.woocommerce-account .woocommerce {
  display: grid;
  gap: 44px;
  align-items: start;
}
.woocommerce-cart .woocommerce { grid-template-columns: minmax(0, 1fr) 360px; }
.woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr) 400px; }
.woocommerce-account .woocommerce { grid-template-columns: 250px minmax(0, 1fr); }

.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }

.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .cross-sells {
  width: 100%;
  float: none;
  margin: 0;
}
.woocommerce-cart table.shop_table.cart { width: 100%; margin-bottom: 0; }
.woocommerce-cart table.shop_table td.product-remove { width: 42px; text-align: center; }
.woocommerce-cart table.shop_table td.product-thumbnail { width: 78px; }
.woocommerce-cart table.shop_table .product-name a { font-weight: 600; }
.woocommerce-cart table.shop_table td.actions { padding: 18px 14px; }

.woocommerce-cart td.actions {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.woocommerce-cart td.actions .coupon { display: flex; gap: 10px; align-items: center; float: none; }
.woocommerce-cart td.actions .coupon label { display: none; }
.woocommerce-cart td.actions .coupon input#coupon_code {
  width: 200px; height: 46px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); padding: 0 14px; font-size: 14.5px;
}
.woocommerce-cart td.actions .coupon .button,
.woocommerce-cart td.actions .button { min-height: 46px; }
.woocommerce-cart td.actions > .button { margin-left: auto; }

.woocommerce-cart .cart_totals { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.woocommerce-cart .cart_totals h2 { text-align: left; font-size: 19px; margin-bottom: 14px; }
.woocommerce-cart .cart_totals table.shop_table { border: 0; background: none; }
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
  background: none; padding: 12px 0; border-top: 1px solid var(--line);
  font-family: var(--font-body); font-size: 14.5px; letter-spacing: 0; text-transform: none;
}
.woocommerce-cart .cart_totals tr:first-child th,
.woocommerce-cart .cart_totals tr:first-child td { border-top: 0; }
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 16px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; }
.woocommerce-cart .shipping-calculator-button { color: var(--accent); font-size: 13.5px; }

/* Kasa */
.woocommerce-checkout #customer_details { grid-column: 1; }
.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; margin-bottom: 0; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-checkout .col2-set .col-2 { margin-top: 32px; }
.woocommerce-checkout #order_review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.woocommerce-checkout #order_review table.shop_table { border: 0; background: none; }
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td { background: none; padding: 11px 0; border-top: 1px solid var(--line); letter-spacing: 0; text-transform: none; font-family: var(--font-body); font-size: 14.5px; }
.woocommerce-checkout #order_review table.shop_table thead th { border-top: 0; font-family: var(--font-display); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.woocommerce-checkout #payment { background: none; border: 0; margin-top: 8px; }
.woocommerce-checkout #payment ul.payment_methods { border: 0; padding: 0 0 14px; }
.woocommerce-checkout #payment ul.payment_methods li { margin-bottom: 10px; font-size: 14.5px; }
.woocommerce-checkout #payment div.form-row { padding: 0; }
.woocommerce-checkout #payment #place_order { width: 100%; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* Konto */
.woocommerce-account .woocommerce-MyAccount-navigation { width: 100%; float: none; }
.woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
.woocommerce-account .woocommerce-MyAccount-navigation { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; }
.woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: minmax(0, 460px); justify-content: center; }
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }

@media (max-width: 1080px) {
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout form.checkout,
  .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .woocommerce-cart td.actions { flex-direction: column; align-items: stretch; }
  .woocommerce-cart td.actions .coupon { flex-direction: column; }
  .woocommerce-cart td.actions .coupon input#coupon_code { width: 100%; }
  .woocommerce-cart td.actions > .button { margin-left: 0; }
}
/* Etykiety przyciskow nie moga sie lamac na dwie linie. */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.prose .wp-block-button__link { white-space: nowrap; }

.woocommerce-cart td.actions .coupon input#coupon_code { width: 170px; }