/* =========================================================
   PROSPÓD — design tokens & global styles
   Paleta oparta o rzeczywisty kolor z logo firmy.
   ========================================================= */

:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-bg-alt: #f3f3f2;
  --color-surface: #ffffff;
  --color-ink: #17181a;          /* prawie czarny — tekst główny */
  --color-ink-soft: #5a5d61;     /* tekst drugorzędny */
  --color-line: #e2e1de;

  --color-accent: #ef6327;       /* pomarańcz z oryginalnego logo PROSPÓD */
  --color-accent-dark: #c94f1a;
  --color-accent-soft: #fde7dc;

  --color-dark: #16171a;         /* głęboka czerń — pasy kontrastowe, stopka */
  --color-dark-alt: #232529;

  /* Typography */
  --font-base: "DM Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-base);
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Layout */
  --max-width: 1200px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(20, 20, 20, 0.10);
  --shadow-md: 0 10px 28px rgba(20, 20, 20, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121214;
    --color-bg-alt: #1b1c1f;
    --color-surface: #1e2023;
    --color-ink: #f1efe9;
    --color-ink-soft: #b7b3aa;
    --color-line: #33353a;
    --color-accent-soft: #3a2416;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 76px 0; }
.section-alt { background: var(--color-bg-alt); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.9em;
  position: relative;
  padding-left: 18px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 2px;
  background: var(--color-accent);
}

/* ---------- Buttons ---------- */
/* Kształt nawiązujący do oryginalnego znaku PROSPÓD — ucięty róg zamiast
   generycznej "pigułki". */
.btn {
  display: inline-block;
  padding: 14px 30px 14px 24px;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-ink);
  padding: 12.5px 28.5px 12.5px 22.5px;
}
.btn-outline:hover { background: var(--color-ink); color: var(--color-bg); }

.btn-barefoot {
  background: var(--color-dark);
  color: #fff;
}
.btn-barefoot:hover { background: var(--color-accent); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-line);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(18, 18, 20, 0.94); }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 2px;
}
.main-nav a:hover { background: var(--color-bg-alt); text-decoration: none; }
.main-nav a.nav-barefoot { color: var(--color-accent); }

