:root{
  --sf-bg:#f7f3ea;
  --sf-surface:#fffdf8;
  --sf-border:rgba(39,34,28,.12);
  --sf-text:#14120f;
  --sf-muted:#665b4f;
  --sf-accent:#1f3a2e;
  --sf-shadow:0 10px 24px rgba(20,18,15,.06);
  --sf-radius:18px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--sf-bg);color:var(--sf-text);font:15px/1.6 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}
.sf-topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px clamp(16px,4vw,40px);background:rgba(255,255,255,.92);border-bottom:1px solid var(--sf-border);backdrop-filter:blur(12px)}
.sf-brand{font-weight:900;letter-spacing:-.03em}.sf-nav{display:flex;gap:14px;color:var(--sf-muted);font-size:14px;font-weight:700}.sf-wrap{width:min(1180px,100%);margin:0 auto;padding:22px clamp(14px,3vw,24px) 56px}
.sf-hero{height:380px;min-height:380px;max-height:380px;overflow:hidden;padding:clamp(18px,2.6vw,28px);display:flex;flex-direction:column;justify-content:center;border:1px solid var(--sf-border);border-radius:22px;background:linear-gradient(180deg,#fffdf8 0%,#fbf7ef 100%);box-shadow:var(--sf-shadow)}.sf-hero--compact{padding:clamp(18px,2.6vw,28px)}.sf-hero h1{margin:8px 0 0;font-size:clamp(30px,3.9vw,48px);line-height:1.02;letter-spacing:-.055em}.sf-hero p{max-width:70ch;margin:10px 0 0;color:var(--sf-muted)}
.sf-breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--sf-muted);font-size:13px}.sf-breadcrumbs a{color:var(--sf-accent);font-weight:700}.sf-section{margin-top:18px}.sf-section__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.sf-section__head h2{margin:0;font-size:20px;letter-spacing:-.02em}
.sf-grid{display:grid;gap:12px}.sf-grid--categories{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.sf-grid--products{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.sf-card{padding:16px;border:1px solid var(--sf-border);border-radius:16px;background:var(--sf-surface);box-shadow:var(--sf-shadow)}.sf-card h2,.sf-card h3{margin:0 0 8px;line-height:1.25;letter-spacing:-.02em}.sf-card p{margin:0;color:var(--sf-muted)}.sf-link{display:inline-flex;margin-top:12px;color:var(--sf-accent);font-weight:800}.sf-product-card{display:grid;gap:8px}.sf-product-card__status{display:inline-flex;width:max-content;padding:3px 8px;border-radius:999px;background:#f2eadc;color:#3a3128;font-size:11px;font-weight:800}.sf-price{margin-top:4px;font-size:17px}.sf-category-card{min-height:130px}
@media (max-width:640px){.sf-topbar{position:static}.sf-wrap{padding-top:14px}.sf-hero,.sf-hero--compact{height:260px;min-height:260px;max-height:260px;overflow:hidden;padding:14px;border-radius:17px}.sf-card{padding:14px;border-radius:14px}.sf-grid--categories,.sf-grid--products{grid-template-columns:1fr}}


.sf-wrap--home{
  min-height:calc(100vh - 68px);
  display:grid;
  align-content:center;
  gap:16px;
}

.sf-home{
  padding:clamp(22px,5vw,42px);
  border:1px solid var(--sf-border);
  border-radius:24px;
  background:linear-gradient(180deg,#fffdf8 0%,#fbf7ef 100%);
  box-shadow:var(--sf-shadow);
}

.sf-home__badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:28px;
  padding:4px 10px;
  border:1px solid var(--sf-border);
  border-radius:999px;
  background:#fffdf8;
  color:var(--sf-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.sf-home h1{
  margin:12px 0 0;
  font-size:clamp(32px,6vw,58px);
  line-height:1;
  letter-spacing:-.05em;
}

.sf-home__message{
  max-width:760px;
  margin-top:14px;
  color:var(--sf-muted);
  font-size:clamp(16px,2vw,19px);
  line-height:1.65;
}

.sf-home__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.sf-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 15px;
  border:1px solid var(--sf-border);
  border-radius:12px;
  background:#fffdf8;
  color:var(--sf-text);
  font-weight:800;
  text-decoration:none;
}

.sf-button:hover{
  text-decoration:none;
  background:#fbf7ef;
}

.sf-button--primary{
  border-color:#14120f;
  background:#14120f;
  color:#fffdf8;
}

.sf-button--primary:hover{
  background:#1f3a2e;
}

.sf-home__contact{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin-top:18px;
  color:var(--sf-muted);
  font-size:14px;
}

.sf-home__note{
  box-shadow:none;
}

.sf-home__note h2{
  font-size:17px;
}

@media (max-width:640px){
  .sf-wrap--home{
    align-content:start;
  }

  .sf-home{
    padding:18px;
    border-radius:18px;
  }

  .sf-home__actions .sf-button{
    width:100%;
  }
}


/* v24 — dyskretna stopka publicznego frontu */
.sf-footer{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  max-width:1120px;
  margin:18px auto 0;
  padding:10px 16px 14px;
  color:rgba(102,91,79,.72);
  font-size:11px;
  line-height:1.4;
  text-align:center;
}

.sf-footer a{
  color:rgba(31,58,46,.86);
  text-decoration:none;
}

.sf-footer a:hover{
  color:#1f3a2e;
}

.sf-footer strong{
  font-weight:800;
}


/* v25 — publiczna stopka na dole viewportu bez wymuszania scrolla */
html,
body{
  min-height:100%;
}

body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.sf-wrap{
  flex:1 0 auto;
}

.sf-footer{
  flex-shrink:0;
  margin-top:auto;
  padding-top:8px;
  padding-bottom:10px;
}

.sf-footer__brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}

.sf-footer__brand img{
  display:inline-block;
  width:auto;
  height:16px;
  max-width:64px;
  object-fit:contain;
  vertical-align:middle;
  opacity:.78;
}

.sf-footer__brand:hover img{
  opacity:1;
}


/* v31 — storefront produktu */
.sf-breadcrumbs--standalone{
  margin-bottom:14px;
}

.sf-product-card h3 a{
  color:inherit;
  text-decoration:none;
}

.sf-product-card h3 a:hover{
  color:#1f3a2e;
}

.sf-product-page{
  display:grid;
  grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);
  gap:18px;
  align-items:start;
}

.sf-product-page__media,
.sf-product-page__summary{
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:20px;
  background:#fffdf8;
  box-shadow:var(--sf-shadow, 0 12px 30px rgba(20,18,15,.06));
}

.sf-product-page__media{
  min-height:360px;
  display:grid;
  place-items:center;
  padding:18px;
}

.sf-product-placeholder{
  width:100%;
  aspect-ratio:1/1;
  max-width:340px;
  display:grid;
  place-items:center;
  border:1px dashed #d8cdbb;
  border-radius:18px;
  background:linear-gradient(180deg,#fbf7ef 0%,#eef2f7 100%);
  color:#665b4f;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.sf-product-page__summary{
  padding:clamp(18px,3vw,28px);
}

.sf-product-page__category{
  display:inline-flex;
  width:max-content;
  margin-bottom:10px;
  padding:5px 10px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:999px;
  color:#1f3a2e;
  background:#f3ecdd;
  font-size:12px;
  font-weight:850;
  text-decoration:none;
}

.sf-product-page h1{
  margin:0;
  font-size:clamp(30px,5vw,52px);
  line-height:1.02;
  letter-spacing:-.05em;
}

.sf-product-page__lead{
  margin:14px 0 0;
  color:var(--sf-muted, #665b4f);
  font-size:clamp(15px,2vw,18px);
  line-height:1.6;
}

.sf-product-purchase{
  display:grid;
  gap:12px;
  margin-top:20px;
  padding:14px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:16px;
  background:#fbf7ef;
}

.sf-product-price{
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
}

.sf-product-price strong{
  color:var(--sf-text, #14120f);
  font-size:clamp(26px,4vw,38px);
  line-height:1;
  letter-spacing:-.05em;
}

.sf-product-price span{
  color:#8b7e6f;
  font-size:15px;
  font-weight:800;
  text-decoration:line-through;
}

.sf-product-purchase__status{
  display:flex;
  align-items:center;
  gap:8px 12px;
  flex-wrap:wrap;
  color:var(--sf-muted, #665b4f);
  font-size:13px;
}

.sf-product-purchase__status span{
  display:inline-flex;
  padding:4px 9px;
  border-radius:999px;
  background:#eef7f1;
  color:#166534;
  font-weight:850;
}

.sf-button[disabled]{
  opacity:.72;
  cursor:not-allowed;
}

.sf-product-meta{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:8px;
  margin:14px 0 0;
}

.sf-product-meta div{
  padding:10px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:12px;
  background:#fffdf8;
}

.sf-product-meta dt{
  color:var(--sf-muted, #665b4f);
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.sf-product-meta dd{
  margin:4px 0 0;
  color:var(--sf-text, #14120f);
  font-size:13px;
  font-weight:850;
}

.sf-product-description{
  color:var(--sf-text, #14120f);
  line-height:1.72;
}

@media (max-width:820px){
  .sf-product-page{
    grid-template-columns:1fr;
  }

  .sf-product-page__media{
    min-height:240px;
  }

  .sf-product-placeholder{
    max-width:260px;
  }
}


/* v33 — baner podglądu administratora */
.sf-preview-banner{
  max-width:1120px;
  margin:12px auto 0;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 12px;
  border:1px solid #d6c4a2;
  border-radius:14px;
  background:#f3ecdd;
  color:#1f3a2e;
  font-size:13px;
}

.sf-preview-banner strong{
  font-weight:900;
}

.sf-preview-banner span{
  color:#3a3128;
}

.sf-preview-banner a{
  color:#1f3a2e;
  font-weight:850;
  text-decoration:none;
}


/* v34 — zdjęcie główne produktu na froncie */
.sf-product-main-image{
  display:block;
  width:100%;
  height:100%;
  max-height:520px;
  object-fit:contain;
  border-radius:16px;
  background:#fffdf8;
}

.sf-product-card__image{
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:4/3;
  margin-bottom:10px;
  overflow:hidden;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:14px;
  background:#fbf7ef;
  color:#8b7e6f;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-decoration:none;
  text-transform:uppercase;
}

.sf-product-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.sf-product-card__image:hover{
  border-color:#d6c4a2;
}


/* v36 — responsive image polish */
.sf-product-main-image{
  aspect-ratio:auto;
}

.sf-product-image-caption{
  margin:10px 0 0;
  color:#665b4f;
  font-size:12px;
  line-height:1.45;
  text-align:center;
}

.sf-product-card__image img{
  display:block;
}


/* v38 — dostępność i logistyka na karcie produktu */
.sf-product-purchase__status span.is-in{
  background:#eef7f1;
  color:#166534;
}

.sf-product-purchase__status span.is-order{
  background:#fff4df;
  color:#7a4a20;
}

.sf-product-purchase__status span.is-out{
  background:#fff0ef;
  color:#9a2134;
}

.sf-product-logistics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:14px;
}

.sf-product-logistics article{
  display:grid;
  gap:4px;
  padding:11px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:13px;
  background:#fffdf8;
}

.sf-product-logistics strong{
  color:#1f3a2e;
  font-size:12px;
}

.sf-product-logistics span{
  color:#3a3128;
  font-size:13px;
  font-weight:850;
}

.sf-product-logistics small{
  color:#665b4f;
  font-size:11.5px;
  line-height:1.35;
}

@media (max-width:640px){
  .sf-product-logistics{
    grid-template-columns:1fr;
  }
}


/* v40 — admin preview links */
.sf-preview-banner small{
  color:#665b4f;
  font-size:12px;
}


/* v44 — specyfikacja produktu */
.sf-product-attributes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  overflow:hidden;
}

.sf-product-attributes div{
  display:grid;
  grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);
  gap:10px;
  padding:11px 12px;
  border-bottom:1px solid var(--sf-border, rgba(39,34,28,.12));
}

.sf-product-attributes div:nth-child(odd){
  background:#fbf7ef;
}

.sf-product-attributes dt{
  color:#665b4f;
  font-size:12px;
  font-weight:850;
}

.sf-product-attributes dd{
  margin:0;
  color:#1f3a2e;
  font-size:13px;
  font-weight:800;
}

@media (max-width:820px){
  .sf-product-attributes{
    grid-template-columns:1fr;
  }
}


/* v46 — warianty produktu na froncie */
.sf-product-variants{
  display:grid;
  gap:8px;
  margin-top:12px;
  padding:12px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:14px;
  background:#fffdf8;
}

.sf-product-variants > strong{
  color:#1f3a2e;
  font-size:13px;
}

.sf-product-variants__list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.sf-product-variants__list span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 9px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:999px;
  color:#3a3128;
  background:#fbf7ef;
  font-size:12px;
  font-weight:850;
}

.sf-product-variants__list span.is-default{
  border-color:#d6c4a2;
  background:#f3ecdd;
  color:#1f3a2e;
}

.sf-product-variants__list small{
  color:#665b4f;
  font-size:11px;
}


/* v48 — wybór wariantu na karcie produktu */
.sf-product-variants__list button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:999px;
  color:#3a3128;
  background:#fbf7ef;
  font:850 12px/1.2 inherit;
  cursor:pointer;
  transition:border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.sf-product-variants__list button:hover{
  border-color:#d6c4a2;
  background:#f3ecdd;
  color:#1f3a2e;
}

.sf-product-variants__list button.is-selected{
  border-color:#1f3a2e;
  background:#f3ecdd;
  color:#1f3a2e;
  box-shadow:0 0 0 3px rgba(37,99,235,.10);
}

.sf-product-variants__list button small{
  color:#665b4f;
  font-size:11px;
}

.sf-product-variants__list button.is-selected small{
  color:#1f3a2e;
}


/* v49 — galeria produktu na froncie */
.sf-product-gallery{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}

.sf-product-gallery button{
  display:grid;
  place-items:center;
  aspect-ratio:1;
  padding:0;
  overflow:hidden;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:12px;
  background:#fffdf8;
  cursor:pointer;
}

.sf-product-gallery button:hover,
.sf-product-gallery button.is-active{
  border-color:#1f3a2e;
  box-shadow:0 0 0 3px rgba(37,99,235,.10);
}

.sf-product-gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
}

@media (max-width:640px){
  .sf-product-gallery{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* v90 — Product SEO Output Layer: stabilny widok produktu, LCP i dostępna galeria */
.sf-product-page__media{
  align-content:start;
  justify-items:stretch;
  gap:10px;
}

.sf-product-main-image{
  width:100%;
  height:auto;
  min-height:0;
  max-height:560px;
  aspect-ratio:auto;
  object-fit:contain;
}

.sf-product-gallery{
  width:100%;
}

.sf-product-gallery button{
  min-width:0;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.sf-product-gallery button:focus-visible{
  outline:3px solid rgba(37,99,235,.24);
  outline-offset:2px;
}

.sf-product-gallery button:hover{
  transform:translateY(-1px);
}

.sf-product-gallery img{
  display:block;
  object-fit:contain;
  background:#fbf7ef;
}

.sf-product-page__summary h1{
  overflow-wrap:anywhere;
}

.sf-product-description{
  overflow-wrap:anywhere;
}

.sf-section{
  content-visibility:auto;
  contain-intrinsic-size:1px 420px;
}

@media (max-width:820px){
  .sf-product-main-image{
    max-height:460px;
  }
}

@media (max-width:640px){
  .sf-product-main-image{
    max-height:380px;
  }
}


/* v92 — karta produktu: miniatury zmieniają zdjęcie główne + stabilny lightbox bez przycinania */
.sf-product-page{
  grid-template-columns:minmax(320px,.95fr) minmax(0,1.05fr);
  gap:22px;
}

.sf-product-page__media{
  position:relative;
  display:grid;
  gap:12px;
  align-content:start;
  justify-items:stretch;
  min-height:0;
  padding:16px;
}

.sf-product-main-frame{
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:1 / 1;
  min-height:320px;
  max-height:620px;
  padding:0;
  overflow:hidden;
  border:1px solid #e5dccd;
  border-radius:18px;
  background:
    linear-gradient(135deg, rgba(248,250,252,.98), rgba(255,255,255,.98)),
    radial-gradient(circle at 20% 20%, rgba(37,99,235,.08), transparent 34%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86);
  cursor:zoom-in;
}

.sf-product-main-frame:focus-visible{
  outline:3px solid rgba(37,99,235,.24);
  outline-offset:3px;
}

.sf-product-main-frame:hover .sf-product-main-frame__hint,
.sf-product-main-frame:focus-visible .sf-product-main-frame__hint{
  opacity:1;
  transform:translateY(0) scale(1);
}

.sf-product-main-image{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
  border-radius:0;
  background:transparent;
}

.sf-product-main-frame__hint{
  position:absolute;
  right:12px;
  bottom:12px;
  display:inline-grid;
  place-items:center;
  width:36px;
  height:36px;
  border:1px solid rgba(203,213,225,.92);
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#1f3a2e;
  font-size:22px;
  font-weight:900;
  line-height:1;
  box-shadow:0 12px 26px rgba(20,18,15,.13);
  opacity:0;
  transform:translateY(4px) scale(.96);
  transition:opacity .16s ease, transform .16s ease, border-color .16s ease, background-color .16s ease;
  pointer-events:none;
}

.sf-product-image-caption{
  min-height:18px;
  margin:0;
  color:#665b4f;
  font-size:12px;
  line-height:1.45;
  text-align:center;
}

.sf-product-image-caption[hidden]{
  display:none;
}

.sf-product-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(72px, 1fr));
  gap:8px;
  width:100%;
  margin-top:0;
}

.sf-product-gallery button{
  display:grid;
  place-items:center;
  aspect-ratio:1 / 1;
  min-width:0;
  padding:0;
  overflow:hidden;
  border:1px solid #e5dccd;
  border-radius:12px;
  background:#fbf7ef;
  cursor:pointer;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}

.sf-product-gallery button:hover,
.sf-product-gallery button.is-active{
  border-color:#1f3a2e;
  background:#fffdf8;
  box-shadow:0 0 0 3px rgba(37,99,235,.10);
}

.sf-product-gallery button:hover{
  transform:translateY(-1px);
}

.sf-product-gallery button:focus-visible{
  outline:3px solid rgba(37,99,235,.24);
  outline-offset:2px;
}

.sf-product-gallery img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
  background:#fbf7ef;
}

.sf-product-lightbox[hidden]{
  display:none!important;
}

.sf-product-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:18px;
}

.sf-product-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(20,18,15,.80);
  backdrop-filter:blur(10px);
}

.sf-product-lightbox__dialog{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  width:min(1180px, 96vw);
  max-width:1180px;
  max-height:92vh;
}

.sf-product-lightbox__figure{
  display:grid;
  gap:10px;
  min-width:0;
  margin:0;
}

.sf-product-lightbox__stage{
  display:grid;
  place-items:center;
  width:100%;
  height:min(82vh, 780px);
  min-height:320px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  background:#fffdf8;
  box-shadow:0 28px 80px rgba(0,0,0,.34);
}

.sf-product-lightbox__stage img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
}

.sf-product-lightbox__caption{
  min-height:20px;
  color:#fbf7ef;
  font-size:13px;
  font-weight:700;
  line-height:1.45;
  text-align:center;
}

.sf-product-lightbox__caption[hidden]{
  display:none;
}

.sf-product-lightbox__close,
.sf-product-lightbox__nav{
  display:inline-grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.94);
  color:#1f3a2e;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  cursor:pointer;
}

.sf-product-lightbox__close{
  position:absolute;
  top:-14px;
  right:-10px;
  z-index:3;
  width:42px;
  height:42px;
  border-radius:999px;
  font-size:26px;
  font-weight:700;
  line-height:1;
}

.sf-product-lightbox__nav{
  width:46px;
  height:58px;
  border-radius:16px;
  font-size:38px;
  font-weight:500;
  line-height:1;
}

.sf-product-lightbox__nav[hidden]{
  display:none;
}

.sf-product-lightbox__close:focus-visible,
.sf-product-lightbox__nav:focus-visible{
  outline:3px solid rgba(191,219,254,.9);
  outline-offset:3px;
}

.sf-product-lightbox__counter{
  position:absolute;
  left:50%;
  bottom:-38px;
  transform:translateX(-50%);
  display:inline-flex;
  min-height:28px;
  align-items:center;
  padding:5px 11px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(20,18,15,.70);
  color:#fffdf8;
  font-size:12px;
  font-weight:900;
}

.sf-product-lightbox-open{
  overflow:hidden;
}

@media (max-width:920px){
  .sf-product-page{
    grid-template-columns:1fr;
  }

  .sf-product-page__media{
    padding:12px;
  }

  .sf-product-main-frame{
    min-height:280px;
    max-height:none;
  }
}

@media (max-width:640px){
  .sf-product-main-frame{
    min-height:240px;
    border-radius:16px;
  }

  .sf-product-main-frame__hint{
    width:34px;
    height:34px;
    font-size:20px;
    opacity:1;
  }

  .sf-product-gallery{
    grid-template-columns:repeat(4, minmax(0,1fr));
  }

  .sf-product-lightbox{
    padding:10px;
  }

  .sf-product-lightbox__dialog{
    grid-template-columns:1fr;
    gap:8px;
    width:100%;
    max-height:100%;
  }

  .sf-product-lightbox__stage{
    height:78vh;
    min-height:260px;
    border-radius:18px;
  }

  .sf-product-lightbox__nav{
    position:absolute;
    z-index:2;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:52px;
    border-radius:14px;
    font-size:32px;
  }

  .sf-product-lightbox__nav--prev{
    left:8px;
  }

  .sf-product-lightbox__nav--next{
    right:8px;
  }

  .sf-product-lightbox__close{
    top:8px;
    right:8px;
  }

  .sf-product-lightbox__counter{
    bottom:10px;
  }
}


/* v93 — lightbox: pełne dopasowanie zdjęcia do okna bez przycinania */
.sf-product-lightbox{
  padding:clamp(8px, 2vw, 24px);
}

.sf-product-lightbox__dialog{
  width:min(1180px, 96vw) !important;
  height:min(900px, 94vh) !important;
  max-width:96vw !important;
  max-height:94vh !important;
  min-width:0 !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-columns:48px minmax(0,1fr) 48px !important;
  align-items:center !important;
}

.sf-product-lightbox__figure{
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-rows:minmax(0,1fr) auto !important;
}

.sf-product-lightbox__stage{
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  display:grid !important;
  place-items:center !important;
  overflow:hidden !important;
}

.sf-product-lightbox__stage img,
.sf-product-lightbox img[data-gallery-modal-image]{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
}

@media (max-width:640px){
  .sf-product-lightbox__dialog{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    grid-template-columns:1fr !important;
  }
}


/* v94 — Storefront Category & Product Listing Layer */
.sf-category-layout{
  width:min(1240px, 100%);
}

.sf-hero--category{
  height:380px;
  min-height:380px;
  max-height:380px;
  overflow:hidden;
  padding:clamp(18px, 2.6vw, 28px);
}

.sf-category-hero__content{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}

.sf-category-count{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:6px 12px;
  border:1px solid #e5dccd;
  border-radius:999px;
  background:#fffdf8;
  color:#3a3128;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}

.sf-section--compact{
  margin-top:14px;
}

.sf-category-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.sf-category-chips a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 11px;
  border:1px solid #e5dccd;
  border-radius:999px;
  background:#fffdf8;
  color:#3a3128;
  font-size:13px;
  font-weight:850;
  box-shadow:0 8px 18px rgba(20,18,15,.04);
}

.sf-category-chips a:hover{
  border-color:#d6c4a2;
  color:#1f3a2e;
  text-decoration:none;
}

.sf-product-listing{
  display:grid;
  gap:12px;
}

.sf-listing-toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding:14px;
  border:1px solid #e5dccd;
  border-radius:18px;
  background:#fffdf8;
  box-shadow:0 10px 26px rgba(20,18,15,.045);
}

