/* Dobrze Otuleni — domowe tekstylia. Paleta z logo (blush/cream + charcoal line-art). */
:root{
  --cream:#F9F1F1; --paper:#FDFAF8; --blush:#F0E1DB; --rose-100:#EAD6CE;
  --rose:#C4917C; --rose-deep:#A96F5A; --sage:#9DAB99; --oat:#E7DBC8;
  --ink:#2E2A28; --text:#4B423F; --muted:#8C7F79; --line:#E4D3CC;
  --shadow:0 18px 50px -28px rgba(74,45,38,.45);
  --shadow-sm:0 8px 24px -16px rgba(74,45,38,.4);
  --r:16px; --r-lg:26px; --maxw:1200px;
  --serif:"Fraunces",Georgia,serif; --sans:"Jost",system-ui,sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
}
*{box-sizing:border-box}
html{overflow-x:clip;scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--text);background:var(--cream);
  font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased;letter-spacing:.01em}
h1,h2,h3,h4{font-family:var(--serif);color:var(--ink);font-weight:500;line-height:1.12;
  letter-spacing:-.01em;margin:0 0 .5em}
h1{font-size:clamp(2.4rem,6vw,4.3rem);font-weight:400}
h2{font-size:clamp(1.9rem,3.6vw,2.9rem)}
h3{font-size:1.4rem}
p{margin:0 0 1rem}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{width:min(100% - 2.4rem,var(--maxw));margin-inline:auto}
.eyebrow{font-family:var(--sans);text-transform:uppercase;letter-spacing:.28em;
  font-size:.72rem;font-weight:500;color:var(--rose-deep);margin:0 0 1rem}
.lead{font-size:1.12rem;color:var(--text)}
.center{text-align:center}
section{padding:clamp(3.5rem,7vw,6.5rem) 0}
.muted{color:var(--muted)}

/* focus + skip */
:focus-visible{outline:2.5px solid var(--rose-deep);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:.7rem 1.1rem;
  border-radius:0 0 10px 0;z-index:200}
.skip:focus{left:0}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.55rem;font-family:var(--sans);font-weight:500;
  font-size:.95rem;letter-spacing:.02em;padding:.85rem 1.6rem;border-radius:100px;cursor:pointer;
  border:1.5px solid var(--ink);background:var(--ink);color:var(--cream);transition:.35s var(--ease);
  line-height:1}
.btn:hover{background:transparent;color:var(--ink);transform:translateY(-2px)}
.btn--ghost{background:transparent;color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:var(--cream)}
.btn--rose{background:var(--rose-deep);border-color:var(--rose-deep);color:#fff}
.btn--rose:hover{background:transparent;color:var(--rose-deep)}
.btn--sm{padding:.6rem 1.15rem;font-size:.85rem}
.btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}

/* ---------- demo banner ---------- */
.demobar{background:var(--ink);color:var(--cream);text-align:center;font-size:.82rem;
  letter-spacing:.08em;padding:.5rem 1rem;font-weight:400}
.demobar b{color:var(--rose-100);font-weight:600;letter-spacing:.12em}

/* ---------- nav ---------- */
.nav{position:sticky;top:0;z-index:100;background:rgba(249,241,241,.82);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav__in{display:flex;align-items:center;gap:1.4rem;padding:.6rem 0;min-height:66px}
.brand{display:flex;align-items:center;gap:.7rem;margin-right:auto}
.brand img{height:46px;width:auto;border-radius:8px}
.brand__txt{font-family:var(--serif);font-size:1.28rem;color:var(--ink);line-height:1}
.brand__txt small{display:block;font-family:var(--sans);font-size:.56rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--muted);margin-top:3px;font-weight:500}
.nav__links{display:flex;gap:.3rem;align-items:center}
.nav__links a{padding:.5rem .8rem;font-size:.92rem;font-weight:500;color:var(--text);border-radius:100px;
  transition:.25s;position:relative}
.nav__links a:hover,.nav__links a.active{color:var(--ink)}
.nav__links a.active::after{content:"";position:absolute;left:.8rem;right:.8rem;bottom:.28rem;height:1.5px;
  background:var(--rose-deep)}
