/* ==========================================================================
   ESENFLY — GŁÓWNY ARKUSZ STYLÓW
   Oparty na design system esenflyShop (coral/navy/cream)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTY LOKALNE — LEMONMILK (używany jako font-brand w nagłówkach marki)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "LemonMilk";
  src: url("../fonts/LEMONMILK-Regular.woff2") format("woff2"),
    url("../fonts/LEMONMILK-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LemonMilk";
  src: url("../fonts/LEMONMILK-Medium.woff2") format("woff2"),
    url("../fonts/LEMONMILK-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LemonMilk";
  src: url("../fonts/LEMONMILK-Bold.woff2") format("woff2"),
    url("../fonts/LEMONMILK-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Paleta brandowa */
  --coral: #ff6f61;
  --coral-press: #e85c4f;
  --action: #1F6F73;
  --action-press: #155457;
  --navy: #003f5c;
  --navy-dark: #00334a;
  --slate: #2f4f4f;
  --slate-2: #4a6b6b;
  --teal-accent: #28BFBF;
  --gold: #EAB934;

  /* Neutralne */
  --ink: #333333;
  --ink-2: #5b5b5b;
  --paper: #ffffff;
  --cream: #E9EDEE;
  --mist: #E9EDEE;
  --beige: #E9EDEE;
  --line: rgba(47, 79, 79, 0.12);

  /* Semantyczne */
  --bg: var(--paper);
  --bg-warm: var(--cream);
  --bg-deep: var(--navy);
  --fg: var(--ink);
  --fg-muted: var(--slate);
  --price: var(--navy);
  --in-stock: #2f7a4f;
  --low-stock: #c87432;
  --sold-out: #c92a1f;

  /* Typografia */
  --font-display: "Merriweather", "Source Serif Pro", Georgia, serif;
  --font-body: "Roboto", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --font-brand: "LemonMilk", "Merriweather", serif;

  /* Skala */
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-21: 1.3125rem;
  --fs-24: 1.5rem;
  --fs-30: 1.875rem;
  --fs-36: 2.25rem;
  --fs-44: 2.75rem;
  --fs-56: 3.5rem;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.5;
  --lh-loose: 1.75;

  /* Przestrzeń */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-20: 20px;
  --s-24: 24px;
  --s-32: 32px;
  --s-48: 48px;
  --s-64: 64px;
  --s-96: 96px;

  /* Promienie */
  --r-sm: 4px;
  --r-md: 5px;
  --r-lg: 12px;
  --r-xl: 15px;
  --r-pill: 999px;

  /* Cienie */
  --shadow-1: 0 1px 2px rgba(0, 63, 92, .06), 0 1px 1px rgba(0, 63, 92, .04);
  --shadow-2: 0 4px 16px rgba(0, 63, 92, .10);
  --shadow-3: 0 16px 40px rgba(0, 63, 92, .16);

  /* Ruch */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: linear(0 0%, 0.02 4.53%, 0.06 9.07%, 0.14 13.6%, 0.39 22.7%, 0.77 31.8%, 1 36.35%, 0.85 43.18%, 0.77 50%, 0.75 54.55%, 0.79 61.38%, 0.89 68.2%, 1 72.7%, 0.97 77.25%, 0.94 84.08%, 1 90.9%, 1 100%);
  --dur-fast: 150ms;
  --dur-base: 350ms;

  /* Layout */
  --container: 1130px;
  --container-narrow: 768px;
  --nav-h: 76px;
}

/* --------------------------------------------------------------------------
   3. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-18);
  line-height: var(--lh-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

a {
  color: var(--coral);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 .5em;
  line-height: var(--lh-tight);
}

h1 {
  font-size: var(--fs-56);
}

h2 {
  font-size: var(--fs-44);
}

h3 {
  font-size: var(--fs-30);
}

h4 {
  font-size: var(--fs-21);
}

p {
  margin: 0 0 1em;
  line-height: var(--lh-loose);
}

::selection {
  background: var(--coral);
  color: #fff;
}

.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   4. ASTRA OVERRIDES — wyłącz konfliktujące style
   -------------------------------------------------------------------------- */
.ast-header-break-point .ast-mobile-header-stack {
  display: none !important;
}

.ast-desktop .ast-flex .ast-header-logo-class {
  display: none !important;
}

/* Wyłącz Astra header — używamy własnego header.php */
#masthead.site-header {
  display: none !important;
}

/* Reset paddingu Astry pod contentem */
.ast-separate-container {
  background: #fff !important;
}

.ast-separate-container .ast-article-post,
.ast-plain-container,
.ast-container {
  padding: 0 !important;
}

.site-content>.ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

