/* ============================================================
   APLOTITA — storefront. Buduje na tokenach z colors_and_type.css
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg1);
  font-family: var(--sans); font-weight: var(--w-light);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sage-400); color: var(--green-900); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 64px 40px 96px; }
.section.wrap { padding-left: 40px; padding-right: 40px; }
.center { text-align: center; }

/* ---------- Eyebrow ---------- */
.eyebrow { font-family: var(--sans); font-weight: 500; font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--fg3); margin-bottom: 4px; }
.eyebrow--stone { color: var(--stone-500); }
.eyebrow--sage  { color: var(--sage-500); }

/* ---------- Typografia stron ---------- */
.page-title { font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.05; margin: 14px 0 10px; }
.page-lead { font-size: 16px; line-height: 1.7; color: var(--fg2); max-width: 460px; margin: 0; }
.page-lead.center, .page-title.center { margin-left: auto; margin-right: auto; }
.page-lead.center { text-align: center; }
.empty { color: var(--fg3); margin: 32px 0; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: .04em;
  cursor: pointer; border: none; transition: all var(--dur) var(--ease); white-space: nowrap; }
.btn-primary { background: var(--green-800); color: var(--paper-100);
  padding: 16px 36px; border-radius: var(--r-pebble); }
.btn-primary:hover { background: var(--green-700); }
.btn-secondary { background: transparent; color: var(--green-800);
  padding: 15px 35px; border-radius: var(--r-pebble); border: 1px solid var(--green-800); }
.btn-secondary:hover { background: var(--green-800); color: var(--paper-100); }
.btn-on-dark { border-color: var(--sage-500); color: var(--paper-100); }
.btn-on-dark:hover { background: var(--sage-500); color: var(--green-900); }
.btn-text { background: none; color: var(--stone-500); padding: 6px 0; }
.btn-text span, .btn-text { border-bottom: 1px solid var(--stone-400); padding-bottom: 3px; }
.btn-text:hover { color: var(--green-800); }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--paper-100) 86%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.main-nav { display: flex; gap: 32px; flex: 1; }
.nav-link { font-size: 14px; color: var(--fg2); border-bottom: 1px solid transparent; padding-bottom: 3px; }
.nav-link:hover, .nav-link.is-active { color: var(--green-800); border-bottom-color: var(--green-800); }
.brand { flex: none; display: flex; align-items: center; }
.brand-logo { height: 38px; }
.header-actions { display: flex; gap: 18px; flex: 1; justify-content: flex-end; align-items: center; }
.switches { display: flex; gap: 14px; }
.switch { font-size: 12px; color: var(--fg3); display: flex; gap: 6px; align-items: center; }
.switch a { color: var(--fg3); }
.switch a.on { color: var(--green-800); font-weight: 500; }
.icon-btn { background: none; border: none; cursor: pointer; color: var(--fg2); display: inline-flex;
  align-items: center; padding: 4px; position: relative; }
.icon-btn:hover { color: var(--green-800); }
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--green-800); color: var(--paper-100);
  font-size: 10px; min-width: 16px; height: 16px; border-radius: 999px; display: flex;
  align-items: center; justify-content: center; padding: 0 4px; }
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; }
.nav-overlay { display: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
  padding-top: 64px; padding-bottom: 96px; }
.hero-title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 1; letter-spacing: -.01em; margin: 24px 0 0; text-wrap: balance; }
.hero-lead { font-size: 17px; line-height: 1.7; color: var(--fg2); max-width: 420px; margin: 28px 0 36px; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-media .pebble-img, .pebble-ph { width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--r-pebble); background: var(--green-700); }
.hero-media picture { display: block; border-radius: var(--r-pebble); overflow: hidden; }