.nav__tools{display:flex;align-items:center;gap:.35rem}
.icon-btn{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:none;
  background:transparent;cursor:pointer;color:var(--ink);position:relative;transition:.25s}
.icon-btn:hover{background:var(--blush)}
.icon-btn svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6}
.cart-count{position:absolute;top:4px;right:4px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;
  background:var(--rose-deep);color:#fff;font-size:.66rem;font-weight:600;display:grid;place-items:center;
  font-family:var(--sans);transform:scale(0);transition:.3s var(--ease)}
.cart-count.show{transform:scale(1)}
.nav__burger{display:none}

/* ---------- mobile off-canvas ---------- */
.drawer-scrim{position:fixed;inset:0;background:rgba(46,42,40,.42);opacity:0;visibility:hidden;
  transition:.35s;z-index:150;backdrop-filter:blur(2px)}
.drawer-scrim.open{opacity:1;visibility:visible}
.mnav{position:fixed;top:0;right:0;height:100dvh;width:min(84vw,340px);background:var(--paper);
  transform:translateX(100%);visibility:hidden;transition:.4s var(--ease);z-index:160;padding:1.4rem;
  display:flex;flex-direction:column;gap:.2rem;box-shadow:var(--shadow)}
.mnav.open{transform:none;visibility:visible}
.mnav a{padding:.85rem .6rem;font-size:1.05rem;font-weight:500;border-bottom:1px solid var(--line);color:var(--ink)}
.mnav .mnav__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;border:none}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;background:
  radial-gradient(120% 90% at 85% 0%,var(--blush) 0%,var(--cream) 55%)}
.hero__in{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;
  padding:clamp(2.5rem,6vw,5.5rem) 0}
.hero h1{margin-bottom:1.1rem}
.hero .lead{max-width:46ch;margin-bottom:2rem}
.hero__cta{display:flex;gap:.8rem;flex-wrap:wrap}
.hero__art{position:relative;display:grid;place-items:center}
.hero__art .halo{position:absolute;inset:-6%;border-radius:50%;
  background:radial-gradient(circle,rgba(196,145,124,.20),transparent 62%)}
.hero__logo{position:relative;width:min(100%,440px);border-radius:var(--r-lg);
  background:var(--paper);padding:2rem;box-shadow:var(--shadow);border:1px solid var(--line)}
.hero__stats{display:flex;gap:2rem;margin-top:2.2rem;flex-wrap:wrap}
.hero__stats b{font-family:var(--serif);font-size:1.7rem;color:var(--ink);display:block;line-height:1}
.hero__stats span{font-size:.78rem;letter-spacing:.05em;color:var(--muted)}

/* ---------- section head ---------- */
.shead{max-width:60ch;margin:0 auto 2.6rem;text-align:center}
.shead .mark{width:44px;height:44px;margin:0 auto .9rem;color:var(--rose-deep)}
.shead .mark svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.4}

/* ---------- features ---------- */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.feat{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:2rem 1.7rem;
  transition:.4s var(--ease)}
.feat:hover{transform:translateY(-5px);box-shadow:var(--shadow-sm)}
.feat__ic{width:48px;height:48px;color:var(--rose-deep);margin-bottom:1rem}
.feat__ic svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.4}
.feat h3{margin-bottom:.4rem}
.feat p{margin:0;font-size:.96rem;color:var(--muted)}

/* ---------- product grid ---------- */
.p-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  display:flex;flex-direction:column;transition:.4s var(--ease);position:relative}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.card__img{aspect-ratio:4/5;position:relative;background-size:cover;background-position:center;
  display:grid;place-items:end center;padding:1rem;cursor:pointer}
.card__badge{position:absolute;top:.9rem;left:.9rem;background:var(--ink);color:var(--cream);
  font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;padding:.32rem .7rem;border-radius:100px;font-weight:500}
.card__mark{position:absolute;top:.75rem;right:.75rem;width:34px;height:34px;opacity:.5}
.card__body{padding:1.15rem 1.2rem 1.3rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.card__cat{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--rose-deep);font-weight:500}
.card__name{font-family:var(--serif);font-size:1.22rem;color:var(--ink);line-height:1.15}
.card__size{font-size:.82rem;color:var(--muted)}
.card__foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding-top:.7rem}
.card__price{font-family:var(--serif);font-size:1.35rem;color:var(--ink)}
.card__price s{font-size:.85rem;color:var(--muted);margin-right:.4rem}
.add-btn{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--ink);
  color:var(--cream);border:none;cursor:pointer;transition:.3s var(--ease);flex:none}