.sf-listing-toolbar h2{
  margin:0;
  color:#1f3a2e;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.03em;
}

.sf-listing-toolbar p{
  margin:4px 0 0;
  color:#665b4f;
  font-size:13px;
}

.sf-listing-sort{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  justify-content:flex-end;
  gap:8px;
}

.sf-listing-sort label,
.sf-filters label{
  display:grid;
  gap:4px;
  color:#665b4f;
  font-size:11px;
  font-weight:900;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.sf-listing-sort select,
.sf-filters input[type="search"],
.sf-filters input[type="number"],
.sf-filters select{
  width:100%;
  min-height:38px;
  border:1px solid #e5dccd;
  border-radius:11px;
  background:#fffdf8;
  color:#1f3a2e;
  font:750 13px/1.2 inherit;
  outline:none;
}

.sf-listing-sort select,
.sf-filters select{
  padding:0 34px 0 10px;
}

.sf-filters input[type="search"],
.sf-filters input[type="number"]{
  padding:0 10px;
}

.sf-listing-sort select:focus,
.sf-filters input:focus,
.sf-filters select:focus{
  border-color:#1f3a2e;
  box-shadow:0 0 0 3px rgba(37,99,235,.10);
}

.sf-filters{
  display:grid;
  grid-template-columns:minmax(220px,1.4fr) repeat(3, minmax(130px,.7fr)) auto auto;
  gap:10px;
  align-items:end;
  padding:14px;
  border:1px solid #e5dccd;
  border-radius:18px;
  background:#fbf7ef;
}

.sf-filters__search{
  min-width:0;
}

.sf-filters__check{
  display:flex!important;
  flex-direction:row;
  align-items:center;
  gap:8px!important;
  min-height:38px;
  padding:0 10px;
  border:1px solid #e5dccd;
  border-radius:11px;
  background:#fffdf8;
  color:#3a3128!important;
  font-size:12px!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap;
}

.sf-filters__check input{
  width:16px;
  height:16px;
  margin:0;
  accent-color:#1f3a2e;
}

.sf-filters__actions{
  display:flex;
  gap:8px;
  align-items:center;
}

.sf-filters__actions .sf-button{
  min-height:38px;
  padding-inline:13px;
  border-radius:11px;
  white-space:nowrap;
}

.sf-product-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  align-items:stretch;
}

