/*!
 * Od Agi — rękodzieło z drewna i żywicy
 * Główny arkusz stylów motywu.
 *
 * Spis treści
 *  1. Czcionki
 *  2. Zmienne
 *  3. Podstawy
 *  4. Układ i narzędzia
 *  5. Przyciski, odznaki, krople żywicy
 *  6. Pasek informacyjny i nagłówek
 *  7. Sekcja powitalna (hero)
 *  8. Sekcje strony głównej
 *  9. Kafle kategorii
 * 10. Lista produktów (karty)
 * 11. Nagłówek podstron, okruszki, sortowanie, paginacja
 * 12. Strona produktu
 * 13. Formularze i komunikaty
 * 14. Treść stron (proza), tabele
 * 15. Stopka
 * 16. Animacje wejścia
 * 17. Ekran „Wkrótce otwarcie”
 */

/* ==========================================================================
   1. Czcionki (lokalnie, bez zewnętrznych serwerów)
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext-soft-normal.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: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-soft-normal.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: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext-soft-italic.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: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-soft-italic.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: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-wght-normal.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: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.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: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-wght-italic.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: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-wght-italic.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: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/caveat-latin-ext-wght-normal.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: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/caveat-latin-wght-normal.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. Zmienne
   ========================================================================== */

:root {
  /* tło i papier */
  --c-cream: #fbf6ec;
  --c-cream-2: #f4ead9;
  --c-cream-3: #ecdcc3;
  --c-paper: #fffdf8;

  /* tekst */
  --c-ink: #2a1a10;
  --c-ink-2: #5c4838;
  --c-ink-3: #7a6553;

  /* linie */
  --c-line: #e7d9c3;
  --c-line-2: #d9c6a8;

  /* drewno */
  --c-walnut: #4a2a16;
  --c-walnut-deep: #2b1408;
  --c-oak: #b98a5c;
  --c-oak-light: #ddb686;

  /* bursztyn */
  --c-honey: #e39a35;
  --c-honey-deep: #9a570b;
  --c-ember: #c25a17;

  /* żywica */
  --c-resin: #1a726c;
  --c-resin-deep: #125650;
  --c-resin-bright: #2ba79b;
  --c-resin-light: #7ccbb9;
  --c-resin-mist: #ddf1ec;
  --c-lagoon: #2f7c97;

  /* stany */
  --c-moss: #2f8f5b;
  --c-ruby: #a42a1c;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(43, 20, 8, 0.06), 0 4px 14px rgba(43, 20, 8, 0.06);
  --shadow-2: 0 2px 6px rgba(43, 20, 8, 0.08), 0 18px 40px -14px rgba(43, 20, 8, 0.24);
  --shadow-3: 0 34px 64px -24px rgba(43, 20, 8, 0.42);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8.5vw, 118px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   3. Podstawy
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

.site-main {
  flex: 1 0 auto;
}

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

svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "SOFT" 100;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 1.25rem + 4.4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem);
}

h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  line-height: 1.2;
}

h4 {
  font-size: 1.2rem;
  line-height: 1.25;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

a {
  color: var(--c-resin-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--c-ember);
}

strong,
b {
  font-weight: 650;
}

hr {
  height: 1px;
  margin: 2.5rem 0;
  border: 0;
  background: var(--c-line);
}

::selection {
  background: var(--c-resin-light);
  color: var(--c-ink);
}

:focus-visible {
  outline: 3px solid var(--c-honey);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--c-walnut-deep);
  color: var(--c-cream);
  font-weight: 650;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--c-cream);
}

/* ==========================================================================
   4. Układ i narzędzia
   ========================================================================== */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2 * var(--gutter), 780px);
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: calc(var(--section) * 0.6);
}

.section--oak {
  position: relative;
  background: var(--c-cream-2);
}

.icon {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.24em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.15em;
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.05rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--c-honey-deep);
  transform: rotate(-2deg);
  transform-origin: left bottom;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto clamp(28px, 4vw, 52px);
  max-width: 44rem;
  text-align: center;
}

.section-head h2 {
  margin: 0;
}

.section-head p:not(.eyebrow) {
  margin: 0.9em 0 0;
  color: var(--c-ink-2);
  font-size: 1.1rem;
}

.section-head .eyebrow {
  transform-origin: center bottom;
}

.section-head--left {
  align-items: flex-start;
  margin-inline: 0;
  text-align: left;
}

.section-head--left .eyebrow {
  transform-origin: left bottom;
}

/* ozdobnik: spirala z fal, jak zawijasy w logo */
.swirl {
  display: block;
  width: 92px;
  height: 22px;
  margin-top: 16px;
  color: var(--c-resin);
}

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 48px);
}

/* linia fali — krawędź deski */
.edge {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(28px, 4.2vw, 64px);
  pointer-events: none;
}

.edge--top {
  bottom: 100%;
  margin-bottom: -1px;
}

.edge--bottom {
  top: 100%;
  margin-top: -1px;
  transform: scaleY(-1);
}

/* ==========================================================================
   5. Przyciski, odznaki, krople żywicy
   ========================================================================== */

.btn,
.button,
button.button,
a.button,
input[type="submit"],
.wp-element-button,
.wc-block-components-button:not(.is-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0.78em 1.7em;
  border: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #1e7d76 0%, var(--c-resin) 55%, #145e59 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 10px 22px -12px rgba(18, 86, 80, 0.85);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.btn:hover,
.button:hover,
button.button:hover,
a.button:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.wc-block-components-button:not(.is-link):hover {
  background: linear-gradient(180deg, #186c66 0%, var(--c-resin-deep) 60%, #0e4743 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 28px -14px rgba(18, 86, 80, 0.95);
  color: #fff;
  transform: translateY(-2px);
}

.btn:active,
.button:active,
.wp-element-button:active {
  transform: translateY(0);
}

.btn[disabled],
.button[disabled],
.button.disabled,
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--c-walnut);
  color: var(--c-walnut);
}

.btn--ghost:hover {
  background: var(--c-walnut);
  box-shadow: inset 0 0 0 1.5px var(--c-walnut), 0 14px 26px -14px rgba(43, 20, 8, 0.7);
  color: var(--c-cream);
}

.btn--light {
  background: var(--c-cream);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.7);
  color: var(--c-walnut-deep);
}

.btn--light:hover {
  background: #fff;
  color: var(--c-resin-deep);
}

.btn--small {
  min-height: 40px;
  padding: 0.5em 1.15em;
  font-size: 0.92rem;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 650;
  text-decoration: none;
}

.link-arrow .icon {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* kropla żywicy — błyszczący koralik jak w logo */
.drop {
  --drop: var(--c-resin-bright);
  display: inline-block;
  flex: none;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0 11%, rgba(255, 255, 255, 0) 13%),
    radial-gradient(circle at 50% 45%, var(--drop) 0%, color-mix(in srgb, var(--drop) 62%, #000) 100%);
  box-shadow: inset 0 -0.12em 0.18em rgba(0, 0, 0, 0.28), 0 0.06em 0.12em rgba(43, 20, 8, 0.3);
}

.drop--honey {
  --drop: var(--c-honey);
}

.drop--ember {
  --drop: var(--c-ember);
}

.drop--moss {
  --drop: #3bb46f;
}

.drop--lagoon {
  --drop: #3b93b3;
}

.drop--ruby {
  --drop: #c23a26;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.36em 0.85em;
  border-radius: var(--r-pill);
  background: var(--c-honey);
  color: var(--c-ink);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge--sold {
  background: rgba(43, 20, 8, 0.86);
  color: var(--c-cream);
}

.badge--sale {
  background: var(--c-ruby);
  color: #fff;
}

.badge--unique {
  background: var(--c-resin-mist);
  color: var(--c-resin-deep);
}

/* praca na indywidualne zamówienie — ta sama rodzina, kolory mgiełki żywicy */
.badge--order {
  background: var(--c-resin-mist);
  box-shadow: inset 0 0 0 1px rgba(26, 114, 108, 0.22);
  color: var(--c-resin-deep);
}

/* ==========================================================================
   6. Pasek informacyjny i nagłówek
   ========================================================================== */

.topbar {
  background: var(--c-walnut-deep);
  color: #f1e3cd;
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: center;
}

.topbar p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2em 0.75em;
  margin: 0;
  padding: 8px 0;
}

.topbar a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 236, 0.9);
  border-bottom: 1px solid var(--c-line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 32px);
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--c-ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--c-ink);
}

.brand__mark {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  box-shadow: 0 1px 2px rgba(43, 20, 8, 0.2), 0 8px 16px -8px rgba(43, 20, 8, 0.5);
  transform: rotate(-4deg);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(3deg) scale(1.04);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 640;
  font-variation-settings: "SOFT" 100;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand__tag {
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  position: relative;
  display: block;
  padding: 10px 2px;
  color: var(--c-ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

/* odręczna falka pod aktywną pozycją */
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 7' preserveAspectRatio='none'%3E%3Cpath d='M0 3.5 Q5 0.5 10 3.5 T20 3.5 T30 3.5 T40 3.5' fill='none' stroke='%231a726c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 40px 7px;
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}

.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after,
.nav__list .current-menu-ancestor > a::after,
.nav__list a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav__list a:hover {
  color: var(--c-resin-deep);
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px 0 14px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  box-shadow: inset 0 0 0 1px var(--c-line-2);
  color: var(--c-ink);
  font-size: 0.96rem;
  font-weight: 650;
  text-decoration: none;
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease);
}

.header-cart:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--c-resin), 0 10px 20px -14px rgba(18, 86, 80, 0.9);
  color: var(--c-resin-deep);
}