#primary {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

#secondary {
  display: none !important;
}

/* Astra owija treść w .entry-content — usuwamy padding żeby sekcje były pełne */
.entry-content,
.ast-article-inner,
.ast-article-single,
.ast-container-layout .entry-content,
.site-content .entry-content {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 100% !important;
}

/* Usuń domyślny margin strony z body Astry */
.ast-page-builder-template #content,
.page-template-default #content,
.home #content,
.single-product #content,
.archive #content {
  margin: 0 !important;
  padding: 0 !important;
}

/* WordPress admin bar */
.admin-bar .ef-nav {
  top: 32px;
}

/* --------------------------------------------------------------------------
   5. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--beige {
  position: relative;
}

.section--bg-beige {
  background: var(--beige);
}

.section--beige::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--beige);
  z-index: 0;
}

.section--beige>* {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-44);
  color: var(--navy);
  line-height: var(--lh-tight);
  margin: 0 0 12px;
}

.section-sub {
  color: var(--ink-2);
  font-size: 17px;
  margin: 0 0 40px;
  max-width: 540px;
}

/* --------------------------------------------------------------------------
   6. NAWIGACJA
   -------------------------------------------------------------------------- */
.ef-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-fast) var(--ease-out);
}

.ef-nav.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 63, 92, .08);
}

.ef-nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.ef-nav__logo {
  display: block;
  flex-shrink: 0;
}

.ef-nav__logo img {
  height: 80px;
  width: auto;
}

.ef-nav__logo-text {
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .05em;
  text-decoration: none;
}

.ef-nav__logo-text span {
  color: var(--coral);
}

.ef-nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
}

.ef-nav__links a {
  color: var(--slate);
  font-weight: 700;
  font-size: var(--fs-14);
  letter-spacing: .03em;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.ef-nav__links a:hover,
.ef-nav__links a.is-active,
.ef-nav__links .current-menu-item>a,
.ef-nav__links .current_page_item>a {
  color: var(--coral);
}

.ef-nav__right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ef-nav__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background var(--dur-fast) var(--ease-out);
  text-decoration: none;
}

.ef-nav__icon:hover {
  background: rgba(0, 0, 0, .05);
}

.ef-nav__icon .material-symbols-rounded {
  font-size: 22px;
}

.ef-nav__cart-count {
  position: absolute;
  top: 6px;
  right: 4px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: var(--r-pill);
  min-width: 16px;
  text-align: center;
  line-height: 1.4;
}

.ef-nav__cart-count:empty {
  display: none;
}

/* Mobile nav */
.ef-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.ef-nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}

.ef-nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ef-nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.ef-nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ef-nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 16px 24px 24px;
}

.ef-nav__mobile-menu.is-open {
  display: flex;
}

.ef-nav__mobile-menu a {
  padding: 12px 0;
  color: var(--slate);
  font-weight: 700;
  font-size: var(--fs-16);
  border-bottom: 1px solid var(--line);
}

.ef-nav__mobile-menu a:last-child {
  border-bottom: 0;
}

@media (max-width: 768px) {
  .ef-nav__links {
    display: none;
  }

  .ef-nav__hamburger {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   7. HERO — pełnoekranowy slideshow
   -------------------------------------------------------------------------- */
.ef-hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-image .8s var(--ease-out);
}

.ef-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 63, 92, 0.95) 0%,
      rgba(0, 63, 92, 0.60) 35%,
      rgba(255, 111, 97, 0.22) 62%,
      transparent 100%);
}

.ef-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  transition: opacity .2s ease;
  color: #fff;
  padding: 0 24px 88px;
  max-width: 760px;
  width: 100%;
}

.ef-hero__inner.is-text-out {
  opacity: 0;
}

.ef-hero__eyebrow {
  color: var(--coral);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ef-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: clamp(40px, 6vw, 64px);
  line-height: var(--lh-tight);
  margin: 0;
  text-wrap: balance;
}

.ef-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400;
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
  margin: 14px auto 0;
  max-width: 560px;
  text-wrap: balance;
}

.ef-hero__cta {
  margin-top: 36px;
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.ef-hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.ef-hero__dots button {
  position: relative;
  width: 24px;
  height: 4px;
  border-radius: var(--r-pill);
  border: 0;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-base) var(--ease-out), width var(--dur-base) var(--ease-out);
}

.ef-hero__dots button::before {
  content: '';
  position: absolute;
  inset: -12px -8px;
}

.ef-hero__dots button.is-active {
  background: var(--coral);
  width: 40px;
}

.ef-hero {
  cursor: grab;
}

.ef-hero.is-dragging {
  cursor: grabbing;
}