.sf-product-tile{
  position:relative;
  display:grid;
  grid-template-rows:auto 1fr;
  min-width:0;
  overflow:hidden;
  border:1px solid #e5dccd;
  border-radius:18px;
  background:#fffdf8;
  box-shadow:0 12px 28px rgba(20,18,15,.055);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.sf-product-tile:hover{
  transform:translateY(-2px);
  border-color:#d6c4a2;
  box-shadow:0 18px 42px rgba(20,18,15,.085);
}

.sf-product-tile__image{
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:1 / 1;
  overflow:hidden;
  border-bottom:1px solid #e5dccd;
  background:linear-gradient(180deg,#fbf7ef 0%,#eef2f7 100%);
  color:#8b7e6f;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
}

.sf-product-tile__image:hover{
  text-decoration:none;
}

.sf-product-tile__image img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
  transition:transform .2s ease;
}

.sf-product-tile:hover .sf-product-tile__image img{
  transform:scale(1.025);
}

.sf-product-tile__promo{
  position:absolute;
  left:10px;
  top:10px;
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 8px;
  border-radius:999px;
  background:#9a2134;
  color:#fffdf8;
  font-size:11px;
  font-weight:950;
  line-height:1;
  box-shadow:0 8px 18px rgba(220,38,38,.18);
}

.sf-product-tile__body{
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:8px;
  min-width:0;
  padding:12px;
}

.sf-product-tile__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
  min-width:0;
  color:#665b4f;
  font-size:11px;
  font-weight:850;
}

