/* ============================================
   Drewnianysklep v3 — Components & Layout
   Header, footer, buttons, eyebrow, sections
   ============================================ */

/* ─── Layout utilities ───────────────────────────────────────────────── */
.ds-container { max-width: var(--ds-max); margin: 0 auto; padding: 0 32px; }
.ds-section   { padding: var(--ds-section-pad) 32px; max-width: var(--ds-max); margin: 0 auto; }

/* ─── Typography ─────────────────────────────────────────────────────── */
.ds-h2 {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ds-ink);
  margin: 12px 0 18px;
  text-wrap: balance;
}
.ds-h2 em { font-style: italic; color: var(--ds-olive-deep); }

.ds-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ds-olive-deep);
}
.ds-eyebrow-line { width: 36px; height: 1px; background: var(--ds-olive); }
.ds-eyebrow-light { color: rgba(255, 255, 255, 0.85); }
.ds-eyebrow-light .ds-eyebrow-line { background: rgba(255, 255, 255, 0.5); }

.ds-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ds-line);
}
.ds-section-head > div:first-child { max-width: 720px; }
.ds-section-sub { font-size: 17px; color: var(--ds-ink-soft); max-width: 56ch; margin: 0; }
.ds-section-right { white-space: nowrap; }

.ds-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ds-olive-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.ds-btn:hover { transform: translateY(-1px); }
.ds-btn-primary { background: var(--ds-olive); color: var(--ds-paper); }
.ds-btn-primary:hover { background: var(--ds-olive-deep); }
.ds-btn-ghost   { background: transparent; color: var(--ds-ink); border-color: var(--ds-ink); }
.ds-btn-ghost:hover { background: var(--ds-ink); color: var(--ds-cream); }
.ds-btn-outline { background: transparent; color: var(--ds-ink); border-color: var(--ds-ink); }
.ds-btn-soft    { background: var(--ds-cream-deep); color: var(--ds-ink); }
.ds-btn-soft:hover { background: var(--ds-sand); }
.ds-btn-block   { width: 100%; }
.ds-btn-on-dark { color: var(--ds-ink); }
.ds-btn-ghost.ds-btn-on-dark   { background: transparent; color: var(--ds-paper); border-color: rgba(250,247,238,0.6); }
.ds-btn-ghost.ds-btn-on-dark:hover { background: rgba(250,247,238,0.12); color: var(--ds-paper); }
.ds-btn-primary.ds-btn-on-dark { background: var(--ds-paper); color: var(--ds-ink); }

/* ─── Topbar ──────────────────────────────────────────────────────────── */
.ds-topbar {
  background: var(--ds-ink);
  color: rgba(250, 247, 238, 0.86);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.ds-topbar-inner {
  max-width: var(--ds-max);
  margin: 0 auto;
  padding: 9px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}
.ds-topbar-msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.ds-topbar-msg svg { color: var(--ds-olive-light); opacity: 0.95; flex-shrink: 0; }
.ds-topbar-msg a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.ds-topbar-msg a:hover { border-color: #fff; }
.ds-topbar-msg-mute { opacity: 0.7; }
@media (max-width: 1024px) {
  .ds-topbar-msg-mute { display: none; }
  .ds-topbar-inner { justify-content: center; }
}
@media (max-width: 720px) {
  .ds-topbar-inner { padding: 9px 20px; font-size: 11.5px; }
}

/* ─── Cart shipping hint (przy ikonce koszyka) ────────────────────────── */
.ds-cart-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ds-cream-deep);
  color: var(--ds-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background .15s, color .15s;
  margin-right: 4px;
}
.ds-cart-hint[hidden] { display: none !important; }
.ds-cart-hint.is-achieved {
  background: var(--ds-olive);
  color: var(--ds-paper);
}
.ds-cart-hint-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ds-paper);
  color: var(--ds-olive-deep);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.ds-cart-hint-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.ds-cart-hint-text small {
  font-weight: 600;
  font-size: 11px;
  opacity: 0.75;
}
.ds-cart-hint-text .woocommerce-Price-amount,
.ds-cart-hint-text bdi {
  font-weight: 800;
}
@media (max-width: 1024px) {
  .ds-cart-hint { display: none !important; }
}