/* ---------- Sekcje ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 40px; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 0; }

/* ---------- Siatka produktów ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product-card { position: relative; }
.product-media { display: block; position: relative; aspect-ratio: 4/5; border-radius: var(--r-sm);
  overflow: hidden; background: var(--sage-300); transition: transform var(--dur) var(--ease); }
.product-card:hover .product-media { transform: translateY(-4px); }
.product-media picture, .product-media .media-img { width: 100%; height: 100%; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.media-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone-500); text-align: center; padding: 12px; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; background: var(--paper-50); color: var(--green-800); padding: 6px 12px; border-radius: var(--r-pill); }
.card-add { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  opacity: 0; transform: translateY(8px); transition: all var(--dur) var(--ease); }
.product-card:hover .card-add { opacity: 1; transform: translateY(0); }
.btn-add { width: 100%; background: color-mix(in oklab, var(--paper-50) 92%, transparent);
  backdrop-filter: blur(4px); border: none; border-radius: var(--r-pebble); padding: 12px; cursor: pointer;
  font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: var(--green-800); }
.btn-add:hover { background: var(--paper-50); }
.product-info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.product-name { font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.product-material { font-size: 12.5px; color: var(--fg3); margin-top: 4px; }
.product-price { font-family: var(--serif); font-size: 18px; color: var(--stone-500); flex: none; }

/* ---------- Filtry ---------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 36px 0 44px; }
.chip { font-size: 13px; padding: 9px 20px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  color: var(--fg2); transition: all var(--dur) var(--ease); }
.chip:hover { border-color: var(--green-800); }
.chip.on { background: var(--green-800); color: var(--paper-100); border-color: var(--green-800); }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--green-800); color: var(--paper-100); padding: 110px 40px; }
.manifesto-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.manifesto-quote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.35; color: var(--paper-100); margin: 24px 0 32px; text-wrap: pretty; }

/* ---------- Wartości ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 96px 40px; }
.value-rule { width: 40px; height: 1px; background: var(--stone-400); margin-bottom: 20px; }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 10px; }
.value p { font-size: 15px; line-height: 1.65; color: var(--fg2); margin: 0; }

/* ---------- Detal produktu ---------- */
.back-link { font-size: 13px; color: var(--fg3); display: inline-block; margin-bottom: 28px; }
.back-link:hover { color: var(--green-800); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pd-photo { aspect-ratio: 1/1; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-200); position: relative; }
.pd-photo img, .pd-photo picture { width: 100%; height: 100%; object-fit: cover; }
.pd-photo--main { grid-column: 1 / 3; aspect-ratio: 4/5; background: var(--sage-300); }
.pd-info { position: sticky; top: 100px; }
.pd-name { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1.05; margin: 16px 0 6px; }
.pd-material { font-size: 15px; color: var(--fg3); margin-bottom: 28px; }
.pd-price { font-family: var(--serif); font-size: 30px; color: var(--stone-500); margin-bottom: 32px; }
.pd-story { font-size: 17px; line-height: 1.75; color: var(--fg2); max-width: 420px; margin-bottom: 36px; }
.pd-specs { margin: 0 0 36px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-spec { display: flex; gap: 12px; font-size: 14px; }
.pd-spec dt { color: var(--fg3); min-width: 120px; margin: 0; }
.pd-spec dd { color: var(--fg2); margin: 0; }
.pd-add { margin-bottom: 40px; }
.pd-notes { list-style: none; padding: 24px 0 0; margin: 0; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; }
.pd-notes li { font-size: 14px; color: var(--fg2); padding-left: 22px; position: relative; }
.pd-notes li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--sage-500); }
.related { margin-top: 96px; }
.related h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 32px; }

/* ---------- Proza (CMS / artykuł) ---------- */
.prose-page { max-width: 760px; }
.prose { font-size: 18px; line-height: 1.8; color: var(--fg2); }
.prose p { margin: 0 0 26px; text-wrap: pretty; }
.prose strong { color: var(--fg1); font-weight: 500; }

/* ---------- Journal ---------- */
.journal-head { text-align: center; margin-bottom: 40px; }
.journal-list { border-bottom: 1px solid var(--line); max-width: 1000px; margin: 0 auto; }
.journal-row { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: center;
  padding: 28px 0; border-top: 1px solid var(--line); }
.journal-thumb { aspect-ratio: 4/5; border-radius: var(--r-pebble); overflow: hidden; background: var(--sage-300); }
.journal-thumb img, .journal-thumb picture { width: 100%; height: 100%; object-fit: cover; }
.thumb-ph { width: 100%; height: 100%; background: var(--sage-300); }
.journal-kicker { display: flex; gap: 12px; align-items: center; margin-bottom: 8px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone-500); }
.journal-kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.journal-meta h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 0 0 8px; }
.journal-row:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.journal-meta p { font-size: 14.5px; line-height: 1.6; color: var(--fg2); margin: 0; max-width: 520px; }

