/* ============================================================
   DIMORRA — design system
   Quiet luxury: warm ivory, deep charcoal, aged gold.
   Typography: Cormorant (display) / Montserrat (UI & body)
   ============================================================ */

:root {
  --ivory: #f6f2ea;
  --ivory-2: #efe9dd;
  --stone: #e4dccc;
  --ink: #16130f;
  --ink-70: #423c33;
  --ink-50: #5f5749;
  --gold: #8a682c; /* 4.6:1 on ivory — AA for small text */
  --gold-2: #c8a35c;
  --dark: #14110d;
  --dark-2: #1c1813;
  --paper-line: rgba(22, 19, 15, 0.14);
  --dark-line: rgba(246, 242, 234, 0.14);
  --serif: "Cormorant", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

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

html { scroll-behavior: auto; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--ivory); }

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

/* ---------- typography ---------- */

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.lead {
  color: var(--ink-50);
  font-size: 17px;
  line-height: 1.8;
  max-width: 56ch;
}

.on-dark { color: var(--ivory); }
.on-dark .lead { color: rgba(246, 242, 234, 0.68); }

/* ---------- layout ---------- */

.wrap {
  width: min(1440px, calc(100% - clamp(40px, 8vw, 128px)));
  margin-inline: auto;
}

.section { padding-block: clamp(90px, 12vw, 170px); }
.section--dark { background: var(--dark); color: var(--ivory); }

/* ---------- reveal helpers (JS sets initial states) ---------- */

.mask-line { display: block; overflow: hidden; }

/* ============================================================
   COLSWITCH — przełącznik kolekcji nad top barem
   ============================================================ */

.colswitch {
  position: fixed;
  z-index: 51;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  background: var(--dark);
  border-bottom: 1px solid rgba(246, 242, 234, 0.1);
}
.colswitch a {
  position: relative;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.55);
  padding: 11px 2px;
  white-space: nowrap;
  transition: color 0.25s;
}
.colswitch a:hover { color: var(--ivory); }
.colswitch a.is-active { color: var(--gold-2); }
.colswitch a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: var(--gold-2);
}
/* nav zjeżdża pod pasek kolekcji */
body.has-colswitch .nav { top: 50px; }
body.has-colswitch .mmenu { padding-top: 60px; }

@media (max-width: 640px) {
  .colswitch { gap: 16px; padding-inline: 10px; overflow-x: auto; justify-content: flex-start; }
  .colswitch::-webkit-scrollbar { display: none; }
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 18px;
  right: 18px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(20px, 3vw, 44px);
  border: 1px solid transparent;
  border-radius: 100px;
  transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s, height 0.35s;
}
.nav.is-scrolled {
  background: rgba(246, 242, 234, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-color: var(--paper-line);
  box-shadow: 0 18px 50px -30px rgba(22, 19, 15, 0.35);
  height: 62px;
}
.nav--dark-context.is-scrolled {
  background: rgba(20, 17, 13, 0.75);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-color: var(--dark-line);
  box-shadow: none;
}
.nav--dark-context.is-scrolled .nav__link { color: rgba(246, 242, 234, 0.8); }
.nav--dark-context.is-scrolled .nav__link:hover,
.nav--dark-context.is-scrolled .nav__link.is-active { color: var(--ivory); }
.nav--dark-context.is-scrolled .nav__cta { border-color: rgba(246, 242, 234, 0.5); color: var(--ivory); }
.nav--dark-context.is-scrolled .nav__cta:hover { background: var(--ivory); color: var(--ink); }
.nav--dark-context.is-scrolled .cart-btn,
.nav--dark-context.is-scrolled .account-btn { color: var(--ivory); }
body:not(.menu-open) .nav--dark-context.is-scrolled .nav__burger span { background: var(--ivory); }

.nav__brand {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  transform: translateY(1px);
}
.nav__brand span { color: var(--gold); }

.nav__links {
  display: flex;
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
}
.nav__link {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 2px;
  color: var(--ink-70);
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--ink); }

.nav__cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.nav__cta:hover { background: var(--ink); color: var(--ivory); }

.nav__burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.3s, background-color 0.3s;
}
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 27px; }

/* mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--dark);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 8vw, 80px);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.mmenu__link {
  display: block;
  font-family: var(--serif);
  font-size: clamp(44px, 11vw, 76px);
  font-weight: 500;
  line-height: 1.16;
  padding-block: 6px;
  transition: color 0.3s;
}
.mmenu__link:hover { color: var(--gold-2); }
.mmenu__meta {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.5);
}
body.menu-open .nav__burger span { background: var(--ivory); }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 20px 38px;
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transition: color 0.4s;
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::before { transform: scaleY(1); }

.btn--solid { background: var(--ink); color: var(--ivory); }
.btn--solid::before { background: var(--gold); }

.btn--gold { background: var(--gold); color: var(--ivory); }
.btn--gold::before { background: var(--ink); }

.btn--line { border: 1px solid var(--paper-line); color: var(--ink); background: transparent; }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--ivory); border-color: var(--ink); }

.btn--line-dark { border: 1px solid var(--dark-line); color: var(--ivory); background: transparent; }
.btn--line-dark::before { background: var(--ivory); }
.btn--line-dark:hover { color: var(--ink); border-color: var(--ivory); }

/* ============================================================
   PRELOADER
   ============================================================ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--dark);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader__word {
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  display: flex;
  overflow: hidden;
  padding-right: 0.42em; /* balance tracking */
}
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__word span.gold { color: var(--gold-2); }

/* ============================================================
   VHERO — full-screen video hero
   ============================================================ */

.vhero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--dark);
}
.vhero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.vhero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 17, 13, 0.45), rgba(20, 17, 13, 0.1) 40%, rgba(20, 17, 13, 0.55)),
    radial-gradient(ellipse at center 40%, transparent 40%, rgba(20, 17, 13, 0.35));
}
.vhero__dark {
  position: absolute;
  inset: 0;
  background: var(--dark);
  opacity: 0;
  pointer-events: none;
}
.vhero .hero__title { top: 38%; }
.vhero .hero__title h1 { color: var(--ivory); text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); }
.vhero .hero__title h1 em { color: var(--gold-2); }
.vhero .hero__title p { color: rgba(246, 242, 234, 0.75); }
.vhero .hero__scroll-hint { color: rgba(246, 242, 234, 0.7); }
.vhero .hero__scroll-hint::after { background: linear-gradient(var(--gold-2), transparent); }

/* transparent nav over the video (top of index only) */
body.has-vhero .nav:not(.is-scrolled) { color: var(--ivory); }
body.has-vhero .nav:not(.is-scrolled) .nav__link { color: rgba(246, 242, 234, 0.8); }
body.has-vhero .nav:not(.is-scrolled) .nav__link:hover,
body.has-vhero .nav:not(.is-scrolled) .nav__link.is-active { color: var(--ivory); }
body.has-vhero .nav:not(.is-scrolled) .nav__link::after { background: var(--gold-2); }
body.has-vhero .nav:not(.is-scrolled) .nav__cta { border-color: rgba(246, 242, 234, 0.5); color: var(--ivory); }
body.has-vhero .nav:not(.is-scrolled) .nav__cta:hover { background: var(--ivory); color: var(--ink); }
body.has-vhero:not(.menu-open) .nav:not(.is-scrolled) .nav__burger span { background: var(--ivory); }

/* ============================================================
   FILM — pinned, scroll-scrubbed product showcase
   ============================================================ */

.film {
  position: relative;
  background: var(--ivory);
}
.film__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--ivory); /* blend backdrop inside the pinned stacking context */
}
.hero__scene { background: var(--ivory); } /* keeps multiply valid mid-crossfade (opacity isolates) */
.film__label {
  position: absolute;
  z-index: 5;
  top: calc(var(--nav-h) + 34px);
  left: clamp(24px, 6vw, 96px);
}

.hero__scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hero__scene:not(.is-first) { opacity: 0; visibility: hidden; }
/* captions of non-first scenes stay hidden until their entrance tween runs */
.hero__scene:not(.is-first) .hero__caption > * { opacity: 0; }

.hero__word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(110px, 21vw, 330px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(22, 19, 15, 0.16);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.hero__word--fill { color: rgba(22, 19, 15, 0.05); -webkit-text-stroke: 0; }

.hero__img {
  position: relative;
  z-index: 2;
  width: min(60vh, 82vw);
  margin-top: 9vh;
  mix-blend-mode: multiply;
  will-change: transform;
}
.hero__img--wide { width: min(80vh, 92vw); margin-top: 13vh; }

.hero__caption {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 6vw, 96px);
  bottom: clamp(90px, 14vh, 150px);
  max-width: 340px;
}
.hero__caption .eyebrow { margin-bottom: 14px; }
.hero__caption h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 10px;
}
.hero__caption p { color: var(--ink-50); font-size: 14px; letter-spacing: 0.04em; }
.hero__caption .price {
  display: inline-block;
  margin-top: 8px;
  padding-block: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  transition: color 0.25s;
}
.hero__caption .price:hover { color: var(--ink); }

