/* ============================================
   Drewnianysklep v3 — Archive (sklep / kategorie)
   ============================================ */

.ds-archive-page {
  max-width: var(--ds-max-shop);
  margin: 0 auto;
  padding: 24px 32px 80px;
}

/* ─── Breadcrumb ─────────────────────────────────────────────── */
.ds-archive-page .ds-breadcrumb,
.ds-breadcrumb {
  font-size: 13px;
  color: var(--ds-ink-muted);
  margin-bottom: 24px;
}
.ds-breadcrumb a {
  color: var(--ds-ink-soft);
  text-decoration: none;
}
.ds-breadcrumb a:hover { color: var(--ds-olive-deep); }
.ds-breadcrumb span[aria-hidden="true"] { margin: 0 8px; opacity: 0.5; }

/* ─── Header strony archive ──────────────────────────────────── */
.ds-archive-head {
  padding: 24px 0 40px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--ds-line);
}
.ds-archive-head-inner { max-width: 720px; }
.ds-archive-title {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ds-ink);
  margin: 14px 0 16px;
  text-wrap: balance;
}
.ds-archive-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ds-ink-soft);
  max-width: 64ch;
}
.ds-archive-desc p { margin: 0 0 8px; }

/* Lead - krotki teaser na gorze (1 paragraf, max 280 znakow). */
.ds-archive-lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ds-ink-soft);
  max-width: 64ch;
}
.ds-archive-lead p { margin: 0; }
.ds-archive-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-olive-deep);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--ds-olive-deep) 30%, transparent);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.ds-archive-readmore:hover {
  color: var(--ds-ink);
  border-color: var(--ds-ink);
}
.ds-archive-readmore svg {
  transition: transform .15s;
}
.ds-archive-readmore:hover svg { transform: translateX(2px); }

/* ─── Pelny opis kategorii (na DOLE pod produktami) ───────────── */
.ds-archive-desc-full {
  margin: 64px 0 24px;
  padding: 40px clamp(20px, 4vw, 40px);
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  scroll-margin-top: 120px;
}
.ds-archive-desc-full-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ds-line);
}
.ds-archive-desc-full-title {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.2;
  margin: 12px 0 0;
  color: var(--ds-ink);
}
.ds-archive-desc-full-title span {
  color: var(--ds-olive-deep);
}
.ds-archive-desc-full-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ds-ink-soft);
  max-width: 70ch;
}
.ds-archive-desc-full-body h2,
.ds-archive-desc-full-body h3 {
  font-family: var(--ds-font-display);
  font-weight: 600;
  color: var(--ds-ink);
  margin: 28px 0 10px;
  font-size: 19px;
  line-height: 1.3;
}
.ds-archive-desc-full-body h3 { font-size: 17px; }
.ds-archive-desc-full-body p { margin: 0 0 14px; }
.ds-archive-desc-full-body ul,
.ds-archive-desc-full-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.ds-archive-desc-full-body li { margin: 4px 0; }
.ds-archive-desc-full-body strong { color: var(--ds-ink); }
.ds-archive-desc-full-body a {
  color: var(--ds-olive-deep);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--ds-olive-deep) 30%, transparent);
}
.ds-archive-desc-full-body a:hover { color: var(--ds-ink); }

/* ─── Subkategorie (chip cards) ──────────────────────────────── */
.ds-archive-subcats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.ds-subcat {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px 14px 14px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius);
  color: var(--ds-ink);
  text-decoration: none;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.ds-subcat:hover {
  border-color: var(--ds-olive);
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-card);
}
.ds-subcat-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--ds-radius-sm);
  overflow: hidden;
  background: var(--ds-stone);
  display: block;
}
.ds-subcat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ds-subcat-body { min-width: 0; }
.ds-subcat-title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ds-ink);
}
.ds-subcat-count {
  display: block;
  font-size: 12px;
  color: var(--ds-ink-muted);
  margin-top: 2px;
}
.ds-subcat-arrow {
  color: var(--ds-olive-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Toolbar (count + sort) ────────────────────────────────── */
.ds-archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
}
.ds-archive-count {
  font-size: 14px;
  color: var(--ds-ink-soft);
  font-weight: 600;
}
.ds-archive-sort .woocommerce-ordering {
  margin: 0;
}
.ds-archive-sort select,
.ds-archive-sort .woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--ds-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232a2722' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--ds-line);
  border-radius: 999px;
  padding: 10px 38px 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-ink);
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.ds-archive-sort select:hover {
  border-color: var(--ds-olive);
}
.ds-archive-sort select:focus-visible {
  outline: 2px solid var(--ds-olive);
  outline-offset: 2px;
}