/* ─── Header ──────────────────────────────────────────────────────────── */
.ds-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(235, 230, 210, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ds-line);
}
.ds-header-inner {
  /* Full-bleed (max-width:none) zeby menu pasowalo do edge-to-edge hero/valuebar nizej. */
  max-width: none;
  margin: 0;
  padding: 14px clamp(24px, 3vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: center;
}
.ds-brand { display: flex; align-items: center; gap: 12px; color: var(--ds-ink); }

.ds-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0; padding: 0;
}
.ds-nav-item { position: relative; }
.ds-nav-item > a {
  font-family: var(--ds-font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ds-ink);
  position: relative;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  letter-spacing: -0.005em;
}
.ds-nav-item > a:hover { background: rgba(42,39,34,0.06); color: var(--ds-olive-deep); }
.ds-nav-chev {
  opacity: 0.55;
  transition: transform 0.2s ease;
  margin-top: 1px;
}
.ds-nav-item:hover .ds-nav-chev,
.ds-nav-item:focus-within .ds-nav-chev { transform: rotate(180deg); opacity: 1; }

/* Dropdown — mega-menu 2 kolumny gdy itemow >6, single column dla krotszych list */
.ds-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding-top: 18px;
  min-width: 360px;
  max-width: min(720px, calc(100vw - 40px));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 100;
  pointer-events: none;
}
.ds-nav-item:hover .ds-nav-dropdown,
.ds-nav-item:focus-within .ds-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.ds-nav-dropdown-inner {
  background: var(--ds-paper);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr);
  gap: 2px;
  list-style: none;
  margin: 0;
  max-height: min(640px, calc(100vh - 160px));
  overflow-y: auto;
}
/* Mega-menu: 2 kolumny gdy >6 itemów */
.ds-nav-dropdown-inner:has(> .ds-nav-dropdown-item:nth-child(7)) {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  min-width: 540px;
}
.ds-nav-dropdown {
  /* Forsuj szerszy dropdown gdy inner ma 2 kolumny */
  min-width: 360px;
}
.ds-nav-item:has(.ds-nav-dropdown-inner > .ds-nav-dropdown-item:nth-child(7)) .ds-nav-dropdown {
  min-width: 580px;
}

/* Mega-menu pod "Sklep" — dropdown 2-kolumny: regular submenu items + "Popularne wymiary" */
.ds-nav-dropdown.is-shop { min-width: 620px; }
.ds-nav-dropdown.is-shop .ds-nav-dropdown-inner {
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 1fr);
  gap: 16px;
  padding: 14px;
}
.ds-nav-dropdown.is-shop .ds-nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ds-nav-dropdown-sizes {
  background: linear-gradient(180deg, var(--ds-cream) 0%, var(--ds-paper) 100%);
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-nav-dropdown-sizes-h {
  display: block;
  font-family: var(--ds-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ds-olive-deep);
}
.ds-nav-dropdown-sizes-sub {
  display: block;
  font-size: 12px;
  color: var(--ds-ink-soft);
  line-height: 1.4;
  margin-top: 2px;
}
.ds-nav-dropdown-sizes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.ds-nav-size-chip {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  padding: 8px 6px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-ink);
  text-decoration: none !important;
  transition: border-color .12s, background .12s, color .12s, transform .12s;
}
.ds-nav-size-chip span {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ds-ink-soft);
  margin-left: 3px;
}
.ds-nav-size-chip:hover {
  border-color: var(--ds-olive);
  background: var(--ds-olive);
  color: #fff;
  transform: translateY(-1px);
}
.ds-nav-size-chip:hover span { color: rgba(255,255,255,.85); }
.ds-nav-dropdown-sizes-all {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ds-olive-deep);
  text-decoration: none !important;
}
.ds-nav-dropdown-sizes-all:hover { color: var(--ds-olive); }