.sf-product-tile__meta > span:last-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.sf-product-tile__status{
  display:inline-flex;
  flex:0 0 auto;
  min-height:22px;
  align-items:center;
  padding:3px 7px;
  border-radius:999px;
  font-size:10.5px;
  font-weight:950;
  line-height:1;
}

.sf-product-tile__status.is-in{
  background:#eef7f1;
  color:#166534;
}

.sf-product-tile__status.is-order{
  background:#fff4df;
  color:#7a4a20;
}

.sf-product-tile__status.is-out{
  background:#fff0ef;
  color:#9a2134;
}

.sf-product-tile h3{
  min-width:0;
  margin:0;
  color:#1f3a2e;
  font-size:15px;
  line-height:1.28;
  letter-spacing:-.02em;
}

.sf-product-tile h3 a{
  display:-webkit-box;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  color:inherit;
  text-decoration:none;
}

.sf-product-tile h3 a:hover{
  color:#1f3a2e;
}

.sf-product-tile p{
  display:-webkit-box;
  min-height:38px;
  margin:0;
  overflow:hidden;
  color:#665b4f;
  font-size:12.5px;
  line-height:1.5;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.sf-product-tile__footer{
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px 8px;
  align-items:end;
  min-width:0;
  padding-top:4px;
}

.sf-product-tile__footer .sf-price{
  margin:0;
  color:#1f3a2e;
  font-size:17px;
  font-weight:950;
  line-height:1.1;
  letter-spacing:-.03em;
}

.sf-product-tile__regular{
  color:#8b7e6f;
  font-size:12px;
  font-weight:800;
  text-decoration:line-through;
}

.sf-product-tile__footer .sf-link{
  grid-row:1 / span 2;
  grid-column:2;
  align-self:center;
  min-height:34px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0 11px;
  border:1px solid #e5dccd;
  border-radius:11px;
  background:#fffdf8;
  color:#1f3a2e;
  font-size:12px;
  font-weight:950;
  text-decoration:none;
}

.sf-product-tile__footer .sf-link:hover{
  border-color:#d6c4a2;
  background:#f3ecdd;
}

.sf-empty-state{
  display:grid;
  gap:8px;
  justify-items:start;
  padding:20px;
}

.sf-empty-state strong{
  color:#1f3a2e;
  font-size:18px;
  line-height:1.2;
}

.sf-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:4px;
}

.sf-pagination a,
.sf-pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 13px;
  border:1px solid #e5dccd;
  border-radius:999px;
  background:#fffdf8;
  color:#3a3128;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}

.sf-pagination a:hover{
  border-color:#d6c4a2;
  color:#1f3a2e;
}

.sf-pagination .is-disabled{
  opacity:.45;
  pointer-events:none;
}

@media (max-width:1120px){
  .sf-filters{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }

  .sf-filters__search{
    grid-column:1 / -1;
  }

  .sf-product-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width:820px){
  .sf-category-hero__content,
  .sf-listing-toolbar{
    align-items:stretch;
    flex-direction:column;
  }

  .sf-category-count{
    width:max-content;
  }

  .sf-listing-sort{
    justify-content:stretch;
  }

  .sf-listing-sort label{
    flex:1 1 180px;
  }

  .sf-filters{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .sf-filters__search,
  .sf-filters__actions{
    grid-column:1 / -1;
  }

  .sf-product-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }
}

@media (max-width:560px){
  .sf-filters{
    grid-template-columns:1fr;
    padding:12px;
  }

  .sf-filters__search,
  .sf-filters__actions{
    grid-column:auto;
  }

  .sf-filters__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .sf-product-grid{
    gap:9px;
  }

  .sf-product-tile{
    border-radius:15px;
  }

  .sf-product-tile__body{
    padding:10px;
  }

  .sf-product-tile__meta{
    display:grid;
    justify-content:start;
    gap:5px;
  }

  .sf-product-tile p{
    display:none;
  }

  .sf-product-tile__footer{
    grid-template-columns:1fr;
  }

  .sf-product-tile__footer .sf-link{
    grid-column:auto;
    grid-row:auto;
    width:100%;
  }

  .sf-pagination{
    flex-wrap:wrap;
  }
}


/* v20260426home01 — dopracowana strona główna SEO/storefront */
.sf-brand--home{
  display:inline-flex;
  align-items:center;
  min-width:0;
}

.sf-brand--home img{
  display:block;
  width:auto;
  height:34px;
  max-width:210px;
  object-fit:contain;
}

.sf-home-page{
  align-content:start;
  gap:22px;
  padding-top:24px;
}

.sf-home-hero{
  height:380px;
  min-height:380px;
  max-height:380px;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);
  gap:16px;
  align-items:stretch;
  padding:clamp(18px,2.6vw,28px);
  border:1px solid var(--sf-border);
  border-radius:26px;
  background:
    radial-gradient(circle at 88% 14%, rgba(37,99,235,.10), transparent 30%),
    linear-gradient(180deg,#fffdf8 0%,#fbf7ef 100%);
  box-shadow:var(--sf-shadow);
}

.sf-home-hero__content{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.sf-home-hero h1{
  max-width:900px;
  margin:13px 0 0;
  font-size:clamp(34px,6vw,64px);
  line-height:.98;
  letter-spacing:-.055em;
}

.sf-home-hero__lead{
  max-width:760px;
  margin:16px 0 0;
  color:var(--sf-muted);
  font-size:clamp(16px,2vw,19px);
  line-height:1.65;
}

.sf-home-hero__panel{
  display:grid;
  align-content:center;
  gap:10px;
}

.sf-home-hero__panel div{
  padding:14px;
  border:1px solid rgba(203,213,225,.82);
  border-radius:16px;
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 24px rgba(20,18,15,.04);
}

.sf-home-hero__panel strong,
.sf-home-hero__panel span{
  display:block;
}

.sf-home-hero__panel strong{
  font-size:14px;
  letter-spacing:-.01em;
}

.sf-home-hero__panel span{
  margin-top:3px;
  color:var(--sf-muted);
  font-size:13px;
  line-height:1.45;
}

.sf-home-section .sf-section__head p{
  margin:4px 0 0;
  color:var(--sf-muted);
}

.sf-product-card--home{
  align-content:start;
}

.sf-product-card__image{
  display:block;
  overflow:hidden;
  border-radius:14px;
  border:1px solid #e5dccd;
  background:#fbf7ef;
  aspect-ratio:4/3;
}

.sf-product-card__image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.sf-product-card__placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:#8b7e6f;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.sf-product-card--home p{
  font-size:14px;
  line-height:1.5;
}