.article { max-width: 820px; padding-top: 40px; padding-bottom: 96px; }
.article-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  line-height: 1.08; margin: 12px 0 32px; text-wrap: balance; }
.article-photo { float: right; width: 248px; max-width: 42%; margin: 4px 0 20px 36px;
  border-radius: var(--r-pebble); overflow: hidden; }
.article-sign { clear: both; font-family: var(--serif); font-size: 22px; margin-top: 8px; }
.next-note { clear: both; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.next-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg3); margin-bottom: 8px; }
.next-title { font-family: var(--serif); font-size: 22px; }
.next-arrow { color: var(--stone-500); font-size: 22px; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--green-800); color: var(--paper-100); padding: 80px 0 32px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 48px; }
.footer-wordmark { font-family: var(--serif); font-weight: 300; font-size: 34px; color: var(--paper-100); }
.footer-brand { max-width: 320px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: var(--sage-400); margin: 14px 0 0; }
.footer-tag { font-size: 12px !important; color: var(--sage-600) !important; }
.footer-h { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-500); margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--paper-100); opacity: .85; }
.footer-col a:hover { opacity: 1; }
.footer-news { min-width: 240px; }
.news-form { display: flex; border-bottom: 1px solid var(--line-on-dark); padding-bottom: 8px; }
.news-form input { flex: 1; background: none; border: none; color: var(--paper-100); font-family: var(--sans); font-size: 14px; outline: none; }
.news-form button { background: none; border: none; color: var(--sage-400); cursor: pointer; font-size: 16px; }
.footer-note { font-size: 12px; color: var(--sage-600); margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); }
.footer-bottom span, .footer-bottom a { font-size: 12px; color: var(--sage-600); }

/* ---------- Szuflada koszyka ---------- */
.drawer-overlay { position: fixed; inset: 0; background: var(--green-900); opacity: 0; z-index: 50;
  pointer-events: none; transition: opacity var(--dur) var(--ease); }
.drawer-overlay.open { opacity: .32; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 90vw; z-index: 51;
  background: var(--paper-50); box-shadow: var(--shadow-lg); transform: translateX(100%);
  transition: transform var(--dur) var(--ease); display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 28px 28px 20px; border-bottom: 1px solid var(--line); }
.cart-title { font-family: var(--serif); font-size: 24px; }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-foot { padding: 24px 28px; border-top: 1px solid var(--line); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 18px; align-items: baseline; }
.cart-total-row span:last-child { font-family: var(--serif); font-size: 22px; }
.cart-viewlink { display: block; text-align: center; font-size: 13px; color: var(--stone-500); margin-top: 14px; }
.cart-empty-msg { font-size: 15px; color: var(--fg3); margin-top: 24px; }
.drawer-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.drawer-item .di-thumb { width: 60px; flex: none; aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden; background: var(--sage-300); }
.drawer-item .di-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item .di-name { font-family: var(--serif); font-size: 17px; }
.drawer-item .di-meta { font-size: 12px; color: var(--fg3); margin-top: 4px; }
.drawer-item .di-price { font-family: var(--serif); color: var(--stone-500); }

/* ---------- Koszyk (strona) ---------- */
.cart-page { max-width: 900px; }
.cart-line { display: grid; grid-template-columns: 80px 1fr 80px 90px 24px; gap: 16px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden; background: var(--sage-300); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-family: var(--serif); font-size: 19px; }
.cart-line-material { font-size: 12.5px; color: var(--fg3); margin-top: 2px; }
.cart-line-unit { font-size: 13px; color: var(--stone-500); margin-top: 6px; }
.cart-line-qty input { width: 64px; padding: 8px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: var(--sans); text-align: center; }
.cart-line-total { font-family: var(--serif); font-size: 18px; text-align: right; }
.cart-line-remove { background: none; border: none; font-size: 22px; color: var(--fg3); cursor: pointer; line-height: 1; }
.cart-line-remove:hover { color: var(--green-800); }
.cart-actions { padding: 16px 0; text-align: right; }
.cart-summary { margin-top: 24px; max-width: 360px; margin-left: auto; }
.cart-total-row.big span:last-child { font-size: 28px; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: start; margin-top: 32px; }
.form-h { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 20px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 13px; color: var(--fg2); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); font-family: var(--sans); font-size: 15px; background: var(--bg-raised); color: var(--fg1); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-700); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-summary { background: var(--bg-sage); border-radius: var(--r-lg); padding: 28px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--fg2); padding: 8px 0; }
.sum-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: 20px; }
.sum-note { font-size: 13px; color: var(--fg3); margin-top: 16px; }