.add-btn:hover{background:var(--rose-deep);transform:rotate(90deg)}
.add-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}

/* ---------- collections (colour blocks) ---------- */
.coll-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.3rem}
.coll{position:relative;border-radius:var(--r-lg);overflow:hidden;min-height:300px;display:flex;
  flex-direction:column;justify-content:flex-end;padding:1.6rem;color:var(--ink);border:1px solid var(--line);
  transition:.4s var(--ease)}
.coll:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.coll h3{color:inherit;margin:0}
.coll span{font-size:.85rem;opacity:.8;display:flex;align-items:center;gap:.4rem;margin-top:.3rem}
.coll span svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;transition:.3s}
.coll:hover span svg{transform:translateX(5px)}

/* ---------- story split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.split__art{border-radius:var(--r-lg);min-height:380px;border:1px solid var(--line);position:relative;overflow:hidden}
.split__art{background-size:cover;background-position:center;background-color:var(--blush)}
.split__art .stamp{position:absolute;inset:0;display:grid;place-items:center;color:var(--rose-deep);opacity:.85}
.split__art .stamp svg{width:44%;height:44%;stroke:currentColor;fill:none;stroke-width:1}
.coll-grid--5{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.coll--photo{color:#fff;background-size:cover;background-position:center;border:none;min-height:280px}
.coll--photo h3{color:#fff}
.coll--photo span{opacity:.92}
.coll__ic{width:44px;height:44px;color:#fff;opacity:.85;margin-bottom:auto}
.coll__ic svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.5}

/* ---------- band / cta ---------- */
.band{background:var(--ink);color:var(--cream);border-radius:var(--r-lg);padding:clamp(2.5rem,5vw,4rem);
  text-align:center;position:relative;overflow:hidden}
.band h2{color:var(--cream)}
.band p{color:rgba(249,241,241,.75);max-width:52ch;margin-inline:auto}
.band .btn{border-color:var(--cream);background:var(--cream);color:var(--ink)}
.band .btn:hover{background:transparent;color:var(--cream)}

/* ---------- newsletter / forms ---------- */
.field{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.1rem;text-align:left}
.field label{font-size:.82rem;font-weight:500;letter-spacing:.04em;color:var(--ink)}
.field input,.field textarea{font-family:var(--sans);font-size:1rem;padding:.85rem 1rem;border-radius:12px;
  border:1.5px solid var(--line);background:var(--paper);color:var(--text);transition:.25s}
.field input:focus,.field textarea:focus{border-color:var(--rose-deep);outline:none;background:#fff}
.field textarea{resize:vertical;min-height:130px}
.inline-form{display:flex;gap:.6rem;max-width:460px;margin:1.4rem auto 0}
.inline-form input{flex:1;padding:.9rem 1.1rem;border-radius:100px;border:1.5px solid var(--line);
  background:var(--paper);font-family:var(--sans);font-size:1rem}
.inline-form input:focus{border-color:var(--rose-deep);outline:none}

/* ---------- custom dropdown ---------- */
.dd{position:relative;font-family:var(--sans)}
.dd__btn{display:flex;align-items:center;gap:.6rem;justify-content:space-between;min-width:180px;
  padding:.7rem 1.1rem;border-radius:100px;border:1.5px solid var(--line);background:var(--paper);
  color:var(--ink);cursor:pointer;font-size:.92rem;font-weight:500}
.dd__btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;transition:.3s}
.dd.open .dd__btn{border-color:var(--rose-deep)}
.dd.open .dd__btn svg{transform:rotate(180deg)}
.dd__menu{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--paper);border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow);padding:.4rem;z-index:40;opacity:0;visibility:hidden;
  transform:translateY(-6px);transition:.25s var(--ease)}
.dd.open .dd__menu{opacity:1;visibility:visible;transform:none}
.dd__opt{padding:.6rem .85rem;border-radius:9px;cursor:pointer;font-size:.92rem;color:var(--text);
  display:flex;align-items:center;justify-content:space-between}