/* ---------- Nav dropdown ---------- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  margin-top: 2px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 200;
}
.nav-dropdown__link {
  display: block;
  padding: 9px 12px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
}
.nav-dropdown__link:hover { background: var(--color-bg-alt); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown { transition: none; }
}

.header-right { display: flex; align-items: center; gap: 12px; }
.lang-switch a {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 2px;
  color: var(--color-ink-soft);
}
.lang-switch a.active { color: var(--color-ink); background: var(--color-bg-alt); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 80px 0 0 0;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 16px;
    display: none;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 12px; border-bottom: 1px solid var(--color-line); }
  .nav-toggle { display: block; }

  .nav-item { width: 100%; flex-direction: column; align-items: stretch; }
  .nav-item > a { border-bottom: 1px solid var(--color-line); }
  .nav-dropdown {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 0;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.2s ease;
  }
  .nav-item.is-open .nav-dropdown { max-height: 160px; }
  .nav-dropdown__link { padding: 12px; color: var(--color-ink-soft); border-bottom: 1px solid var(--color-line); }
}

/* ---------- Hero (bez zdjęcia — zapasowy wariant) ---------- */
.hero {
  padding: 64px 0 56px;
  background: var(--color-bg-alt);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero ze zdjęciem w tle ---------- */
.hero-photo {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.62) 45%, rgba(10,10,10,.30) 100%);
}
.hero-photo .container { position: relative; z-index: 1; }
.hero-photo .eyebrow { color: #ff9a6a; }
.hero-photo .eyebrow::before { background: #ff9a6a; }
.hero-photo p { color: rgba(255,255,255,0.88); }
.hero-photo .hero-inner { max-width: 640px; }
.hero-photo .btn-outline { color: #fff; border-color: #fff; }
.hero-photo .btn-outline:hover { background: #fff; color: var(--color-ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat strong { display: block; font-size: 1.8rem; color: var(--color-accent); }
.hero-photo .hero-stat strong { color: #ff9a6a; }
.hero-stat span { font-size: 0.85rem; color: var(--color-ink-soft); }
.hero-photo .hero-stat span { color: rgba(255,255,255,0.75); }

/* ---------- Hero — układ dwukolumnowy (tekst / produkt) ---------- */
.hero-gallery {
  background: #f4f1ec;
  padding: 88px 0;
}
.hero-gallery__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-gallery__content { max-width: 480px; }

.hero-gallery__lead {
  color: var(--color-ink-soft);
  font-size: 1.05rem;
}

.hero-gallery__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.15s ease, gap 0.15s ease;
}
.hero-gallery__link::after { content: "→"; font-style: normal; }
.hero-gallery__link:hover {
  color: var(--color-accent-dark);
  text-decoration: none;
  gap: 12px;
}

.hero-gallery__product {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-gallery__product img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: clamp(320px, 65vh, 640px);
  filter: drop-shadow(0 30px 30px rgba(35, 26, 18, 0.20)) drop-shadow(0 6px 10px rgba(35, 26, 18, 0.12));
}

@media (max-width: 860px) {
  .hero-gallery { padding: 64px 0; }
  .hero-gallery__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-gallery__content { max-width: none; }
  .hero-gallery__product img { max-height: 420px; }
}

/* ---------- Placeholder image ---------- */
.img-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(
    135deg, var(--color-bg-alt), var(--color-bg-alt) 10px,
    var(--color-surface) 10px, var(--color-surface) 20px
  );
  border: 1.5px dashed var(--color-line);
  border-radius: var(--radius);
  color: var(--color-ink-soft);
  font-size: 0.85rem;
  padding: 16px;
  aspect-ratio: var(--ph-ratio, 4 / 3);
  width: 100%;
}
.img-placeholder .ph-label {
  background: var(--color-surface);
  padding: 8px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 90%;
}
.img-placeholder .ph-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* ---------- Zdjęcia produktowe z obrotem 3D po najechaniu ---------- */
.tilt-3d {
  perspective: 900px;
  aspect-ratio: var(--ph-ratio, 1 / 1);
  width: 100%;
  border-radius: var(--radius);
  overflow: visible;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
}
.tilt-3d img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-3d:hover img {
  transform: perspective(900px) rotateY(22deg) rotateX(6deg) scale(1.06);
  box-shadow: var(--shadow-md);
}

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--color-accent); }

/* ---------- Katalog wzorów (galeria produktów) ---------- */
.catalog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.catalog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-line);
}
.catalog-card__thumb {
  aspect-ratio: 850 / 462;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.catalog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  filter: saturate(0.94);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.catalog-card:hover .catalog-card__thumb img { transform: scale(1.07); }
.catalog-card__body { padding: 14px 16px 18px; }
.catalog-card__name {
  margin: 0 0 2px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.catalog-card__size { margin: 0; color: var(--color-ink-soft); font-size: 0.85rem; }
.card h3 { margin-top: 16px; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Barefoot spotlight (pas kontrastowy) ---------- */
.barefoot-band {
  background: var(--color-dark);
  color: #f2f1ef;
}
.barefoot-band h2 { color: #fff; }
.barefoot-band p { color: rgba(255,255,255,0.82); }
.barefoot-band .eyebrow { color: var(--color-accent); }
.barefoot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .barefoot-grid { grid-template-columns: 1fr; } }
.barefoot-band .img-placeholder {
  background: var(--color-dark-alt);
  border-color: #3a3c40;
  color: rgba(255,255,255,0.65);
}
.barefoot-band .img-placeholder .ph-label { background: var(--color-dark-alt); color: #fff; }
.barefoot-photo {
  aspect-ratio: var(--ph-ratio, 1 / 1);
  width: 100%;
  border-radius: var(--radius);
  background: #f8f7f5;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.barefoot-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  display: block;
}
.barefoot-list { list-style: none; padding: 0; margin: 24px 0; }
.barefoot-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}
.barefoot-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-dark);
  color: #f2f1ef;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .btn-outline { color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--color-ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: #cfcbc2;
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer a { color: #cfcbc2; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #3a3c3e;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #8b877e;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Chatbot ---------- */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.chatbot-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 200;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: 70vh;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-panel.open { display: flex; }
.chatbot-header {
  background: var(--color-dark);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-header button { background: none; border: none; color: #fff; cursor: pointer; font-size: 1rem; }
.chatbot-body { padding: 14px 16px; overflow-y: auto; flex: 1; }
.chatbot-msg { margin-bottom: 12px; font-size: 0.9rem; }
.chatbot-msg.bot { background: var(--color-bg-alt); padding: 10px 12px; border-radius: 8px; }
.chatbot-msg.user { text-align: right; color: var(--color-ink-soft); }
.chatbot-suggestions { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px; }
.chatbot-suggestions button {
  text-align: left;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--color-ink);
}
.chatbot-suggestions button:hover { background: var(--color-accent-soft); }

.chatbot-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--color-line);
}
.chatbot-input-row input {
  flex: 1;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 0.9rem;
  background: var(--color-bg);
  color: var(--color-ink);
}
.chatbot-input-row button {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1rem;
}

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .offer-premium__grid .reveal:nth-child(2) { transition-delay: 0.12s; }
}

/* ---------- Premium offer section ---------- */
.offer-premium {
  padding: clamp(96px, 14vw, 160px) 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}

.offer-premium__intro {
  max-width: 680px;
  margin-bottom: clamp(64px, 10vw, 112px);
}

.offer-premium__label {
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.offer-premium__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--color-ink);
}