@media (max-width:820px){
  .sf-home-hero{
    grid-template-columns:1fr;
  }

  .sf-home-hero__panel{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:640px){
  .sf-brand--home img{
    height:30px;
    max-width:160px;
  }

  .sf-home-page{
    padding-top:14px;
  }

  .sf-home-hero{
    padding:18px;
    border-radius:18px;
  }

  .sf-home-hero__panel{
    grid-template-columns:1fr;
  }

  .sf-grid--home-products{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* v103 — koszyk storefront: link w nagłówku, formularz zakupu i strona koszyka */
.sf-cart-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 9px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:999px;
  background:#fffdf8;
  color:#1f3a2e;
  text-decoration:none;
}

.sf-cart-link span{
  display:inline-grid;
  place-items:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:#14120f;
  color:#fffdf8;
  font-size:12px;
  font-weight:900;
}

.sf-cart-link:hover,
.sf-cart-link.is-active{
  border-color:#d6c4a2;
  background:#f3ecdd;
  color:#1f3a2e;
  text-decoration:none;
}

.sf-cart-add-form{
  display:grid;
  grid-template-columns:minmax(94px,120px) minmax(180px,1fr);
  gap:10px;
  align-items:end;
}

.sf-cart-qty{
  display:grid;
  gap:5px;
}

.sf-cart-qty span{
  color:#665b4f;
  font-size:11px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.sf-cart-qty input{
  width:100%;
  min-height:44px;
  padding:0 11px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:12px;
  background:#fffdf8;
  color:#1f3a2e;
  font:850 14px/1.2 inherit;
}

.sf-cart-add-form .sf-button{
  width:100%;
  min-height:44px;
  border:none;
  cursor:pointer;
}

.sf-cart-alert{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px 12px;
  margin-bottom:14px;
  padding:12px 14px;
  border:1px solid #e5dccd;
  border-radius:14px;
  background:#fffdf8;
  color:#3a3128;
  font-size:14px;
  font-weight:750;
  box-shadow:var(--sf-shadow, 0 12px 30px rgba(20,18,15,.06));
}

.sf-cart-alert a{
  color:#1f3a2e;
  font-weight:900;
  text-decoration:none;
}

.sf-cart-alert--success{
  border-color:#cde8d3;
  background:#eef7f1;
  color:#166534;
}

.sf-cart-alert--warning{
  border-color:#ead2b5;
  background:#fff4df;
  color:#7a4a20;
}

.sf-cart-alert--error{
  border-color:#efc4c0;
  background:#fff0ef;
  color:#9a2134;
}

.sf-cart-page{
  display:grid;
  gap:16px;
}

.sf-cart-empty{
  display:grid;
  gap:10px;
  align-items:start;
}

.sf-cart-empty .sf-button{
  width:max-content;
}

.sf-cart-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,360px);
  gap:16px;
  align-items:start;
}

.sf-cart-items{
  display:grid;
  gap:10px;
}

.sf-cart-item{
  display:grid;
  grid-template-columns:96px minmax(0,1fr) minmax(132px,160px);
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:18px;
  background:#fffdf8;
  box-shadow:var(--sf-shadow, 0 12px 30px rgba(20,18,15,.06));
}

.sf-cart-item__image{
  display:grid;
  place-items:center;
  width:96px;
  aspect-ratio:1;
  overflow:hidden;
  border:1px solid #e5dccd;
  border-radius:14px;
  background:#fbf7ef;
  color:#8b7e6f;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.sf-cart-item__image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.sf-cart-item__body{
  min-width:0;
  display:grid;
  gap:6px;
}

.sf-cart-item__body h2{
  margin:0;
  font-size:16px;
  line-height:1.25;
  letter-spacing:-.02em;
}

.sf-cart-item__body h2 a{
  text-decoration:none;
}

.sf-cart-item__meta,
.sf-cart-item__price{
  display:flex;
  flex-wrap:wrap;
  gap:6px 10px;
  color:#665b4f;
  font-size:12px;
}

.sf-cart-item__price strong{
  color:#1f3a2e;
}

.sf-cart-item__actions{
  display:grid;
  gap:8px;
}

.sf-cart-item__actions label{
  display:grid;
  gap:5px;
}

.sf-cart-item__actions label span{
  color:#665b4f;
  font-size:11px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.sf-cart-item__actions input{
  width:100%;
  min-height:40px;
  padding:0 10px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:11px;
  background:#fffdf8;
  color:#1f3a2e;
  font:850 14px/1.2 inherit;
}

.sf-cart-item__actions .sf-button{
  min-height:38px;
  cursor:pointer;
}

.sf-cart-summary{
  position:sticky;
  top:78px;
  display:grid;
  gap:12px;
  padding:16px;
  border:1px solid var(--sf-border, rgba(39,34,28,.12));
  border-radius:20px;
  background:#fffdf8;
  box-shadow:var(--sf-shadow, 0 12px 30px rgba(20,18,15,.06));
}

.sf-cart-summary h2{
  margin:0;
  font-size:21px;
  letter-spacing:-.03em;
}

.sf-cart-summary dl{
  display:grid;
  gap:8px;
  margin:0;
}

.sf-cart-summary dl div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#665b4f;
  font-size:13px;
}

.sf-cart-summary dt,
.sf-cart-summary dd{
  margin:0;
}

.sf-cart-summary dd{
  color:#1f3a2e;
  font-weight:850;
}

.sf-cart-summary__total{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-top:12px;
  border-top:1px solid #e5dccd;
}

.sf-cart-summary__total span{
  color:#665b4f;
  font-size:13px;
}

.sf-cart-summary__total strong{
  font-size:23px;
  line-height:1;
  letter-spacing:-.04em;
}

.sf-button--wide{
  width:100%;
}

.sf-cart-summary small{
  color:#665b4f;
  font-size:12px;
  line-height:1.45;
}

.sf-cart-summary__links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.sf-cart-summary__links form{
  margin:0;
}

.sf-cart-summary__links .sf-button{
  width:100%;
  cursor:pointer;
}

.sf-button--ghost{
  color:#9a2134;
  background:#fffdf8;
}

.sf-cart-remove-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.sf-cart-remove-list form{
  margin:0;
}

.sf-cart-remove-list button{
  min-height:34px;
  padding:0 10px;
  border:1px solid #efc4c0;
  border-radius:999px;
  background:#fff0ef;
  color:#9a2134;
  font:800 12px/1 inherit;
  cursor:pointer;
}

@media (max-width:900px){
  .sf-cart-layout{
    grid-template-columns:1fr;
  }

  .sf-cart-summary{
    position:static;
  }
}

@media (max-width:640px){
  .sf-nav{
    gap:8px;
  }

  .sf-cart-add-form{
    grid-template-columns:1fr;
  }

  .sf-cart-item{
    grid-template-columns:76px minmax(0,1fr);
    align-items:start;
  }

  .sf-cart-item__image{
    width:76px;
  }

  .sf-cart-item__actions{
    grid-column:1 / -1;
    grid-template-columns:1fr 1fr;
    align-items:end;
  }

  .sf-cart-summary__links{
    grid-template-columns:1fr;
  }
}

/* v34 — checkout i potwierdzenie zamówienia */
.sf-checkout-page,
.sf-thank-page{
  display:grid;
  gap:18px;
}

.sf-checkout-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:16px;
  align-items:start;
}

.sf-checkout-main{
  display:grid;
  gap:14px;
}

.sf-checkout-section{
  display:grid;
  gap:14px;
}

.sf-checkout-section__head{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.sf-checkout-section__head > span{
  display:inline-grid;
  place-items:center;
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-radius:11px;
  background:#14120f;
  color:#fffdf8;
  font-weight:900;
}

.sf-checkout-section__head h2,
.sf-checkout-summary h2,
.sf-thank-card h2,
.sf-thank-items h2{
  margin:0;
  font-size:21px;
  line-height:1.15;
  letter-spacing:-.03em;
}

.sf-checkout-section__head p,
.sf-checkout-summary small,
.sf-thank-card p{
  margin:4px 0 0;
  color:#665b4f;
  line-height:1.5;
}

.sf-checkout-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.sf-checkout-grid__wide{
  grid-column:1 / -1;
}

.sf-checkout-grid label,
.sf-checkout-field,
.orders-status-form label{
  display:grid;
  gap:6px;
}

.sf-checkout-grid label span,
.sf-checkout-field span,
.orders-status-form label span{
  color:#665b4f;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.sf-checkout-grid input,
.sf-checkout-field textarea,
.orders-status-form select,
.orders-status-form textarea{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid var(--sf-border,rgba(39,34,28,.12));
  border-radius:12px;
  background:#fffdf8;
  color:#1f3a2e;
  font:700 14px/1.35 inherit;
  outline:none;
}

.sf-checkout-field textarea,
.orders-status-form textarea{
  min-height:92px;
  resize:vertical;
}

.sf-choice-grid{
  display:grid;
  gap:8px;
}

.sf-choice-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:10px;
  align-items:start;
  padding:12px;
  border:1px solid var(--sf-border,rgba(39,34,28,.12));
  border-radius:15px;
  background:#fffdf8;
  cursor:pointer;
}

.sf-choice-card:has(input:checked){
  border-color:#1f3a2e;
  background:#f3ecdd;
}

.sf-choice-card input{
  margin-top:4px;
}

.sf-choice-card strong{
  display:block;
  line-height:1.25;
}

.sf-choice-card small{
  display:block;
  margin-top:3px;
  color:#665b4f;
  line-height:1.4;
}

.sf-choice-card em{
  font-style:normal;
  font-weight:900;
  white-space:nowrap;
}

.sf-checkout-toggle,
.sf-checkout-consents label{
  display:flex;
  align-items:flex-start;
  gap:9px;
  color:#3a3128;
  font-weight:800;
}

.sf-checkout-summary{
  position:sticky;
  top:78px;
  display:grid;
  gap:12px;
  padding:16px;
  border:1px solid var(--sf-border,rgba(39,34,28,.12));
  border-radius:20px;
  background:#fffdf8;
  box-shadow:var(--sf-shadow,0 12px 30px rgba(20,18,15,.06));
}

.sf-checkout-summary__items{
  display:grid;
  gap:8px;
  max-height:280px;
  overflow:auto;
  padding-right:2px;
}

.sf-checkout-summary__item{
  display:grid;
  gap:2px;
  padding-bottom:8px;
  border-bottom:1px solid #e5dccd;
}

.sf-checkout-summary__item span{
  color:#3a3128;
  font-size:13px;
  font-weight:800;
  line-height:1.35;
}

.sf-checkout-summary__item strong{
  color:#665b4f;
  font-size:12px;
}

.sf-checkout-summary dl,
.sf-order-facts{
  display:grid;
  gap:8px;
  margin:0;
}

.sf-checkout-summary dl div,
.sf-order-facts div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#665b4f;
  font-size:13px;
}

.sf-checkout-summary dt,
.sf-checkout-summary dd,
.sf-order-facts dt,
.sf-order-facts dd{
  margin:0;
}

.sf-checkout-summary dd,
.sf-order-facts dd{
  color:#1f3a2e;
  font-weight:900;
}

.sf-checkout-summary__total,
.sf-order-facts__total{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-top:12px;
  border-top:1px solid #e5dccd;
}

.sf-checkout-summary__total strong,
.sf-order-facts__total dd{
  font-size:23px;
  letter-spacing:-.04em;
}

.sf-cart-alert ul{
  margin:8px 0 0;
  padding-left:18px;
}