/* --------------------------------------------------------------------------
   8. PRZYCISKI
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--teal-accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-14);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 16px 26px;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  transition: transform .5s var(--ease-spring), background .5s var(--ease-spring);
}

.btn:hover {
  background: var(--coral);
  transform: scale(.9);
  color: #fff;
}

.btn--block {
  width: 100%;
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
  transform: scale(.95);
}

.btn--ghost-white {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}

.btn--ghost-white:hover {
  background: #fff;
  color: var(--navy);
  transform: scale(.95);
}

.btn--lg {
  padding: 20px 32px;
  font-size: var(--fs-15);
}

.btn:disabled,
.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.btn:disabled:hover,
.btn[disabled]:hover {
  transform: none;
}

/* --------------------------------------------------------------------------
   9. SEKCJA O MNIE (about band)
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about+.about {
  margin-top: 2em;
}

.about--reverse .about__img {
  order: 2;
}

.about--reverse .about__copy {
  order: 1;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about--reverse .about__img,
  .about--reverse .about__copy {
    order: unset;
  }
}

.about__img {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}

.about__img>div {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: var(--r-md);
}

.about__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
}

.about__img::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 3px solid var(--slate);
  border-radius: var(--r-md);
  z-index: -1;
}

.about__copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--navy);
  line-height: var(--lh-snug);
  margin: 0 0 18px;
}

.about__copy p {
  font-size: 17px;
  line-height: var(--lh-loose);
  color: var(--ink);
  margin: 0 0 16px;
}

/* --------------------------------------------------------------------------
   10. KARTY PRODUKTÓW (product cards / pcard)
   -------------------------------------------------------------------------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 500px) {
  .pgrid {
    grid-template-columns: 1fr;
  }
}

/* Warianty gęstości przez klasę na <html> */
.grid-2 .pgrid {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 .pgrid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-4 .pgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.pcard:hover {
  box-shadow: var(--shadow-2);
  color: inherit;
  border-color: var(--line);
}

.pcard--upsell {
  cursor: default;
}

.pcard--upsell .pcard__img {
  display: block;
  text-decoration: none;
}

.pcard--upsell .pcard__title {
  display: block;
  text-decoration: none;
  color: var(--navy);
}

.pcard--upsell .pcard__title:hover {
  color: var(--coral);
}

.ef-cart-upsell {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.pcard__img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--cream);
  overflow: hidden;
}

.pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: #3a2a0d;
}

.pcard__badge--coral {
  background: var(--coral);
  color: #fff;
}

.pcard__badge--sold {
  background: var(--sold-out);
  color: #fff;
}


.pcard__sub {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
  margin: 0;
}

.pcard__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pcard__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--slate);
  margin-bottom: 6px;
}

.pcard__eyebrow-sep {
  color: var(--coral);
  font-weight: 400;
}

.pcard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

.pcard__meta {
  font-size: var(--fs-13);
  color: var(--slate);
  line-height: 1.5;
}

.pcard__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}

.pcard__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-24);
  color: var(--navy);
}

.pcard__price del {
  color: var(--ink-2);
  font-size: var(--fs-14);
  font-weight: 400;
  opacity: 1;
}

.pcard__price ins {
  text-decoration: none !important;
  color: var(--coral) !important;
  font-size: var(--fs-18) !important;
}

.pcard__cta {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--teal-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease-out);
}

.pcard:hover .pcard__cta {
  background: var(--coral);
}

.pcard__cta .material-symbols-rounded {
  color: #fff;
  font-size: 22px;
}

/* --------------------------------------------------------------------------
   11. STOCK BAR
   -------------------------------------------------------------------------- */
.stockbar {
  margin-top: 4px;
}

.stockbar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.stockbar__label {
  color: var(--slate);
  text-transform: uppercase;
}

.stockbar__count {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--navy);
}

.stockbar__count em {
  font-style: normal;
  color: var(--coral);
}

.stockbar__count--sold {
  color: var(--sold-out);
}

.stockbar__track {
  height: 20px;
  background: rgba(47, 79, 79, .1);
  border-radius: var(--r-pill);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  position: relative;
}

.stockbar__fill {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* height: 100%; */
  border-radius: var(--r-pill);
  background: var(--coral);
  transition: width var(--dur-base) var(--ease-out);
}

.stockbar__text {
  flex: 1;
  text-align: right;
  padding-right: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.stockbar__fill--full {
  background: var(--in-stock);
}

.stockbar__fill--low {
  background: var(--low-stock);
}

.stockbar__track .stockbar__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  z-index: 2;
}

.stockbar__label--last {
  color: var(--coral);
}