.hero__title {
  position: absolute;
  z-index: 4;
  inset-inline: 0;
  top: 20%;
  text-align: center;
  pointer-events: none;
  padding-inline: 20px;
}
.hero__title h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 118px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero__title h1 em { font-style: italic; color: var(--gold); }
.hero__title p {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* ---- hero intro: one-shot CSS animations with `backwards` fill (no
       residue) on the video-hero title. GSAP owns everything in .film, so
       nothing there is CSS-animated. ---- */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* opacity-only: GSAP scrubs the video's transform on scroll, so the CSS
   intro must never touch transform (init-snapshot race) */
.vhero__video { animation: heroFadeIn 1.6s var(--ease-out) 1.9s backwards; }
.hero__title h1 { animation: heroRise 1.15s var(--ease-out) 2.4s backwards; }
.hero__title p { animation: heroRise 1.15s var(--ease-out) 2.6s backwards; }
.hero__scroll-hint { animation: heroFadeIn 0.9s var(--ease-out) 3s backwards; }

html.noanim .vhero__video,
html.noanim .hero__title h1,
html.noanim .hero__title p,
html.noanim .hero__scroll-hint { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .vhero__video,
  .hero__title h1,
  .hero__title p,
  .hero__scroll-hint { animation: none; }
}

.hero__scroll-hint {
  position: absolute;
  z-index: 4;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.hero__scroll-hint::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--gold), transparent);
  animation: hint 2.2s var(--ease-out) infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero__index {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 6vw, 96px);
  bottom: clamp(90px, 14vh, 150px);
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  visibility: hidden;
}
.hero__index .cur { font-size: 44px; color: var(--gold); }
.hero__index .total { font-size: 15px; color: var(--ink-50); letter-spacing: 0.1em; }

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-hint::after { animation: none; }
}

/* ============================================================
   MARQUEE
   ============================================================ */

.marquee {
  background: var(--dark);
  color: var(--ivory);
  overflow: hidden;
  padding-block: 30px;
  border-block: 1px solid var(--dark-line);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-inline: 17px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item em { color: var(--gold-2); font-style: italic; }
.marquee__item svg { width: 11px; height: 11px; color: var(--gold); flex: none; }

/* ============================================================
   COLLECTIONS
   ============================================================ */

.collections__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(48px, 6vw, 90px);
}

.collections__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.ccard {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ivory-2);
  aspect-ratio: 3 / 4;
  cursor: pointer;
}
.ccard__media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10%;
}
.ccard__media img {
  width: 82%;
  mix-blend-mode: multiply;
  transition: transform 0.9s var(--ease-out);
}
.ccard:hover .ccard__media img { transform: scale(1.06) translateY(-1.5%); }
.ccard__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 19, 15, 0.5), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
}
.ccard:hover .ccard__veil { opacity: 1; }
.ccard__label {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.ccard__label h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  transition: color 0.4s;
}
.ccard__label .count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-50);
  text-transform: uppercase;
  padding-bottom: 8px;
  transition: color 0.4s;
}
.ccard:hover .ccard__label h3, .ccard:hover .ccard__label .count { color: var(--ivory); }
.ccard__arrow {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  display: grid;
  place-items: center;
  background: rgba(246, 242, 234, 0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.ccard__arrow svg { width: 16px; height: 16px; }
.ccard:hover .ccard__arrow { opacity: 1; transform: translateY(0); }

/* ============================================================
   FEATURED — horizontal scroll
   ============================================================ */

.featured {
  background: var(--ivory-2);
  overflow: hidden;
}
.featured__pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.featured__head {
  padding-top: clamp(80px, 12vh, 130px);
  margin-bottom: clamp(30px, 5vh, 60px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.featured__progress {
  flex: none;
  width: clamp(120px, 18vw, 260px);
  height: 1px;
  background: var(--paper-line);
  position: relative;
  margin-bottom: 18px;
}
.featured__progress span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.featured__track {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  padding-inline: clamp(20px, 4vw, 64px);
  padding-bottom: clamp(50px, 9vh, 90px);
  width: max-content;
  align-items: stretch;
}

.fcard {
  position: relative;
  flex: none;
  width: clamp(300px, 30vw, 430px);
  border-radius: 16px;
  background: var(--ivory);
  border: 1px solid rgba(22, 19, 15, 0.07);
  padding: clamp(22px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s, transform 0.4s var(--ease-out);
  cursor: pointer;
}
.fcard:hover {
  box-shadow: 0 40px 70px -45px rgba(22, 19, 15, 0.4);
  transform: translateY(-6px);
}
.fcard__no {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-50);
  letter-spacing: 0.12em;
}
.fcard__img {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 8%;
}
.fcard__img img {
  width: 88%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.8s var(--ease-out);
}
.fcard:hover .fcard__img img { transform: scale(1.07) rotate(-1.2deg); }
.fcard__meta { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.fcard__meta h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.05; }
.fcard__meta .type { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-50); margin-top: 6px; display: block; }
.fcard__meta .price { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); white-space: nowrap; padding-bottom: 4px; }

/* native horizontal scroll fallback (touch / reduced motion) */
.featured__pin.is-native {
  height: auto;
  display: block;
  padding-block: clamp(70px, 10vw, 120px) 30px;
}
.featured__pin.is-native .featured__head { padding-top: 0; }
.featured__pin.is-native .featured__track {
  overflow-x: auto;
  width: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 40px;
}
.featured__pin.is-native .fcard { scroll-snap-align: center; }

/* ============================================================
   STORY (dark editorial)
   ============================================================ */

.story { position: relative; overflow: hidden; }
.story__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.story__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.story__media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: transform;
}
.story__media--b {
  position: absolute;
  right: clamp(-20px, -2vw, -30px);
  bottom: -40px;
  width: 42%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--dark);
  border-radius: 14px;
  overflow: hidden;
  z-index: 2;
}
.story__media--b img { height: 100%; object-fit: cover; }