/* ─── Grid produktów ─────────────────────────────────────────── */
.ds-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.ds-prod-card {
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius);
  overflow: hidden;
  transition: border-color .18s, transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
}
.ds-prod-card:hover {
  border-color: var(--ds-olive);
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-card);
}
.ds-prod-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: var(--ds-ink);
  text-decoration: none;
  height: 100%;
}

.ds-prod-card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ds-stone);
  overflow: hidden;
}
.ds-prod-card-img .ds-product-ph,
.ds-prod-card-img .ds-product-ph img {
  width: 100%;
  height: 100%;
}
.ds-prod-card-img img {
  object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .25s ease;
}
.ds-prod-card-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.ds-prod-card:hover .ds-prod-card-img-main { transform: scale(1.03); opacity: 0; }
.ds-prod-card:hover .ds-prod-card-img-hover { opacity: 1; transform: scale(1.03); }
.ds-prod-card:hover .ds-prod-card-img img:only-of-type { transform: scale(1.03); opacity: 1; }

/* Cursor-mode (3+ obrazkow) - JS przejmuje swap, nie zaciemniamy main img */
.ds-prod-card.has-cursor-slides:hover .ds-prod-card-img-main {
  opacity: 1;
  transform: scale(1.03);
}
.ds-prod-card .ds-product-ph { cursor: zoom-in; }

/* Dots indicator (galeria w karcie) */
.ds-prod-card-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  z-index: 2;
}
.ds-prod-card:hover .ds-prod-card-dots { opacity: 1; }
.ds-prod-card-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(42, 39, 34, 0.32);
  transition: background .15s, transform .15s;
}
.ds-prod-card-dot.is-active {
  background: var(--ds-olive-deep);
  transform: scale(1.4);
}

.ds-prod-card .ds-prod-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ds-paper);
  background: var(--ds-olive);
  box-shadow: var(--ds-shadow-tag);
}
.ds-prod-card .ds-prod-tag[data-kind="sale"] { background: var(--ds-error); }
.ds-prod-card .ds-prod-tag[data-kind="best"] { background: var(--ds-ink); }

.ds-prod-card-body {
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
  flex: 1;
  gap: 6px;
}
.ds-prod-card-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--ds-ink);
}
.ds-prod-card-sub {
  font-size: 13px;
  color: var(--ds-ink-muted);
  line-height: 1.4;
}

/* Star rating na karcie (CSS-only stars + percent fill) */
.ds-prod-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ds-ink-soft);
  line-height: 1.2;
}
.ds-prod-card-stars {
  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--ds-line);
  line-height: 1;
}
.ds-prod-card-stars::before {
  content: "★★★★★";
  position: absolute;
  top: 0; left: 0;
  width: var(--stars, 0%);
  overflow: hidden;
  color: #d4a85a;
  white-space: nowrap;
}
.ds-prod-card-rating-num {
  font-weight: 700;
  color: var(--ds-ink);
}
.ds-prod-card-rating-count { color: var(--ds-ink-muted); font-size: 12px; }

/* "od X zł" prefix dla variable products */
.ds-prod-card-price .ds-from {
  font-size: 12px;
  font-weight: 500;
  color: var(--ds-ink-soft);
  margin-right: 4px;
}

.ds-prod-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 10px;
  gap: 12px;
}
.ds-prod-card-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--ds-ink);
}
.ds-prod-card-price del {
  font-size: 13px;
  font-weight: 500;
  color: var(--ds-ink-muted);
  margin-right: 6px;
}
.ds-prod-card-price ins {
  text-decoration: none;
  color: var(--ds-error);
}
.ds-prod-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-olive-deep);
  flex-shrink: 0;
}

/* ─── Paginacja ──────────────────────────────────────────────── */
.ds-archive-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 24px 0;
}
.ds-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ds-ink);
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.ds-archive-pagination .page-numbers:hover {
  border-color: var(--ds-olive);
  color: var(--ds-olive-deep);
}
.ds-archive-pagination .page-numbers.current {
  background: var(--ds-olive);
  color: var(--ds-paper);
  border-color: var(--ds-olive);
}
.ds-archive-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  color: var(--ds-ink-muted);
}

/* ─── Empty state ────────────────────────────────────────────── */
.ds-archive-empty {
  text-align: center;
  padding: 80px 24px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
}
.ds-archive-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--ds-cream);
  color: var(--ds-olive-deep);
  margin-bottom: 16px;
}
.ds-archive-empty h2 {
  font-family: var(--ds-font-display);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--ds-ink);
}
.ds-archive-empty p {
  color: var(--ds-ink-soft);
  max-width: 48ch;
  margin: 0 auto 24px;
}