.stockbar__label--sold {
  background: var(--sold-out);
  color: #fff;
}

/* --------------------------------------------------------------------------
   12. FILTER CHIPS
   -------------------------------------------------------------------------- */
.filterbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
}

/* ---------- dropdown trigger ---------- */
.filterdd {
  position: relative;
}

.filterdd--sort {
  margin-left: auto;
}

.filterdd__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
  cursor: pointer;
  transition: border-color .2s var(--ease-out);
  white-space: nowrap;
}

.filterdd__trigger:hover,
.filterdd.is-open .filterdd__trigger {
  border-color: var(--navy);
}

.filterdd__trigger.is-filtered {
  border-color: var(--coral);
}

.filterdd__trigger em {
  font-style: normal;
  color: var(--coral);
}

.filterdd__chevron {
  font-size: 18px !important;
  color: var(--navy) !important;
  transition: transform .2s var(--ease-out);
}

.filterdd.is-open .filterdd__chevron {
  transform: rotate(180deg);
}

/* ---------- dropdown panel ---------- */
.filterdd__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 160px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s var(--ease-out), transform .15s var(--ease-out);
}

.filterdd.is-open .filterdd__panel {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.filterdd--sort .filterdd__panel {
  left: auto;
  right: 0;
}

/* ---------- options inside panel ---------- */
.filterdd__opt.chip {
  border-radius: var(--r-md) !important;
  padding: 7px 12px !important;
  font-size: var(--fs-14) !important;
  text-align: left;
  white-space: nowrap;
}

.filterdd__count {
  opacity: .55;
  font-weight: 400;
}

.chip {
  background: var(--cream);
  color: var(--navy);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-13);
  letter-spacing: .04em;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all .2s var(--ease-out);
}

.chip:hover {
  border-color: var(--navy);
}

.chip.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.chip--coral.is-active {
  background: var(--coral);
  border-color: var(--coral);
}

/* --------------------------------------------------------------------------
   13. VIDEO CARDS
   -------------------------------------------------------------------------- */

.sg__videos {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px
}

.video {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background-color: var(--navy);
  aspect-ratio: 16/9;
  cursor: pointer;
}


.video__poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.video__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 63, 92, .92) 0%, rgba(0, 63, 92, .25) 50%, transparent 100%);
}

.video__body {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.video:nth-child(2) .video__body,
.video:nth-child(3) .video__body {
  padding: 10px;
}

.video__top {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.video:nth-child(2) .video__top,
.video:nth-child(3) .video__top {
  transform: translate(5px, -5px);
}

.video__chip {
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video:nth-child(2) .video__chip,
.video:nth-child(3) .video__chip {
  padding: 2px 8px;
}

.video__chip--coral {
  background: var(--coral);
  border-color: transparent;
}

.yt-mark {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #ff0000;
  border-radius: 2px;
}

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: var(--r-pill);
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
  transition: transform var(--dur-base) var(--ease-out);
}

.video:nth-child(2) .video__play,
.video:nth-child(3) .video__play {
  width: 52px;
  height: 52px;
}

.video:hover .video__play {
  transform: translate(-50%, -50%) scale(1.08);
}

.video__play .material-symbols-rounded {
  color: #fff;
  font-size: 36px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 40;
}

.video__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-21);
  color: #fff;
  line-height: 1.2;
  margin: 0;
  /* max-width: 70%; */
}

.video--small .video__title {
  font-size: var(--fs-12);
}

.video__meta {
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, .85);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.ef-footer {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 32px;
}

.ef-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .ef-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .ef-footer__inner {
    grid-template-columns: 1fr;
  }
}

.ef-footer__brand img {
  max-width: 120px;
  margin-bottom: 18px;
}

.ef-footer__brand p {
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}

.ef-footer__brand-name {
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
  display: block;
  margin-bottom: 12px;
}

.ef-footer__brand-name span {
  color: var(--coral);
}

.ef-footer__col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-13);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 16px;
}

.ef-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ef-footer__col a {
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  text-decoration: none;
  line-height: 2.1;
  display: block;
  transition: color var(--dur-fast) var(--ease-out);
}

.ef-footer__col a:hover {
  color: var(--coral);
}

.ef-footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.ef-footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background var(--dur-fast) var(--ease-out);
}

.ef-footer__socials a:hover {
  background: var(--coral);
  color: #fff;
}