.offer-premium__title em {
  font-style: italic;
  color: var(--color-accent);
}

.offer-premium__lead {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.75;
  color: var(--color-ink-soft);
  max-width: 52ch;
}

.offer-premium__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
  padding-bottom: clamp(56px, 8vw, 96px);
  margin-bottom: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--color-line);
}

.offer-premium__visual {
  margin: 0;
}

.offer-premium__frame {
  overflow: hidden;
  background: #f8f7f5;
  aspect-ratio: 4 / 3;
}

.offer-premium__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(24px, 4vw, 48px);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-premium__hero:hover .offer-premium__frame img {
  transform: scale(1.04);
}

.offer-premium__caption {
  margin-top: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.offer-premium__body {
  padding-bottom: 12px;
}

.offer-premium__index {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--color-line);
  margin-bottom: 20px;
  transition: color 0.5s ease;
}

.offer-premium__hero:hover .offer-premium__index,
.offer-premium__item:hover .offer-premium__index {
  color: var(--color-accent-soft);
}

.offer-premium__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.offer-premium__body p,
.offer-premium__item-body p {
  margin: 0 0 28px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--color-ink-soft);
  max-width: 42ch;
}

.offer-premium__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.offer-premium__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-premium__link span {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-premium__link:hover {
  text-decoration: none;
  color: var(--color-accent);
}

.offer-premium__link:hover::after {
  transform: scaleX(1);
}

.offer-premium__link:hover span {
  transform: translateX(5px);
}

.offer-premium__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 80px);
}

.offer-premium__item {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 32px);
}

.offer-premium__thumb {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f8f7f5;
}

.offer-premium__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(20px, 3vw, 32px);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.offer-premium__item:hover .offer-premium__thumb img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.offer-premium__item-body {
  padding-top: 0;
}

@media (max-width: 960px) {
  .offer-premium__hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .offer-premium__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (prefers-color-scheme: dark) {
  .offer-premium__frame,
  .offer-premium__thumb {
    background: var(--color-dark-alt);
  }
}

/* ==========================================================
   Spody Barefoot — podstrona
   ========================================================== */

/* ---------- Hero (produktowy, tło terakota) ---------- */
.barefoot-hero-product {
  background: #a8441a;
  color: #fff;
  text-align: center;
  padding: 88px 0 0;
  overflow: hidden;
}
.barefoot-hero-product .eyebrow { color: #ffe4d3; }
.barefoot-hero-product .eyebrow::before { background: #ffe4d3; }
.barefoot-hero-product h1 { color: #fff; max-width: 760px; margin-left: auto; margin-right: auto; }
.barefoot-hero-product__lead {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}
.barefoot-hero-product .btn-outline { color: #fff; border-color: #fff; }
.barefoot-hero-product .btn-outline:hover { background: #fff; color: #a8441a; }
.barefoot-hero-product__image {
  margin: 56px 0 0;
  display: flex;
  justify-content: center;
}
.barefoot-hero-product__image img {
  max-width: min(640px, 82%);
  width: auto;
  height: auto;
  max-height: 64vh;
  filter: drop-shadow(0 40px 40px rgba(35, 15, 5, 0.35)) drop-shadow(0 10px 14px rgba(35, 15, 5, 0.25));
}
@media (max-width: 860px) {
  .barefoot-hero-product { padding: 64px 0 0; }
  .barefoot-hero-product__image { margin-top: 40px; }
  .barefoot-hero-product__image img { max-width: 78%; max-height: 46vh; }
}
@media (prefers-color-scheme: dark) {
  .barefoot-hero-product { background: #8a3714; }
}

.btn-white { background: #fff; color: #a8441a; box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--color-ink); color: #fff; }

/* ---------- Diagram zero drop ---------- */
.zero-drop { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.zero-drop__panel {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
  text-align: center;
}
.zero-drop__panel svg { width: 100%; height: auto; display: block; }
.zero-drop__caption {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink);
}
.zero-drop__caption span { display: block; font-weight: 400; color: var(--color-ink-soft); font-size: 0.85rem; margin-top: 2px; }
.zero-drop__panel--bare .zero-drop__caption { color: var(--color-accent-dark); }
@media (max-width: 700px) { .zero-drop { grid-template-columns: 1fr; } }

/* ---------- Definicja: tekst + wsparcie wizualne ---------- */
.barefoot-definition__aside {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}
.barefoot-definition__aside figure { margin: 0; }
.barefoot-definition__aside img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}
.barefoot-definition__aside figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--color-ink-soft);
}
@media (max-width: 860px) { .barefoot-definition__aside { grid-template-columns: 1fr; } }

/* ---------- Elastyczność ---------- */
.barefoot-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.barefoot-flex__photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-md);
}
.barefoot-flex__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .barefoot-flex { grid-template-columns: 1fr; } }

/* ---------- Zalety z ikonami ---------- */
.advantage-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.advantage-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--color-accent); }
.advantage-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}
.advantage-card__icon svg { width: 24px; height: 24px; }
.advantage-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.advantage-card p { margin: 0; font-size: 0.92rem; color: var(--color-ink-soft); }