/* ============================================================
   SHOP LANDING (/sklep/ page 1) — hero + featured + trust + curated
   ============================================================ */

.ds-shop-hero {
  position: relative;
  margin: 0 0 40px;
  padding: 56px 32px 48px;
  background: linear-gradient(180deg, var(--ds-cream) 0%, var(--ds-paper) 100%);
  border: 1px solid var(--ds-line);
  border-radius: 16px;
  overflow: hidden;
}
.ds-shop-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ds-olive) 0%, var(--ds-olive-deep) 100%);
}
.ds-shop-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.ds-shop-hero-inner .ds-eyebrow { justify-content: center; }
.ds-shop-hero-title {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 14px 0 12px;
  color: var(--ds-ink);
}
.ds-shop-hero-lead {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--ds-ink-soft);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto 22px;
}
.ds-shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
}
.ds-shop-hero-pro-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  background: var(--ds-olive);
  color: #fff;
  border-radius: 4px;
  margin-right: 8px;
}
.ds-shop-hero-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--ds-ink-soft);
}
.ds-shop-hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ds-shop-hero-badges svg { color: var(--ds-olive-deep); flex-shrink: 0; }

/* ─── Load more button ─── */
.ds-archive-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin: 32px 0 24px;
  transition: opacity .3s;
}
.ds-archive-loadmore {
  position: relative;
  min-width: 280px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ds-archive-loadmore:disabled {
  cursor: default;
  opacity: .8;
}
.ds-archive-loadmore.is-done {
  background: var(--ds-cream);
  color: var(--ds-ink-soft);
  border-color: var(--ds-line);
}
.ds-archive-loadmore-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: ds-spin .8s linear infinite;
}
.ds-archive-loadmore.is-loading .ds-archive-loadmore-spinner { display: inline-block; }
@keyframes ds-spin { to { transform: rotate(360deg); } }

/* ─── Aktywny filtr ds_size pill ─── */
.ds-archive-active-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin: 0 0 22px;
  background: linear-gradient(180deg, var(--ds-cream) 0%, var(--ds-paper) 100%);
  border: 1px solid var(--ds-olive);
  border-radius: 10px;
}
.ds-archive-active-filter-label {
  font-size: 13.5px;
  color: var(--ds-ink-soft);
  font-weight: 600;
}
.ds-archive-active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 14px;
  background: var(--ds-olive);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
}
.ds-archive-active-filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: background .15s;
}
.ds-archive-active-filter-clear:hover { background: rgba(255,255,255,.4); }

/* ─── HERO GALLERY collage (zdjecia produktowe) ─── */
.ds-shop-hero-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: -22px 0 32px;
}
.ds-shop-hero-gallery-item {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ds-cream);
  box-shadow: 0 1px 2px rgba(42,39,34,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ds-shop-hero-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(42,39,34,.12);
}
.ds-shop-hero-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Mid item lekko wieksze (5/4) zeby zlamac symetrie */
.ds-shop-hero-gallery-item-3 { aspect-ratio: 4/5.4; }
@media (max-width: 1024px) {
  .ds-shop-hero-gallery { grid-template-columns: repeat(4, 1fr); }
  .ds-shop-hero-gallery-item-5 { display: none; }
}
@media (max-width: 720px) {
  .ds-shop-hero-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: -8px; }
  .ds-shop-hero-gallery-item-3,
  .ds-shop-hero-gallery-item-4 { aspect-ratio: 4/5; }
  .ds-shop-hero-gallery-item-5 { display: block; }
}
@media (max-width: 480px) {
  .ds-shop-hero-gallery-item-5 { display: none; }
}