.header-cart .icon {
  width: 1.3em;
  height: 1.3em;
}

.header-cart__count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--r-pill);
  background: var(--c-honey);
  color: var(--c-ink);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1;
}

.header-cart__count[data-count="0"] {
  background: var(--c-cream-3);
  color: var(--c-ink-2);
}

/* wyszukiwarka w nagłówku: okrągły przycisk jak przycisk menu, pasek z polem pod nagłówkiem */
.header-search {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-paper);
  box-shadow: inset 0 0 0 1px var(--c-line-2);
  color: var(--c-ink);
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease);
}

.header-search:hover,
.header-search[aria-expanded="true"] {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--c-resin), 0 10px 20px -14px rgba(18, 86, 80, 0.9);
  color: var(--c-resin-deep);
}

.header-search .icon {
  width: 1.3em;
  height: 1.3em;
}

.header-search-row {
  padding: 14px 0 16px;
  border-top: 1px solid var(--c-line);
}

.header-search-row[hidden] {
  display: none;
}

.header-search-row .search-form {
  max-width: 40rem;
  margin-inline: auto;
}

/* pole wyszukiwania w menu — tylko w rozwijanym menu na telefonie i tablecie */
.nav__search {
  display: none;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-paper);
  box-shadow: inset 0 0 0 1px var(--c-line-2);
  color: var(--c-ink);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 10px var(--gutter) 22px;
    background: var(--c-cream);
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 24px 40px -24px rgba(43, 20, 8, 0.45);
  }

  .nav.is-open {
    display: block;
  }

  .nav__search {
    display: block;
    padding: 8px 0 14px;
    border-bottom: 1px solid var(--c-line);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list li + li {
    border-top: 1px solid var(--c-line);
  }

  .nav__list a {
    padding: 15px 2px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 560;
  }

  .nav__list a::after {
    display: none;
  }

  .nav__list .current-menu-item > a,
  .nav__list .current_page_item > a {
    color: var(--c-resin-deep);
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    min-height: 66px;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .brand__name {
    font-size: 1.4rem;
  }

  .brand__tag {
    font-size: 0.6rem;
    letter-spacing: 0.13em;
  }

  .header-cart {
    min-height: 44px;
    padding: 0 12px;
  }

  .header-cart__label {
    display: none;
  }

  .site-header__tools {
    gap: 6px;
  }

  .header-search {
    width: 44px;
    height: 44px;
  }
}

/* wąskie telefony: miejsce na wyszukiwarkę, koszyk i menu obok logo */
@media (max-width: 374px) {
  .brand__tag {
    display: none;
  }
}

@media (max-width: 339px) {
  .brand__text {
    display: none;
  }
}

/* ==========================================================================
   7. Sekcja powitalna (hero)
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 6vw, 84px) 0 clamp(72px, 10vw, 150px);
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(227, 154, 53, 0.2) 0%, rgba(227, 154, 53, 0) 62%),
    radial-gradient(48% 60% at 0% 100%, rgba(124, 203, 185, 0.22) 0%, rgba(124, 203, 185, 0) 65%),
    var(--c-cream);
}

.hero__river {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.hero__copy {
  max-width: 37rem;
}

.hero h1 {
  margin: 0.08em 0 0.42em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 480;
  color: var(--c-resin);
}

.hero__lead {
  max-width: 33em;
  margin: 0;
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem);
  color: var(--c-ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.96rem;
  font-weight: 560;
  color: var(--c-ink-2);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}

.hero__art {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

.hero__plaque {
  position: absolute;
  top: 11%;
  left: 0;
  width: 70%;
  height: auto;
  border-radius: 12%;
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(43, 20, 8, 0.08);
  transform: rotate(-5deg);
}

.hero__photo {
  position: absolute;
  object-fit: cover;
  border: 6px solid var(--c-paper);
  box-shadow: var(--shadow-2);
  background: var(--c-cream-2);
}

.hero__photo--a {
  top: 0;
  right: 3%;
  width: 35%;
  aspect-ratio: 1;
  border-radius: 54% 46% 48% 52% / 50% 56% 44% 50%;
  transform: rotate(6deg);
}

.hero__photo--b {
  right: 0;
  bottom: 1%;
  width: 38%;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  transform: rotate(4deg);
}

.hero__art--solo .hero__plaque {
  top: 6%;
  left: 8%;
  width: 84%;
}

.hero__note {
  position: absolute;
  left: -3%;
  bottom: 9%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 10px 16px 10px 12px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  box-shadow: var(--shadow-2);
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--c-ink);
  transform: rotate(-3deg);
}

.hero__note .drop {
  width: 1.05em;
  height: 1.05em;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__copy {
    max-width: none;
  }

  .hero__art {
    width: min(100%, 440px);
    margin-top: 8px;
  }
}

/* ==========================================================================
   8. Sekcje strony głównej
   ========================================================================== */

/* dwa materiały */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 30px);
}

.duo__card {
  position: relative;
  padding: clamp(24px, 3.4vw, 42px);
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.duo__card h3 {
  margin-bottom: 0.45em;
}

.duo__card p {
  margin: 0;
  color: var(--c-ink-2);
}

.duo__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
}

.duo__card--wood {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(221, 182, 134, 0.42), rgba(221, 182, 134, 0) 60%),
    var(--c-paper);
}

.duo__card--resin {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(124, 203, 185, 0.4), rgba(124, 203, 185, 0) 60%),
    var(--c-paper);
}

/* kroki */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  margin: clamp(34px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 76px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -4px;
  left: 0;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.9) 0 7%, rgba(255, 255, 255, 0) 9%),
    radial-gradient(circle at 50% 42%, var(--step, var(--c-resin-bright)) 0%, color-mix(in srgb, var(--step, var(--c-resin-bright)) 58%, #000) 100%);
  box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.25), 0 8px 16px -8px rgba(43, 20, 8, 0.6);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 620;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.steps li:nth-child(1) {
  --step: #d9882a;
}

.steps li:nth-child(2) {
  --step: var(--c-resin-bright);
}

.steps li:nth-child(3) {
  --step: #3b93b3;
}

.steps h3 {
  margin: 0 0 0.3em;
  font-size: 1.28rem;
}

.steps p {
  margin: 0;
  color: var(--c-ink-2);
  font-size: 1rem;
}

/* panel „na zamówienie" */
.cta-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(30px, 5.5vw, 72px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(43, 167, 155, 0.6) 0%, rgba(26, 114, 108, 0.28) 38%, rgba(26, 114, 108, 0) 66%),
    radial-gradient(60% 90% at 0% 100%, rgba(227, 154, 53, 0.36) 0%, rgba(227, 154, 53, 0) 60%),
    var(--c-walnut-deep);
  box-shadow: var(--shadow-3);
  color: #f1e3cd;
  overflow: hidden;
}

.cta-panel h2 {
  margin: 0 0 0.35em;
  color: #fff8ea;
}

.cta-panel p {
  max-width: 34em;
  margin: 0;
  color: #ead9bf;
  font-size: 1.1rem;
}

.cta-panel .eyebrow {
  color: #f3c36f;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cta-panel__swirl {
  position: absolute;
  right: -40px;
  bottom: -70px;
  z-index: -1;
  width: 340px;
  height: 340px;
  color: rgba(255, 255, 255, 0.09);
}

/* o mnie — zajawka */
.about-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.about-teaser__media {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
}

.about-teaser__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  box-shadow: var(--shadow-3);
}

.about-teaser__media::after {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 50% 50% 46% 54% / 48% 54% 46% 52%;
  border: 2px dashed var(--c-line-2);
  transform: rotate(8deg);
}

.about-teaser__sign {
  margin: 0.3em 0 0;
  font-family: var(--font-script);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--c-resin-deep);
  transform: rotate(-3deg);
  transform-origin: left center;
}

.about-teaser blockquote {
  margin: 0 0 1.2em;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.75rem);
  font-style: italic;
  font-weight: 420;
  font-variation-settings: "SOFT" 100;
  line-height: 1.38;
  color: var(--c-ink);
}

/* pasek zalet */
.perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
  list-style: none;
  overflow: hidden;
}

.perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: clamp(18px, 2.4vw, 28px);
}

.perks li + li {
  border-left: 1px solid var(--c-line);
}

.perks .icon {
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--c-resin);
}

.perks strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 580;
  line-height: 1.25;
}

.perks span {
  display: block;
  margin-top: 3px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--c-ink-2);
}

@media (max-width: 960px) {
  .perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .perks li:nth-child(3) {
    border-left: 0;
  }

  .perks li:nth-child(n + 3) {
    border-top: 1px solid var(--c-line);
  }

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

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

  .cta-panel__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .duo,
  .about-teaser {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-teaser__media {
    width: min(78%, 320px);
  }
}

@media (max-width: 520px) {
  .perks {
    grid-template-columns: minmax(0, 1fr);
  }

  .perks li + li {
    border-left: 0;
    border-top: 1px solid var(--c-line);
  }
}

/* ==========================================================================
   9. Kafle kategorii
   ========================================================================== */

/* wszystkie kategorie + kafel „Wszystkie produkty”: 5 kolumn od 1200 px, 3 kolumny (bez kafla, przycisk
   pod siatką) od 768 px, 2 kolumny poniżej */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat-grid__foot {
  display: none;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cat-grid__all {
    display: none;
  }

  .cat-grid__foot {
    display: flex;
  }
}

.cat-tile {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background: var(--c-cream-3);
  box-shadow: var(--shadow-1);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.cat-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(43, 20, 8, 0) 42%, rgba(43, 20, 8, 0.82) 100%);
}