.dd__opt:hover{background:var(--blush);color:var(--ink)}
.dd__opt[aria-selected="true"]{color:var(--ink);font-weight:600}
.dd__opt[aria-selected="true"]::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--rose-deep)}
.shop-bar{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center;justify-content:space-between;margin-bottom:2rem}
.shop-bar .count{font-size:.9rem;color:var(--muted)}
.shop-tools{display:flex;gap:.7rem;flex-wrap:wrap}

/* ---------- cart drawer ---------- */
.cart{position:fixed;top:0;right:0;height:100dvh;width:min(92vw,420px);background:var(--cream);
  transform:translateX(100%);visibility:hidden;transition:.42s var(--ease);z-index:170;display:flex;
  flex-direction:column;box-shadow:var(--shadow)}
.cart.open{transform:none;visibility:visible}
.cart__head{display:flex;align-items:center;justify-content:space-between;padding:1.3rem 1.4rem;
  border-bottom:1px solid var(--line)}
.cart__head h3{margin:0}
.cart__items{flex:1;overflow-y:auto;padding:1rem 1.4rem;display:flex;flex-direction:column;gap:1rem}
.cart__empty{text-align:center;color:var(--muted);margin:auto;padding:2rem}
.cart__empty svg{width:60px;height:60px;stroke:currentColor;fill:none;stroke-width:1;opacity:.4;margin-bottom:1rem}
.ci{display:flex;gap:.9rem;align-items:center}
.ci__img{width:64px;height:74px;border-radius:10px;background-size:cover;background-position:center;flex:none;
  border:1px solid var(--line)}
.ci__main{flex:1;min-width:0}
.ci__name{font-family:var(--serif);font-size:1.02rem;color:var(--ink);line-height:1.1}
.ci__meta{font-size:.78rem;color:var(--muted)}
.ci__price{font-weight:600;color:var(--ink);font-size:.92rem;margin-top:.2rem}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:100px;overflow:hidden;margin-top:.35rem}
.qty button{width:28px;height:28px;border:none;background:transparent;cursor:pointer;color:var(--ink);font-size:1rem;line-height:1}
.qty button:hover{background:var(--blush)}
.qty span{min-width:26px;text-align:center;font-size:.9rem;font-weight:600}
.ci__rm{border:none;background:transparent;cursor:pointer;color:var(--muted);align-self:flex-start;padding:.2rem}
.ci__rm:hover{color:var(--rose-deep)}
.ci__rm svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}
.cart__foot{padding:1.3rem 1.4rem;border-top:1px solid var(--line);background:var(--paper)}
.cart__row{display:flex;justify-content:space-between;margin-bottom:.4rem;font-size:.95rem}
.cart__row.total{font-family:var(--serif);font-size:1.3rem;color:var(--ink);margin:.6rem 0 1rem}
.cart__foot .btn{width:100%;justify-content:center}
.cart__note{font-size:.74rem;color:var(--muted);text-align:center;margin-top:.7rem}

/* ---------- toast ---------- */
.toasts{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:200;display:flex;
  flex-direction:column;gap:.6rem;align-items:center;pointer-events:none;width:max-content;max-width:92vw}
.toast{background:var(--ink);color:var(--cream);padding:.85rem 1.3rem;border-radius:100px;font-size:.9rem;
  box-shadow:var(--shadow);display:flex;align-items:center;gap:.6rem;transform:translateY(20px);opacity:0;
  transition:.4s var(--ease)}
.toast.show{transform:none;opacity:1}
.toast svg{width:18px;height:18px;stroke:var(--rose-100);fill:none;stroke-width:2;flex:none}

/* ---------- modal ---------- */
.modal-scrim{position:fixed;inset:0;background:rgba(46,42,40,.5);z-index:190;display:grid;place-items:center;
  padding:1.4rem;opacity:0;visibility:hidden;transition:.3s;backdrop-filter:blur(3px)}
.modal-scrim.open{opacity:1;visibility:visible}
.modal{background:var(--cream);border-radius:var(--r-lg);max-width:640px;width:100%;overflow:hidden;
  transform:scale(.94);transition:.35s var(--ease);max-height:90dvh;display:flex;flex-direction:column}