/* Po typie pudelka (USB / album) - pod chipami wymiarow */
.ds-nav-dropdown-types {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 14px 0 10px;
  padding-top: 14px;
  border-top: 1px solid var(--ds-line);
}
.ds-nav-dropdown-type-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none !important;
  color: var(--ds-ink);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--ds-cream);
  transition: background .12s ease, color .12s ease;
}
.ds-nav-dropdown-type-link:hover {
  background: var(--ds-olive-deep);
  color: #fff;
}
.ds-nav-dropdown-type-arrow {
  font-weight: 700;
  font-size: 14px;
  opacity: .6;
  transition: transform .15s, opacity .12s;
}
.ds-nav-dropdown-type-link:hover .ds-nav-dropdown-type-arrow {
  opacity: 1;
  transform: translateX(2px);
}

@media (max-width: 980px) {
  .ds-nav-dropdown.is-shop .ds-nav-dropdown-inner { grid-template-columns: 1fr; }
}
.ds-nav-dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
  text-decoration: none !important;
  transition: background 0.12s ease;
  min-width: 0;
}
.ds-nav-dropdown-item:hover { background: rgba(138,138,90,0.08); }
.ds-nav-dropdown-t {
  font-family: var(--ds-font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ds-ink);
  margin-bottom: 2px;
  line-height: 1.25;
}
.ds-nav-dropdown-s {
  font-family: var(--ds-font-body);
  font-size: 12.5px;
  color: rgba(42,39,34,0.6);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Mobile / wąski viewport - cofamy do single column */
@media (max-width: 700px) {
  .ds-nav-item:has(.ds-nav-dropdown-inner > .ds-nav-dropdown-item:nth-child(7)) .ds-nav-dropdown,
  .ds-nav-dropdown {
    min-width: 280px;
    max-width: calc(100vw - 32px);
  }
  .ds-nav-dropdown-inner,
  .ds-nav-dropdown-inner:has(> .ds-nav-dropdown-item:nth-child(7)) {
    grid-template-columns: 1fr;
    min-width: 0;
    max-height: min(70vh, 480px);
  }
  .ds-nav-dropdown-s { -webkit-line-clamp: 1; }
}

/* Header actions */
.ds-header-actions { display: flex; align-items: center; gap: 8px; }

/* Header CTA: "Kreator" - olive pill obok szukajki */
.ds-header-creator-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 12px;
  background: var(--ds-olive-deep);
  color: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px -3px rgba(58, 63, 31, 0.4);
  margin-right: 4px;
}
.ds-header-creator-btn:hover {
  background: var(--ds-olive);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(58, 63, 31, 0.55);
}
.ds-header-creator-btn-icon { display: inline-flex; }

.ds-icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ds-ink);
  cursor: pointer;
  position: relative;
  transition: background .15s;
  text-decoration: none;
}
.ds-icon-btn:hover { background: rgba(42, 39, 34, 0.06); }