.story__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(30px, 4vw, 70px);
  margin-top: clamp(40px, 5vw, 70px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--dark-line);
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(44px, 4.6vw, 72px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-2);
}
.stat__num sup { font-size: 0.5em; }
.stat__label {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.55);
}

/* ============================================================
   AURELIA feature
   ============================================================ */

.aurelia {
  position: relative;
  background: var(--dark);
  color: var(--ivory);
  overflow: hidden;
  text-align: center;
  padding-block: clamp(110px, 15vw, 200px);
}
.aurelia::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 163, 92, 0.22), transparent 60%);
  pointer-events: none;
}
.aurelia__img {
  position: relative;
  z-index: 2;
  width: min(980px, 88vw);
  margin: clamp(40px, 5vw, 70px) auto 0;
  filter: drop-shadow(0 60px 80px rgba(0, 0, 0, 0.55));
  will-change: transform;
}
.aurelia .lead { margin-inline: auto; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */

.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta .section-title { max-width: 18ch; margin-inline: auto; }
.cta .lead { margin: 26px auto 44px; }

.footer {
  background: var(--dark);
  color: var(--ivory);
  padding-top: clamp(70px, 9vw, 130px);
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 6vw, 100px);
  padding-bottom: clamp(50px, 6vw, 90px);
}
.footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.45);
  margin-bottom: 22px;
}
.footer__desc { color: rgba(246, 242, 234, 0.6); font-size: 14px; line-height: 1.9; max-width: 40ch; }
.footer li { margin-bottom: 6px; }
.footer li a {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-size: 14px;
  color: rgba(246, 242, 234, 0.75);
  transition: color 0.25s;
}
.footer li a:hover { color: var(--gold-2); }
.footer__wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(64px, 14.5vw, 232px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.8;
  transform: translateY(18%);
  color: rgba(246, 242, 234, 0.09);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.footer__bar {
  border-top: 1px solid var(--dark-line);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.4);
}

/* ============================================================
   PAGE HEADER (katalog / produkt)
   ============================================================ */

.page-head {
  padding-top: calc(var(--nav-h) + clamp(60px, 9vw, 120px));
  padding-bottom: clamp(30px, 4vw, 60px);
}
.page-head .section-title { max-width: 14ch; }
.page-head .lead { margin-top: 24px; }

/* ============================================================
   KATALOG
   ============================================================ */

/* ---------- layout sklepu: sidebar + lista ---------- */

.page-head--shop { padding-bottom: clamp(20px, 3vw, 36px); }
.crumbs {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 14px;
}
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current], .crumbs #crumbCollection { color: var(--ink); }

.shop { padding-bottom: clamp(90px, 10vw, 150px); }
.shop__layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: clamp(28px, 3vw, 54px);
  align-items: start;
}