/* ─── PRO callout (B2B teaser pod hero) ─── */
.ds-shop-pro-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  margin: -16px 0 32px;
  background: linear-gradient(180deg, var(--ds-cream) 0%, var(--ds-paper) 100%);
  border: 1px solid var(--ds-line);
  border-left: 3px solid var(--ds-olive-deep);
  border-radius: 12px;
}
.ds-shop-pro-callout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  background: var(--ds-olive-deep);
  color: #fff;
  border-radius: 4px;
}
.ds-shop-pro-callout-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ds-shop-pro-callout-body strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ds-ink);
}
.ds-shop-pro-callout-body span {
  font-size: 13px;
  color: var(--ds-ink-soft);
  line-height: 1.45;
}
.ds-shop-pro-callout-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-olive-deep);
  background: var(--ds-paper);
  border: 1px solid var(--ds-olive);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.ds-shop-pro-callout-link:hover {
  background: var(--ds-olive-deep);
  color: #fff;
}
.ds-shop-pro-callout-link svg { transition: transform .15s; }
.ds-shop-pro-callout-link:hover svg { transform: translateX(2px); }
@media (max-width: 720px) {
  .ds-shop-pro-callout {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px 16px;
  }
  .ds-shop-pro-callout-link {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

/* ─── Popularne wymiary (chips) ─── */
.ds-shop-sizes {
  margin: 0 0 36px;
  padding: 18px 22px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  align-items: center;
  gap: 22px;
}
.ds-shop-sizes-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ds-shop-sizes-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ds-olive-deep);
  font-size: 14.5px;
}
.ds-shop-sizes-label strong { color: var(--ds-ink); font-weight: 700; }
.ds-shop-sizes-sub { font-size: 12.5px; color: var(--ds-ink-soft); line-height: 1.4; }
.ds-shop-sizes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ds-shop-size-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--ds-line);
  background: var(--ds-cream);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ds-ink);
  text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s, color .15s;
}
.ds-shop-size-chip span {
  font-weight: 500;
  color: var(--ds-ink-soft);
  margin-left: 4px;
  font-size: 12px;
}
.ds-shop-size-chip:hover {
  border-color: var(--ds-olive);
  background: var(--ds-olive);
  color: #fff;
  transform: translateY(-1px);
}
.ds-shop-size-chip:hover span { color: rgba(255,255,255,.8); }

/* ─── Featured kategorie ─── */
.ds-shop-featured { margin: 0 0 48px; }
.ds-shop-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.ds-shop-featured-tile {
  display: flex;
  flex-direction: column;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ds-shop-featured-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-color: var(--ds-olive);
}
.ds-shop-featured-tile-img {
  aspect-ratio: 4/3;
  background: var(--ds-cream);
  overflow: hidden;
}
.ds-shop-featured-tile-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s;
}
.ds-shop-featured-tile:hover .ds-shop-featured-tile-img img { transform: scale(1.04); }
.ds-shop-featured-tile-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ds-shop-featured-tile-name {
  font-family: var(--ds-font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--ds-ink);
  line-height: 1.2;
}
.ds-shop-featured-tile-hook {
  font-size: 13px;
  color: var(--ds-ink-soft);
  line-height: 1.45;
  margin: 0 0 12px;
  flex: 1;
}
.ds-shop-featured-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ds-olive-deep);
  letter-spacing: .02em;
}
.ds-shop-featured-tile:hover .ds-shop-featured-tile-cta { color: var(--ds-olive); }

/* ─── Strona /kolekcje/ ─── */
.ds-page-kolekcje {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}
.ds-kolekcje-head { text-align: center; margin: 24px 0 36px; }
.ds-kolekcje-head h1 {
  font-family: var(--ds-font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  margin: 8px 0 12px;
  color: var(--ds-ink);
}
.ds-kolekcje-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.ds-kolekcje-tile {
  display: flex;
  flex-direction: column;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ds-kolekcje-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.09);
  border-color: var(--ds-olive);
}
.ds-kolekcje-tile-img {
  aspect-ratio: 4/3;
  background: var(--ds-cream);
  overflow: hidden;
}
.ds-kolekcje-tile-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s;
}
.ds-kolekcje-tile:hover .ds-kolekcje-tile-img img { transform: scale(1.04); }
.ds-kolekcje-tile-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ds-kolekcje-tile-name {
  font-family: var(--ds-font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.ds-kolekcje-tile-hook {
  font-size: 13.5px;
  color: var(--ds-ink-soft);
  line-height: 1.5;
  margin: 0 0 14px;
  flex: 1;
}
.ds-kolekcje-tile-meta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ds-olive-deep);
  letter-spacing: .02em;
}
.ds-kolekcje-tile-arrow { transition: transform .2s; }
.ds-kolekcje-tile:hover .ds-kolekcje-tile-arrow { transform: translateX(4px); }

/* ─── Trust strip ─── */
.ds-shop-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 26px 28px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  margin: 0 0 48px;
}
.ds-shop-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ds-shop-trust-item-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ds-cream);
  color: var(--ds-olive-deep);
  border: 1px solid var(--ds-line);
}
.ds-shop-trust-item-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.ds-shop-trust-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ds-ink);
  margin-bottom: 4px;
  line-height: 1.25;
}
.ds-shop-trust-item span {
  display: block;
  font-size: 13px;
  color: var(--ds-ink-soft);
  line-height: 1.45;
}