.cat-tile__body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.cat-tile__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 560;
  font-variation-settings: "SOFT" 100;
  line-height: 1.15;
  color: #fff;
}

.cat-tile__count {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 5px;
  font-size: 0.88rem;
  font-weight: 560;
  color: rgba(255, 255, 255, 0.86);
}

.cat-tile:hover {
  box-shadow: var(--shadow-2);
  color: #fff;
  transform: translateY(-4px);
}

.cat-tile:hover img {
  transform: scale(1.07);
}

/* kafel „Wszystkie produkty”: wezwanie do działania w kolorach marki (orzech, żywica, bursztyn), bez zdjęcia */
.cat-tile--all {
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(43, 167, 155, 0.55) 0%, rgba(26, 114, 108, 0.24) 42%, rgba(26, 114, 108, 0) 70%),
    radial-gradient(80% 60% at 0% 100%, rgba(227, 154, 53, 0.36) 0%, rgba(227, 154, 53, 0) 62%),
    var(--c-walnut-deep);
}

.cat-tile--all::after {
  content: none;
}

.cat-tile--all .cta-panel__swirl {
  right: -34%;
  bottom: auto;
  top: -18%;
  width: 110%;
  height: auto;
  aspect-ratio: 1;
}

.cat-tile__drops {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 7px;
  font-size: 1.05rem;
}

.cat-tile--all .cat-tile__name {
  color: #fff8ea;
}

.cat-tile--all .cat-tile__count {
  color: #f3c36f;
  font-weight: 650;
}

.cat-tile--all .icon--arrow {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.25s var(--ease);
}

.cat-tile--all:hover .icon--arrow {
  transform: translateX(3px);
}

/* od 1200 px: pięć wąskich kafli w rzędzie — mniejszy podpis */
@media (min-width: 1200px) {
  .cat-tile__body {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .cat-tile__name {
    font-size: 1.22rem;
  }

  .cat-tile__count {
    font-size: 0.84rem;
  }

  .cat-tile__drops {
    top: 16px;
    left: 16px;
  }
}

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

@media (max-width: 560px) {
  .cat-grid {
    gap: 12px;
  }

  .cat-tile {
    border-radius: 18px;
  }

  .cat-tile__body {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }

  .cat-tile__count {
    font-size: 0.8rem;
  }

  .cat-tile__drops {
    top: 14px;
    left: 14px;
  }
}

/* ==========================================================================
   10. Lista produktów (karty)
   ========================================================================== */

ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px) clamp(14px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

ul.products::before,
ul.products::after {
  content: none;
}

ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
}

li.product .woocommerce-loop-product__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  color: var(--c-ink);
  text-decoration: none;
}

.odagi-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  background: var(--c-cream-2);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.odagi-card__media img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

li.product:hover .odagi-card__media {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

li.product:hover .odagi-card__media img {
  transform: scale(1.06);
}

.odagi-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

li.product.outofstock .odagi-card__media img {
  filter: saturate(0.55) brightness(1.04);
  opacity: 0.78;
}

/* ramka zdjęcia (karty, galeria produktu): zdjęcie prawie w proporcjach ramki wypełnia ją (cover),
   szersze i węższe widać w całości (contain) na tle z tego samego zdjęcia — rozmytym, powiększonym poza
   krawędzie ramki i lekko rozjaśnionym ku kremowi; bez jednolitych pasów */
.odagi-frame {
  --odagi-blur: 18px;
  isolation: isolate;
}

.odagi-frame--cover .odagi-frame__img {
  object-fit: cover;
}

.odagi-frame--contain .odagi-frame__img {
  object-fit: contain;
  background: transparent;
}

.odagi-frame .odagi-frame__backdrop {
  position: absolute;
  top: calc(var(--odagi-blur) * -2);
  left: calc(var(--odagi-blur) * -2);
  z-index: -1;
  width: calc(100% + var(--odagi-blur) * 4);
  max-width: none;
  height: calc(100% + var(--odagi-blur) * 4);
  margin: 0;
  border-radius: 0;
  background: none;
  object-fit: cover;
  filter: blur(var(--odagi-blur)) saturate(0.9);
  pointer-events: none;
}

.odagi-frame--contain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--c-cream) 30%, transparent);
  pointer-events: none;
}

li.product.outofstock .odagi-frame .odagi-frame__backdrop {
  filter: blur(var(--odagi-blur)) saturate(0.5) brightness(1.04);
}

li.product .woocommerce-loop-product__title {
  margin: 14px 0 4px;
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.16rem);
  font-weight: 540;
  line-height: 1.25;
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease);
}

li.product:hover .woocommerce-loop-product__title {
  color: var(--c-resin-deep);
}

