/* ============================================
   Drewnianysklep v3 — Strona Główna (front-page)
   ============================================ */

/* ─── Hero ───────────────────────────────────────────────────────────── */
.ds-hero { position: relative; }
.ds-hero-full { padding: 0; overflow: hidden; }

/* Stage cap ~640px - foto produktowe ma natywnie 1200x800; ponad tym `object-fit:cover`
   musi upscalowac i pojawiaja sie piksele. */
.ds-hero-stage {
  width: 100%;
  min-height: clamp(440px, 58svh, 640px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(380px, 1fr);
  gap: 0;
}

/* ─── Hero canvas + rotator slajdow ─────────────────────────────────── */
.ds-hero-canvas {
  position: relative;
  min-height: inherit;
  overflow: hidden;
  background: var(--ds-sand);
  isolation: isolate;
}

.ds-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}
.ds-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .ds-hero-slide { transition: opacity .15s linear; }
}

.ds-hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* center 38%: produkt w gornej-srodkowej trzeciej, dol pudelka jeszcze widoczny */
  object-position: center 38%;
  display: block;
  transition: transform 1.4s ease;
}
.ds-hero-slide.is-active:hover .ds-hero-slide-img { transform: scale(1.03); }

/* Bestseller badge - top-left (poza slajdami, zawsze widoczny) */
.ds-hero-photo-badge {
  position: absolute;
  top: clamp(20px, 2.5vw, 32px);
  left: clamp(20px, 2.5vw, 32px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 11px;
  background: var(--ds-olive-deep);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px -4px rgba(58, 63, 31, 0.4);
}

/* Dots indicator - rotator nav (klikalne, na dole po prawej obok info-card) */
.ds-hero-photo-dots {
  position: absolute;
  bottom: clamp(28px, 3.5vw, 56px);
  right: clamp(28px, 3.5vw, 56px);
  z-index: 5;
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(250, 247, 238, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  transition: background .2s ease;
}
.ds-hero-canvas:hover .ds-hero-photo-dots { background: rgba(250, 247, 238, 0.95); }
.ds-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(42, 39, 34, 0.28);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .25s, transform .25s, width .25s;
}
.ds-hero-dot:hover { background: rgba(42, 39, 34, 0.55); }
.ds-hero-dot.is-active {
  background: var(--ds-olive-deep);
  width: 22px;
  border-radius: 4px;
}

/* Info card - glass pill, bottom-left (nie pelna szerokosc) */
.ds-hero-photo-info {
  position: absolute;
  bottom: clamp(28px, 3.5vw, 56px);
  left: clamp(28px, 3.5vw, 56px);
  right: auto;
  max-width: min(440px, calc(100% - 56px));
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px;
  background: rgba(20, 18, 15, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}
.ds-hero-photo-info-name {
  font-family: var(--ds-font-display);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ds-hero-photo-info-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ds-hero-photo-info-price {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
}
.ds-hero-photo-info-price .ds-from { font-size: 13px; font-weight: 500; opacity: .85; margin-right: 3px; }
.ds-hero-photo-info-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ds-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .2s, transform .2s;
}
.ds-hero-slide.is-active:hover .ds-hero-photo-info-cta {
  background: var(--ds-olive-deep);
  color: #fff;
  transform: translateX(2px);
}

/* ─── Prawa: typography pillar (paper bg) ────────────────────────────── */
.ds-hero-pillar {
  background: var(--ds-paper);
  display: flex;
  align-items: center;
  padding: clamp(32px, 4vw, 64px) clamp(28px, 3.5vw, 64px);
}
.ds-hero-pillar-inner {
  width: 100%;
  max-width: 480px;
}
.ds-hero-title {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 16px 0 22px;
  color: var(--ds-ink);
}
.ds-hero-title em {
  font-style: italic;
  color: var(--ds-olive-deep);
  display: inline-block;
}
.ds-hero-lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ds-ink-soft);
  max-width: 38ch;
  margin: 0 0 24px;
}
.ds-hero-lead p { margin: 0 0 10px; }
.ds-hero-lead p:last-child { margin-bottom: 0; }
.ds-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ds-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ds-line);
}
.ds-hero-meta > div { display: flex; flex-direction: column; }
.ds-hero-meta b {
  font-family: var(--ds-font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ds-ink);
  letter-spacing: -0.01em;
}
.ds-hero-meta span { font-size: 11px; color: var(--ds-ink-muted); letter-spacing: 0.04em; }