.ef-footer__socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ef-footer__base {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 48px;
  padding-top: 24px;
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, .6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ef-footer__base div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.ef-footer__base a {
  display: inline-flex;
  align-items: center;
}

#sitenow {
  display: inline-block;
  max-width: 50px;
  max-height: 50px;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   15. PAGE HEAD (breadcrumb + title band)
   -------------------------------------------------------------------------- */
.pagehead {
  background: var(--cream);
  padding: 56px 0 32px;
}

.pagehead--beige {
  background: var(--beige);
}

.pagehead__crumbs {
  font-size: var(--fs-13);
  color: var(--slate);
  margin-bottom: 14px;
}

.pagehead__crumbs a {
  color: var(--slate);
  cursor: pointer;
  text-decoration: none;
}

.pagehead__crumbs a:hover {
  color: var(--coral);
}

.pagehead__crumbs .sep {
  margin: 0 8px;
  color: rgba(47, 79, 79, .35);
}

.pagehead__crumbs .here {
  color: var(--navy);
  font-weight: 700;
}

.pagehead__eyebrow {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

.pagehead h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-56);
  color: var(--navy);
  line-height: var(--lh-tight);
  margin: 0;
}

.pagehead p.lead {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   16. PROSE (rich text — strony tekstowe + blog)
   -------------------------------------------------------------------------- */
.prose {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  padding: 1em 0 0;
  margin-top: 1em;
}

.pdp2__id+.prose {
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  margin: 40px 0 14px;
  line-height: 1.2;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin: 28px 0 10px;
}

.prose p {
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose ul li,
.prose ol li {
  margin-bottom: 6px;
}

.prose blockquote {
  border-left: 3px solid var(--coral);
  padding: 6px 0 6px 24px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--navy);
  line-height: 1.45;
  font-style: italic;
}

.prose a {
  color: var(--coral);
  border-bottom: 1px solid rgba(255, 111, 97, .3);
}

.prose a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.prose img,
.prose figure img {
  border-radius: var(--r-md);
  margin: 24px 0;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 3px;
}

.prose--post {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   17. DWUKOLUMNOWY LAYOUT (strony tekstowe z sidebar)
   -------------------------------------------------------------------------- */
.twocol {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .twocol {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.sidenav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.sidenav__group {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0 14px 8px;
  margin-top: 14px;
}

.sidenav__group:first-child {
  margin-top: 0;
}

.sidenav a {
  padding: 10px 14px;
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}

.sidenav a:hover {
  background: var(--cream);
  color: var(--navy);
}

.sidenav a.is-active {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   18. BLOG — LISTA WPISÓW
   -------------------------------------------------------------------------- */
.bloggrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .bloggrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .bloggrid {
    grid-template-columns: 1fr;
  }
}

.bcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.bcard:hover {
  box-shadow: var(--shadow-2);
  color: inherit;
}

.bcard__img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  overflow: hidden;
}

.bcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bcard__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.bcard__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
}

.bcard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}

.bcard__excerpt {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

.bcard__meta {
  font-size: var(--fs-12);
  color: var(--slate);
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.bcard__meta .material-symbols-rounded {
  font-size: 16px;
}

/* Blog featured (duży) */
.bcard--featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 900px) {
  .bcard--featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bcard--featured {
    grid-column: span 1;
  }
}

.bcard--featured .bcard__img {
  aspect-ratio: 16/9;
}

.bcard--featured .bcard__title {
  font-size: var(--fs-30);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
}

.pagination .page-numbers,
.pagination button {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 0;
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
  list-style: none;
}

.pagination .page-numbers:hover,
.pagination button:hover {
  background: var(--navy);
  color: #fff;
}

.pagination .page-numbers.current,
.pagination button.is-active {
  background: var(--coral);
  color: #fff;
}

.pagination .page-numbers.dots {
  pointer-events: none;
  opacity: .5;
}

/* --------------------------------------------------------------------------
   19. BLOG POST — hero + treść
   -------------------------------------------------------------------------- */
.posthero {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.posthero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 63, 92, .88) 0%, rgba(0, 63, 92, .55) 40%, rgba(0, 63, 92, .15) 100%);
}

.posthero__inner {
  position: relative;
  padding: 48px 0;
  color: #fff;
}

.posthero__cat {
  color: var(--coral);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.posthero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  line-height: var(--lh-tight);
  margin: 0 0 22px;
  max-width: 880px;
}

.posthero__meta {
  display: flex;
  gap: 20px;
  align-items: center;
  color: rgba(255, 255, 255, .85);
  font-size: var(--fs-14);
}

.posthero__author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.posthero__logo {
  height: 36px;
  width: auto;
}

.posthero__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--coral);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-14);
  flex-shrink: 0;
}

.postbody {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 56px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .postbody {
    grid-template-columns: 1fr;
  }
}

.postside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  font-size: var(--fs-14);
}

.postside h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 12px;
}