.price {
  color: var(--c-resin-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

li.product .price {
  display: block;
  font-size: 1.04rem;
}

.price del {
  margin-right: 0.45em;
  color: var(--c-ink-3);
  font-weight: 450;
}

.price ins {
  color: var(--c-ruby);
  text-decoration: none;
}

.odagi-card__ask {
  display: block;
  color: var(--c-ink-2);
  font-size: 0.98rem;
  font-weight: 600;
}

/* dopisek do ceny w karcie: „/ szt.”, „/ komplet”, „/ zestaw” */
.odagi-card__unit {
  color: var(--c-ink-3);
  font-size: 0.86em;
  font-weight: 600;
  white-space: nowrap;
}

li.product .price .odagi-card__unit {
  font-variant-numeric: normal;
}

li.product > .button,
li.product > .added_to_cart {
  align-self: flex-start;
  min-height: 40px;
  margin-top: 12px;
  padding: 0.5em 1.15em;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--c-resin);
  color: var(--c-resin-deep);
  font-size: 0.9rem;
}

li.product > .button:hover,
li.product > .added_to_cart:hover {
  background: var(--c-resin);
  box-shadow: inset 0 0 0 1.5px var(--c-resin), 0 12px 22px -14px rgba(18, 86, 80, 0.9);
  color: #fff;
}

li.product > .button.loading {
  opacity: 0.6;
  pointer-events: none;
}

li.product > .button.added {
  display: none;
}

li.product > .added_to_cart {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 1040px) {
  ul.products,
  ul.products.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 721–1040 px (3 kolumny): tylko pełne rzędy — 6 nowości, 3 powiązane produkty */
@media (min-width: 721px) and (max-width: 1040px) {
  ul.products.products--newest > li:nth-child(n + 7),
  .related ul.products > li:nth-child(n + 4),
  .upsells ul.products > li:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 720px) {
  ul.products,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odagi-card__media {
    border-radius: 14px;
  }

  li.product > .button,
  li.product > .added_to_cart {
    min-height: 38px;
    padding: 0.45em 0.95em;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   11. Nagłówek podstron, okruszki, sortowanie, paginacja
   ========================================================================== */

.page-hero {
  position: relative;
  padding: clamp(30px, 5vw, 64px) 0 clamp(34px, 5.5vw, 72px);
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(227, 154, 53, 0.16) 0%, rgba(227, 154, 53, 0) 65%),
    radial-gradient(40% 110% at 0% 100%, rgba(124, 203, 185, 0.22) 0%, rgba(124, 203, 185, 0) 65%),
    var(--c-cream-2);
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem);
}

.page-hero p {
  max-width: 40rem;
  margin: 0.8em auto 0;
  color: var(--c-ink-2);
  font-size: 1.1rem;
}

.page-hero .swirl {
  margin: 16px auto 0;
}

.woocommerce-breadcrumb,
.breadcrumb {
  margin: 0 0 0.9em;
  color: var(--c-ink-3);
  font-size: 0.88rem;
  font-weight: 560;
}

.woocommerce-breadcrumb a,
.breadcrumb a {
  color: var(--c-ink-2);
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover,
.breadcrumb a:hover {
  color: var(--c-resin-deep);
  text-decoration: underline;
}

.shop-layout {
  padding-block: clamp(28px, 4.5vw, 60px) var(--section);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 clamp(22px, 3vw, 36px);
  padding: 0;
  list-style: none;
}

.chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  box-shadow: inset 0 0 0 1px var(--c-line-2);
  color: var(--c-ink);
  font-size: 0.95rem;
  font-weight: 620;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.2s var(--ease);
}

.chips a:hover {
  box-shadow: inset 0 0 0 1.5px var(--c-resin);
  color: var(--c-resin-deep);
}

.chips .is-current a,
.chips a[aria-current="page"] {
  background: var(--c-walnut-deep);
  box-shadow: none;
  color: var(--c-cream);
}

.chips__count {
  color: var(--c-ink-3);
  font-size: 0.82em;
  font-weight: 600;
}

.chips .is-current .chips__count,
.chips a[aria-current="page"] .chips__count {
  color: rgba(251, 246, 236, 0.7);
}

@media (max-width: 720px) {
  .chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.woocommerce-result-count {
  margin: 0;
  color: var(--c-ink-3);
  font-size: 0.94rem;
}

.woocommerce-ordering {
  margin: 0;
}

/* wyszukiwarka i sortowanie po prawej stronie paska */
.shop-toolbar__tools {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

/* zwarte pole wyszukiwania (pasek nad listą): pigułka jak lista sortowania, lupa w środku pola
   (podwójna klasa: reguły ogólnego .search-form stoją niżej w arkuszu) */
.search-form.search-form--compact {
  position: relative;
  flex: 0 1 17rem;
  width: 17rem;
  min-width: 0;
}

.search-form.search-form--compact input[type="search"] {
  min-height: 44px;
  padding: 8px 48px 8px 18px;
  font-size: 0.94rem;
}

.search-form.search-form--compact .button {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--c-resin-deep);
}

.search-form.search-form--compact .button:hover {
  background: var(--c-resin-mist);
  box-shadow: none;
  color: var(--c-resin-deep);
  transform: none;
}

.search-form.search-form--compact .button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.search-form.search-form--compact .button .icon {
  width: 1.2em;
  height: 1.2em;
}

@media (max-width: 720px) {
  .shop-toolbar__tools {
    flex: 1 1 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .search-form.search-form--compact {
    flex: 1 1 100%;
    width: auto;
  }
}

.woocommerce-pagination,
.pagination {
  margin-top: clamp(32px, 5vw, 60px);
  text-align: center;
}

.woocommerce-pagination ul,
.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-pagination .page-numbers,
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  box-shadow: inset 0 0 0 1px var(--c-line-2);
  color: var(--c-ink);
  font-weight: 650;
  text-decoration: none;
}

.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  min-width: 0;
  height: auto;
  padding: 0;
  background: none;
  box-shadow: none;
}

.woocommerce-pagination .page-numbers.current,
.pagination .page-numbers.current {
  background: var(--c-resin);
  box-shadow: none;
  color: #fff;
}

.woocommerce-pagination a.page-numbers:hover,
.pagination a.page-numbers:hover {
  box-shadow: inset 0 0 0 1.5px var(--c-resin);
  color: var(--c-resin-deep);
}

/* „Poprzednia / Następna” ze strzałką, wielokropek bez obwódki */
.woocommerce-pagination .page-numbers.prev,
.woocommerce-pagination .page-numbers.next {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding-inline: 18px;
}

.woocommerce-pagination .page-numbers.dots {
  min-width: 24px;
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--c-ink-3);
}

@media (max-width: 520px) {
  .woocommerce-pagination ul,
  .woocommerce-pagination ul.page-numbers {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .woocommerce-pagination .page-numbers {
    min-width: 36px;
    padding: 0 6px;
  }

  .woocommerce-pagination .page-numbers.prev,
  .woocommerce-pagination .page-numbers.next {
    min-width: 44px;
    padding: 0;
    justify-content: center;
  }

  .woocommerce-pagination .page-numbers.dots {
    min-width: 18px;
    padding: 0;
  }

  /* na telefonie widać samą strzałkę; nazwa „Poprzednia/Następna” zostaje dla czytników ekranu */
  .page-numbers__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* okruszki w nagłówku podstrony */
.page-hero .woocommerce-breadcrumb,
.page-hero .breadcrumb {
  margin-bottom: 0.7em;
}

.breadcrumb__sep {
  margin-inline: 0.2em;
  color: var(--c-ink-3);
}

.page-hero__desc > :last-child {
  margin-bottom: 0;
}

/* puste wyszukiwanie: pole wyszukiwania w nagłówku */
.page-hero .search-form {
  max-width: 30rem;
  margin: 18px auto 0;
  text-align: left;
}

/* pusty wynik, 404 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
  text-align: center;
}

.empty-state h1,
.empty-state h2 {
  margin: 0 0 0.4em;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
}

.empty-state > p:not(.eyebrow):not(.empty-state__actions):not(.error-404__code) {
  max-width: 32rem;
  color: var(--c-ink-2);
}

.empty-state .swirl {
  margin: 0 auto 18px;
}

.empty-state__drop {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 18px;
}

.empty-state .search-form {
  width: 100%;
  max-width: 30rem;
  margin: 8px 0 22px;
}

.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.error-404__code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 3rem + 7vw, 8rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 100;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c-resin-light);
}

.error-404 .eyebrow {
  margin: 10px 0 6px;
  transform-origin: center bottom;
}

/* wyszukiwarka produktów */
.search-form {
  display: flex;
  gap: 8px;
}

.search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: var(--r-pill);
  padding-inline: 20px;
}

.search-form .button {
  flex: none;
  min-height: 50px;
  padding-inline: 1.3em;
}

.search-form .button .icon {
  width: 1.1em;
  height: 1.1em;
}

.search-again {
  max-width: 34rem;
  margin: 0 auto clamp(24px, 4vw, 40px);
}

/* lista wpisów */
.entry-list {
  display: grid;
  gap: 18px;
  max-width: 46rem;
  margin-inline: auto;
}

.entry-card__title {
  margin: 0 0 0.3em;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
}

.entry-card__title a {
  color: var(--c-ink);
  text-decoration: none;
}

.entry-card__title a:hover {
  color: var(--c-resin-deep);
}

.entry-card__excerpt p {
  margin: 0;
  color: var(--c-ink-2);
}

@media (max-width: 520px) {
  .search-form .button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .search-form .button {
    width: 50px;
    padding: 0;
  }
}

/* ==========================================================================
   12. Strona produktu
   ========================================================================== */

.single-product-layout {
  padding-block: clamp(22px, 3.5vw, 44px) var(--section);
}

div.product {
  position: relative;
}

.odagi-product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.woocommerce-product-gallery {
  position: relative;
  min-width: 0;
  margin: 0;
}

.woocommerce-product-gallery__wrapper {
  margin: 0;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image:first-child img,
.woocommerce-product-gallery .flex-viewport {
  border-radius: var(--r-lg);
}

.woocommerce-product-gallery .flex-viewport {
  background: var(--c-cream-2);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--c-cream-2);
}

.woocommerce-product-gallery__image a {
  display: block;
  cursor: zoom-in;
}

.woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  margin: 0;
}

.woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  opacity: 0.62;
  cursor: pointer;
  transition: opacity 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  box-shadow: 0 0 0 2px var(--c-cream), 0 0 0 4px var(--c-resin);
  opacity: 1;
}

.woocommerce-product-gallery__trigger {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-1);
  color: var(--c-ink);
  font-size: 0;
  text-decoration: none;
  cursor: zoom-in;
}

.woocommerce-product-gallery__trigger::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-product-gallery__trigger img {
  display: none !important;
}

.summary.entry-summary {
  position: sticky;
  top: 112px;
  min-width: 0;
}

.summary .product_title {
  margin: 0 0 0.3em;
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem);
  line-height: 1.06;
}

.summary > .price,
.summary p.price {
  margin: 0 0 0.7em;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.8rem);
  line-height: 1.2;
}

.woocommerce-product-details__short-description {
  color: var(--c-ink-2);
  font-size: 1.08rem;
}

.summary .stock {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 1em;
  padding: 0.38em 0.95em;
  border-radius: var(--r-pill);
  background: var(--c-resin-mist);
  color: var(--c-resin-deep);
  font-size: 0.9rem;
  font-weight: 680;
}

.summary .stock::before {
  content: "";
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--c-moss);
}

.summary .stock.out-of-stock {
  background: #f4e1dc;
  color: var(--c-ruby);
}

.summary .stock.out-of-stock::before {
  background: var(--c-ruby);
}

.summary form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin: 1.2em 0 1.4em;
}

.summary form.cart .single_add_to_cart_button {
  flex: 1 1 220px;
  min-height: 56px;
  font-size: 1.06rem;
}

.quantity {
  display: inline-flex;
}

.quantity .qty {
  width: 86px;
  min-height: 56px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  text-align: center;
  font-weight: 650;
  -moz-appearance: textfield;
}

.odagi-assurances {
  display: grid;
  gap: 10px;
  margin: 0 0 1.5em;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--c-paper);
  box-shadow: inset 0 0 0 1px var(--c-line);
  list-style: none;
  font-size: 0.98rem;
  color: var(--c-ink-2);
}

.odagi-assurances li {
  display: flex;
  gap: 0.7em;
  align-items: baseline;
}

.odagi-assurances .drop {
  position: relative;
  top: 0.06em;
}

.product_meta {
  display: grid;
  gap: 4px;
  color: var(--c-ink-3);
  font-size: 0.9rem;
}

.product_meta a {
  color: var(--c-ink-2);
}

/* opis w rozwijanych sekcjach */
.odagi-details {
  margin-top: clamp(36px, 6vw, 76px);
  border-top: 1px solid var(--c-line-2);
}

.odagi-details details {
  border-bottom: 1px solid var(--c-line-2);
}

.odagi-details summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  font-weight: 560;
  font-variation-settings: "SOFT" 100;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

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

.odagi-details summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border-right: 2px solid var(--c-resin);
  border-bottom: 2px solid var(--c-resin);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.odagi-details details[open] summary::after {
  transform: translateY(3px) rotate(-135deg);
}

.odagi-details summary:hover {
  color: var(--c-resin-deep);
}

/* nagłówek sekcji w <summary> — wygląd przejmuje summary */
.odagi-details__title {
  margin: 0;
  font: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.odagi-details__body h3 {
  margin: 1.2em 0 0.4em;
  font-size: 1.15rem;
}

.odagi-details__body h3:first-child {
  margin-top: 0;
}

.odagi-details__body {
  max-width: 46rem;
  padding: 0 4px 26px;
  color: var(--c-ink-2);
}

.odagi-details__body > :last-child {
  margin-bottom: 0;
}

/* odznaki nad tytułem produktu */
.odagi-product__badges {
  position: static;
  margin: 0 0 14px;
}

.summary .odagi-card__ask {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 540;
  font-variation-settings: "SOFT" 100;
}

/* ukryte pole ilości (sztuka jedna) nie zajmuje miejsca */
.summary form.cart .quantity:has(input[type="hidden"]) {
  display: none;
}

.odagi-ask {
  display: flex;
  margin: 0.4em 0 1.4em;
}

.odagi-ask .btn {
  flex: 1 1 220px;
  min-height: 56px;
  font-size: 1.06rem;
}

/* dopisek pod ceną: „cena za sztukę” */
.summary .odagi-price-note {
  margin: -0.55em 0 1em;
  color: var(--c-ink-3);
  font-size: 0.95rem;
  font-weight: 560;
}

/* praca na indywidualne zamówienie */
.odagi-mto__note {
  display: flex;
  gap: 0.65em;
  align-items: baseline;
  margin: 0.2em 0 0.9em;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--c-resin-mist);
  color: var(--c-resin-deep);
  font-weight: 600;
  line-height: 1.5;
}