/* ─── Account dropdown menu (header user icon) ─── */
.ds-account-menu { position: relative; display: inline-block; }
.ds-account-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 99;
}
.ds-account-menu.is-logged:hover .ds-account-menu-dropdown,
.ds-account-menu.is-logged:focus-within .ds-account-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ds-account-menu-head {
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--ds-line);
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ds-account-menu-head strong { font-size: 14.5px; color: var(--ds-ink); font-weight: 700; }
.ds-account-menu-email {
  font-size: 12px;
  color: var(--ds-ink-soft);
  word-break: break-all;
}
.ds-account-menu-pro {
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 8px;
  background: var(--ds-olive);
  color: var(--ds-paper);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 4px;
}
.ds-account-menu-list { list-style: none; margin: 0; padding: 0; }
.ds-account-menu-list li { margin: 0; }
.ds-account-menu-list a {
  display: block;
  padding: 9px 10px;
  color: var(--ds-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background .12s, color .12s;
}
.ds-account-menu-list a:hover { background: var(--ds-cream); color: var(--ds-olive-deep); }
.ds-account-menu-list .ds-account-menu-sep {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--ds-line);
}
.ds-account-menu-list .ds-account-menu-sep a { color: var(--ds-ink-muted); }
.ds-account-menu-list .ds-account-menu-sep a:hover { color: var(--ds-error, #b32d2e); background: transparent; }
@media (max-width: 768px) {
  /* Mobile: nie pokazujemy dropdown - klik prowadzi do /moje-konto/ jak zwykle. */
  .ds-account-menu-dropdown { display: none; }
}
.ds-cart-count {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--ds-olive);
  color: var(--ds-paper);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Burger (mobile) */
.ds-burger { display: none; }

/* Search overlay */
.ds-search-overlay[hidden] { display: none; }
.ds-search-overlay {
  position: fixed; inset: 0;
  z-index: 220;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease;
}
.ds-search-overlay.is-open { opacity: 1; }
.ds-search-overlay-bg {
  position: absolute; inset: 0;
  background: rgba(20, 17, 12, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.ds-search-overlay-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--ds-paper);
  border-radius: 18px;
  padding: 56px 48px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  transform: translateY(-12px);
  transition: transform .25s ease;
}
.ds-search-overlay.is-open .ds-search-overlay-panel { transform: translateY(0); }
.ds-search-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ds-line);
  border-radius: 50%;
  background: var(--ds-paper);
  cursor: pointer;
  color: var(--ds-ink);
  transition: background .15s, color .15s;
}
.ds-search-close:hover { background: var(--ds-cream); color: var(--ds-olive-deep); }
.ds-search-title {
  font-family: var(--ds-font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--ds-ink);
  margin: 8px 0 22px;
  line-height: 1.25;
}
.ds-search-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0;
  align-items: stretch;
  border: 2px solid var(--ds-line);
  border-radius: 14px;
  background: var(--ds-paper);
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden;
}
.ds-search-form:focus-within {
  border-color: var(--ds-olive-deep);
  box-shadow: 0 0 0 3px rgba(111,111,67,.18);
}
.ds-search-icon {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px 0 18px;
  color: var(--ds-olive-deep);
}
.ds-search-input {
  border: 0;
  outline: none;
  background: transparent;
  padding: 16px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ds-ink);
  width: 100%;
}
.ds-search-input::placeholder { color: rgba(42,39,34,.4); }
.ds-search-submit {
  border-radius: 0;
  padding: 0 22px;
  gap: 8px;
  white-space: nowrap;
}
.ds-search-suggest {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: 13.5px;
}
.ds-search-suggest-label {
  color: rgba(42,39,34,.55);
  font-weight: 600;
}
.ds-search-suggest a {
  color: var(--ds-olive-deep);
  background: var(--ds-cream);
  padding: 5px 12px;
  border-radius: 99px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color .15s, background .15s;
}
.ds-search-suggest a:hover {
  border-color: var(--ds-olive-deep);
  background: var(--ds-paper);
}

@media (max-width: 600px) {
  .ds-search-overlay-panel { padding: 56px 24px 28px; }
  .ds-search-form { grid-template-columns: auto 1fr; }
  .ds-search-submit { grid-column: 1 / -1; border-radius: 0; padding: 14px; justify-content: center; }
  .ds-search-icon { padding-left: 14px; }
}

body.ds-search-open { overflow: hidden; }

/* Mobile drawer
   Uwaga: .ds-mob-panel ma transform:translateX(100%) zeby slide-in z prawej, ale transformed
   elementy KONTRYBUUJA do scroll bounds w nowoczesnych przegladarkach. Bez tego pojawia sie
   horizontal scroll na desktop (panel "wystaje" 420px w prawo). overflow-x: clip na html
   przycina to bez wplywu na sticky/fixed positioning. */
html { overflow-x: clip; }

.ds-mob-drawer {
  position: fixed; inset: 0;
  background: rgba(20, 17, 12, 0.55);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.ds-mob-drawer.is-open { opacity: 1; visibility: visible; }
.ds-mob-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--ds-paper);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.3);
}
.ds-mob-drawer.is-open .ds-mob-panel { transform: translateX(0); }
.ds-mob-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ds-line);
}
.ds-mob-close {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: none; border: none; border-radius: 50%;
  cursor: pointer; color: var(--ds-ink);
}
.ds-mob-close:hover { background: rgba(0,0,0,0.05); }
.ds-mob-nav {
  flex: 1; overflow-y: auto;
  padding: 8px 0;
  list-style: none; margin: 0;
}
.ds-mob-item { border-bottom: 1px solid rgba(0,0,0,0.05); }
.ds-mob-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: none; border: none;
  font-family: var(--ds-font-display);
  font-size: 17px; font-weight: 600;
  color: var(--ds-ink);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.ds-mob-link:hover { background: rgba(138,138,90,0.06); }