.sf-thank-hero{
  position:relative;
  overflow:hidden;
}

.sf-thank-badge{
  display:inline-flex;
  margin-top:12px;
  padding:5px 10px;
  border-radius:999px;
  background:#eef7f1;
  color:#166534;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

.sf-thank-layout,
.orders-details-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.sf-thank-card,
.sf-thank-items{
  display:grid;
  gap:12px;
}

.sf-thank-card h3{
  margin:8px 0 0;
  font-size:15px;
}

.sf-thank-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-top:1px solid #e5dccd;
}

.sf-thank-item:first-of-type{
  border-top:0;
}

.sf-thank-item div{
  display:grid;
  gap:3px;
}

.sf-thank-item span{
  color:#665b4f;
  font-size:13px;
}

.sf-thank-item div:last-child{
  text-align:right;
  white-space:nowrap;
}

.sf-thank-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

@media (max-width:980px){
  .sf-checkout-layout,
  .sf-thank-layout{
    grid-template-columns:1fr;
  }

  .sf-checkout-summary{
    position:static;
  }
}

@media (max-width:640px){
  .sf-checkout-grid,
  .orders-details-grid{
    grid-template-columns:1fr;
  }

  .sf-choice-card{
    grid-template-columns:auto minmax(0,1fr);
  }

  .sf-choice-card em{
    grid-column:2;
  }

  .sf-thank-item{
    display:grid;
  }

  .sf-thank-item div:last-child{
    text-align:left;
  }
}