/* ─── Curated bestsellery ─── */
.ds-shop-curated { margin: 0 0 56px; }
.ds-shop-curated-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.ds-shop-curated-card {
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ds-shop-curated-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  border-color: var(--ds-olive);
}
.ds-shop-curated-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.ds-shop-curated-img {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ds-cream);
  overflow: hidden;
}
.ds-shop-curated-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s;
}
.ds-shop-curated-card:hover .ds-shop-curated-img img { transform: scale(1.04); }
.ds-shop-curated-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  border-radius: 4px;
  background: var(--ds-olive);
  color: #fff;
}
.ds-shop-curated-tag[data-kind="sale"] { background: var(--ds-error, #b94d3a); }
.ds-shop-curated-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  padding: 12px 14px 4px;
  color: var(--ds-ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ds-shop-curated-price {
  padding: 0 14px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ds-olive-deep);
}
.ds-shop-curated-price .ds-from {
  font-size: 12px;
  font-weight: 500;
  color: var(--ds-ink-soft);
  margin-right: 4px;
}
.ds-shop-curated-price del {
  color: var(--ds-ink-muted);
  font-weight: 500;
  margin-right: 6px;
  font-size: 13px;
}

/* ─── "Wszystkie produkty" header ─── */
.ds-shop-allprods-head {
  margin: 0 0 22px;
  padding: 28px 0 0;
  border-top: 1px solid var(--ds-line);
}
.ds-shop-allprods-title {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 8px 0 6px;
  color: var(--ds-ink);
}
.ds-shop-allprods-sub {
  font-size: 14px;
  color: var(--ds-ink-soft);
  margin: 0;
}

/* Responsive shop landing */
@media (max-width: 900px) {
  .ds-shop-hero { padding: 40px 22px 36px; }
  .ds-shop-trust { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .ds-shop-curated-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-shop-sizes { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
}
@media (max-width: 480px) {
  .ds-shop-hero { padding: 32px 18px 28px; border-radius: 12px; }
  .ds-shop-hero-actions .ds-btn { width: 100%; justify-content: center; }
  .ds-shop-featured-grid { grid-template-columns: 1fr; }
  .ds-shop-curated-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ─── Banner CTA: kreator dla kategorii (np. odbitki) ──────── */
.ds-archive-creator-cta {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  margin: 0 0 28px;
  background: linear-gradient(135deg, #fff7e6 0%, #fef8eb 100%);
  border: 2px solid #d4a85a;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(212,168,90,.18);
}
.ds-archive-creator-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
  color: #6f7f53;
  border: 1px solid #e5d0a3;
}
.ds-archive-creator-cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6f7f53;
  margin-bottom: 4px;
}
.ds-archive-creator-cta-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #2a2a2a;
}
.ds-archive-creator-cta-text {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.45;
}
.ds-archive-creator-cta-btn { white-space: nowrap; }

/* ─── Layout 2-col z sidebarem filtrow ───────────────────────── */
.ds-archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.ds-archive-main { min-width: 0; } /* zapobiega rozjedzaniu gridu */

/* ─── Sidebar filtrow ────────────────────────────────────────── */
.ds-archive-filters {
  position: sticky;
  top: 92px; /* pod sticky headerem */
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  padding: 22px 22px 26px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  /* Dyskretny scrollbar w kolorze paper (zamiast widocznego paska systemowego) */
  scrollbar-width: thin;
  scrollbar-color: var(--ds-line) transparent;
  scrollbar-gutter: stable;
}
.ds-archive-filters::-webkit-scrollbar { width: 6px; }
.ds-archive-filters::-webkit-scrollbar-track { background: transparent; }
.ds-archive-filters::-webkit-scrollbar-thumb {
  background: var(--ds-line);
  border-radius: 3px;
}
.ds-archive-filters::-webkit-scrollbar-thumb:hover { background: var(--ds-ink-soft, #b8b09e); }
.ds-archive-filters-close {
  display: none; /* mobile only */
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--ds-cream);
  border-radius: 999px;
  color: var(--ds-ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.ds-archive-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ds-line);
}
.ds-archive-filters-title {
  margin: 0;
  font-family: var(--ds-font-display, serif);
  font-size: 22px;
  letter-spacing: -.005em;
}
.ds-archive-filters-clear {
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-olive-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ds-archive-filters-clear:hover { color: var(--ds-ink); }

.ds-archive-filter-group { margin-bottom: 22px; }
.ds-archive-filter-group:last-child { margin-bottom: 0; }
.ds-archive-filter-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ds-ink-soft);
}

/* Chips (rozmiar) */
.ds-archive-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ds-archive-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--ds-cream);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ds-ink);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.ds-archive-filter-chip:hover { background: var(--ds-olive); color: #fff; }
.ds-archive-filter-chip.is-active {
  background: var(--ds-olive-deep);
  color: #fff;
  border-color: var(--ds-olive-deep);
}
.ds-archive-filter-chip-x { font-size: 14px; line-height: 1; opacity: .8; }

/* List rows (material, cena, zastosowanie) */
.ds-archive-filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ds-archive-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ds-ink);
  font-size: 14.5px;
  transition: background .15s;
}
.ds-archive-filter-row:hover { background: var(--ds-cream); }
.ds-archive-filter-row.is-active {
  background: var(--ds-cream);
  font-weight: 700;
}
.ds-archive-filter-row-check {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--ds-line);
  border-radius: 4px;
  background: var(--ds-paper);
  position: relative;
  transition: background .15s, border-color .15s;
}
.ds-archive-filter-row.is-active .ds-archive-filter-row-check {
  background: var(--ds-olive-deep);
  border-color: var(--ds-olive-deep);
}
.ds-archive-filter-row.is-active .ds-archive-filter-row-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.ds-archive-filter-row-label { flex: 1; }
.ds-archive-filter-row-count {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--ds-ink-soft);
  background: var(--ds-paper);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--ds-line);
}
.ds-archive-filter-row.is-active .ds-archive-filter-row-count {
  background: var(--ds-paper);
  color: var(--ds-olive-deep);
  border-color: var(--ds-olive-deep);
}