.postside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.postside ul a {
  display: block;
  padding: 6px 0 6px 14px;
  margin-left: -14px;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

.postside ul a:hover {
  color: var(--navy);
  border-left-color: var(--coral);
}

.postside__share {
  display: flex;
  gap: 8px;
}

.postside__share a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.postside__share a:hover {
  background: var(--coral);
  color: #fff;
}

.postside__share a:hover .material-symbols-rounded {
  color: #fff;
}

/* --------------------------------------------------------------------------
   20. KOMENTARZE
   -------------------------------------------------------------------------- */
.comments {
  max-width: 720px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.comments h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 28px;
}

.comment {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.comment__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-14);
  flex-shrink: 0;
}

.comment__name {
  font-weight: 700;
  color: var(--navy);
}

.comment__date {
  font-size: var(--fs-13);
  color: var(--slate);
  margin-bottom: 6px;
}

.comment__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

/* WordPress comment form */
#respond {
  margin-top: 40px;
}

#respond h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 24px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-bottom: 6px;
}

.comment-form input,
.comment-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  width: 100%;
  border: 1.5px solid rgba(47, 79, 79, .2);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease-out);
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--coral);
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form .submit {
  background: var(--coral);
  color: #fff;
  border: 0;
  border-radius: var(--r-xl);
  font-weight: 700;
  font-size: var(--fs-14);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 16px 28px;
  cursor: pointer;
  transition: background var(--dur-fast);
}

.comment-form .submit:hover {
  background: var(--coral-press);
}

/* --------------------------------------------------------------------------
   21. KOSZYK
   -------------------------------------------------------------------------- */
.cartlayout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .cartlayout {
    grid-template-columns: 1fr;
  }
}

.cartrow {
  display: grid;
  grid-template-columns: 110px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 600px) {
  .cartrow {
    grid-template-columns: 80px 1fr auto;
  }
}

.cartrow__img {
  width: 110px;
  height: 90px;
  border-radius: var(--r-md);
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  flex-shrink: 0;
  overflow: hidden;
}

.cartrow__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cartrow__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 4px;
}

.cartrow__meta {
  font-size: var(--fs-13);
  color: var(--slate);
}

.cartrow__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  white-space: nowrap;
}

.cartrow__remove {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease-out);
}

.cartrow__remove:hover {
  background: rgba(47, 79, 79, .08);
}

.cartrow__remove .material-symbols-rounded {
  font-size: 18px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(47, 79, 79, .2);
  border-radius: var(--r-md);
  overflow: hidden;
}

.qty button {
  background: var(--paper);
  border: 0;
  width: 48px;
  height: 52px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  transition: background .2s;
}

.qty button:hover {
  background: var(--cream);
}

.qty input {
  width: 56px;
  height: 52px;
  border: 0;
  border-left: 1.5px solid rgba(47, 79, 79, .2);
  border-right: 1.5px solid rgba(47, 79, 79, .2);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  outline: none;
}

.qty--sm button {
  width: 36px;
  height: 40px;
  font-size: 18px;
}

.qty--sm input {
  width: 44px;
  height: 40px;
  font-size: 15px;
}

.summary {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.summary h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 20px;
}

.summary__line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
}

.summary__line--total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  padding-top: 16px;
  border-top: 1px solid rgba(47, 79, 79, .2);
  margin-top: 8px;
}

.summary__voucher {
  display: flex;
  gap: 8px;
  margin: 16px 0 4px;
}

.summary__voucher input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid rgba(47, 79, 79, .2);
  border-radius: var(--r-md);
  font-size: var(--fs-14);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}

.summary__voucher input:focus {
  border-color: var(--coral);
}

.summary__voucher button {
  padding: 0 18px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: var(--fs-13);
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background var(--dur-fast);
}

.summary__voucher button:hover {
  background: var(--navy-dark);
}

.summary__note {
  font-size: var(--fs-13);
  color: var(--slate);
  margin: 12px 0 18px;
  line-height: 1.5;
}

.summary__note .material-symbols-rounded {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 4px;
  color: var(--in-stock);
}

.emptycart {
  text-align: center;
  padding: 80px 0;
}

.emptycart .material-symbols-rounded {
  font-size: 64px;
  color: rgba(47, 79, 79, .2);
  display: block;
  margin: 0 auto 16px;
}

.emptycart h2 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 8px;
}

.emptycart p {
  color: var(--ink-2);
  margin: 0 0 24px;
}

/* --------------------------------------------------------------------------
   22. CHECKOUT — FORMULARZ
   -------------------------------------------------------------------------- */
.checkout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .checkout {
    grid-template-columns: 1fr;
  }
}