.ds-mob-chev { transition: transform .2s ease; opacity: 0.5; }
.ds-mob-item.is-open .ds-mob-chev { transform: rotate(180deg); opacity: 1; }
.ds-mob-sub {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  background: rgba(138,138,90,0.05);
  list-style: none; margin: 0; padding: 0;
}
.ds-mob-item.is-open .ds-mob-sub { max-height: 600px; }
.ds-mob-sub-item {
  display: block;
  padding: 14px 22px 14px 36px;
  border-top: 1px solid rgba(0,0,0,0.04);
  color: var(--ds-ink);
}
.ds-mob-sub-item:hover { background: rgba(138,138,90,0.1); }
.ds-mob-sub-t { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.ds-mob-sub-s { font-size: 12px; color: rgba(42,39,34,0.6); line-height: 1.4; }
.ds-mob-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--ds-line);
  background: var(--ds-cream);
}
.ds-mob-foot-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  font-size: 15px; font-weight: 500;
  color: var(--ds-ink);
}
.ds-mob-badge {
  margin-left: auto;
  background: var(--ds-olive-deep);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 99px;
}
.ds-mob-foot-meta {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 12px;
  color: rgba(42,39,34,0.6);
}
.ds-mob-foot-meta a { font-weight: 600; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.ds-footer {
  background: var(--ds-ink);
  color: var(--ds-paper);
  margin-top: 0;
}
.ds-footer-inner {
  max-width: var(--ds-max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 32px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
.ds-footer-brand p {
  color: rgba(250, 247, 238, 0.7);
  font-size: 14px;
  line-height: 1.7;
  max-width: 38ch;
  margin: 16px 0 24px;
}
.ds-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(250, 247, 238, 0.85);
}
.ds-footer-contact b { color: var(--ds-paper); font-weight: 700; }
.ds-footer-col h4 {
  font-family: var(--ds-font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ds-paper);
  margin: 0 0 18px;
}
.ds-footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-footer-col a {
  color: rgba(250, 247, 238, 0.65);
  font-size: 13px;
}
.ds-footer-col a:hover { color: var(--ds-paper); }
.ds-footer-bar {
  border-top: 1px solid rgba(250, 247, 238, 0.12);
  max-width: var(--ds-max);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(250, 247, 238, 0.5);
}
.ds-footer-bar-r { display: flex; gap: 18px; }
.ds-footer-bar-r a:hover { color: var(--ds-paper); }

/* Pasek strony "O nas / Blog / Kontakt" pod kolumnami */
.ds-footer-meta {
  max-width: var(--ds-max);
  margin: 0 auto;
  padding: 8px 32px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(250, 247, 238, 0.85);
}
.ds-footer-meta a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
.ds-footer-meta a:hover { color: var(--ds-paper); text-decoration: underline; text-underline-offset: 3px; }
.ds-footer-meta-sep { color: rgba(250, 247, 238, 0.3); user-select: none; }

/* ─── Product placeholder helper (używane w hero, gallery) ───────────── */
.ds-product-ph {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ds-stone);
  overflow: hidden;
}
.ds-product-ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ds-ph-label {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(250, 247, 238, 0.85);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ds-ink-soft);
  border-radius: 4px;
  pointer-events: none;
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ds-nav { display: none; }
  .ds-burger { display: inline-flex !important; }
}
@media (max-width: 1100px) {
  .ds-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ds-footer-inner { grid-template-columns: 1fr; }
  .ds-header-inner { padding: 12px 18px; }
  .ds-header-actions .ds-icon-btn:not(.ds-cart):not(.ds-burger) { display: none; }
  .ds-brand svg { width: 120px !important; height: auto !important; }
  .ds-section { padding-left: 20px; padding-right: 20px; }
  /* Kreator CTA: na mobile ukryj tekst, zostaw ikone */
  .ds-header-creator-btn { padding: 8px 10px; }
  .ds-header-creator-btn-t { display: none; }
}