/* ─── Mobile: stack photo-on-top + pillar-below ──────────────────────── */
@media (max-width: 960px) {
  .ds-hero-stage {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .ds-hero-canvas {
    min-height: 60svh;
    aspect-ratio: 4/3.2;
  }
  .ds-hero-pillar {
    padding: clamp(36px, 8vw, 64px) clamp(24px, 6vw, 48px);
  }
  .ds-hero-pillar-inner { max-width: none; }
  .ds-hero-photo-info {
    max-width: calc(100% - 40px);
  }
}
@media (max-width: 600px) {
  .ds-hero-canvas { min-height: 56svh; }
  .ds-hero-title { font-size: clamp(40px, 11vw, 60px); margin: 16px 0 20px; }
  .ds-hero-lead { font-size: 15px; margin-bottom: 24px; }
  .ds-hero-meta { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; padding-top: 18px; }
}

/* ─── Value bar ───────────────────────────────────────────────────────── */
.ds-valuebar {
  background: var(--ds-paper);
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ds-value {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-right: 1px solid var(--ds-line);
  min-width: 0;
}
.ds-value:last-child { border-right: 0; }
.ds-value-num {
  font-family: var(--ds-font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--ds-olive);
  line-height: 1;
}
.ds-value-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ds-cream);
  color: var(--ds-olive-deep);
  flex: 0 0 44px;
  margin-bottom: 4px;
}
.ds-value-t { font-weight: 700; font-size: 14px; letter-spacing: 0.01em; margin-bottom: 2px; line-height: 1.3; }
.ds-value-s { font-size: 12.5px; color: var(--ds-ink-muted); line-height: 1.5; text-wrap: pretty; }

/* ─── Categories ──────────────────────────────────────────────────────── */
.ds-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ds-cat-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 28px 28px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
  transition: background .2s, border-color .2s, transform .2s;
}
.ds-cat-card:hover { transform: translateY(-3px); border-color: var(--ds-olive); }
.ds-cat-card[data-tone="warm"]  { background: linear-gradient(135deg, var(--ds-paper) 0%, var(--ds-sand) 200%); }
.ds-cat-card[data-tone="olive"] { background: linear-gradient(135deg, var(--ds-paper) 0%, var(--ds-olive-light) 230%); }
.ds-cat-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--ds-cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ds-olive-deep);
}
.ds-cat-icon svg { width: 32px; height: 32px; }
.ds-cat-title {
  font-family: var(--ds-font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ds-ink);
  letter-spacing: -0.005em;
}
.ds-cat-count { font-size: 12px; color: var(--ds-ink-muted); margin-top: 2px; }
.ds-cat-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ds-ink-soft);
  transition: background .2s, color .2s;
}
.ds-cat-card:hover .ds-cat-arrow { background: var(--ds-olive); color: var(--ds-paper); }

/* Photo variant kategorii: zamiast SVG icon, hero photo na gorze + body z arrow w prawym dolnym. */
.ds-cat-card.ds-cat-card-photo {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.ds-cat-card-photo .ds-cat-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--ds-cream);
  overflow: hidden;
}
.ds-cat-card-photo .ds-cat-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .04) 100%);
  pointer-events: none;
}
.ds-cat-card-photo .ds-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.ds-cat-card-photo:hover .ds-cat-img img { transform: scale(1.05); }
.ds-cat-card-photo .ds-cat-body {
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.ds-cat-card-photo .ds-cat-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  box-shadow: 0 4px 12px -4px rgba(42, 39, 34, .15);
}
.ds-cat-card-photo:hover .ds-cat-arrow {
  background: var(--ds-olive-deep);
  color: var(--ds-paper);
  border-color: var(--ds-olive-deep);
}
/* Mobile: zmniejszony aspect ratio + tighter padding */
@media (max-width: 600px) {
  .ds-cat-card-photo .ds-cat-img { aspect-ratio: 16 / 10; }
  .ds-cat-card-photo .ds-cat-body { padding: 18px 20px 16px; }
}