/* ---------- sidebar filtrów ---------- */
.shopside {
  position: sticky;
  top: calc(var(--nav-h) + 60px);
  max-height: calc(100vh - var(--nav-h) - 80px);
  overflow-y: auto;
  padding-right: 6px;
}
.shopside__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--paper-line);
}
.shopside__close { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; }
.shopside__close svg { width: 16px; height: 16px; }

.fgroup { border-bottom: 1px solid var(--paper-line); padding-block: 18px; }
.fgroup__title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 14px;
}
.fopt {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-block: 7px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-70);
  transition: color 0.2s;
  user-select: none;
}
.fopt:hover { color: var(--ink); }
.fopt input { position: absolute; opacity: 0; pointer-events: none; }
.fopt__box {
  width: 17px;
  height: 17px;
  flex: none;
  border: 1px solid rgba(22, 19, 15, 0.35);
  border-radius: 4px;
  display: grid;
  place-items: center;
  transition: background-color 0.2s, border-color 0.2s;
}
.fopt--radio .fopt__box { border-radius: 50%; }
.fopt__box svg { width: 11px; height: 11px; color: var(--ivory); opacity: 0; }
.fopt input:checked + .fopt__box { background: var(--gold); border-color: var(--gold); }
.fopt input:checked + .fopt__box svg { opacity: 1; }
.fopt input:focus-visible + .fopt__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.fopt input:checked ~ .fopt__name { color: var(--ink); font-weight: 500; }
.fopt__name { flex: 1; }
.fopt__count { font-size: 11.5px; color: var(--ink-50); }
.fopt__swatch {
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(22, 19, 15, 0.2);
}

.fprice { display: flex; align-items: center; gap: 8px; }
.fprice input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  background: var(--ivory);
  padding-inline: 10px;
  font: inherit;
  font-size: 13px;
  -moz-appearance: textfield;
}
.fprice input::-webkit-outer-spin-button, .fprice input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fprice input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.fprice span { color: var(--ink-50); font-size: 13px; }

.shopside__clear {
  margin-top: 18px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--paper-line);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-70);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.shopside__clear:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.shopside-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(20, 17, 13, 0.5);
  cursor: pointer;
}

/* ---------- toolbar listy ---------- */
.shoptool {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--paper-line);
}
.shoptool__filters {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--paper-line);
  border-radius: 100px;
  padding: 12px 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  min-height: 44px;
}
.shoptool__filters svg { width: 16px; height: 16px; }
.shoptool__badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--ivory);
  font-size: 10px;
}
.shoptool__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--paper-line);
  border-radius: 100px;
  padding-inline: 18px;
  background: rgba(246, 242, 234, 0.85);
  max-width: 420px;
}
.shoptool__search svg { width: 16px; height: 16px; color: var(--ink-50); flex: none; }
.shoptool__search input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  padding-block: 12px;
  min-height: 44px;
}
.shoptool__search input:focus { outline: none; }
.shoptool__search:focus-within { border-color: var(--gold); }
.shoptool .filter-count { margin-left: auto; }

/* gęstsza siatka pod duży asortyment */
.pgrid--dense {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  padding-bottom: 0;
}
.pgrid--dense .pcard__body h3 { font-size: 21px; }
.pgrid--dense .pcard__media { aspect-ratio: 4 / 4.2; }
.pgrid--dense .pcard__body .price { font-size: 12.5px; }
.pgrid--dense .pcard__body .sku { font-size: 9.5px; }

/* karty z pełnokadrowym zdjęciem (produkty pokazowe — fotografie aranżacyjne) */
.pcard__media--photo { padding: 0; }
.pcard__media--photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  mix-blend-mode: normal;
}
.pcard--nohover:hover .pcard__media--photo > img { transform: scale(1.05); }

.shop-empty__reset {
  display: block;
  margin: 18px auto 0;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.shop-empty__reset:hover { color: var(--ink); }

/* mobile: sidebar jako szuflada */
@media (max-width: 1080px) {
  .shop__layout { grid-template-columns: 1fr; }
  .shopside {
    position: fixed;
    z-index: 59;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 88vw);
    max-height: none;
    background: var(--ivory);
    padding: 24px 22px;
    transform: translateX(-104%);
    transition: transform 0.45s var(--ease-out);
    box-shadow: 40px 0 80px -40px rgba(20, 17, 13, 0.4);
  }
  body.filters-open .shopside { transform: translateX(0); }
  body.filters-open .shopside-scrim { display: block; }
  .shopside__close { display: grid; }
  .shoptool__filters { display: inline-flex; }
  .shoptool { flex-wrap: wrap; }
  .shoptool__search { order: 3; flex-basis: 100%; max-width: none; }
}