/* ─── DSBC modal-cart (panel po dodaniu do koszyka) — fix mobile ───────
   Plugin DSBC ustawia panel z fixed width: 440px / left: 60px / right: 0 -
   na viewportach <500px panel wystaje poza prawa krawedz (user widzi tylko
   wycinek). Override: na mobile rozciagamy panel od krawedzi do krawedzi.
*/
@media (max-width: 600px) {
  .dsbc-mc-panel {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  .dsbc-mc-overlay {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* ─── B2B / Pro callout — globalne, używane w cart, checkout, PDP ─── */
.ds-b2b-callout {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--ds-olive) 10%, var(--ds-paper)) 0%,
    color-mix(in oklab, var(--ds-olive) 4%, var(--ds-paper)) 100%);
  border: 1px solid color-mix(in oklab, var(--ds-olive) 22%, var(--ds-line));
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.ds-b2b-callout::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--ds-olive) 18%, transparent), transparent);
  pointer-events: none;
}
.ds-b2b-callout-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ds-olive);
  color: var(--ds-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.ds-b2b-callout-body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.ds-b2b-callout-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-olive);
  margin-bottom: 4px;
}
.ds-b2b-callout-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ds-ink);
  line-height: 1.35;
  margin: 0 0 8px;
}
.ds-b2b-callout-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ds-olive);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--ds-olive) 40%, transparent);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.ds-b2b-callout-cta:hover {
  color: var(--ds-ink);
  border-bottom-color: var(--ds-ink);
}

/* ─── WooCommerce notices — zastępują default WC styling ─────────── */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  color: var(--ds-ink);
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ds-olive) no-repeat center;
  background-size: 14px 14px;
  /* ✓ check icon (white) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>");
  /* override default WC pseudo */
  position: static;
  display: inline-block;
}
.woocommerce-info::before {
  background-color: var(--ds-ink-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 8v0M12 12v4'/></svg>");
}
.woocommerce-error::before {
  background-color: var(--ds-error);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6L6 18M6 6l12 12'/></svg>");
}
.woocommerce-message > .button,
.woocommerce-info > .button,
.woocommerce-error > .button,
.woocommerce-message a.restore-item,
.woocommerce-message a.showcoupon,
.woocommerce-message a.button.wc-forward {
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ds-olive);
  background: transparent;
  color: var(--ds-olive);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.woocommerce-message > .button:hover,
.woocommerce-info > .button:hover,
.woocommerce-error > .button:hover,
.woocommerce-message a.restore-item:hover,
.woocommerce-message a.showcoupon:hover,
.woocommerce-message a.button.wc-forward:hover {
  background: var(--ds-olive);
  color: var(--ds-paper);
}
.woocommerce-error > li {
  list-style: none;
  margin: 0;
}

/* ─── Free shipping progress bar — używana na cart i checkout ───── */
.ds-cart-shipbar {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-cart-shipbar.is-achieved {
  background: color-mix(in oklab, var(--ds-success) 8%, var(--ds-paper));
  border-color: color-mix(in oklab, var(--ds-success) 40%, var(--ds-line));
}
.ds-cart-shipbar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ds-ink);
  line-height: 1.35;
}
.ds-cart-shipbar-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ds-olive) 12%, var(--ds-paper));
  color: var(--ds-olive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ds-cart-shipbar.is-achieved .ds-cart-shipbar-ico {
  background: var(--ds-success);
  color: var(--ds-paper);
}
.ds-cart-shipbar-text strong {
  font-weight: 800;
  color: var(--ds-olive-deep);
}
.ds-cart-shipbar.is-achieved .ds-cart-shipbar-text strong {
  color: var(--ds-success);
}
.ds-cart-shipbar-track {
  width: 100%;
  height: 8px;
  background: var(--ds-cream);
  border-radius: 999px;
  overflow: hidden;
}
.ds-cart-shipbar-fill {
  height: 100%;
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--ds-olive) 70%, var(--ds-success)) 0%,
    var(--ds-olive) 100%);
  border-radius: 999px;
  transition: width .4s ease;
}
.ds-cart-shipbar.is-achieved .ds-cart-shipbar-fill {
  background: var(--ds-success);
}