/* ---------- Katalog wzorów barefoot ---------- */
.barefoot-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 4px;
}
.barefoot-filter__btn {
  font-family: var(--font-base);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.barefoot-filter__btn:hover { border-color: var(--color-accent); color: var(--color-ink); }
.barefoot-filter__btn.is-active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}
.barefoot-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.barefoot-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.barefoot-card__thumb {
  aspect-ratio: 1 / 1;
  background: #f8f7f5;
  overflow: hidden;
}
.barefoot-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.barefoot-card:hover .barefoot-card__thumb img { transform: scale(1.06); }
.barefoot-card__body { padding: 16px 18px 20px; }
.barefoot-card__name { margin: 0 0 4px; font-weight: 700; font-size: 1rem; }
.barefoot-card__tag { margin: 0 0 14px; font-size: 0.82rem; color: var(--color-ink-soft); }
.barefoot-card__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.barefoot-card__link:hover { color: var(--color-accent); }
.barefoot-card__link::after { content: "→"; }
@media (prefers-color-scheme: dark) {
  .barefoot-card__thumb { background: #232529; }
}

/* ---------- Lightbox (powiększenie zdjęć katalogowych) ---------- */
.catalog-card__thumb img.has-lightbox,
.barefoot-card__thumb img.has-lightbox {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(12, 10, 8, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__figure {
  margin: 0;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.96);
  transition: transform 0.22s ease;
}
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__img {
  display: block;
  max-width: 92vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.lightbox__caption {
  margin-top: 16px;
  text-align: center;
  color: #fff;
}
.lightbox__name { display: block; font-size: 1.05rem; font-weight: 700; }
.lightbox__meta { display: block; margin-top: 2px; font-size: 0.88rem; color: rgba(255,255,255,0.72); }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox.has-multiple .lightbox__nav { display: flex; }
.lightbox__dots {
  display: none;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.lightbox.has-multiple .lightbox__dots { display: flex; }
.lightbox__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.lightbox__dot:hover { background: rgba(255,255,255,0.6); }
.lightbox__dot.is-active { background: #fff; transform: scale(1.25); }
@media (max-width: 600px) {
  .lightbox { padding: 20px; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__figure { transition: none; }
}

/* ---------- Hours card ---------- */
.hours-card { max-width: 420px; }
.hours-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hours-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hours-card__icon svg { width: 20px; height: 20px; }
.hours-card__header h3 { margin: 0; }
.hours-card__list { list-style: none; margin: 0; padding: 0; }
.hours-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.92rem;
}
.hours-card__list li:last-child { border-bottom: none; }
.hours-card__list li span:first-child { color: var(--color-ink-soft); }
.hours-card__list li span:last-child { font-weight: 600; }
.hours-card__list li.is-closed span:last-child { font-weight: 400; color: var(--color-ink-soft); }