.select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--paper-line);
  border-radius: 100px;
  padding: 0 8px 0 20px;
  background: rgba(246, 242, 234, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: border-color 0.25s;
}
.select:hover { border-color: var(--ink-50); }
.select__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-50);
  white-space: nowrap;
}
.select select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f5749' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 13px;
  padding: 13px 30px 13px 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.select select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 100px; }

.shop-empty {
  text-align: center;
  color: var(--ink-50);
  padding: 70px 0 110px;
}

.filterbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.filters {
  display: inline-flex;
  gap: 4px;
  background: rgba(246, 242, 234, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--paper-line);
  padding: 5px;
  border-radius: 100px;
}
.filter-btn {
  position: relative;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
  padding: 12px 22px;
  border-radius: 100px;
  transition: color 0.3s, background-color 0.3s;
  cursor: pointer;
  min-height: 44px;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--ivory); }
.filter-count {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
  white-space: nowrap;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  padding-bottom: clamp(90px, 10vw, 150px);
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.pcard__media {
  position: relative;
  background: var(--ivory-2);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  display: grid;
  place-items: center;
  padding: 9%;
}
.pcard__media > img {
  width: 86%;
  max-height: 88%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.8s var(--ease-out), opacity 0.5s;
}
.pcard__hover {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.55s, transform 1.1s var(--ease-out);
}
.pcard:hover .pcard__hover { opacity: 1; transform: scale(1); }
.pcard:hover .pcard__media > img { transform: scale(1.04); }
.pcard--nohover:hover .pcard__media > img { transform: scale(1.07); }

.pcard__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(246, 242, 234, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 100px;
  color: var(--ink-70);
}
.pcard__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 6px 8px;
}
.pcard__body h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.05;
}
.pcard__body .sku {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.pcard__body .price {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
  padding-bottom: 5px;
}
.pcard__underline {
  height: 1px;
  background: var(--paper-line);
  margin-inline: 6px;
  position: relative;
  overflow: hidden;
}
.pcard__underline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.pcard:hover .pcard__underline::after { transform: scaleX(1); }

/* ---------- krok 1 w sklepie: wybór kolekcji ---------- */
.colchooser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(90px, 10vw, 150px);
}
.colcard {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--dark);
  color: var(--ivory);
  cursor: pointer;
}
.colcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.colcard:hover img { transform: scale(1.06); }
.colcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 13, 0.85), rgba(20, 17, 13, 0.15) 55%);
}
.colcard__body {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 26px;
}
.colcard__body h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.colcard__body h3 em { display: block; font-size: 0.6em; text-transform: none; letter-spacing: 0.05em; color: rgba(246,242,234,0.85); }
.colcard__count {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.colcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.85;
  transition: gap 0.3s, opacity 0.3s;
}
.colcard:hover .colcard__cta { gap: 15px; opacity: 1; }
.colcard__cta svg { width: 14px; height: 14px; }

.shop-collection-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.shop-collection-note a { color: var(--gold); }
.shop-collection-note a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .colchooser { grid-template-columns: 1fr; }
  .colcard { aspect-ratio: 16 / 10; }
}

/* ============================================================
   PRODUKT
   ============================================================ */

.product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: start;
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px));
}

.gallery { position: sticky; top: calc(var(--nav-h) + 40px); }
.gallery__main {
  position: relative;
  border-radius: 18px;
  background: var(--ivory-2);
  overflow: hidden;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 6%;
}
.gallery__main img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.gallery__main img.is-cover { mix-blend-mode: normal; position: absolute; inset: 0; max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; padding: 0; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery__thumb {
  width: 86px;
  height: 86px;
  flex: none;
  border-radius: 12px;
  background: var(--ivory-2);
  border: 1px solid transparent;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.gallery__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumb.is-active { border-color: var(--gold); }
.gallery__thumb:hover { border-color: var(--paper-line); }

.pinfo .eyebrow { margin-bottom: 16px; }
.pinfo h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.pinfo__type { margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-50); }
.pinfo__price {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--ink);
}
.pinfo__price small { font-size: 13px; font-family: var(--sans); color: var(--ink-50); letter-spacing: 0.06em; margin-left: 10px; }
.pinfo__short { margin-top: 24px; color: var(--ink-50); line-height: 1.85; }