/* TaskLine Store 0.4.0 — catalog mode and legal pages */
.sf-product-price--hidden strong{font-size:1.15rem;color:#1f3a2e}.sf-cart-add-form--catalog{display:grid;gap:10px;padding:14px;border:1px solid rgba(37,99,235,.16);background:rgba(37,99,235,.06);border-radius:18px}.sf-cart-add-form--catalog p{margin:0;color:#665b4f}.sf-legal-page{max-width:980px}.sf-legal-content{font-size:1rem;line-height:1.75}.sf-legal-content p{margin:0 0 1rem}.sf-button[disabled]{opacity:.55;cursor:not-allowed}

/* SEO extensions: search + blog */
.sf-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:16px}.sf-search-form label{display:grid;gap:6px}.sf-search-form span{font-size:.82rem;font-weight:700;color:#665b4f}.sf-search-form input{width:100%;border:1px solid #e5dccd;border-radius:14px;padding:12px 14px;font:inherit;background:#fffdf8}.sf-empty-state{border:1px dashed #d8cdbb;border-radius:18px;background:#fbf7ef;padding:18px;color:#665b4f}.sf-grid--blog{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.sf-blog-card{display:flex;flex-direction:column;gap:10px}.sf-blog-card__image{display:block;aspect-ratio:16/10;border-radius:16px;overflow:hidden;background:#f2eadc}.sf-blog-card__image img{width:100%;height:100%;object-fit:cover;display:block}.sf-blog-article{max-width:920px;margin:0 auto 48px;background:#fffdf8;border:1px solid #e5dccd;border-radius:26px;padding:clamp(20px,4vw,42px);box-shadow:0 18px 50px rgba(20,18,15,.06)}.sf-blog-article__head{display:grid;gap:12px;margin-bottom:24px}.sf-blog-article__head h1{margin:0;font-size:clamp(2rem,4vw,3.4rem);line-height:1.05;letter-spacing:-.04em}.sf-blog-article__head p{font-size:1.05rem;color:#665b4f;line-height:1.7;max-width:760px}.sf-blog-article__meta{display:flex;gap:12px;flex-wrap:wrap;color:#665b4f;font-size:.9rem}.sf-blog-article__image{margin:0 0 24px;border-radius:22px;overflow:hidden;background:#f2eadc}.sf-blog-article__image img{display:block;width:100%;height:auto}.sf-blog-content{font-size:1.02rem;line-height:1.78;color:#14120f}.sf-blog-content h2,.sf-blog-content h3{line-height:1.2;letter-spacing:-.025em;color:#1f3a2e;margin:1.6em 0 .6em}.sf-blog-content p,.sf-blog-content ul,.sf-blog-content ol{margin:0 0 1em}.sf-blog-content a{color:#1f3a2e;font-weight:700;text-decoration:none}.sf-blog-content a:hover{text-decoration:underline}.sf-breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:18px 0;color:#665b4f;font-size:.9rem}.sf-breadcrumbs a{color:#3a3128;text-decoration:none;font-weight:700}@media (max-width:700px){.sf-search-form{grid-template-columns:1fr}.sf-blog-article{border-radius:18px;padding:18px}.sf-blog-article__head h1{font-size:2rem}}

.sf-choice-grid--documents{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px;}
.sf-choice-card--document{align-items:flex-start;}
.sf-choice-card--document input{margin-top:2px;}
@media (max-width: 900px){.sf-choice-grid--documents{grid-template-columns:1fr;}}


/* Cart conversion pack — etap 3 cross-sell */
.sf-cart-crosssell{display:grid;gap:18px;margin-top:18px}.sf-cart-crosssell__head{display:flex;justify-content:space-between;gap:18px;align-items:end;flex-wrap:wrap}.sf-cart-crosssell__head h2{margin:6px 0 0;font-size:clamp(1.2rem,2.4vw,1.8rem)}.sf-cart-crosssell__head p{max-width:720px;margin:0;color:#665b4f;line-height:1.65}.sf-cart-crosssell__eyebrow{display:inline-flex;padding:4px 10px;border-radius:999px;background:#f3ecdd;color:#1f3a2e;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.sf-cart-crosssell__grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.sf-cart-crosssell__card{display:grid;gap:12px;align-content:start}.sf-cart-crosssell__body{display:grid;gap:6px}.sf-cart-crosssell__body small{color:#665b4f;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.sf-cart-crosssell__body h3{margin:0}.sf-cart-crosssell__body h3 a{color:#1f3a2e;text-decoration:none}.sf-cart-crosssell__body h3 a:hover{color:#1f3a2e}.sf-cart-crosssell__price{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}.sf-cart-crosssell__price strong{font-size:1.05rem;color:#1f3a2e}.sf-cart-crosssell__price span{color:#8b7e6f;text-decoration:line-through;font-size:.95rem}.sf-cart-crosssell__actions{display:grid;gap:10px;margin-top:auto}.sf-cart-crosssell__actions form{margin:0}@media (max-width:700px){.sf-cart-crosssell__head{align-items:start}.sf-cart-crosssell__grid{grid-template-columns:1fr}}


/* 2C.2 — linkowanie marka / producent */
.sf-product-page__facets,.sf-product-card__facets,.sf-product-tile__facets{display:flex;flex-wrap:wrap;gap:8px}.sf-product-page__facets{margin:8px 0 4px}.sf-product-card__facets,.sf-product-tile__facets{margin:6px 0 2px}.sf-product-facet-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#f3ecdd;border:1px solid #d6c4a2;color:#1f3a2e;font-size:12px;font-weight:700;line-height:1.2;text-decoration:none;transition:background .18s ease,border-color .18s ease,color .18s ease}.sf-product-facet-pill:hover{background:#ebe0cb;border-color:#b8944f;color:#14120f}.sf-product-facet-pill--soft{background:#fbf7ef;border-color:#d8cdbb;color:#3a3128}.sf-product-facet-pill--soft:hover{background:#f2eadc;border-color:#8b7e6f;color:#1f3a2e}.sf-product-facet-pill.is-current{cursor:default;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(20,18,15,.04)}.sf-facet-badge{display:inline-flex;padding:8px 12px;border-radius:999px;background:#f3ecdd;color:#1f3a2e;font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.sf-product-card .sf-product-facet-pill,.sf-product-tile .sf-product-facet-pill{max-width:100%}@media (max-width:640px){.sf-product-page__facets,.sf-product-card__facets,.sf-product-tile__facets{gap:6px}}


/* 2E.1 — mini-cart polish (styling only, no logic changes) */
.sf-mini-cart{position:relative;display:flex;align-items:center;gap:8px}
.sf-mini-cart__panel[hidden]{display:none !important}
.sf-mini-cart__toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;border:1px solid #e5dccd;background:#fffdf8;color:#1f3a2e;cursor:pointer;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;box-shadow:0 8px 18px rgba(20,18,15,.05)}
.sf-mini-cart__toggle:hover{border-color:#8b7e6f;background:#fbf7ef}
.sf-mini-cart__toggle[aria-expanded="true"]{background:#f3ecdd;border-color:#d6c4a2;color:#1f3a2e}
.sf-mini-cart__toggle svg{width:18px;height:18px}
.sf-mini-cart__toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.sf-cart-link{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:12px;background:#fffdf8;border:1px solid #e5dccd;color:#1f3a2e;text-decoration:none;font-weight:800;line-height:1;box-shadow:0 10px 22px rgba(20,18,15,.06);transition:border-color .18s ease,background .18s ease,color .18s ease}
.sf-cart-link:hover{border-color:#8b7e6f;background:#fbf7ef}
.sf-cart-link.is-active{background:#f3ecdd;border-color:#d6c4a2;color:#1f3a2e}
.sf-cart-link span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#1f3a2e;color:#fffdf8;font-size:12px;font-weight:900}
.sf-mini-cart__panel{position:absolute;top:calc(100% + 12px);right:0;z-index:70;width:min(420px,calc(100vw - 20px));display:grid;gap:16px;padding:18px;border-radius:22px;border:1px solid #e5dccd;background:#fffdf8;box-shadow:0 28px 60px rgba(20,18,15,.18)}
.sf-mini-cart__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e5dccd}
.sf-mini-cart__head strong{font-size:1rem;color:#1f3a2e}
.sf-mini-cart__head span{font-size:.85rem;font-weight:700;color:#665b4f}
.sf-mini-cart__empty{display:grid;gap:12px;padding:10px 0}
.sf-mini-cart__empty p,.sf-mini-cart__note{margin:0;color:#665b4f;line-height:1.6}
.sf-mini-cart__list{display:grid;gap:12px;max-height:min(46vh,360px);overflow:auto;padding-right:4px}
.sf-mini-cart__item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:start;padding:12px;border:1px solid #eef2f7;border-radius:18px;background:#fffdf8}
.sf-mini-cart__image{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#f2eadc;color:#665b4f;font-size:.75rem;font-weight:700;text-decoration:none}
.sf-mini-cart__image img{display:block;width:100%;height:100%;object-fit:cover}
.sf-mini-cart__content{display:grid;gap:6px;min-width:0}
.sf-mini-cart__name{color:#1f3a2e;text-decoration:none;font-weight:800;line-height:1.35}
.sf-mini-cart__name:hover{color:#1f3a2e}
.sf-mini-cart__content small{color:#665b4f;font-size:.82rem;line-height:1.4}
.sf-mini-cart__meta{display:flex;flex-wrap:wrap;gap:8px;font-size:.86rem;color:#3a3128;font-weight:700}
.sf-mini-cart__summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:18px;background:#fbf7ef;border:1px solid #e5dccd}
.sf-mini-cart__summary span{color:#665b4f;font-weight:700}
.sf-mini-cart__summary strong{font-size:1.05rem;color:#1f3a2e}
.sf-mini-cart__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sf-mini-cart__actions .sf-button{justify-content:center}
.sf-free-shipping-card--mini{padding:14px 16px;border-radius:18px}
.sf-free-shipping-card--mini p{margin:0;color:#665b4f;line-height:1.55}
.sf-free-shipping-card--mini .sf-free-shipping-card__head{padding:0;border:0}
.sf-mini-cart__coupon,.sf-mini-cart__coupon-state{display:grid;gap:10px;padding:14px 16px;border:1px solid #e5dccd;border-radius:18px;background:#fbf7ef}
.sf-mini-cart__coupon label{display:grid;gap:6px}
.sf-mini-cart__coupon span,.sf-mini-cart__coupon-state span{font-size:.78rem;font-weight:800;color:#665b4f;text-transform:uppercase;letter-spacing:.06em}
.sf-mini-cart__coupon-row,.sf-mini-cart__coupon-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.sf-mini-cart__coupon input{width:100%;border:1px solid #d8cdbb;border-radius:12px;padding:11px 12px;font:inherit;background:#fffdf8}
.sf-mini-cart__coupon input:focus{outline:none;border-color:#b8944f;box-shadow:0 0 0 3px rgba(184,148,79,.18)}
.sf-mini-cart__coupon-state strong{color:#1f3a2e;font-size:.98rem}
.sf-mini-cart__coupon-note,.sf-mini-cart__coupon-error,.sf-mini-cart__coupon-hint{margin:0;font-size:.84rem;line-height:1.5}
.sf-mini-cart__coupon-note,.sf-mini-cart__coupon-hint{color:#665b4f}
.sf-mini-cart__coupon-error{color:#9a2134;font-weight:700}
.sf-mini-cart__coupon-discount{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px;color:#166534;font-weight:800}
.sf-mini-cart__coupon-remove{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;border:1px solid #efc4c0;background:#fff5f5;color:#9a2134;text-decoration:none;font-weight:800}
.sf-mini-cart__coupon-remove:hover{background:#f9e7e5}
@media (max-width:700px){.sf-mini-cart__panel{right:-6px;width:min(400px,calc(100vw - 16px));padding:16px;border-radius:18px}.sf-mini-cart__actions{grid-template-columns:1fr}.sf-mini-cart__coupon-row,.sf-mini-cart__coupon-actions{grid-template-columns:1fr}.sf-mini-cart__item{grid-template-columns:62px minmax(0,1fr)}}

/* Etap 3B — checkout UX: błędy sekcji i czytelniejszy wybór */
.sf-checkout-section,
.sf-checkout-summary{
  scroll-margin-top:92px;
}

.sf-checkout-grid select,
.sf-checkout-field select{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid var(--sf-border,rgba(39,34,28,.12));
  border-radius:12px;
  background:#fffdf8;
  color:#1f3a2e;
  font:700 14px/1.35 inherit;
  outline:none;
}

.sf-checkout-section--error,
.sf-checkout-summary.sf-checkout-section--error{
  border-color:#efc4c0 !important;
  box-shadow:0 14px 32px rgba(185,28,28,.08);
}

.sf-checkout-section--error .sf-checkout-section__head > span{
  background:#9a2134;
}

.sf-checkout-section__issue{
  display:inline-flex;
  width:max-content;
  margin-top:8px;
  padding:4px 9px;
  border-radius:999px;
  background:#fff0ef;
  color:#9a2134;
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.sf-checkout-errors p{
  margin:6px 0 0;
  color:#6f1e2b;
  font-weight:700;
}

.sf-checkout-errors__groups{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}

.sf-checkout-errors__group{
  padding:10px 12px;
  border:1px solid rgba(185,28,28,.18);
  border-radius:14px;
  background:rgba(255,255,255,.78);
}

.sf-checkout-errors__group a{
  color:#9a2134;
  font-weight:900;
  text-decoration:none;
}

.sf-checkout-errors__group a:hover{
  text-decoration:underline;
}

.sf-checkout-errors__group ul{
  margin:7px 0 0;
  padding-left:18px;
}

.sf-checkout-help{
  display:grid;
  gap:4px;
  padding:12px;
  border:1px solid rgba(37,99,235,.14);
  border-radius:15px;
  background:rgba(239,246,255,.72);
  color:#3a3128;
}

.sf-checkout-help strong{
  color:#1f3a2e;
}

.sf-checkout-help span{
  color:#665b4f;
  line-height:1.45;
}

@media (max-width:640px){
  .sf-checkout-errors__groups{
    grid-template-columns:1fr;
  }

  .sf-checkout-section__head{
    gap:10px;
  }

  .sf-checkout-section__issue{
    width:100%;
    justify-content:center;
  }
}

/* Etap 4A — wspólne karty produktu i modal produktów powiązanych */
.sf-product-tile__placeholder{display:grid;place-items:center;width:100%;height:100%;min-height:160px;color:#8b7e6f;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:linear-gradient(135deg,#fbf7ef,#eef2f7)}
.sf-product-tile--search,.sf-product-tile--related,.sf-product-tile--related-modal{min-height:100%}
.sf-product-tile--related .sf-product-tile__image,.sf-product-tile--related-modal .sf-product-tile__image{min-height:178px}
.sf-related-products{position:relative}.sf-related-products__head{align-items:flex-end}.sf-related-products__more{white-space:nowrap}.sf-related-products__grid{margin-top:6px}.sf-related-modal[hidden]{display:none}.sf-related-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:22px}.sf-related-modal__backdrop{position:absolute;inset:0;background:rgba(20,18,15,.52);backdrop-filter:blur(6px)}.sf-related-modal__panel{position:relative;z-index:1;width:min(1040px,calc(100vw - 28px));max-height:min(820px,calc(100vh - 28px));overflow:auto;border:1px solid rgba(226,232,240,.88);border-radius:26px;background:#fffdf8;box-shadow:0 30px 90px rgba(20,18,15,.28)}.sf-related-modal__head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px 20px;border-bottom:1px solid #e5dccd;background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}.sf-related-modal__head h2{margin:4px 0 4px;font-size:clamp(1.25rem,2.4vw,1.85rem);letter-spacing:-.04em}.sf-related-modal__head p{margin:0;color:#665b4f}.sf-related-modal__eyebrow{display:inline-flex;padding:4px 10px;border-radius:999px;background:#f3ecdd;color:#1f3a2e;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.sf-related-modal__close{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border:1px solid #e5dccd;border-radius:999px;background:#fffdf8;color:#1f3a2e;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 10px 28px rgba(20,18,15,.08)}.sf-related-modal__close:hover{border-color:#d8cdbb;background:#fbf7ef}.sf-related-modal__grid{padding:20px}.sf-related-modal-open{overflow:hidden}@media(max-width:760px){.sf-related-products__head{align-items:flex-start}.sf-related-products__more{width:100%;justify-content:center}.sf-related-modal{padding:10px;place-items:end center}.sf-related-modal__panel{width:100%;max-height:92vh;border-radius:22px 22px 0 0}.sf-related-modal__head{padding:16px}.sf-related-modal__grid{grid-template-columns:1fr;padding:16px}.sf-product-tile--related .sf-product-tile__image,.sf-product-tile--related-modal .sf-product-tile__image{min-height:190px}}

/* v4C2 — poprawka podglądu zdjęcia produktu: modal wyśrodkowany, bez wąskiego pionowego kadru */
.sf-product-lightbox[hidden]{
  display:none !important;
}

.sf-product-lightbox{
  position:fixed !important;
  inset:0 !important;
  z-index:9999 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:clamp(12px, 2vw, 24px) !important;
  box-sizing:border-box !important;
}

.sf-product-lightbox__dialog{
  position:relative !important;
  z-index:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:min(1040px, calc(100vw - 48px)) !important;
  height:min(780px, calc(100vh - 56px)) !important;
  max-width:calc(100vw - 48px) !important;
  max-height:calc(100vh - 56px) !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 58px !important;
  box-sizing:border-box !important;
}

.sf-product-lightbox__figure{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  max-width:900px !important;
  height:100% !important;
  max-height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

.sf-product-lightbox__stage{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:auto !important;
  max-height:calc(100vh - 132px) !important;
  min-width:0 !important;
  min-height:0 !important;
  aspect-ratio:4 / 3 !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:20px !important;
  background:#fffdf8 !important;
  box-shadow:0 28px 80px rgba(0,0,0,.34) !important;
  box-sizing:border-box !important;
}

.sf-product-lightbox__stage img,
.sf-product-lightbox img[data-gallery-modal-image]{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:transparent !important;
}

.sf-product-lightbox__caption{
  width:100% !important;
  max-width:900px !important;
  margin-top:10px !important;
  color:#fffdf8 !important;
  text-align:center !important;
}

.sf-product-lightbox__nav{
  position:absolute !important;
  z-index:3 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:42px !important;
  height:56px !important;
  border-radius:14px !important;
}

.sf-product-lightbox__nav--prev{
  left:4px !important;
}

.sf-product-lightbox__nav--next{
  right:4px !important;
}

.sf-product-lightbox__close{
  position:absolute !important;
  top:-10px !important;
  right:-10px !important;
  z-index:4 !important;
}

.sf-product-lightbox__counter{
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  bottom:-38px !important;
  transform:translateX(-50%) !important;
  z-index:3 !important;
}

@media (max-width:640px){
  .sf-product-lightbox{
    padding:10px !important;
  }

  .sf-product-lightbox__dialog{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    padding:0 !important;
  }

  .sf-product-lightbox__figure{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    padding:54px 0 42px !important;
  }

  .sf-product-lightbox__stage{
    width:100% !important;
    height:100% !important;
    max-height:none !important;
    aspect-ratio:auto !important;
    border-radius:18px !important;
  }

  .sf-product-lightbox__caption{
    position:absolute !important;
    left:12px !important;
    right:12px !important;
    bottom:10px !important;
    width:auto !important;
    margin:0 !important;
  }

  .sf-product-lightbox__close{
    top:10px !important;
    right:10px !important;
  }

  .sf-product-lightbox__nav--prev{
    left:8px !important;
  }

  .sf-product-lightbox__nav--next{
    right:8px !important;
  }

  .sf-product-lightbox__counter{
    bottom:10px !important;
  }
}


/* v20260517stage4d01 — compact premium category/search listings */
.sf-category-index .sf-hero--compact,
.sf-category-layout .sf-hero--category{
  height:380px;
  min-height:380px;
  max-height:380px;
  overflow:hidden;
  padding:clamp(18px,2.6vw,28px);
  border-radius:22px;
}

.sf-category-layout .sf-breadcrumbs{
  margin:0 0 12px;
  font-size:12.5px;
}

.sf-category-hero__content h1,
.sf-search-hero h1{
  margin:0;
  max-width:780px;
  color:#14120f;
  font-size:clamp(1.9rem,3.4vw,3.1rem);
  line-height:1.04;
  letter-spacing:-.045em;
}

.sf-category-hero__content p,
.sf-search-hero p{
  max-width:720px;
  margin:8px 0 0;
  color:#665b4f;
  font-size:clamp(.94rem,1.4vw,1.03rem);
  line-height:1.55;
}

.sf-category-hero__side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

.sf-category-cover{
  width:112px;
  height:86px;
  object-fit:cover;
  border:1px solid #e5dccd;
  border-radius:16px;
  background:#fbf7ef;
  box-shadow:0 10px 24px rgba(20,18,15,.06);
}

.sf-category-count,
.sf-facet-badge{
  box-shadow:0 8px 20px rgba(20,18,15,.045);
}

.sf-listing-toolbar{
  position:relative;
  padding:12px 14px;
  border-radius:16px;
}

.sf-listing-toolbar h2{
  font-size:20px;
}

.sf-listing-sort{
  gap:7px;
}

.sf-listing-sort label,
.sf-filters label{
  font-size:10.5px;
}

.sf-listing-sort select,
.sf-filters input[type="search"],
.sf-filters input[type="number"],
.sf-filters select{
  min-height:36px;
  border-radius:10px;
  font-size:13px;
}

.sf-filters{
  grid-template-columns:minmax(210px,1.25fr) minmax(126px,.65fr) repeat(2,minmax(104px,.5fr)) minmax(138px,.55fr) auto;
  gap:8px;
  padding:12px;
  border-radius:16px;
  background:linear-gradient(180deg,#fbf7ef 0%,#f8f4ec 100%);
}

.sf-filters__check{
  min-height:36px;
  border-radius:10px;
}

.sf-filters__actions .sf-button{
  min-height:36px;
  border-radius:10px;
}

.sf-active-filters{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-top:-2px;
  padding:0 2px;
  color:#665b4f;
  font-size:12px;
  font-weight:800;
}

.sf-active-filters a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:4px 9px;
  border:1px solid #e5dccd;
  border-radius:999px;
  background:#fffdf8;
  color:#1f3a2e;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}

.sf-active-filters a:hover{
  border-color:#d6c4a2;
  background:#f3ecdd;
}

.sf-active-filters__clear{
  color:#665b4f!important;
  background:#fbf7ef!important;
}

.sf-product-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.sf-product-tile{
  border-radius:16px;
  box-shadow:0 10px 24px rgba(20,18,15,.05);
}

.sf-product-tile__image{
  aspect-ratio:1 / .86;
  background:linear-gradient(180deg,#fffdf8 0%,#f2eadc 100%);
}

.sf-product-tile__body{
  gap:7px;
  padding:11px;
}

.sf-product-tile__facets{
  gap:5px;
  margin:2px 0 0;
}

.sf-product-tile .sf-product-facet-pill{
  padding:4px 7px;
  font-size:10.5px;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.sf-product-tile h3{
  font-size:14.5px;
}

.sf-product-tile__footer .sf-price{
  font-size:16px;
}

.sf-product-tile__footer .sf-link{
  min-height:32px;
  border-radius:10px;
  font-size:11.5px;
}

.sf-category-index .sf-grid--categories{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.sf-category-index .sf-category-card{
  min-height:118px;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(20,18,15,.05);
}

.sf-category-index .sf-category-card h2{
  font-size:17px;
}

.sf-category-index .sf-category-card p{
  font-size:13px;
  line-height:1.45;
}

.sf-search-form--compact{
  max-width:820px;
  margin-top:14px;
}

.sf-search-page .sf-listing-toolbar{
  align-items:center;
}

@media (max-width:1120px){
  .sf-filters{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .sf-filters__search,
  .sf-filters__actions{
    grid-column:1 / -1;
  }

  .sf-category-index .sf-grid--categories{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:820px){
  .sf-hero,
  .sf-hero--compact,
  .sf-hero--category,
  .sf-home-hero{
    height:340px;
    min-height:340px;
    max-height:340px;
    overflow:hidden;
  }

  .sf-category-hero__side{
    align-items:flex-start;
  }

  .sf-category-cover{
    width:100%;
    max-width:220px;
    height:92px;
  }

  .sf-listing-toolbar,
  .sf-search-page .sf-listing-toolbar{
    align-items:stretch;
  }

  .sf-listing-toolbar .sf-button{
    width:100%;
    justify-content:center;
  }

  .sf-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .sf-category-index .sf-grid--categories{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:560px){
  .sf-category-index .sf-hero--compact,
  .sf-category-layout .sf-hero--category{
    height:260px;
    min-height:260px;
    max-height:260px;
    overflow:hidden;
    padding:14px;
    border-radius:17px;
  }

  .sf-category-hero__content h1,
  .sf-search-hero h1{
    font-size:1.85rem;
  }

  .sf-filters{
    gap:8px;
  }

  .sf-filters__actions{
    grid-template-columns:1fr;
  }

  .sf-product-tile__image{
    aspect-ratio:1 / .9;
  }

  .sf-product-tile__meta{
    gap:4px;
  }

  .sf-product-tile .sf-product-facet-pill{
    max-width:100%;
  }

  .sf-category-index .sf-grid--categories{
    grid-template-columns:1fr;
  }

  .sf-search-form--compact{
    grid-template-columns:1fr;
  }
}

/* etap 3 PSI — stabilniejsze renderowanie sekcji pod foldem */
@supports (content-visibility:auto){
  .sf-wrap > .sf-section:not(:first-of-type),
  .sf-product-listing,
  .sf-category-content,
  .sf-cart-crosssell,
  .sf-blog-content{
    content-visibility:auto;
    contain-intrinsic-size:1px 620px;
  }
}