/* ---------- Potwierdzenie ---------- */
.confirm { display: flex; justify-content: center; }
.confirm-card { max-width: 560px; width: 100%; text-align: center; }
.confirm-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--green-800); color: var(--paper-100);
  display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 24px; }
.confirm-no { margin: 20px 0; font-size: 14px; color: var(--fg2); }
.confirm-items { text-align: left; max-width: 380px; margin: 24px auto 32px; }
.center-page { text-align: center; min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 80;
  background: var(--green-800); color: var(--paper-100); padding: 13px 22px; border-radius: var(--r-pill);
  font-size: 14px; box-shadow: var(--shadow-md); animation: toastIn .3s var(--ease); }
.toast--error { background: #8a3b3b; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 980px) {
  .pd-grid { grid-template-columns: 1fr; gap: 32px; }
  .pd-info { position: static; }
  .checkout-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .section { padding: 40px 22px 64px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 56px; }
  .hero-media { order: -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .values { grid-template-columns: 1fr; gap: 32px; padding: 56px 22px; }
  .manifesto { padding: 72px 22px; }
  .card-add { opacity: 1; transform: none; }      /* na mobile zawsze widoczny */

  /* menu mobilne */
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 75vw; max-width: 320px;
    background: var(--paper-50); flex-direction: column; gap: 8px; padding: 88px 28px 28px;
    transform: translateX(-100%); transition: transform var(--dur) var(--ease); z-index: 60; box-shadow: var(--shadow-lg); }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link { font-size: 20px; font-family: var(--serif); }
  .nav-overlay { display: block; position: fixed; inset: 0; background: var(--green-900); opacity: 0;
    pointer-events: none; transition: opacity var(--dur) var(--ease); z-index: 55; }
  .nav-overlay.open { opacity: .3; pointer-events: auto; }
  .header-inner { height: 64px; }
  .switches { flex-direction: column; gap: 4px; }
  .brand-logo { height: 30px; }
  .footer-grid { flex-direction: column; gap: 32px; }
  .cart-line { grid-template-columns: 64px 1fr 64px; grid-row-gap: 6px; }
  .cart-line-total { grid-column: 2 / 4; text-align: left; }
  .cart-line-remove { position: absolute; right: 0; }
  .article-photo { float: none; width: 100%; max-width: 100%; margin: 0 0 24px; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
  .journal-row { grid-template-columns: 96px 1fr; gap: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ============================================================
   AKTUALIZACJA — nowe sekcje (commission, filtry, wishlist...)
   ============================================================ */
.section--tight { padding-top: 0; }
.product-grid--auto { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.link-inline { background: none; border: none; color: var(--stone-500); cursor: pointer;
  border-bottom: 1px solid var(--stone-400); padding: 0; font: inherit; }

/* serce na karcie produktu */
.product-media-wrap { position: relative; }
.fav-btn { position: absolute; top: 12px; right: 12px; z-index: 4; width: 34px; height: 34px;
  border-radius: 999px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--paper-50) 86%, transparent); backdrop-filter: blur(4px);
  color: var(--fg2); transition: all var(--dur) var(--ease); }
.fav-btn:hover { color: var(--green-800); }
.fav-btn.is-fav { color: var(--green-800); }
.fav-btn.is-fav svg { fill: var(--green-800); }

/* hero: dwa przyciski */
.hero-actions .btn-primary + .btn-primary { }

/* commission promo (home) */
.commission-promo { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 64px; }
.cp-ph { aspect-ratio: 5/4; border-radius: var(--r-pebble); background: var(--sage-300); }
.cp-text h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem,3.6vw,3rem);
  line-height: 1.08; margin: 16px 0 0; }
.cp-text p { font-size: 17px; line-height: 1.75; color: var(--fg2); max-width: 440px; margin: 20px 0 30px; }