/* Mobile button + drawer */
.ds-archive-filters-mobile-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin: 0 0 16px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-ink);
  cursor: pointer;
}
.ds-archive-filters-mobile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--ds-olive-deep);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ds-archive-page { padding: 16px 20px 60px; }
  .ds-archive-head { padding: 12px 0 24px; margin-bottom: 24px; }
  .ds-archive-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
  .ds-archive-subcats { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
  .ds-prod-card-body { padding: 12px 14px 14px; }
  .ds-prod-card-name { font-size: 14px; }
  .ds-prod-card-price { font-size: 15px; }
  .ds-archive-toolbar { padding: 12px 0; }
  .ds-archive-creator-cta { grid-template-columns: 1fr; gap: 12px; padding: 16px; text-align: center; }
  .ds-archive-creator-cta-icon { margin: 0 auto; }
  .ds-archive-creator-cta-btn { justify-self: stretch; justify-content: center; }

  /* Sidebar -> drawer mobilny */
  .ds-archive-layout { grid-template-columns: 1fr; gap: 0; }
  .ds-archive-filters {
    position: fixed;
    inset: 0;
    z-index: 1000;
    border-radius: 0;
    border: 0;
    max-height: 100vh;
    transform: translateX(-100%);
    transition: transform .25s ease;
    padding: 24px 24px 80px;
  }
  .ds-archive-filters.is-open { transform: translateX(0); }
  .ds-archive-filters-close { display: inline-flex; }
  .ds-archive-filters-mobile-btn { display: inline-flex; }
}

@media (max-width: 480px) {
  .ds-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ds-prod-card-cta { display: none; }
  .ds-archive-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Search results page */
.ds-search-inline-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  border: 2px solid var(--ds-line);
  border-radius: 14px;
  background: var(--ds-paper);
  margin-top: 18px;
  max-width: 640px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.ds-search-inline-form:focus-within {
  border-color: var(--ds-olive-deep);
  box-shadow: 0 0 0 3px rgba(111,111,67,.18);
}
.ds-search-inline-form .ds-search-icon {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px 0 16px;
  color: var(--ds-olive-deep);
}
.ds-search-inline-form .ds-search-input {
  border: 0; outline: none; background: transparent;
  padding: 14px 12px;
  font: inherit; font-size: 15.5px;
  color: var(--ds-ink);
  width: 100%;
}
.ds-search-inline-form .ds-search-input::placeholder { color: rgba(42,39,34,.4); }
.ds-search-inline-form .ds-btn {
  border-radius: 0;
  padding: 0 20px;
  gap: 8px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .ds-search-inline-form { grid-template-columns: auto 1fr; }
  .ds-search-inline-form .ds-btn { grid-column: 1 / -1; padding: 12px; justify-content: center; }
}

.ds-search-misc-card {
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none;
  color: var(--ds-ink);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.ds-search-misc-card:hover {
  border-color: var(--ds-olive-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(111,111,67,.08);
}
.ds-search-misc-type {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ds-olive-deep);
}
.ds-search-misc-card strong {
  font-family: var(--ds-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ds-ink);
}
.ds-search-misc-card p {
  font-size: 13.5px; line-height: 1.55;
  color: rgba(42,39,34,.6);
  margin: 0;
}

.ds-search-empty {
  text-align: center;
  padding: 56px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.ds-search-empty-icon {
  width: 112px; height: 112px;
  border-radius: 50%;
  background: var(--ds-cream);
  color: var(--ds-olive-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.ds-search-empty-title {
  font-family: var(--ds-font-display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  color: var(--ds-ink);
  margin: 4px 0 0;
}
.ds-search-empty-lead {
  font-size: 15.5px;
  color: rgba(42,39,34,.6);
  max-width: 540px;
  line-height: 1.55;
  margin: 0 0 8px;
}
.ds-search-empty-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}

/* ============================================
   Shop landing — sekcje v0.14.0
   - persona split (3 sciezki)
   - jak to dziala (4 kroki)
   - opinie klientow
   - FAQ teaser
   ============================================ */

/* ─── PERSONA SPLIT ─────────────────────────────────────── */
.ds-shop-personas {
  margin: 0 0 48px;
}
.ds-shop-personas-head {
  text-align: center;
  margin-bottom: 24px;
}
.ds-shop-personas-head .ds-eyebrow { justify-content: center; }
.ds-shop-personas-title {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.2;
  color: var(--ds-ink);
  margin: 12px 0 0;
}
.ds-shop-personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ds-shop-persona {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ds-shop-persona::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(122, 132, 88, .04) 100%);
  opacity: 0;
  transition: opacity .25s;
  z-index: -1;
}
.ds-shop-persona:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--ds-olive) 45%, var(--ds-line));
  box-shadow: 0 18px 40px -22px rgba(42, 39, 34, .25);
}
.ds-shop-persona:hover::before { opacity: 1; }
.ds-shop-persona-image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ds-cream);
}
.ds-shop-persona-image picture,
.ds-shop-persona-image img {
  width: 100%;
  height: 100%;
  display: block;
}
.ds-shop-persona-image img {
  object-fit: cover;
  transition: transform .4s ease;
}
.ds-shop-persona:hover .ds-shop-persona-image img { transform: scale(1.04); }