.checksection {
  margin-bottom: 36px;
}

.checksection__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.checksection__num {
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-16);
  flex-shrink: 0;
}

.checksection h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin: 0;
}

.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .formgrid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: span 2;
}

.field label {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid rgba(47, 79, 79, .2);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease-out);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--coral);
}

.optgroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}

.opt:hover {
  border-color: var(--navy);
}

.opt.is-active {
  border-color: var(--coral);
  background: #fff7f6;
}

.opt__radio {
  width: 20px;
  height: 20px;
  border-radius: var(--r-pill);
  border: 2px solid rgba(47, 79, 79, .35);
  position: relative;
  flex-shrink: 0;
}

.opt.is-active .opt__radio {
  border-color: var(--coral);
}

.opt.is-active .opt__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--coral);
  border-radius: var(--r-pill);
}

.opt__title {
  font-weight: 700;
  color: var(--navy);
}

.opt__sub {
  font-size: var(--fs-13);
  color: var(--slate);
}

/* ── CART TOAST ─────────────────────────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .22);
  z-index: 9999;
  min-width: 260px;
  max-width: 320px;
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  transition: transform .3s cubic-bezier(.2, .8, .4, 1), opacity .3s ease;
  pointer-events: none;
}

.cart-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cart-toast__icon {
  color: var(--coral);
  font-size: 26px;
  flex-shrink: 0;
}

.cart-toast__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-toast__msg {
  font-weight: 700;
  font-size: var(--fs-14);
}

.cart-toast__link {
  font-size: var(--fs-14);
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}

.cart-toast__link:hover {
  color: #fff;
  text-decoration: underline;
}

.cart-toast__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cart-toast__close:hover {
  color: #fff;
}

.opt__price {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   23. KONTO KLIENTA
   -------------------------------------------------------------------------- */
.dash {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .dash {
    grid-template-columns: 1fr;
  }
}

.dash__hello {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 28px;
  margin-bottom: 32px;
}

.dash__hello h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 6px;
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
}

.stat__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
}

.stat__value small {
  font-family: var(--font-body);
  font-size: var(--fs-12);
  font-weight: 400;
  color: var(--slate);
  margin-left: 6px;
}

.orderlist {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.order {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 130px 130px;
  gap: 16px;
  padding: 18px 22px;
  align-items: center;
  border-bottom: 1px solid rgba(47, 79, 79, .06);
}

.order:last-child {
  border-bottom: 0;
}

@media (max-width: 700px) {
  .order {
    grid-template-columns: 1fr 1fr;
  }
}

.order__id {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--slate);
}

.order__items {
  font-size: var(--fs-14);
  color: var(--ink);
}

.order__items b {
  color: var(--navy);
}

.order__date {
  font-size: var(--fs-13);
  color: var(--slate);
}

.order__total {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}

.order__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.order__status--done {
  background: #e7f1ec;
  color: var(--in-stock);
}

.order__status--ship {
  background: #fbe9d7;
  color: var(--low-stock);
}

.order__status--proc {
  background: #e5eef4;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   24. PDP — KARTA PRODUKTU
   -------------------------------------------------------------------------- */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .pdp {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.pdp__gallery {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
}

@media (max-width: 600px) {
  .pdp__gallery {
    grid-template-columns: 1fr;
  }
}

.pdp__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 600px) {
  .pdp__thumbs {
    flex-direction: row;
    order: 2;
  }
}

.pdp__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s var(--ease-out);
  flex-shrink: 0;
}

.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__thumb.is-active {
  border-color: var(--coral);
}

.pdp__main {
  aspect-ratio: 4/5;
  border-radius: var(--r-sm);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  position: relative;
}

.pdp__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__flag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pdp__flag--coral {
  background: var(--coral);
  color: #fff;
}

.pdp__body {
  padding-top: 12px;
}

.pdp__species {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
  display: inline-block;
}

.pdp__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: var(--lh-tight);
  color: var(--navy);
  margin: 0 0 8px;
}

.pdp__sub {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 24px;
}

.pdp__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1;
}

.pdp__price del {
  color: var(--ink-2) !important;
  font-size: var(--fs-16) !important;
  font-weight: 400 !important;
  display: block !important;
  margin-bottom: 4px !important;
  opacity: 1 !important;
}

.pdp__price ins {
  text-decoration: none;
  color: var(--coral);
}

.pdp__price small {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--slate);
  margin-left: 8px;
}

.pdp__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  padding: 20px 22px;
  background: var(--cream);
  border-radius: var(--r-md);
  margin-bottom: 24px;
}

.pdp__spec {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-14);
  color: var(--ink);
}