.odagi-mto__note .drop {
  position: relative;
  top: 0.08em;
}

/* wybór wzoru (moduł wtyczki: product-choice.php) — jak pola formularzy, na całą szerokość */
.summary form.cart .odagi-choice {
  flex: 1 1 100%;
  min-width: 0;
}

.odagi-choice__label {
  display: block;
  margin-bottom: 6px;
}

.odagi-choice__input {
  width: 100%;
  text-overflow: ellipsis;
}

.odagi-choice__input::placeholder {
  text-overflow: ellipsis;
}

.odagi-choice__hint {
  margin: 6px 0 0;
  color: var(--c-ink-3);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* wymiary i materiały */
.odagi-details .shop_attributes {
  max-width: 34rem;
  margin: 0;
  font-size: 0.98rem;
}

.odagi-details .shop_attributes th {
  width: 40%;
  padding-left: 0;
  color: var(--c-ink);
  font-weight: 650;
}

.odagi-details .shop_attributes td {
  color: var(--c-ink-2);
}

.odagi-details .shop_attributes td p {
  margin: 0;
}

.odagi-details .shop_attributes tr:last-child th,
.odagi-details .shop_attributes tr:last-child td {
  border-bottom: 0;
}

/* galeria: miniatury zawsze widoczne, powiększenie bez ramki */
.woocommerce-product-gallery .flex-control-thumbs li {
  list-style: none;
}

.woocommerce-product-gallery__image--placeholder img {
  border-radius: var(--r-lg);
}

.woocommerce-product-gallery .zoomImg {
  background: var(--c-paper);
}

/* pole zdjęcia o stałych proporcjach (od najwyższego zdjęcia produktu, 16:9…4:5):
   zdjęcia poziome i pionowe nie zmieniają wysokości galerii, całe zdjęcie widać bez przycinania */
.woocommerce-product-gallery {
  --gallery-ratio: 1 / 1;
}

.woocommerce-product-gallery.odagi-gallery--wide {
  --gallery-ratio: 16 / 9;
}

.woocommerce-product-gallery.odagi-gallery--landscape {
  --gallery-ratio: 4 / 3;
}

.woocommerce-product-gallery.odagi-gallery--portrait {
  --gallery-ratio: 4 / 5;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image > a {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: var(--gallery-ratio);
  border-radius: var(--r-lg);
  background: var(--c-cream-2);
  overflow: hidden;
}

/* ramka zdjęcia w galerii (zob. .odagi-frame w kartach): mocniejsze rozmycie w większym polu */
.woocommerce-product-gallery .woocommerce-product-gallery__image > a.odagi-frame {
  --odagi-blur: 28px;
  position: relative;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image:first-child img {
  border-radius: 0;
}

/* do startu suwaka widać tylko pierwsze zdjęcie (bez skoku wysokości strony) */
.js .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n + 2) {
  display: none;
}

/* miniatury: 6 w rzędzie, najwyżej 2 rzędy, reszta po kliknięciu „Pokaż wszystkie zdjęcia” */
.woocommerce-product-gallery .flex-control-thumbs.is-collapsed li:nth-child(n + 13) {
  display: none;
}

.odagi-thumbs-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 40px;
  margin-top: 12px;
  padding: 0.45em 1.1em;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--c-line-2);
  color: var(--c-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
  transition: box-shadow 0.25s var(--ease), color 0.2s var(--ease);
}

.odagi-thumbs-toggle:hover {
  box-shadow: inset 0 0 0 1.5px var(--c-resin);
  color: var(--c-resin-deep);
}

.odagi-thumbs-toggle__count {
  color: var(--c-ink-3);
  font-weight: 600;
}

@media (max-width: 720px) {
  /* telefon: miniatury w jednym przewijanym pasku */
  .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 8px;
    margin: 10px calc(var(--gutter) * -1) 0;
    padding: 4px var(--gutter) 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    display: none;
  }

  .woocommerce-product-gallery .flex-control-thumbs li,
  .woocommerce-product-gallery .flex-control-thumbs.is-collapsed li:nth-child(n + 13) {
    display: block;
    flex: 0 0 64px;
    scroll-snap-align: start;
  }

  .woocommerce-product-gallery .flex-control-thumbs img {
    border-radius: 10px;
  }

  .odagi-thumbs-toggle {
    display: none;
  }
}

/* lightbox (PhotoSwipe) w kolorach motywu */
.pswp__bg {
  background: var(--c-walnut-deep);
}

.pswp__caption__center {
  font-family: var(--font-body);
  text-align: center;
}

.related.products,
.upsells.products {
  margin-top: var(--section);
}

.related.products > h2,
.upsells.products > h2 {
  margin-bottom: clamp(22px, 3vw, 38px);
  text-align: center;
}

@media (max-width: 860px) {
  .odagi-product {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary.entry-summary {
    position: static;
  }
}

/* ==========================================================================
   13. Formularze i komunikaty
   ========================================================================== */

label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.93rem;
  font-weight: 650;
  color: var(--c-ink);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid var(--c-line-2);
  border-radius: 14px;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a726c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.woocommerce-ordering select {
  width: auto;
  min-height: 44px;
  padding-block: 8px;
  border-radius: var(--r-pill);
  font-size: 0.94rem;
  font-weight: 600;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--c-resin);
  background: #fff;
  box-shadow: 0 0 0 4px var(--c-resin-mist);
  outline: 0;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.15em;
  height: 1.15em;
  margin: 0 0.5em 0 0;
  accent-color: var(--c-resin);
  vertical-align: -0.15em;
}

::placeholder {
  color: var(--c-ink-3);
  opacity: 0.85;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.form-grid .form-field--full {
  grid-column: 1 / -1;
}

.form-field {
  margin: 0;
}

.form-hint {
  margin: 6px 0 0;
  color: var(--c-ink-3);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* pole-pułapka na boty: ukryte dla ludzi */
.form-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.notice,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 0 0 22px;
  padding: 16px 20px 16px 24px;
  border-radius: var(--r-md);
  background: var(--c-resin-mist);
  color: var(--c-ink);
  font-size: 0.98rem;
  list-style: none;
  overflow: hidden;
}

.notice::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--c-resin);
}

.woocommerce-info {
  background: #e3eff4;
}

.woocommerce-info::before {
  background: var(--c-lagoon);
}

.notice--error,
.woocommerce-error {
  background: #f6e3de;
}

.notice--error::before,
.woocommerce-error::before {
  background: var(--c-ruby);
}

.woocommerce-error li {
  margin: 0;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  order: 2;
  min-height: 40px;
  margin-left: auto;
  padding: 0.5em 1.15em;
  font-size: 0.9rem;
}

.woocommerce-message:focus-visible,
.woocommerce-info:focus-visible,
.woocommerce-error:focus-visible {
  outline-offset: -3px;
}

.notice p,
.woocommerce-notice p {
  margin: 0;
}

.notice:focus {
  outline: 0;
}

.notice:focus-visible {
  outline: 3px solid var(--c-honey);
  outline-offset: 2px;
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
  font-weight: 650;
}

.woocommerce-notices-wrapper:empty {
  display: none;
}

/* formularz kontaktowy */
.contact-form .form-grid {
  position: relative;
}

.form-required {
  color: var(--c-ruby);
}

.form-error {
  margin: 6px 0 0;
  color: var(--c-ruby);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--c-ruby);
  background: #fff8f6;
}

.form-field label {
  display: block;
}

.form-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 2px;
}

.form-consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 1px 10px 0 0;
}

.form-consent label {
  display: inline;
  margin: 0;
  font-weight: 560;
  line-height: 1.5;
}

.form-consent .form-error {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.form-actions .form-hint {
  flex: 1 1 14rem;
  margin: 0;
}

.form-product {
  display: flex;
  gap: 0.7em;
  align-items: center;
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--c-cream-2);
  box-shadow: inset 0 0 0 1px var(--c-line);
  font-weight: 560;
}

.form-product a {
  font-weight: 700;
}

.order-form {
  max-width: 50rem;
  margin: clamp(48px, 7vw, 96px) auto 0;
}

.order-form .info-card {
  padding: clamp(22px, 4vw, 44px);
}

.steps--order {
  max-width: var(--wrap);
}

/* klasyczne formularze WooCommerce (logowanie, konto) */
.form-row {
  margin: 0 0 16px;
}

.form-row label {
  display: block;
}

.form-row .woocommerce-form__label-for-checkbox,
.woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 560;
}

abbr.required,
.required {
  color: var(--c-ruby);
  text-decoration: none;
  border: 0;
}

.password-input {
  position: relative;
  display: block;
}

.password-input input {
  padding-right: 54px;
}

.show-password-input {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-ink-2);
  cursor: pointer;
  transform: translateY(-50%);
}

.show-password-input::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.show-password-input.display-password::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
}

.show-password-input:hover {
  color: var(--c-resin-deep);
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword,
.woocommerce-account .woocommerce > h2 {
  max-width: 34rem;
  margin-inline: auto;
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword {
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
}

.woocommerce-account .woocommerce > h2 {
  margin-bottom: 0.6em;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  text-align: center;
}

.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 6px;
}

.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
  min-width: 12rem;
}

.woocommerce-form-login .lost_password,
.woocommerce-LostPassword {
  margin: 4px 0 0;
  font-size: 0.95rem;
}