/* commission — "what it can become" (green strip) */
.com-settings { background: var(--green-800); color: var(--paper-100); padding: 90px 0; }
.com-settings .eyebrow { margin-bottom: 0; }
.com-settings-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; margin-top: 44px; }
.com-setting { text-align: center; }
.com-setting h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; color: var(--paper-100); margin: 0 0 12px; }
.com-setting p { font-size: 15px; line-height: 1.7; color: var(--sage-400); margin: 0; }
.com-rule { width: 40px; height: 1px; background: var(--sage-500); margin: 0 auto 18px; }
.com-fine { text-align: center; font-size: 14px; color: var(--sage-500); margin-top: 48px; }
.com-fine.dark { color: var(--fg3); max-width: 620px; margin-left: auto; margin-right: auto; }

/* commission — steps */
.com-steps-wrap { background: var(--paper-200); padding: 88px 0; }
.com-head { margin-bottom: 48px; max-width: 600px; }
.com-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.com-head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem,3.4vw,2.8rem);
  margin: 14px 0 0; line-height: 1.1; }
.com-head.center .page-lead { margin-top: 16px; }
.com-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.com-step-n { font-family: var(--serif); font-weight: 300; font-size: 40px; color: var(--stone-400); line-height: 1; }
.com-step .com-rule { margin: 18px 0; }
.com-step h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 10px; line-height: 1.2; }
.com-step p { font-size: 14.5px; line-height: 1.7; color: var(--fg2); margin: 0; }

/* commission — good/bad stones */
.stone-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 12px; }
.stone-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 32px; }
.stone-card--good { background: var(--paper-50); }
.stone-card-h { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 26px; }
.stone-card-h.good { color: var(--green-700); }
.stone-card-h.bad { color: var(--stone-500); }
.stone-row { display: flex; gap: 20px; align-items: center; padding: 10px 0; }
.stone-sketch { flex: none; width: 130px; display: flex; justify-content: center; }
.stone-sketch.dim { opacity: .82; }
.stone-label { font-family: var(--serif); font-size: 20px; margin-bottom: 4px; }
.stone-row p { font-size: 14px; line-height: 1.6; color: var(--fg2); margin: 0; }

/* commission — gallery */
.com-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.com-fig { margin: 0; }
.com-fig-photo { aspect-ratio: 4/5; border-radius: var(--r-sm); }
.com-fig blockquote { margin: 22px 0 0; font-family: var(--serif); font-weight: 300; font-size: 19px;
  line-height: 1.5; color: var(--fg1); }
.com-fig figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-500); margin-top: 16px; }

/* commission — Q&A */
.qa-list { margin-top: 8px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 24px 0; font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--fg1); }
.qa summary::-webkit-details-marker { display: none; }
.qa-plus { color: var(--stone-500); font-size: 22px; transition: transform var(--dur) var(--ease); flex: none; }
.qa[open] .qa-plus { transform: rotate(45deg); }
.qa p { font-size: 16px; line-height: 1.75; color: var(--fg2); margin: 0 0 26px; max-width: 620px; }

/* commission — begin form */
.com-begin { background: var(--paper-200); padding: 90px 0; }
.com-form { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.com-form input, .com-form textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font-family: var(--sans); font-size: 15px; background: var(--paper-50); color: var(--fg1); }
.com-form input:focus, .com-form textarea:focus { outline: none; border-color: var(--stone-400); }
.com-form input[type=file] { padding: 10px; background: var(--paper-50); }
.chip-radios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip-radio { cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio span { display: inline-block; padding: 11px 20px; border-radius: var(--r-pebble);
  border: 1px solid var(--line-strong); font-size: 14.5px; color: var(--fg2); transition: all var(--dur) var(--ease); }
.chip-radio input:checked + span { background: var(--green-800); color: var(--paper-100); border-color: var(--green-800); }

/* sklep — filtry */
.shop-layout { display: grid; grid-template-columns: 232px 1fr; gap: 56px; align-items: start; margin-top: 44px; }
.shop-side { position: sticky; top: 100px; }
.shop-side-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.shop-side-title { font-family: var(--serif); font-size: 22px; }
.shop-clear { background: none; border: none; cursor: pointer; color: var(--stone-500); font-size: 13px;
  border-bottom: 1px solid var(--stone-400); padding-bottom: 2px; white-space: nowrap; }
.filter-group { border-top: 1px solid var(--line); padding: 24px 0; }
.filter-group-h { font-weight: 500; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg1); margin-bottom: 16px; }
.facet { display: flex; align-items: center; gap: 12px; cursor: pointer; margin-bottom: 14px; }
.facet input { position: absolute; opacity: 0; }
.facet-box { width: 20px; height: 20px; flex: none; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; transition: all var(--dur) var(--ease); }
.facet input:checked + .facet-box { background: var(--green-800); border-color: var(--green-800); }
.facet input:checked + .facet-box::after { content: '✓'; color: var(--paper-100); font-size: 12px; }
.facet-label { flex: 1; font-size: 15px; color: var(--fg2); }
.facet-count { font-size: 13px; color: var(--fg3); }
.shop-count { font-size: 14px; color: var(--fg3); margin-bottom: 24px; }
.shop-empty { font-family: var(--serif); font-weight: 300; font-size: 22px; color: var(--fg2); line-height: 1.4; max-width: 420px; }