.modal-scrim.open .modal{transform:none}
.modal__grid{display:grid;grid-template-columns:1fr 1fr}
.modal__img{background-size:cover;background-position:center;min-height:320px}
.modal__body{padding:2rem;overflow-y:auto}
.modal__close{position:absolute;top:1rem;right:1rem;z-index:2;background:var(--cream);border:1px solid var(--line)}

/* ---------- faq ---------- */
.faq{max-width:760px;margin-inline:auto}
details{border-bottom:1px solid var(--line);padding:.4rem 0}
summary{cursor:pointer;list-style:none;padding:1rem .3rem;font-family:var(--serif);font-size:1.2rem;
  color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:1rem}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:var(--sans);font-size:1.5rem;color:var(--rose-deep);transition:.3s;flex:none}
details[open] summary::after{transform:rotate(45deg)}
details p{padding:0 .3rem 1rem;color:var(--muted);margin:0}

/* ---------- contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.ctile{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.4rem}
.ctile .ic{width:44px;height:44px;border-radius:12px;background:var(--blush);display:grid;place-items:center;flex:none;color:var(--rose-deep)}
.ctile .ic svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6}
.ctile b{display:block;color:var(--ink);font-size:.95rem}
.ctile a,.ctile span{color:var(--muted);font-size:.95rem}
.ctile a:hover{color:var(--rose-deep)}

/* ---------- footer ---------- */
.footer{background:var(--ink);color:rgba(249,241,241,.72);padding:4rem 0 1.8rem;margin-top:2rem}
.footer__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:2rem}
.footer h4{color:var(--cream);font-family:var(--sans);font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;
  margin-bottom:1.1rem;font-weight:600}
.footer a{display:block;padding:.28rem 0;color:rgba(249,241,241,.72);font-size:.92rem}
.footer a:hover{color:var(--rose-100)}
.footer__brand img{height:52px;border-radius:8px;margin-bottom:1rem;background:var(--paper);padding:6px}
.footer__brand p{font-size:.9rem;max-width:34ch}
.footer__soc{display:flex;gap:.6rem;margin-top:1rem}
.footer__soc a{width:40px;height:40px;border-radius:50%;border:1px solid rgba(249,241,241,.25);display:grid;place-items:center;padding:0}
.footer__soc a:hover{background:var(--rose-deep);border-color:var(--rose-deep);color:#fff}
.footer__soc svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6}
.footer__bar{border-top:1px solid rgba(249,241,241,.14);margin-top:2.6rem;padding-top:1.4rem;
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.8rem;color:rgba(249,241,241,.5)}
.footer__bar a{display:inline}

/* ---------- reveal ---------- */
.js [data-rev]{opacity:0;transform:translateY(26px);transition:.8s var(--ease)}
.js [data-rev].in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .js [data-rev]{opacity:1!important;transform:none!important;transition:none}
  *{scroll-behavior:auto!important}
}

/* ---------- page hero (subpages) ---------- */
.phero{background:radial-gradient(120% 100% at 80% -10%,var(--blush),var(--cream));padding:3.5rem 0 2.5rem;
  border-bottom:1px solid var(--line)}
.phero .eyebrow{margin-bottom:.6rem}
.phero p{max-width:56ch;color:var(--muted)}
.crumb{font-size:.8rem;color:var(--muted);margin-bottom:1rem;letter-spacing:.04em}
.crumb a:hover{color:var(--rose-deep)}

/* ---------- responsive ---------- */
@media (max-width:920px){
  .hero__in,.split,.contact-grid{grid-template-columns:1fr;gap:2rem}
  .hero__art{order:-1;max-width:380px;margin-inline:auto}
  .feat-grid{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1fr 1fr}
  .modal__grid{grid-template-columns:1fr}
  .modal__img{min-height:200px}
}
@media (max-width:680px){
  body{font-size:16px}
  .nav__links{display:none}
  .nav__burger{display:grid}
  .footer__grid{grid-template-columns:1fr}
  .inline-form{flex-direction:column}
  .inline-form .btn{justify-content:center}
  .p-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}
  .card__name{font-size:1.05rem}
  section{padding:3rem 0}
}
