.sf-head .sf-head-inner{max-width:1280px;margin:auto;display:flex;align-items:center;gap:clamp(12px,3vw,48px);padding:12px 20px}
.sf-head .sf-search{flex:1;max-width:660px}.market-tools,.market-nav{display:flex;align-items:center;gap:20px}
.market-tools{margin-left:auto;white-space:nowrap}.market-tools a,.market-nav a{text-decoration:none;color:#163924;font-weight:650}
.market-tools b,.market-hero small{background:#ffcd49;color:#142e20;border-radius:99px;padding:3px 8px}
.market-nav{max-width:1280px;margin:auto;padding:0 20px 10px;overflow:auto;white-space:nowrap}
.market-home .sf-shell{max-width:1280px;margin:auto;padding:0 18px 32px}.market-hero{--tint:#103724;display:flex;align-items:center;min-height:290px;background-color:var(--tint);background-image:linear-gradient(90deg,var(--tint) 24%,transparent 72%),var(--hero-photo,url(spizarnia135.webp));background-position:center,right 56%;background-repeat:no-repeat;background-size:cover,auto 150%;color:#fffbed;border-radius:12px;overflow:hidden}
.market-hero.theme-black{--tint:#1a211d}.market-hero.theme-red{--tint:#662a35}
.market-hero>div{width:53%;padding:clamp(20px,4vw,54px);overflow-wrap:anywhere}.market-hero small{font:700 .72rem/1.6 system-ui;letter-spacing:.09em;padding:5px 12px}
.market-hero h1,.market-heading h2{font:700 clamp(2rem,4vw,4rem)/1.02 Georgia,serif;letter-spacing:-.035em;color:inherit;margin:14px 0}
.market-hero p{line-height:1.45;margin:10px 0 16px;color:inherit}.market-hero a{display:inline-block;border-radius:28px;background:#ffcd49;color:#152e20;padding:11px 18px;font-weight:700;text-decoration:none}
.market-categories{display:flex;gap:8px;overflow:auto;padding:12px 0}.market-categories a{flex:1 0 auto;border:1px solid #e2ddcd;background:#f7f2e6;color:#233928;padding:11px 15px;border-radius:9px;text-decoration:none}.market-categories span{margin-left:16px}
.market-heading{display:flex;justify-content:space-between;align-items:center}.market-heading h2{font-size:clamp(1.5rem,3vw,2.4rem)}.market-heading button{border:1px solid #d6d7c9;border-radius:50%;background:#fffaf0;color:#17432c;width:36px;height:36px;font-size:20px;cursor:pointer}
.market-slider,.market-home .sf-catalog-columns{display:grid;gap:14px}.market-slider{grid-auto-flow:column;grid-auto-columns:calc((100% - 28px)/3);overflow:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.market-home .sf-catalog-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
.market-card{display:flex;flex-direction:column;scroll-snap-align:start;border:1px solid #e6e0cf;border-radius:13px;overflow:hidden;background:#fffcf4;color:#172b1e;min-width:0}
.market-photo{background:#f4f1e6;display:grid;place-items:center;height:clamp(138px,17vw,215px);color:#5e715e;text-decoration:none}.market-photo img{width:100%;height:100%;min-height:0;object-fit:contain;padding:9px;box-sizing:border-box}
.market-detail{display:flex;flex-direction:column;gap:5px;flex:1;padding:14px;overflow-wrap:anywhere}.market-detail h3{margin:0;font:700 1.08rem/1.2 system-ui}.market-detail h3 a{color:inherit;text-decoration:none}.market-detail small{color:#516052;font-size:.78rem}.market-detail>strong{margin-top:auto;padding-top:8px;font-size:1.22rem}.market-detail form{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.market-detail label{font-size:.8rem}.market-detail input{width:54px;padding:5px;border:1px solid #b6c1af;border-radius:5px}.market-detail button{background:#18482f;color:white;border:0;padding:8px 12px;border-radius:7px;cursor:pointer}.market-detail .market-box{background:#e8eddf;color:#21412e}
@media(max-width:700px){.sf-head .sf-head-inner{gap:6px;padding:6px 12px}.market-nav{gap:15px;padding:3px 12px 8px;font-size:.8rem}.market-tools{gap:10px}.sf-head .sf-search{max-width:none;order:3;flex:1 0 100%}.market-home .sf-shell{padding:0 8px 18px}.market-hero{min-height:205px;background-size:cover,auto 112%;background-position:center,70% center;background-image:linear-gradient(90deg,var(--tint) 0%,color-mix(in srgb,var(--tint) 90%,transparent) 43%,transparent 85%),var(--hero-photo,url(spizarnia135.webp))}.market-hero>div{width:66%;padding:16px}.market-hero h1{font-size:clamp(1.55rem,6.7vw,2.45rem)}.market-hero p,.market-hero a{font-size:.85rem}.market-categories a{padding:8px 12px}.market-slider{grid-auto-columns:calc((100% - 8px)/2);gap:8px}.market-home .sf-catalog-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.market-detail{padding:9px}.market-detail h3{font-size:.94rem}}
/* Ramka obejmuje cały istniejący logotyp wraz z listkami, bez białych marginesów pliku. */
.sf-head .sf-brand{display:block;width:clamp(148px,17vw,220px);flex:none}
.sf-head .sf-brand .sf-logo-window{width:100%;height:auto;aspect-ratio:964/335;position:relative;overflow:hidden;border-radius:0;background:transparent;mix-blend-mode:multiply}
.sf-head .sf-brand .sf-logo-window img{position:absolute;width:146.06%!important;height:auto!important;max-width:none!important;top:-50.75%;left:-16.08%}
@media(max-width:700px){.sf-head .sf-brand{width:clamp(130px,39vw,164px)}}

/* Ogrodniczka 174: biale tlo zdjec i osobne grafiki kategorii. */
.market-home .market-card .market-photo { background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-12"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-12"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-12"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-12.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-12"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-11"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-11"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-11"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-11.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-11"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-10"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-10"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-10"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-10.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-10"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-1"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-1"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-1"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-1.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-1"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-8"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-8"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-8"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-8.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-8"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-13"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-13"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-13"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-13.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-13"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-4"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-4"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-4"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-4.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-4"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-6"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-6"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-6"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-6.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-6"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-3"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-3"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-3"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-3.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-3"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-9"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-9"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-9"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-9.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-9"] > span { margin-left:0; text-align:center; white-space:normal; }
.market-home #kategorie a[href$="category=wapro-kat-14"] { display:grid; grid-template-rows:6rem auto; min-width:9rem; gap:.45rem; padding:.6rem; background:#fff; }
.market-home #kategorie a[href$="category=wapro-kat-14"] > img { display:none; }
.market-home #kategorie a[href$="category=wapro-kat-14"]::before { content:""; display:block; width:100%; height:6rem; background:#fff url("categories174/wapro-kat-14.webp") center/contain no-repeat; }
.market-home #kategorie a[href$="category=wapro-kat-14"] > span { margin-left:0; text-align:center; white-space:normal; }

/* 175: zwarty naglowek, biale karty i spojna siatka */
body.market-home{background:#f8faf8;color:#183c29;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.market-home .sf-head{background:#fff}
.market-home .sf-head .sf-head-inner{padding:8px 18px;gap:24px;flex-wrap:wrap}
.market-home .sf-head .sf-brand{width:170px}
.market-home .sf-head .sf-search{max-width:none;min-width:0}
.market-home .market-nav{padding:0 18px 8px;gap:24px}
.market-home .market-hero{min-height:240px;border-radius:12px}
.market-home .market-hero>div{width:60%;padding:24px 32px;box-sizing:border-box}
.market-home .market-hero h1{font-size:clamp(1.8rem,3.2vw,2.8rem);margin:12px 0}
.market-home .market-hero p{font-size:1rem;max-width:36rem;margin:10px 0 14px}
.market-home .market-hero a{padding:10px 18px}
.market-home .market-benefits175{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 32px;padding:14px 12px;margin:0;list-style:none;color:#24553b;font-size:.9rem;font-weight:600;border-bottom:1px solid #e3eae4}
.market-benefits175 li::before{content:'✓';color:#327344;margin-right:8px}
.market-home .market-categories{gap:10px;padding:16px 0;scroll-snap-type:x proximity}
.market-home #kategorie a{flex:0 0 150px;box-sizing:border-box;border:1px solid #dfe7df;border-radius:10px;background:#fff;scroll-snap-align:start;align-content:start}
.market-home #kategorie a span{font-size:.86rem;line-height:1.35;min-height:3.65em;display:flex;align-items:center;justify-content:center}
.market-home .sf-catalog-columns{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.market-home .market-slider{grid-auto-columns:calc((100% - 42px)/4);gap:14px;align-items:stretch}
.market-home .market-card{background:#fff;border:1px solid #dfe7df;border-radius:12px;transition:border-color .18s,box-shadow .18s}
.market-home .market-card:hover{border-color:#a8beab;box-shadow:0 4px 16px #153b2410}
.market-home .market-card .market-photo{height:190px;background:#fff}
.market-home .market-photo img{padding:14px}
.market-home .market-detail{padding:12px;gap:7px}
.market-home .market-detail h3{font:650 1rem/1.35 system-ui;min-height:4.05em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.market-home .market-detail>small{line-height:1.4;min-height:1.4em}
.market-home .market-detail>strong{font-size:1.3rem;padding-top:10px;line-height:1.3}
.market-home .market-detail>strong small{font-size:.72rem;font-weight:500}
.market-home .market-detail form{gap:6px;margin:0}
.market-home .market-detail label{display:flex;align-items:center;gap:5px}
.market-home .market-detail input{box-sizing:border-box;width:52px;min-height:40px;background:#fff;color:#193c29}
.market-home .market-detail button{min-height:40px;padding:8px 10px;font:600 .86rem/1.3 system-ui;background:#1b5034}
.market-home .market-detail .market-box{background:#edf4ed;color:#21412e;width:100%}
.market-home .market-heading h2{font:700 clamp(1.35rem,2.4vw,1.8rem)/1.2 system-ui;letter-spacing:-.02em}
.market-home a:focus-visible,.market-home button:focus-visible,.market-home input:focus-visible{outline:3px solid #dcae20;outline-offset:3px}
@media(min-width:701px) and (max-width:1000px){.market-home .sf-catalog-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.market-home .market-slider{grid-auto-columns:calc((100% - 28px)/3)}}
@media(max-width:700px){
.market-home .sf-head .sf-head-inner{padding:8px 12px;gap:8px}
.market-home .sf-head .sf-brand{width:138px}
.market-home .sf-head .sf-search{order:3;flex:1 0 100%}
.market-home .market-nav{padding:4px 12px 8px;gap:20px}
.market-home .market-hero{min-height:205px}
.market-home .market-hero>div{width:88%;padding:20px}
.market-home .market-hero h1{font-size:clamp(1.6rem,6vw,2.1rem)}
.market-home .market-hero p{font-size:.85rem}
.market-home .market-benefits175{gap:8px 14px;font-size:.75rem;padding:12px 4px}
.market-home #kategorie a{flex-basis:132px}
.market-home .sf-catalog-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.market-home .market-slider{grid-auto-columns:calc((100% - 8px)/2);gap:8px}
.market-home .market-card .market-photo{height:150px}
.market-home .market-photo img{padding:10px}
.market-home .market-detail{padding:9px;gap:6px}
.market-home .market-detail h3{font-size:.88rem}
.market-home .market-detail>small{font-size:.69rem}
.market-home .market-detail>strong{font-size:1.1rem}
.market-home .market-detail>strong small{display:block;font-size:.68rem}
.market-home .market-detail form{align-items:stretch}
.market-home .market-detail form button{width:100%;min-height:42px}
.market-home .market-detail label{width:100%;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){.market-home .market-card{transition:none}.market-home .market-slider{scroll-behavior:auto}}
/* 176: compact categories at the left, products at the right. */
.market-home .market-layout176{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;margin-top:18px;align-items:start}
.market-home .market-sidebar176{min-width:0;padding:12px;background:#fff;border:1px solid #dfe7df;border-radius:12px}
.market-home .market-category-heading176{font:700 1.05rem/1.4 system-ui;margin:0 0 10px;padding:0 6px}
.market-home .market-category-toggle176{display:none}
.market-home .market-content176{min-width:0}
.market-home .market-content176 .sf-toolbar{margin-top:0;flex-wrap:wrap;gap:10px}
.market-home .market-layout176 #kategorie{display:flex;flex-direction:column;gap:4px;overflow:visible;padding:0;scroll-snap-type:none}
.market-home .market-layout176 #kategorie[hidden]{display:none}
.market-home .market-layout176 #kategorie a{display:flex;flex:none;align-items:center;align-content:normal;gap:8px;width:100%;min-width:0;min-height:52px;padding:6px;border:1px solid transparent;border-radius:8px;background:#fff;color:#244330;font:600 .85rem/1.3 system-ui;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
.market-home .market-layout176 #kategorie a::before{content:none;display:none}
.market-home .market-layout176 #kategorie a>img{display:block;flex:0 0 44px;width:44px;height:44px;object-fit:contain;border-radius:5px;background:#fff}
.market-home .market-layout176 #kategorie a>span{display:block;margin:0;min-height:0;text-align:left;font:inherit}
.market-home .market-layout176 #kategorie a:hover{background:#f2f7f2;border-color:#b5cbb9}
.market-home .market-layout176 #kategorie a[aria-current=page]{background:#e8f3e9;border-color:#7ea98a;color:#174b2c}
.market-home .market-layout176 #kategorie .market-category-all176{min-height:42px;padding:10px}
.market-home .market-content176 .sf-catalog-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.market-home .market-content176 .market-slider{grid-auto-columns:calc((100% - 24px)/3);gap:12px}
.market-home .market-content176 .market-photo{height:175px}
@media(min-width:1280px){.market-home .sf-shell{max-width:1440px}.market-home .market-content176 .sf-catalog-columns{grid-template-columns:repeat(4,minmax(0,1fr))}.market-home .market-content176 .market-slider{grid-auto-columns:calc((100% - 36px)/4)}}
@media(min-width:761px) and (max-width:1000px){.market-home .market-layout176{grid-template-columns:190px minmax(0,1fr);gap:12px}.market-home .market-content176 .sf-catalog-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.market-home .market-content176 .market-slider{grid-auto-columns:calc((100% - 12px)/2)}}
@media(max-width:760px){
 .market-home .market-layout176{display:block;margin-top:12px}
 .market-home .market-sidebar176{padding:0;margin-bottom:12px;overflow:hidden}
 .market-home .market-category-heading176{display:none}
 .market-home .market-category-toggle176{display:block;width:100%;min-height:46px;border:0;background:#1b5034;color:#fff;text-align:left;padding:12px 14px;font:600 .95rem/1.4 system-ui;cursor:pointer}
 .market-home .market-layout176 #kategorie{padding:8px}
 .market-home .market-content176 .sf-catalog-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .market-home .market-content176 .market-slider{grid-auto-columns:calc((100% - 8px)/2);gap:8px}
 .market-home .market-content176 .market-photo{height:150px}
}