/* wishlist */
.wishlist-empty { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 48px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.wl-heart { width: 64px; height: 64px; border-radius: var(--r-pebble); background: var(--sage-200);
  display: flex; align-items: center; justify-content: center; color: var(--green-800); }
.wishlist-empty p { font-family: var(--serif); font-weight: 300; font-size: 24px; color: var(--fg1); max-width: 380px; line-height: 1.3; margin: 0; }

/* produkt — serce */
.pd-add { display: flex; gap: 14px; align-items: stretch; }
.pd-fav { background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-pebble);
  width: 54px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--fg2);
  transition: all var(--dur) var(--ease); }
.pd-fav.is-fav { background: var(--sage-200); border-color: var(--stone-500); color: var(--green-800); }
.pd-fav.is-fav svg { fill: var(--green-800); }

/* checkout — płatność + prezent */
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-strong);
  border-radius: var(--r-md); cursor: pointer; transition: border-color var(--dur) var(--ease); }
.pay-method input { position: absolute; opacity: 0; }
.pay-dot { width: 18px; height: 18px; border-radius: 999px; border: 1px solid var(--line-strong); flex: none; position: relative; }
.pay-method input:checked ~ .pay-dot { border-color: var(--green-800); }
.pay-method input:checked ~ .pay-dot::after { content: ''; position: absolute; inset: 4px; border-radius: 999px; background: var(--green-800); }
.pay-method input:checked + .pay-dot { border-color: var(--green-800); }
.pay-method:has(input:checked) { border-color: var(--green-800); }
.pay-method span strong { display: block; font-weight: 400; font-size: 15px; color: var(--fg1); }
.pay-method span small { display: block; font-size: 13px; color: var(--fg3); margin-top: 2px; }
.pay-note { font-size: 13px; color: var(--fg3); margin: 0 0 24px; line-height: 1.6; }
.gift-block { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; }
.gift-toggle { display: flex; flex-direction: column; cursor: pointer; gap: 3px; margin-bottom: 14px; }
.gift-toggle strong { font-weight: 500; font-size: 15px; }
.gift-toggle small { font-size: 13px; color: var(--fg3); }
.gift-toggle input { margin-bottom: 6px; }

/* responsywność nowych sekcji */
@media (max-width: 860px) {
  .commission-promo { grid-template-columns: 1fr; gap: 28px; }
  .com-settings-grid, .com-steps, .com-gallery { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stone-cols { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; gap: 28px; }
  .shop-side { position: static; }
  .stone-sketch { width: 100px; }
}
@media (max-width: 520px) {
  .com-settings-grid, .com-steps, .com-gallery { grid-template-columns: 1fr; }
}

/* treść z edytora WYSIWYG (Trix) na froncie */
.prose div { margin: 0 0 20px; }
.prose div:empty { margin: 0; min-height: 1rem; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 22px; }
.prose li { margin: 0 0 8px; line-height: 1.7; }
.prose a { color: var(--stone-600); border-bottom: 1px solid var(--stone-400); }
.prose a:hover { color: var(--green-800); }
.prose h1 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin: 8px 0 16px; color: var(--fg1); }
.prose blockquote { border-left: 2px solid var(--sage-500); padding-left: 20px; margin: 0 0 24px; font-style: italic; color: var(--fg2); }