/* ─── Bestsellery / produkt grid ───────────────────────────────────── */
.ds-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ds-prod { display: flex; flex-direction: column; }
.ds-prod-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  background: var(--ds-stone);
  margin-bottom: 16px;
  cursor: zoom-in;
}
.ds-prod-img .ds-product-ph,
.ds-prod-img .ds-product-ph img {
  width: 100%;
  height: 100%;
}
.ds-prod-img .ds-product-ph img {
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ds-prod:hover .ds-prod-img .ds-product-ph img { transform: scale(1.03); }

/* Dots indicator (galeria w karcie home) */
.ds-prod-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  z-index: 2;
}
.ds-prod:hover .ds-prod-dots { opacity: 1; }
.ds-prod-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(42, 39, 34, 0.32);
  transition: background .15s, transform .15s;
}
.ds-prod-dot.is-active {
  background: var(--ds-olive-deep);
  transform: scale(1.4);
}
.ds-prod-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--ds-paper);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ds-ink);
}
.ds-prod-tag[data-kind="best"] { background: var(--ds-olive); color: var(--ds-paper); }
.ds-prod-tag[data-kind="sale"] { background: var(--ds-ink); color: var(--ds-paper); }
.ds-prod-fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(250, 247, 238, 0.85);
  backdrop-filter: blur(6px);
  color: var(--ds-ink-soft);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, background .15s;
}
.ds-prod-fav:hover { color: var(--ds-olive-deep); background: var(--ds-paper); }
/* Body: flex column z fix-min-height na nazwie i opisie + button przyklejony do dolu */
.ds-prod-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 160px;
}
.ds-prod-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ds-prod-name {
  font-family: var(--ds-font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  color: var(--ds-ink);
  letter-spacing: -0.005em;
  /* Dwie linie max - wyrownanie wszystkich kart */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(17px * 1.3 * 2); /* 44px - 2 linie */
}
.ds-prod-name a { color: inherit; text-decoration: none; }
.ds-prod-name a:hover { color: var(--ds-olive-deep); }
.ds-prod-price { font-weight: 700; font-size: 16px; color: var(--ds-ink); white-space: nowrap; flex-shrink: 0; }
.ds-prod-sub   {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ds-ink-muted);
  margin: 8px 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(13px * 1.45 * 2); /* 38px - 2 linie */
}
.ds-prod-btn {
  margin-top: auto; /* przyciska zawsze na dole karty */
  text-align: center;
}
.ds-prod-pro {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--ds-olive);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.ds-prod-pro svg { flex-shrink: 0; }
.ds-prod-rating { font-size: 12px; color: var(--ds-olive); letter-spacing: 1px; margin-bottom: 12px; }
.ds-prod-reviews { color: var(--ds-ink-muted); margin-left: 8px; letter-spacing: 0; }

/* ─── Process ────────────────────────────────────────────────────────── */
.ds-process {
  background: linear-gradient(180deg, var(--ds-cream) 0%, var(--ds-paper) 100%);
  border-radius: var(--ds-radius-xl);
  position: relative;
  overflow: hidden;
}
/* Opcjonalne tlo zdjeciem (ds_mod process_bg_image) - przesuniete w prawo + fade do lewej,
   zeby zdjecie nie bylo calosci widoczne i nie zaslanialo tekstu po lewej. */
.ds-process-has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ds-process-bg);
  background-size: cover;
  background-position: right center;
  opacity: .22;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 25%, #000 55%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 25%, #000 55%, #000 100%);
}
.ds-process > * { position: relative; z-index: 1; }
.ds-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.ds-process-step { display: flex; flex-direction: column; }
.ds-process-num {
  font-family: var(--ds-font-display);
  font-size: 56px;
  font-weight: 500;
  font-style: italic;
  color: var(--ds-olive);
  line-height: 1;
  margin-bottom: 8px;
}
.ds-process-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ds-cream);
  color: var(--ds-olive-deep);
  margin-bottom: 8px;
  border: 1px solid rgba(111,111,67,.18);
}
.ds-process-line {
  height: 1px;
  background: var(--ds-line);
  margin-bottom: 18px;
  position: relative;
}
.ds-process-line div {
  position: absolute;
  left: 0; right: -32px;
  height: 1px;
  background: var(--ds-line);
}
.ds-process-t {
  font-family: var(--ds-font-display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 8px;
}
.ds-process-d { font-size: 14px; color: var(--ds-ink-soft); line-height: 1.55; }

/* ─── Story (split visual + copy) ─────────────────────────────────────── */
.ds-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.ds-story-visual {
  position: relative;
  aspect-ratio: 1/1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1.2fr;
  gap: 16px;
}
.ds-story-img-a {
  grid-row: 1 / span 2;
  border-radius: var(--ds-radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(42, 39, 34, 0.2);
}
.ds-story-img-b {
  grid-row: 2;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(42, 39, 34, 0.2);
  align-self: end;
}
.ds-story-stamp {
  position: absolute;
  top: 24px; right: 24px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--ds-ink);
  box-shadow: 0 12px 30px rgba(42, 39, 34, 0.15);
}
.ds-story-stamp span {
  font-family: var(--ds-font-display);
  font-style: italic;
  font-size: 12px;
  color: var(--ds-ink-muted);
  margin-top: 2px;
}
.ds-story-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ds-ink-soft);
  margin: 0 0 18px;
}
.ds-story-copy .ds-btn { margin-top: 12px; }