.u-columns.col2-set {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.u-columns.col2-set .woocommerce-form-login,
.u-columns.col2-set .woocommerce-form-register {
  max-width: none;
}

@media (max-width: 760px) {
  .u-columns.col2-set {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* konto klienta: nawigacja */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}

.woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
  list-style: none;
}

.woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  color: var(--c-ink);
  font-weight: 620;
  text-decoration: none;
}

.woocommerce-MyAccount-navigation a:hover {
  background: var(--c-cream-2);
  color: var(--c-resin-deep);
}

.woocommerce-MyAccount-navigation .is-active a {
  background: var(--c-walnut-deep);
  color: var(--c-cream);
}

.woocommerce-MyAccount-content > :first-child {
  margin-top: 0;
}

@media (max-width: 820px) {
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* koszyk i zamówienie (bloki WooCommerce) */
.wc-page__content > .wp-block-woocommerce-cart,
.wc-page__content > .wp-block-woocommerce-checkout {
  margin: 0;
}

.site .wc-block-components-title,
.site .wc-block-components-checkout-step__title,
.site .wc-block-cart__totals-title,
.site .wp-block-woocommerce-cart-order-summary-heading-block {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  font-weight: 560;
  font-variation-settings: "SOFT" 100;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--c-ink);
}

.site .wc-block-cart__totals-title {
  display: block;
  padding: 0 0 10px;
  text-align: left;
}

.site .wc-block-components-text-input input[type="email"],
.site .wc-block-components-text-input input[type="text"],
.site .wc-block-components-text-input input[type="tel"],
.site .wc-block-components-text-input input[type="number"],
.site .wc-block-components-text-input input[type="password"],
.site .wc-block-components-text-input input[type="url"],
.site .wc-block-components-textarea,
.site .wc-blocks-components-select .wc-blocks-components-select__select {
  border: 1.5px solid var(--c-line-2);
  border-radius: 14px;
  background: var(--c-paper);
  color: var(--c-ink);
  box-shadow: none;
}

.site .wc-blocks-components-select .wc-blocks-components-select__container {
  border-radius: 14px;
  background: var(--c-paper);
}

.site .wc-block-components-text-input input:focus,
.site .wc-block-components-textarea:focus,
.site .wc-blocks-components-select .wc-blocks-components-select__select:focus {
  border-color: var(--c-resin);
  background: #fff;
  box-shadow: 0 0 0 4px var(--c-resin-mist);
  outline: 0;
}

.site .wc-block-components-text-input label,
.site .wc-blocks-components-select .wc-blocks-components-select__label {
  color: var(--c-ink-3);
}

.site .wc-block-components-text-input.has-error input,
.site .wc-blocks-components-select.has-error .wc-blocks-components-select__select {
  border-color: var(--c-ruby);
  background: #fff8f6;
}

.site .wc-block-components-validation-error,
.site .wc-block-components-text-input.has-error label,
.site .wc-block-components-checkbox.has-error {
  color: var(--c-ruby);
}

.site .wc-block-components-validation-error p {
  font-size: 0.86rem;
  font-weight: 600;
}

.site .wc-block-components-validation-error svg {
  fill: currentColor;
}

/* wybór wysyłki i płatności */
.site .wc-block-components-radio-control--highlight-checked,
.site .wc-block-checkout__payment-method .wc-block-components-radio-control {
  border-radius: var(--r-md);
  background: var(--c-paper);
}

.site .wc-block-components-radio-control--highlight-checked::after,
.site .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option,
.site .wc-block-components-radio-control-accordion-option {
  border-color: var(--c-line-2);
}

.site .wc-block-components-radio-control--highlight-checked::after {
  border-radius: var(--r-md);
}

.site .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
.site .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 2px var(--c-resin);
}

.site .wc-block-components-radio-control .wc-block-components-radio-control__input {
  border-color: var(--c-line-2);
  background: #fff;
}

.site .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
  border: 1.5px solid var(--c-resin);
}

.site .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
  background: var(--c-resin);
}

.site .wc-block-components-radio-control__label,
.site .wc-block-components-radio-control__secondary-label {
  color: var(--c-ink);
  font-weight: 620;
}

.site .wc-block-components-radio-control__description,
.site .wc-block-components-radio-control-accordion-content {
  color: var(--c-ink-2);
}

.site .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
  border: 1.5px solid var(--c-line-2);
  border-radius: 6px;
  background: #fff;
}

.site .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
  border-color: var(--c-resin);
  background: var(--c-resin);
}

.site .wc-block-components-checkbox .wc-block-components-checkbox__mark {
  fill: #fff;
}

.site .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus,
.site .wc-block-components-radio-control .wc-block-components-radio-control__input:focus {
  outline: 3px solid var(--c-honey);
  outline-offset: 2px;
}

.site .wc-block-components-checkbox.has-error .wc-block-components-checkbox__input[type="checkbox"] {
  border-color: var(--c-ruby);
}

/* telefon: cała etykieta pola wyboru jako cel dotyku (min. 44 px) */
@media (max-width: 720px) {
  .site .wc-block-components-checkbox label {
    min-height: 44px;
    align-items: center;
  }
}

.site .wc-block-checkout__terms {
  color: var(--c-ink-2);
  font-size: 0.95rem;
}

.site .wc-block-checkout__terms a {
  font-weight: 650;
}

.site .wc-block-checkout__guest-checkout-notice,
.site .wc-block-components-address-form__address_2-toggle {
  color: var(--c-ink-3);
}

.site .wc-block-components-address-card {
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-md);
  background: var(--c-paper);
}

/* podsumowanie jako karta papieru */
.site .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
.site .wp-block-woocommerce-cart-totals-block {
  padding: clamp(18px, 2.4vw, 28px);
  border: 0;
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
}

.site .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
  margin-bottom: 8px;
}

.site .wc-block-components-checkout-order-summary__title-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  font-weight: 560;
  font-variation-settings: "SOFT" 100;
  color: var(--c-ink);
}

.site .wc-block-cart-items .wc-block-cart-items__header th {
  border-bottom: 1px solid var(--c-line);
}

.site .wc-block-components-totals-wrapper {
  border-color: var(--c-line);
}

.site .wc-block-components-totals-item__label,
.site .wc-block-components-totals-item__value {
  color: var(--c-ink-2);
}

.site .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.site .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  font-variation-settings: "SOFT" 100;
  color: var(--c-ink);
}

.site .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--c-resin-deep);
}

.site .wc-block-components-order-summary-item__image img,
.site .wc-block-cart-item__image img {
  border-radius: 12px;
}

.site .wc-block-components-order-summary-item__quantity {
  border: 0;
  background: var(--c-walnut-deep);
  box-shadow: 0 0 0 2px var(--c-paper);
  color: var(--c-cream);
}

.site .wc-block-components-product-name {
  color: var(--c-ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 560;
  font-variation-settings: "SOFT" 100;
  line-height: 1.25;
  text-decoration: none;
}

.site a.wc-block-components-product-name:hover {
  color: var(--c-resin-deep);
  text-decoration: underline;
}

.site .wc-block-components-product-price {
  color: var(--c-resin-deep);
  font-weight: 700;
}

.site .wc-block-components-product-price ins {
  color: var(--c-ruby);
  text-decoration: none;
}

.site .wc-block-components-product-metadata,
.site .wc-block-components-order-summary-item__description {
  color: var(--c-ink-2);
  font-size: 0.9rem;
}

/* dane pozycji (np. „Wybrany wzór: …”) w koszyku i kasie */
.site .wc-block-components-product-details {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  line-height: 1.45;
}

.site .wc-block-components-product-details li {
  margin: 0 0 2px;
  overflow-wrap: anywhere;
}

.site .wc-block-components-product-details__name {
  color: var(--c-ink);
  font-weight: 650;
}

.site .wc-block-components-product-details__value {
  color: var(--c-ink-2);
}

.site .wc-block-components-sale-badge {
  border: 0;
  border-radius: var(--r-pill);
  background: var(--c-ruby);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0;
}

/* wąski koszyk: odznaka „Oszczędzasz” łamie się, zamiast wypychać kolumnę */
.site .is-mobile .wc-block-components-sale-badge,
.site .is-small .wc-block-components-sale-badge {
  border-radius: var(--r-sm);
  white-space: normal;
  text-align: right;
}

.site .wc-block-cart-items__header {
  color: var(--c-ink-3);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.site .wc-block-cart-items td,
.site .wc-block-cart-items th {
  border-color: var(--c-line);
}

.site .wc-block-components-quantity-selector {
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-pill);
  background: var(--c-paper);
}

.site .wc-block-components-quantity-selector::after {
  display: none;
}

.site .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  min-height: 0;
  border: 0;
  background: transparent;
  font-weight: 650;
  box-shadow: none;
}

.site .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  min-width: 40px;
  color: var(--c-resin-deep);
}

.site .wc-block-cart-item__remove-link {
  color: var(--c-ink-3);
}

.site .wc-block-cart-item__remove-link:hover {
  color: var(--c-ruby);
}

.site .wc-block-cart__submit-button,
.site .wc-block-components-checkout-place-order-button {
  min-height: 56px;
  font-size: 1.06rem;
}

.site .wc-block-components-checkout-return-to-cart-button {
  color: var(--c-ink-2);
  font-weight: 620;
}

.site .wc-block-components-panel__button {
  color: var(--c-ink);
  font-weight: 650;
}

.site .wc-block-components-totals-coupon-link,
.site .wc-block-components-totals-coupon .wc-block-components-panel__button {
  color: var(--c-resin-deep);
}