.pinfo__specs {
  margin-top: 34px;
  border-top: 1px solid var(--paper-line);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 15px;
  border-bottom: 1px solid var(--paper-line);
  font-size: 13.5px;
}
.spec-row dt { color: var(--ink-50); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; font-weight: 600; padding-top: 2px; }
.spec-row dd { text-align: right; font-weight: 500; }

.pinfo__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.pinfo__note {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-50);
  line-height: 1.7;
}
.pinfo__note svg { width: 17px; height: 17px; flex: none; color: var(--gold); margin-top: 3px; }

/* product long-form sections */
.pdetail { padding-block: clamp(80px, 10vw, 150px); }
.pdetail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.pdetail h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 26px;
  max-width: 16ch;
}
.pdetail p { color: var(--ink-50); line-height: 1.9; margin-bottom: 18px; }

.featlist { display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.featlist li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-block: 14px;
  border-bottom: 1px solid var(--paper-line);
  font-size: 14.5px;
}
.featlist svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

.accordion { border-top: 1px solid var(--paper-line); }
.acc__item { border-bottom: 1px solid var(--paper-line); }
.acc__head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 22px;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}
.acc__head h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.acc__icon {
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--paper-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.45s var(--ease-out), background-color 0.3s, color 0.3s;
}
.acc__icon svg { width: 14px; height: 14px; }
.acc__item.is-open .acc__icon { transform: rotate(45deg); background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.acc__body { overflow: hidden; height: 0; }
.acc__inner { padding-bottom: 26px; }
.acc__inner ul { display: grid; gap: 10px; }
.acc__inner li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-50); }
.acc__inner li::before { content: "—"; color: var(--gold); flex: none; }
.acc__inner p { font-size: 14px; color: var(--ink-50); margin-bottom: 12px; }

.related { background: var(--ivory-2); padding-block: clamp(80px, 10vw, 140px); }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(40px, 5vw, 70px); }

/* ============================================================
   SKLEP — koszyk (drawer), przycisk w nawigacji, toast
   ============================================================ */

.account-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: inherit;
  transition: color 0.25s;
}
.account-btn:hover { color: var(--gold); }
.account-btn svg { width: 21px; height: 21px; }
body.has-vhero .nav:not(.is-scrolled) .account-btn { color: var(--ivory); }
body.has-vhero .nav:not(.is-scrolled) .account-btn:hover { color: var(--gold-2); }
@media (max-width: 860px) { .account-btn { display: none; } }

.cart-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: inherit;
  transition: color 0.25s;
}
.cart-btn:hover { color: var(--gold); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-btn__count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--ivory);
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.cart-btn.has-items .cart-btn__count { opacity: 1; transform: scale(1); }
body.has-vhero .nav:not(.is-scrolled) .cart-btn { color: var(--ivory); }
body.has-vhero .nav:not(.is-scrolled) .cart-btn:hover { color: var(--gold-2); }

.cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 17, 13, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: none;
  cursor: pointer;
}
.cart {
  position: fixed;
  z-index: 61;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--ivory);
  color: var(--ink);
  display: none;
  flex-direction: column;
  box-shadow: -40px 0 80px -40px rgba(20, 17, 13, 0.5);
}
.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--paper-line);
}
.cart__head h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.cart__badge {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  margin-left: 6px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  transform: translateY(-4px);
}
.cart__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--paper-line);
  transition: background-color 0.25s, color 0.25s;
}
.cart__close:hover { background: var(--ink); color: var(--ivory); }
.cart__close svg { width: 16px; height: 16px; }

.cart__body { flex: 1; overflow-y: auto; padding: 10px 28px; }
.cart__empty { text-align: center; padding: 60px 0; color: var(--ink-50); display: grid; gap: 24px; justify-items: center; }