/* ─── Shipping method radio cards — cart, checkout (#shipping_method) ─── */
.woocommerce ul#shipping_method,
.woocommerce ul#shipping_method.woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.woocommerce ul#shipping_method li {
  margin: 0;
  padding: 0;
  position: relative;
  list-style: none;
}
.woocommerce ul#shipping_method li::before {
  display: none;
}
.woocommerce ul#shipping_method input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.woocommerce ul#shipping_method li label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0;
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  background: var(--ds-paper);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ds-ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.woocommerce ul#shipping_method li label::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--ds-ink-muted);
  background: var(--ds-paper);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.woocommerce ul#shipping_method li label:hover {
  border-color: color-mix(in oklab, var(--ds-olive) 50%, var(--ds-line));
  background: color-mix(in oklab, var(--ds-olive) 4%, var(--ds-paper));
}
.woocommerce ul#shipping_method input[type="radio"]:checked + label {
  border-color: var(--ds-olive);
  background: color-mix(in oklab, var(--ds-olive) 8%, var(--ds-paper));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ds-olive) 12%, transparent);
}
.woocommerce ul#shipping_method input[type="radio"]:checked + label::before {
  border-color: var(--ds-olive);
  background: radial-gradient(circle, var(--ds-olive) 0 5px, var(--ds-paper) 6px 100%);
}
.woocommerce ul#shipping_method input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--ds-olive);
  outline-offset: 2px;
}
.woocommerce ul#shipping_method li label .woocommerce-Price-amount {
  margin-left: auto;
  font-weight: 700;
  color: var(--ds-olive-deep);
  white-space: nowrap;
}

/* Ukryj logo InPost przy nazwach metod wysyłki — zachowujemy spójny wygląd radio cards bez ikon */
.woocommerce ul#shipping_method .inpost_pl_shipping_meta,
.woocommerce ul#shipping_method .easypack-custom-shipping-method-logo,
.inpost_pl_shipping_meta,
.easypack-custom-shipping-method-logo { display: none !important; }

/* ============================================================
   404 PAGE - drewnianysklep-v3
   Dedicated layout (nie polega na home.css ktore tylko front-page)
   ============================================================ */

.ds-404-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 32px 96px;
  text-align: center;
}
.ds-404-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ds-404-illustration {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--ds-cream);
  color: var(--ds-olive-deep);
  border: 1px solid var(--ds-line);
  margin-bottom: 24px;
}
.ds-404-page .ds-eyebrow { justify-content: center; }
.ds-404-title {
  font-family: var(--ds-font-display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ds-ink);
  margin: 14px 0 18px;
  text-wrap: balance;
}
.ds-404-title em {
  font-style: normal;
  color: var(--ds-olive-deep);
}
.ds-404-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ds-ink-soft);
  max-width: 56ch;
  margin: 0 0 28px;
}
.ds-404-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  width: 100%;
  max-width: 540px;
  border: 2px solid var(--ds-line);
  border-radius: 14px;
  background: var(--ds-paper);
  overflow: hidden;
  margin-bottom: 22px;
  transition: border-color .15s, box-shadow .15s;
}
.ds-404-search:focus-within {
  border-color: var(--ds-olive-deep);
  box-shadow: 0 0 0 3px rgba(111, 111, 67, .18);
}
.ds-404-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px 0 16px;
  color: var(--ds-olive-deep);
}
.ds-404-search input[type="search"] {
  border: 0;
  outline: none;
  background: transparent;
  padding: 14px 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ds-ink);
  width: 100%;
}
.ds-404-search input[type="search"]::placeholder {
  color: rgba(42, 39, 34, .4);
}
.ds-404-search .ds-btn {
  border-radius: 0;
  padding: 0 20px;
  white-space: nowrap;
}
.ds-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.ds-404-suggest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--ds-line);
  width: 100%;
  max-width: 540px;
}
.ds-404-suggest-label {
  font-size: 13px;
  color: var(--ds-ink-muted);
  font-weight: 600;
}
.ds-404-suggest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.ds-404-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-ink);
  background: var(--ds-cream);
  border: 1px solid var(--ds-line);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