/* Padding wewnetrzny dotyczy tylko tresci pod obrazem */
.ds-shop-persona-image ~ .ds-shop-persona-icon,
.ds-shop-persona-image ~ .ds-shop-persona-eyebrow,
.ds-shop-persona-image ~ .ds-shop-persona-title,
.ds-shop-persona-image ~ .ds-shop-persona-lead,
.ds-shop-persona-image ~ .ds-shop-persona-cta { margin-left: 26px; margin-right: 26px; }
.ds-shop-persona-image ~ .ds-shop-persona-cta { margin-bottom: 24px; }

/* Bez obrazka: stary padding */
.ds-shop-persona:not(:has(.ds-shop-persona-image)) { padding: 28px 26px 24px; }

.ds-shop-persona-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  color: var(--ds-olive-deep);
  box-shadow: 0 4px 12px -4px rgba(42,39,34,.18);
}
/* Gdy karta ma obrazek, ikona "wystaje" znad obrazka */
.ds-shop-persona-image ~ .ds-shop-persona-icon {
  margin-top: -28px;
  position: relative;
  z-index: 1;
}
.ds-shop-persona-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ds-olive-deep);
}
.ds-shop-persona-title {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ds-ink);
}
.ds-shop-persona-lead {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-ink-soft);
  flex: 1;
}
.ds-shop-persona-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ds-olive-deep);
}
.ds-shop-persona-cta svg { transition: transform .2s; }
.ds-shop-persona:hover .ds-shop-persona-cta svg { transform: translateX(3px); }

/* ─── JAK TO DZIALA (4 kroki) ───────────────────────────── */
.ds-shop-howto {
  margin: 0 0 48px;
  padding: 40px clamp(20px, 4vw, 40px);
  background: var(--ds-cream);
  border-radius: 18px;
}
.ds-shop-howto-head {
  text-align: center;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.ds-shop-howto-head .ds-eyebrow { justify-content: center; }
.ds-shop-howto-title {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  color: var(--ds-ink);
  margin: 12px 0 8px;
}
.ds-shop-howto-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ds-ink-soft);
  margin: 0;
}
.ds-shop-howto-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: ds-step;
  position: relative;
}
.ds-shop-howto-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ds-olive) 0 6px, transparent 6px 12px);
  opacity: .35;
  z-index: 0;
}
.ds-shop-howto-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.ds-shop-howto-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ds-paper);
  border: 2px solid var(--ds-olive);
  color: var(--ds-olive-deep);
  font-family: var(--ds-font-display);
  font-weight: 600;
  font-size: 24px;
  position: relative;
}
.ds-shop-howto-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  color: var(--ds-olive-deep);
  margin-top: -8px;
  background: var(--ds-paper);
  border-radius: 50%;
  padding: 4px;
  position: relative;
  z-index: 2;
}
.ds-shop-howto-step-title {
  font-family: var(--ds-font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ds-ink);
  margin-top: 4px;
}
.ds-shop-howto-step-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ds-ink-soft);
  max-width: 220px;
}