/* ─── For photographers (B2B) ─────────────────────────────────────────── */
/* Sekcja bez 32px lateral padding zeby dark card spinala ten sam wymiar
   co cream bg `.ds-process` powyzej (oba 1180px szerokie). */
.ds-photogs { padding-left: 0; padding-right: 0; }
.ds-photogs-card {
  background: var(--ds-ink);
  color: var(--ds-paper);
  border-radius: var(--ds-radius-xl);
  /* Lateral padding mniejszy - zeby content w dark card siegal blizej krawedzi i wizualnie szerokosc
     pasowala do process row powyzej (ktory idzie edge-to-edge sekcji). Vertical zostaje wieksze. */
  padding: clamp(40px, 6vw, 80px) clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(138, 138, 90, 0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(208, 192, 167, 0.1), transparent 50%);
}
.ds-photogs-copy h2 { color: var(--ds-paper); }
.ds-photogs-copy h2 em { color: var(--ds-olive-light); }
.ds-photogs-copy p {
  color: rgba(250, 247, 238, 0.78);
  font-size: 16px;
  margin: 0 0 24px;
  line-height: 1.7;
  max-width: 50ch;
}
.ds-photogs-pricing {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 24px 0;
  padding: 18px 20px;
  background: rgba(250, 247, 238, 0.06);
  border: 1px solid rgba(250, 247, 238, 0.14);
  border-radius: 4px;
}
.ds-photogs-pricing-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(250, 247, 238, 0.08);
  color: var(--ds-olive-light);
}
.ds-photogs-pricing-t { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; color: #fff; }
.ds-photogs-pricing-s { font-size: 13px; color: rgba(250, 247, 238, 0.72); line-height: 1.55; }
.ds-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.ds-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: rgba(250, 247, 238, 0.92);
}
.ds-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 1px;
  background: var(--ds-olive-light);
}
.ds-photogs-visual {
  position: relative;
}
.ds-photogs-visual-single {
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45);
}
.ds-photogs-visual-single img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.ds-photogs-visual-single:hover img { transform: scale(1.04); }

/* ─── Newsletter ──────────────────────────────────────────────────────── */
/* Sekcja bez lateral padding zeby card spinala 1180px (matching ds-process / ds-photogs powyzej). */
.ds-newsletter { padding-left: 0; padding-right: 0; }
.ds-newsletter-inner {
  background: var(--ds-cream-deep);
  border-radius: var(--ds-radius-xl);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.ds-newsletter-inner p {
  color: var(--ds-ink-soft);
  font-size: 16px;
  margin: 12px 0 0;
  max-width: 48ch;
}
.ds-news-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ds-news-form input {
  height: 52px;
  padding: 0 20px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 999px;
  font: inherit;
  color: var(--ds-ink);
  outline: none;
}
.ds-news-form input:focus { border-color: var(--ds-olive); }
.ds-news-form button { height: 52px; }
.ds-news-form small {
  color: var(--ds-ink-muted);
  font-size: 12px;
  padding-left: 20px;
}
.ds-news-msg {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.ds-news-msg.is-ok  { background: rgba(70, 180, 80, 0.12); color: #2d6f33; border: 1px solid rgba(70, 180, 80, 0.3); }
.ds-news-msg.is-err { background: rgba(220, 50, 50, 0.10); color: #a02020; border: 1px solid rgba(220, 50, 50, 0.3); }

/* ─── Responsive (home-specific) ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .ds-cat-grid     { grid-template-columns: repeat(2, 1fr); }
  .ds-prod-grid    { grid-template-columns: repeat(2, 1fr); }
  .ds-process-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-valuebar     { grid-template-columns: repeat(2, 1fr); }
  .ds-value:nth-child(2) { border-right: 0; }
}
@media (max-width: 720px) {
  .ds-hero-grid, .ds-story-grid, .ds-photogs-card, .ds-newsletter-inner {
    grid-template-columns: 1fr;
  }
  .ds-hero-meta    { grid-template-columns: 1fr 1fr; }
  .ds-cat-grid, .ds-prod-grid, .ds-process-grid, .ds-bullets {
    grid-template-columns: 1fr;
  }
  .ds-section-head { grid-template-columns: 1fr; }
  .ds-hero-cta     { flex-direction: column; align-items: stretch; }
  .ds-hero-cta .ds-btn { justify-content: center; }
}