.ds-404-chip:hover {
  border-color: var(--ds-olive);
  background: var(--ds-olive);
  color: #fff;
}

@media (max-width: 600px) {
  .ds-404-page { padding: 40px 20px 60px; }
  .ds-404-search { grid-template-columns: auto 1fr; }
  .ds-404-search .ds-btn {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ds-line);
    padding: 14px;
    justify-content: center;
  }
  .ds-404-actions .ds-btn { flex: 1 1 calc(50% - 5px); justify-content: center; }
}

/* ─── /konfigurator/ — landing wybierania produktu ───────────────────── */
.ds-cfg-page {
  max-width: var(--ds-max);
  margin: 0 auto;
  padding: 16px 32px 60px;
}
.ds-cfg-hero {
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--ds-line);
  margin-bottom: 40px;
}
.ds-cfg-hero-inner { max-width: 760px; }
.ds-cfg-hero-title {
  font-family: var(--ds-font-display, serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 8px 0 14px;
}
.ds-cfg-hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ds-ink-soft);
  margin: 0 0 22px;
}
.ds-cfg-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--ds-olive-deep);
  font-weight: 600;
}
.ds-cfg-hero-meta-item { display: inline-flex; align-items: center; gap: 6px; }

.ds-cfg-section { margin-bottom: 48px; }
.ds-cfg-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.ds-cfg-section-title {
  font-family: var(--ds-font-display, serif);
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 6px 0 6px;
}
.ds-cfg-section-sub {
  font-size: 15px;
  color: var(--ds-ink-soft);
  margin: 0;
  max-width: 640px;
}
.ds-cfg-section-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-olive-deep);
  white-space: nowrap;
}
.ds-cfg-section-all:hover { color: var(--ds-ink); }

.ds-cfg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.ds-cfg-card {
  display: flex;
  flex-direction: column;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ds-ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ds-cfg-card:hover {
  transform: translateY(-3px);
  border-color: var(--ds-olive-deep);
  box-shadow: 0 14px 32px -16px rgba(42, 39, 34, 0.18);
}
.ds-cfg-card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ds-stone);
  overflow: hidden;
}
.ds-cfg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ds-cfg-card:hover .ds-cfg-card-img img { transform: scale(1.04); }

.ds-cfg-card-overlay {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ds-olive-deep);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.ds-cfg-card:hover .ds-cfg-card-overlay { opacity: 1; transform: translateY(0); }
.ds-cfg-card-overlay-icon { display: inline-flex; }

.ds-cfg-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.ds-cfg-card-name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ds-cfg-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 10px;
}
.ds-cfg-card-price { font-weight: 700; color: var(--ds-ink); font-size: 15.5px; }
.ds-cfg-card-price .ds-from { font-size: 12px; color: var(--ds-ink-soft); font-weight: 500; margin-right: 3px; }
.ds-cfg-card-arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ds-cream);
  color: var(--ds-ink);
  font-size: 14px;
  transition: background .2s, color .2s, transform .2s;
}
.ds-cfg-card:hover .ds-cfg-card-arrow {
  background: var(--ds-olive-deep);
  color: #fff;
  transform: translateX(2px);
}

.ds-cfg-help {
  margin-top: 32px;
  padding: 22px 28px;
  background: var(--ds-cream);
  border-radius: 14px;
}
.ds-cfg-help-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.ds-cfg-help-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ds-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-olive-deep);
}
.ds-cfg-help h3 { margin: 0 0 4px; font-size: 18px; }
.ds-cfg-help p { margin: 0; color: var(--ds-ink-soft); font-size: 14.5px; }

@media (max-width: 720px) {
  .ds-cfg-page { padding: 12px 18px 50px; }
  .ds-cfg-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ds-cfg-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ds-cfg-help-inner { grid-template-columns: 1fr; text-align: center; }
  .ds-cfg-help-icon { margin: 0 auto; }
}