/* ─── OPINIE: Google Reviews summary (nad cytatami) ───── */
.ds-shop-reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  margin: 14px 0 24px;
  background: linear-gradient(180deg, var(--ds-cream) 0%, var(--ds-paper) 100%);
  border: 1px solid color-mix(in oklab, var(--ds-olive) 25%, var(--ds-line));
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ds-shop-reviews-summary:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--ds-olive) 50%, var(--ds-line));
  box-shadow: 0 14px 28px -18px rgba(42, 39, 34, .25);
}
.ds-shop-reviews-summary-stars {
  display: inline-flex;
  gap: 1px;
  color: #d4a83a;
  flex-shrink: 0;
}
.ds-shop-reviews-summary-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ds-shop-reviews-summary-text strong {
  font-family: var(--ds-font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ds-ink);
  line-height: 1.2;
}
.ds-shop-reviews-summary-text span {
  font-size: 13px;
  color: var(--ds-ink-soft);
  line-height: 1.4;
}
.ds-shop-reviews-summary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-olive-deep);
  background: var(--ds-paper);
  border: 1px solid var(--ds-olive);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.ds-shop-reviews-summary-link svg { transition: transform .2s; }
.ds-shop-reviews-summary:hover .ds-shop-reviews-summary-link {
  background: var(--ds-olive-deep);
  color: var(--ds-paper);
}
.ds-shop-reviews-summary:hover .ds-shop-reviews-summary-link svg { transform: translateX(2px); }
@media (max-width: 600px) {
  .ds-shop-reviews-summary {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
    padding: 18px;
  }
  .ds-shop-reviews-summary-stars { justify-self: center; }
  .ds-shop-reviews-summary-link { justify-self: center; }
}

/* ─── OPINIE KLIENTOW ──────────────────────────────────── */
.ds-shop-reviews {
  margin: 0 0 48px;
}
.ds-shop-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.ds-shop-review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  margin: 0;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 16px;
  position: relative;
}
.ds-shop-review::before {
  content: '\201C';
  position: absolute;
  top: 8px; right: 22px;
  font-family: var(--ds-font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--ds-olive);
  opacity: .2;
  pointer-events: none;
}
.ds-shop-review-stars {
  display: inline-flex;
  gap: 2px;
  color: #d4a83a;
}
.ds-shop-review-stars svg { fill: currentColor; }
.ds-shop-review-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ds-ink);
  margin: 0;
  flex: 1;
  font-style: normal;
}
.ds-shop-review-author {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 12px;
  border-top: 1px solid var(--ds-line);
}
.ds-shop-review-author strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ds-ink);
}
.ds-shop-review-author span {
  font-size: 12.5px;
  color: var(--ds-ink-soft);
}

/* ─── FAQ TEASER ────────────────────────────────────────── */
.ds-shop-faq {
  margin: 0 0 56px;
}
.ds-shop-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.ds-shop-faq-item {
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .15s;
}
.ds-shop-faq-item[open] {
  border-color: color-mix(in oklab, var(--ds-olive) 40%, var(--ds-line));
}
.ds-shop-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--ds-ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.ds-shop-faq-q::-webkit-details-marker { display: none; }
.ds-shop-faq-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--ds-olive-deep);
  transition: transform .2s;
}
.ds-shop-faq-item[open] .ds-shop-faq-icon { transform: rotate(180deg); }
.ds-shop-faq-a {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ds-ink-soft);
}

/* ─── Mobile breakpoints (<= 980px / <= 600px) ─── */
@media (max-width: 980px) {
  .ds-shop-personas-grid { grid-template-columns: 1fr; }
  .ds-shop-howto-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .ds-shop-howto-steps::before { display: none; }
  .ds-shop-reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ds-shop-howto { padding: 28px 18px; border-radius: 14px; }
  .ds-shop-howto-steps { grid-template-columns: 1fr; gap: 24px; }
  .ds-shop-persona:not(:has(.ds-shop-persona-image)) { padding: 22px 20px; }
  .ds-shop-persona-image ~ .ds-shop-persona-icon,
  .ds-shop-persona-image ~ .ds-shop-persona-eyebrow,
  .ds-shop-persona-image ~ .ds-shop-persona-title,
  .ds-shop-persona-image ~ .ds-shop-persona-lead,
  .ds-shop-persona-image ~ .ds-shop-persona-cta { margin-left: 20px; margin-right: 20px; }
  .ds-shop-persona-image ~ .ds-shop-persona-cta { margin-bottom: 20px; }
  .ds-shop-faq-q { padding: 16px 18px; font-size: 15px; }
  .ds-shop-faq-a { padding: 0 18px 18px; font-size: 14px; }
}