.cart-line {
  display: flex;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--paper-line);
}
.cart-line__img {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: var(--ivory-2);
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
}
.cart-line__img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name { font-family: var(--serif); font-size: 20px; font-weight: 500; display: block; }
.cart-line__name:hover { color: var(--gold); }
.cart-line__type { display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-50); margin-top: 3px; }
.cart-line__qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  border: 1px solid var(--paper-line);
  border-radius: 100px;
}
.cart-line__qty button {
  width: 32px;
  height: 32px;
  font-size: 16px;
  color: var(--ink-70);
  border-radius: 50%;
  transition: color 0.2s;
}
.cart-line__qty button:hover { color: var(--gold); }
.cart-line__qty span { min-width: 20px; text-align: center; font-size: 13.5px; font-weight: 500; }
.cart-line__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-line__price { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cart-line__remove {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  padding: 8px 0;
  transition: color 0.2s;
}
.cart-line__remove:hover { color: #a0392c; }

.cart__foot { padding: 20px 28px 28px; border-top: 1px solid var(--paper-line); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.cart__total span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-50); }
.cart__total strong { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.cart__note { font-size: 11.5px; color: var(--ink-50); margin-top: 8px; line-height: 1.6; }
.cart__checkout { width: 100%; justify-content: center; margin-top: 18px; }
.cart__mock-note { font-size: 12.5px; line-height: 1.7; color: var(--ink-50); margin-top: 14px; }
.cart__mock-note a { color: var(--gold); }

.cart-toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--ivory);
  font-size: 13px;
  padding: 14px 26px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  box-shadow: 0 20px 50px -20px rgba(20, 17, 13, 0.6);
  max-width: calc(100vw - 40px);
}
.cart-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ilość na karcie produktu */
.qty-field {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--paper-line);
  border-radius: 100px;
  height: 60px;
  padding-inline: 6px;
}
.qty-field button { width: 44px; height: 44px; font-size: 18px; color: var(--ink-70); border-radius: 50%; }
.qty-field button:hover { color: var(--gold); }
.qty-field input {
  width: 40px;
  border: 0;
  background: none;
  text-align: center;
  font: inherit;
  font-weight: 600;
  -moz-appearance: textfield;
}
.qty-field input::-webkit-outer-spin-button, .qty-field input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ============================================================
   WYDARZENIA
   ============================================================ */

.events { background: var(--ivory-2); }
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  margin-top: clamp(44px, 5vw, 80px);
}
.evcard {
  background: var(--ivory);
  border: 1px solid rgba(22, 19, 15, 0.07);
  border-radius: 16px;
  padding: clamp(24px, 2.4vw, 36px);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: box-shadow 0.35s, transform 0.35s var(--ease-out);
}
.evcard:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -42px rgba(22, 19, 15, 0.45); }
.evcard__date { flex: none; text-align: center; padding-top: 4px; }
.evcard__date .d { display: block; font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 0.9; color: var(--gold); }
.evcard__date .m { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-50); white-space: nowrap; }
.evcard__body h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.1; }
.evcard__place { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 12px; color: var(--ink-50); letter-spacing: 0.04em; }
.evcard__place svg { width: 14px; height: 14px; flex: none; color: var(--gold); }
.evcard__desc { margin-top: 12px; font-size: 13.5px; line-height: 1.75; color: var(--ink-50); }
.evcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-block: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.25s, gap 0.25s;
}
.evcard__cta:hover { color: var(--ink); gap: 14px; }
.evcard__cta svg { width: 14px; height: 14px; }

/* ============================================================
   KONTO KLIENTA
   ============================================================ */

.account { max-width: 560px; margin-inline: auto; padding-bottom: clamp(90px, 10vw, 150px); }
.account__card {
  background: var(--ivory-2);
  border-radius: 18px;
  padding: clamp(30px, 4vw, 48px);
  margin-top: 40px;
}
.account__card label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 10px;
}
.account__card input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--paper-line);
  border-radius: 100px;
  background: var(--ivory);
  padding-inline: 24px;
  font: inherit;
  margin-bottom: 18px;
}
.account__card input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.account__hint { font-size: 12.5px; color: var(--ink-50); line-height: 1.7; margin-top: 14px; }
.account__orders { margin-top: 30px; display: grid; gap: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .pgrid, .related__grid { grid-template-columns: repeat(2, 1fr); }
  .events__grid { grid-template-columns: 1fr; }
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 640px; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .pdetail__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .collections__grid { grid-template-columns: 1fr; }
  .ccard { aspect-ratio: 4 / 3.4; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__caption { max-width: 260px; bottom: 110px; }
  .hero__index { display: none; }
  .collections__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero__title { top: 15%; }
  .hero__img { margin-top: 15vh; width: min(48vh, 88vw); }
  .hero__img--wide { width: min(56vh, 94vw); }
  .hero__caption { left: 24px; right: 24px; max-width: none; bottom: 78px; }
  .hero__caption p { max-width: 34ch; }
  .hero__scroll-hint { display: none; }
  .pgrid, .related__grid { grid-template-columns: 1fr; }
  .filterbar { flex-direction: column; align-items: stretch; }
  .filters { justify-content: center; flex-wrap: wrap; }
  .filter-count { display: none; }
  .story__stats { grid-template-columns: 1fr 1fr; }
  .hero__caption h2 { font-size: 24px; }
  .pinfo__actions .btn { width: 100%; justify-content: center; }
}