.pdp__spec .material-symbols-rounded {
  font-size: 20px;
  color: var(--slate);
}

.pdp__spec b {
  color: var(--navy);
}

.pdp__variant-row {
  margin-bottom: 22px;
}

.pdp__variant-label {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}

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

.swatch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border: 1.5px solid rgba(47, 79, 79, .2);
  background: var(--paper);
  border-radius: var(--r-pill);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-13);
  font-weight: 700;
  color: var(--navy);
  transition: border-color .2s var(--ease-out);
}

.swatch-btn:hover {
  border-color: var(--navy);
}

.swatch-btn.is-active {
  border-color: var(--coral);
}

.swatch-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.swatch-btn__chip {
  width: 22px;
  height: 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 0, 0, .08);
  flex-shrink: 0;
}

.pdp__cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.pdp__copy {
  line-height: 1.75;
  color: var(--ink);
}

.pdp__copy h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin: 24px 0 12px;
}

/* Waitlist card */
.waitlist-card {
  background: var(--cream);
  border-radius: var(--r-md);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 24px;
}

.waitlist-card__icon .material-symbols-rounded {
  font-size: 28px;
  color: var(--coral);
}

.waitlist-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--coral);
  margin: 0 0 8px;
}

.waitlist-card p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 14px;
}

.waitlist-card__count {
  font-size: var(--fs-13);
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.waitlist-card__count b {
  color: var(--coral);
}

.waitlist-form {
  display: flex;
  gap: 8px;
}

.waitlist-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid rgba(47, 79, 79, .2);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--paper);
  outline: none;
  transition: border-color .2s;
}

.waitlist-form input:focus {
  border-color: var(--coral);
}

.waitlist-form button {
  padding: 0 20px;
  background: var(--coral);
  color: #fff;
  border: 0;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: var(--fs-14);
  cursor: pointer;
  transition: background var(--dur-fast);
}

.waitlist-form button:hover {
  background: var(--coral-press);
}

/* --------------------------------------------------------------------------
   24b. PDP v2 — nowy layout (info+galeria w lewej kolumnie, cena sticky prawa)
   -------------------------------------------------------------------------- */
.pdp2 {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

@media (max-width: 960px) {
  .pdp2 {
    grid-template-columns: 1fr;
  }
}

.pdp2__id {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1em 0;
}

.pdp2__id__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
}

.pdp2__id__value {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
}

.pdp2__side {
  position: sticky;
  top: 96px;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--line);
}

@media (max-width: 960px) {
  .pdp2__side {
    position: static;
  }
}

.pdp__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

/* Pasek specyfikacji pod galerią */
.pdp__chips-bar {
  display: flex;
  flex-wrap: wrap;

  border-radius: 0 0 var(--r-md) var(--r-md);
  overflow: hidden;
}

.pdp__chips-bar .pdp__chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 100px;
  background: var(--cream);
  border: none;
  border-radius: 0;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--navy);
}

.pdp__chips-bar .pdp__chip .material-symbols-rounded {
  font-size: 22px;
  color: var(--coral);
}

.pdp__chip-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
}

.pdp__chip-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

/* Inline chip (karty produktów) */
.pdp__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
}

.pdp__chip .material-symbols-rounded {
  font-size: 15px;
  color: var(--slate);
}


.pdp__main2 {
  aspect-ratio: 16/9;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.pdp__thumbs2 {
  display: flex;
  gap: 8px;
  padding: 8px;
  flex-wrap: wrap;
  background: var(--cream);

}

.pdp__thumbs2 .pdp__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r-sm);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out);
  flex-shrink: 0;
}

.pdp__thumbs2 .pdp__thumb.is-active {
  border-color: var(--coral);
}

.pdp__trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
}

.pdp__trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp__trust .material-symbols-rounded {
  font-size: 16px;
  color: var(--coral);
}

/* --------------------------------------------------------------------------
   25. STRONA 404
   -------------------------------------------------------------------------- */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.notfound__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(100px, 18vw, 200px);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.04em;
  margin: 0;
}

.notfound__big span {
  color: var(--coral);
}

.notfound h2 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--navy);
  margin: 8px 0 14px;
}

.notfound p {
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.7;
}

.notfound__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   26. UTILITY — fade-up reveal
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   27. FORMULARZE — globalne overrides
   -------------------------------------------------------------------------- */
input[type="email"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid rgba(47, 79, 79, .2);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color .2s var(--ease-out);
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  border-color: var(--coral);
}

#ast-scroll-top .ast-icon.icon-arrow {
  display: flex;
  justify-content: center;
  height: 100%;
  align-items: center;
}



.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  position: static;
}