/* komunikaty bloków */
.site .wc-block-components-notice-banner {
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-resin-mist);
  box-shadow: inset 6px 0 0 var(--c-resin);
  color: var(--c-ink);
  font-size: 0.98rem;
}

.site .wc-block-components-notice-banner.is-error {
  background: #f6e3de;
  box-shadow: inset 6px 0 0 var(--c-ruby);
}

.site .wc-block-components-notice-banner.is-info {
  background: #e3eff4;
  box-shadow: inset 6px 0 0 var(--c-lagoon);
}

.site .wc-block-components-notice-banner > svg {
  border-radius: 50%;
  background: var(--c-resin);
  fill: #fff;
}

.site .wc-block-components-notice-banner.is-error > svg {
  background: var(--c-ruby);
}

.site .wc-block-components-notice-banner.is-info > svg {
  background: var(--c-lagoon);
}

/* pusty koszyk */
.site .wc-block-cart__empty-cart__title {
  margin-top: 0;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
}

.site .wc-block-cart__empty-cart__title::before {
  display: none;
}

.wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem);
}

.wp-block-woocommerce-empty-cart-block .wp-block-buttons {
  display: flex;
  justify-content: center;
}

.site .wc-block-grid .wc-block-grid__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site .wc-block-grid .wc-block-grid__products > .wc-block-grid__product {
  display: flex;
  flex: none;
  flex-direction: column;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  text-align: left;
}

.site .wc-block-grid__product-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  color: var(--c-ink);
  text-decoration: none;
}

.site .wc-block-grid__product-image {
  margin: 0;
}

.site .wc-block-grid__product-image img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  object-fit: cover;
  box-shadow: var(--shadow-1);
}

.site .wc-block-grid__product-title {
  margin: 14px 0 4px;
  color: var(--c-ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 540;
  font-variation-settings: "SOFT" 100;
  line-height: 1.25;
}

.site .wc-block-grid__product-price {
  margin: 0;
  color: var(--c-resin-deep);
  font-weight: 700;
}

.site .wc-block-grid__product-add-to-cart {
  margin: 12px 0 0;
}

.site .wc-block-grid__product-add-to-cart .wp-block-button__link {
  min-height: 40px;
  margin: 0;
  padding: 0.5em 1.15em;
  border-radius: var(--r-pill);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--c-resin);
  color: var(--c-resin-deep);
  font-size: 0.9rem;
  font-weight: 650;
}

.site .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
  background: var(--c-resin);
  color: #fff;
}

.site .wc-block-grid__product-onsale {
  display: none;
}

@media (max-width: 860px) {
  .site .wc-block-grid .wc-block-grid__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   14. Treść stron (proza), tabele
   ========================================================================== */

.page-layout {
  padding-block: clamp(30px, 5vw, 68px) var(--section);
}

.prose {
  max-width: 46rem;
  margin-inline: auto;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin: 1.9em 0 0.5em;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
}

.prose h3 {
  margin: 1.6em 0 0.4em;
  font-size: clamp(1.18rem, 1.08rem + 0.4vw, 1.35rem);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose ul li::marker {
  color: var(--c-resin);
}

.prose ol li::marker {
  color: var(--c-resin-deep);
  font-weight: 700;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--c-resin-light);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-style: italic;
  color: var(--c-ink);
}

.prose img {
  border-radius: var(--r-md);
}

.prose .lead {
  font-size: 1.2rem;
  color: var(--c-ink-2);
}

.info-card {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
}

.info-card h2,
.info-card h3 {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 1.2em 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list .icon {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--c-resin);
}

.contact-list strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}

.contact-list a {
  font-weight: 620;
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .contact-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .contact-list li {
    gap: 12px;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}

th {
  font-weight: 680;
}

.prose table {
  font-size: 0.98rem;
}

.prose th {
  background: var(--c-cream-2);
}

.prose a {
  font-weight: 560;
}

.prose > :first-child {
  margin-top: 0;
}

.page-links {
  display: flex;
  gap: 8px;
  margin-top: 2em;
}

/* strona O mnie */
.about-intro {
  padding-top: clamp(40px, 6vw, 84px);
}

.about-intro .about-teaser {
  align-items: start;
}

.about-intro__text {
  max-width: none;
  margin: 0;
}

.about-intro__text .eyebrow {
  margin-bottom: 0.3em;
}

/* strona Kontakt */
.contact-grid .info-card h2 {
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
}

.contact-prose {
  margin-top: 1.6em;
  padding-top: 1.4em;
  border-top: 1px solid var(--c-line);
  color: var(--c-ink-2);
}

.contact-form-card {
  scroll-margin-top: 104px;
}

/* zamówienie przyjęte, szczegóły zamówienia (klasyczne szablony WooCommerce) */
.woocommerce-order {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  max-width: 54rem;
  margin-inline: auto;
}

.woocommerce-order > * {
  margin: 0;
}

.woocommerce-order h2,
.woocommerce-order-details__title,
.woocommerce-column__title,
.wc-bacs-bank-details-heading {
  margin: 0 0 0.6em;
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
}

.woocommerce-order .woocommerce-notice--success {
  font-weight: 620;
}

.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
  list-style: none;
  overflow: hidden;
}

.woocommerce-order-overview li {
  padding: 18px 22px;
  color: var(--c-ink-3);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: 1px solid var(--c-line);
}

.woocommerce-order-overview li:last-child {
  border-right: 0;
}

.woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  color: var(--c-ink);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.woocommerce-order > p:not(.woocommerce-notice) {
  color: var(--c-ink-2);
}

.woocommerce-bacs-bank-details,
.woocommerce-order-details,
.woocommerce-customer-details {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
}

.wc-bacs-bank-details-account-name {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.wc-bacs-bank-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 12px 24px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.wc-bacs-bank-details li {
  color: var(--c-ink-3);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wc-bacs-bank-details li strong {
  display: block;
  margin-top: 4px;
  color: var(--c-ink);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.shop_table,
.woocommerce-table {
  font-size: 0.98rem;
}

.shop_table thead th {
  color: var(--c-ink-3);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop_table th:last-child,
.shop_table td:last-child {
  text-align: right;
}

.shop_table tfoot th {
  font-weight: 620;
  color: var(--c-ink-2);
}

.shop_table tfoot tr:last-child th,
.shop_table tfoot tr:last-child td {
  border-bottom: 0;
}

.shop_table .order-total td,
.shop_table tfoot tr:nth-last-child(2) td {
  color: var(--c-ink);
  font-weight: 700;
}

.shop_table .product-name a {
  color: var(--c-ink);
  font-weight: 620;
}

.shop_table .product-quantity {
  color: var(--c-ink-3);
  font-weight: 600;
}

/* dane pozycji zamówienia (np. „Wybrany wzór: …”) */
.wc-item-meta {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--c-ink-2);
  font-size: 0.9rem;
  line-height: 1.45;
}

.wc-item-meta li {
  margin: 0 0 2px;
  overflow-wrap: anywhere;
}

.wc-item-meta .wc-item-meta-label {
  margin-right: 0.3em;
  color: var(--c-ink);
  font-weight: 650;
}

.wc-item-meta p {
  display: inline;
  margin: 0;
}

.shop_table .shipped_via {
  display: block;
  color: var(--c-ink-3);
  font-size: 0.86em;
}

.woocommerce-customer-details .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.woocommerce-customer-details .woocommerce-column {
  float: none;
  width: auto;
  max-width: none;
}

.woocommerce-customer-details address {
  margin: 0;
  color: var(--c-ink-2);
  font-style: normal;
  line-height: 1.7;
}

.woocommerce-customer-details address p {
  margin: 0.6em 0 0;
}

.woocommerce-customer-details--email::before,
.woocommerce-customer-details--phone::before {
  content: none;
}

@media (max-width: 640px) {
  .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-order-overview li {
    border-right: 0;
  }

  .woocommerce-order-overview li:nth-child(odd) {
    border-right: 1px solid var(--c-line);
  }

  .woocommerce-order-overview li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--c-line);
  }

  .woocommerce-customer-details .woocommerce-columns--addresses {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop_table th,
  .shop_table td {
    padding: 10px 8px;
  }
}

/* strona „Opłać zamówienie” (klasyczny formularz order-pay na stronie zamówienia): jedna kolumna z dwiema
   kartami jak w kasie — podsumowanie zamówienia i sposób płatności z przyciskiem */
.woocommerce-order-pay .wc-page__content > .woocommerce {
  max-width: 46rem;
  margin-inline: auto;
}

.order-pay__title {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  font-weight: 560;
}

#order_review > .order-pay__title {
  margin-top: clamp(28px, 4vw, 44px);
}

.woocommerce-order-pay #order_review > .shop_table,
.woocommerce-order-pay #payment {
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
}

.woocommerce-order-pay #order_review > .shop_table {
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-order-pay #order_review > .shop_table :is(th, td):first-child {
  padding-left: 0;
}

.woocommerce-order-pay #order_review > .shop_table :is(th, td):last-child {
  padding-right: 0;
}

.woocommerce-order-pay #order_review > .shop_table .product-name {
  color: var(--c-ink);
  font-weight: 620;
}

/* „Do zapłaty”: ostatni wiersz z kwotą — jak suma w kasie */
.woocommerce-order-pay .shop_table tfoot tr:nth-last-child(2) td {
  color: inherit;
  font-weight: inherit;
}

.woocommerce-order-pay .shop_table tfoot tr:has(.woocommerce-Price-amount):not(:has(~ tr .woocommerce-Price-amount)) :is(th, td) {
  padding-top: 16px;
  color: var(--c-ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  font-variation-settings: "SOFT" 100;
}

.woocommerce-order-pay .shop_table tfoot tr:has(.woocommerce-Price-amount):not(:has(~ tr .woocommerce-Price-amount)) td {
  color: var(--c-resin-deep);
}

/* sposoby płatności: pola wyboru jak w kasie (ramka, wybrany — obwódka w kolorze żywicy) */
.woocommerce-order-pay .wc_payment_methods {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.woocommerce-order-pay .wc_payment_method {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 2px;
  padding: 2px 16px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--c-line-2);
}

.woocommerce-order-pay .wc_payment_method:has(> input:checked) {
  box-shadow: inset 0 0 0 2px var(--c-resin);
}

.woocommerce-order-pay .wc_payment_method > input {
  margin-right: 0.6em;
}

/* pole wyboru w 1. kolumnie (przy jednym sposobie płatności WooCommerce je ukrywa), opis pod nazwą */
.woocommerce-order-pay .wc_payment_method > label {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
}

.woocommerce-order-pay .wc_payment_method > label img {
  max-height: 24px;
  width: auto;
}

.woocommerce-order-pay .payment_box {
  grid-column: 2;
  margin: -4px 0 0;
  padding: 0 0 14px;
  color: var(--c-ink-2);
  font-size: 0.94rem;
  line-height: 1.5;
}

.woocommerce-order-pay .payment_box > :last-child {
  margin-bottom: 0;
}

.woocommerce-order-pay #payment .form-row {
  margin: 0;
}

.woocommerce-order-pay .woocommerce-privacy-policy-text p {
  margin: 0 0 16px;
  color: var(--c-ink-2);
  font-size: 0.95rem;
}

.woocommerce-order-pay .woocommerce-privacy-policy-text a {
  font-weight: 650;
}

.woocommerce-order-pay #place_order {
  width: 100%;
  min-height: 56px;
  font-size: 1.06rem;
}

/* sprawdzenie adresu e-mail przed płatnością (link otwarty bez sesji zamówienia): karta jak logowanie */
.woocommerce-verify-email {
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--c-paper);
  box-shadow: var(--shadow-1);
}

.woocommerce-verify-email > p:first-of-type {
  color: var(--c-ink-2);
}

.woocommerce-verify-email .form-row:last-child {
  margin: 0;
}

/* ==========================================================================
   15. Stopka
   ========================================================================== */

.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 84px);
  padding: clamp(40px, 6vw, 76px) 0 26px;
  background: var(--c-walnut-deep);
  color: #dccbb2;
  font-size: 0.98rem;
}

.site-footer__wave {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: clamp(34px, 5.2vw, 84px);
  margin-bottom: -1px;
  pointer-events: none;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
}

/* kolumna „Sklep”: wszystkie kategorie w dwóch kolumnach (kolejność w dół kolumn), pod nimi „Wszystkie produkty” */
.site-footer .site-footer__cats--split {
  grid-auto-flow: column;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(var(--rows, 5), auto);
  justify-content: start;
  column-gap: 28px;
}

.site-footer__cats--split .site-footer__all {
  grid-column: 1 / -1;
  grid-row: -1;
}

.site-footer__all .link-arrow {
  gap: 0.4em;
}

.site-footer__brand {
  max-width: 24rem;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: #fff8ea;
  text-decoration: none;
}

.site-footer__logo img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.8);
  transform: rotate(-4deg);
}

.site-footer__logo span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 640;
  font-variation-settings: "SOFT" 100;
  line-height: 1;
  letter-spacing: -0.02em;
}

.site-footer p {
  margin: 0 0 0.8em;
}

.site-footer__title {
  margin: 6px 0 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 750;
  font-variation-settings: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3c36f;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #f1e3cd;
  text-decoration: none;
}

.site-footer a:hover {
  color: #f3c36f;
  text-decoration: underline;
}

.site-footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  overflow-wrap: anywhere;
}

.site-footer__contact .icon {
  margin-top: 0.2em;
  color: var(--c-resin-light);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  margin-top: clamp(30px, 4.5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid rgba(241, 227, 205, 0.16);
  color: #c4b096;
  font-size: 0.88rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__made {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

/* 900–1120 px: marka nad kolumnami, żeby adres e-mail nie łamał się w połowie */
@media (min-width: 901px) and (max-width: 1120px) {
  .site-footer__grid {
    grid-template-columns: auto repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 34rem;
  }
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand,
  .site-footer__shop {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) and (max-width: 900px) {
  .site-footer .site-footer__cats--split {
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(var(--rows3, 3), auto);
    column-gap: 40px;
  }
}

/* bardzo wąski telefon: kategorie w jednej kolumnie */
@media (max-width: 374px) {
  .site-footer .site-footer__cats--split {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .site-footer__cats--split .site-footer__all {
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* telefon: linki w stopce z wygodnym polem dotyku (min. 44 px) */
@media (max-width: 720px) {
  .site-footer ul {
    gap: 0;
  }

  .site-footer nav a,
  .site-footer__contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-footer__contact li {
    align-items: center;
  }

  .site-footer__contact .icon {
    margin-top: 0;
  }

  .site-footer__contact li > span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* ==========================================================================
   16. Animacje wejścia
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   17. Ekran „Wkrótce otwarcie” (tryb WooCommerce „Coming soon”)
   ========================================================================== */

.soon {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(90px, 10vw, 140px);
  background:
    radial-gradient(60% 60% at 88% 6%, rgba(227, 154, 53, 0.2) 0%, rgba(227, 154, 53, 0) 62%),
    radial-gradient(50% 50% at 0% 40%, rgba(124, 203, 185, 0.2) 0%, rgba(124, 203, 185, 0) 65%),
    var(--c-cream);
  overflow: hidden;
  text-align: center;
}

.soon__river {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: clamp(260px, 46vw, 620px);
  pointer-events: none;
}

.soon__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 36rem);
  padding: clamp(26px, 5vw, 48px) clamp(20px, 5vw, 52px) clamp(24px, 4vw, 40px);
  border-radius: var(--r-xl);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(43, 20, 8, 0.05);
}

.soon__plaque {
  width: clamp(130px, 34vw, 176px);
  height: auto;
  margin: 0 auto 18px;
  border-radius: 12%;
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(43, 20, 8, 0.08);
  transform: rotate(-4deg);
}

.soon__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 0.35em;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem);
  font-weight: 640;
  font-variation-settings: "SOFT" 100;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-walnut);
}

.soon__tag {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}

.soon__title {
  margin: 0.25em 0 0;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem);
}

.soon .swirl {
  margin: 14px auto 0;
}

.soon__lead {
  max-width: 28rem;
  margin: 1em auto 0;
  color: var(--c-ink-2);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.14rem);
}

.soon__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  list-style: none;
}

.soon__links .btn {
  max-width: 100%;
}

.soon__mail {
  overflow-wrap: anywhere;
}

.soon__note {
  max-width: 24rem;
  margin: clamp(20px, 3vw, 28px) auto 0;
  color: var(--c-ink-3);
  font-size: 0.9rem;
  font-weight: 560;
}

.soon__note .drop {
  margin-right: 0.4em;
  vertical-align: -0.06em;
}

@media (max-width: 520px) {
  .soon__links {
    flex-direction: column;
    align-self: stretch;
  }

  .soon__links .btn {
    width: 100%;
    padding-inline: 1.1em;
  }
}

/* ==========================================================================
   18. Poprawki po przeglądzie: formularz zamówienia na telefonie, tabele, fokus
   ========================================================================== */

/* 18.1 Formularz zamówienia: pole „Paczkomat InPost” zostaje w kolumnie formularza.
   <fieldset> ma domyślnie min-inline-size: min-content i rozpychał się do szerokości podpowiedzi pod polem. */
.wc-block-checkout__form fieldset,
.wc-block-checkout__order-fields,
.wc-block-checkout__order-fields .wc-block-components-checkout-step__content,
.wc-block-checkout__order-fields .wc-block-components-address-form {
  min-width: 0;
  min-inline-size: 0;
  max-width: 100%;
}

.wc-block-components-address-form__odagi-paczkomat,
.wc-block-components-address-form__odagi-paczkomat input {
  min-width: 0;
  max-width: 100%;
}

.wc-block-components-address-form__odagi-paczkomat::after,
.wc-block-components-address-form__odagi-paczkomat .wc-block-components-validation-error {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* 18.2 Tabele w treści stron (polityka prywatności): wygląd motywu zamiast siatki bloku WordPressa.
   Na wąskim ekranie tabela przewija się w poziomie we własnej ramce, a słowa nie łamią się w połowie. */
.prose .wp-block-table {
  margin: 1.5em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prose .wp-block-table table {
  border: 0;
}

.prose .wp-block-table table thead {
  border-bottom: 0;
}

.prose .wp-block-table table :is(th, td) {
  border: 0;
  border-bottom: 1px solid var(--c-line);
  padding: 12px 14px;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 640px) {
  .prose .wp-block-table table.has-fixed-layout {
    min-width: 35rem;
    table-layout: auto;
  }

  .prose .wp-block-table table :is(th, td) {
    padding: 10px 12px;
  }
}

/* 18.3 Fokus z klawiatury: obrys o kontraście co najmniej 3:1 na jasnym tle (ciemny miód);
   na ciemnych pasach zostaje jasny miód. Pola wyboru i opcje pokazują obrys (reguła input:focus go wyłączała). */
:focus-visible {
  outline-color: var(--c-honey-deep);
}

.skip-link:focus-visible,
.topbar :focus-visible,
.site-footer :focus-visible,
.pswp :focus-visible {
  outline-color: var(--c-honey);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 3px solid var(--c-honey-deep);
  outline-offset: 2px;
}
