/* I-Materac: listy produktow (kategorie, sklep, promocje, szukanie). Szablon: woocommerce/archive-product.php, dane: inc/listy.php.
   Wszystko pod przedrostkiem im-l-. Uklad: filtry po lewej (na telefonie wysuwany panel), kafle po prawej. */
.im-l { padding: 0 0 72px; background: var(--im-tlo); }
.im-l .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.im-l-okruszki { padding: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--im-szary); }
.im-strona .im-l-okruszki a { color: var(--im-szary); }
.im-strona .im-l-okruszki a:hover { color: var(--im-zloto-ciemne); }
.im-l-okruszki span { margin: 0 7px; color: #b9b4ad; }
.im-l-gora { padding: 22px 0 28px; }
.im-l-tytul { margin: 0; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--im-czern); }
.im-l-tytul small { font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--im-szary); }
.im-l-wstep { max-width: 760px; margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: #4a4640; }
.im-l-wstep p { margin: 0 0 8px; }
.im-l-wstep p:last-child { margin-bottom: 0; }

.im-l-uklad { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 32px; align-items: start; }

/* ---------- filtry ---------- */
.im-l-filtry { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px 22px 18px; border-radius: 14px; background: #fff; overscroll-behavior: contain; transition: top .25s ease; }
html.im-nagl-widoczny .im-l-filtry { top: calc(var(--im-nagl-h, 90px) + 16px); max-height: calc(100vh - var(--im-nagl-h, 90px) - 32px); }
.im-l-filtry__gora { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 0 0 16px; }
.im-l-filtry__gora strong { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--im-czern); }
.im-l-filtry__gora strong .im-ikona { margin-top: 2px; }
.im-l-filtry__zamknij { display: none; flex: none; margin: -6px -8px 0 0; padding: 6px; border: 0; background: none; color: var(--im-czern); cursor: pointer; }
.im-l-f { border-top: 1px solid var(--im-linia); }
.im-l-f summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; list-style: none; font-size: 15px; font-weight: 700; color: var(--im-czern); cursor: pointer; user-select: none; }
.im-l-f summary::-webkit-details-marker { display: none; }
.im-l-f summary .im-ikona { transition: transform .2s ease; }
.im-l-f[open] summary .im-ikona { transform: rotate(180deg); }
.im-l-f__lista { display: grid; gap: 2px; padding: 0 0 14px; }
.im-l-f__opcja { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; line-height: 1.3; color: var(--im-tekst); cursor: pointer; }
.im-l-f__opcja input { flex: none; appearance: none; -webkit-appearance: none; width: 19px; height: 19px; margin: 0; border: 1.5px solid #cfc8bc; border-radius: 5px; background: #fff center / 13px no-repeat; cursor: pointer; }
.im-l-f__opcja input:checked { border-color: var(--im-czern); background-color: var(--im-czern); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.500 12.500 5 5 10-11'/%3E%3C/svg%3E"); }
.im-l-f__opcja input:focus-visible, .im-l-f__pigulka input:focus-visible + span { outline: 2px solid var(--im-zloto); outline-offset: 2px; }
.im-l-f__opcja em { margin-left: auto; font-style: normal; font-size: 13px; color: #9a948b; }
.im-l-f--pusta { color: #b3ada4; cursor: default; }
.im-l-f--pusta input { background-color: #f4f2ee; cursor: default; }
.im-l-f__pigulki { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 16px; }
.im-l-f__pigulka { position: relative; cursor: pointer; }
.im-l-f__pigulka input { position: absolute; opacity: 0; pointer-events: none; }
.im-l-f__pigulka span { display: flex; align-items: center; justify-content: center; min-width: 48px; height: 38px; padding: 0 12px; border: 1.5px solid #d9d3c9; border-radius: 9px; background: #fff; font-size: 14.5px; font-weight: 600; color: var(--im-czern); transition: border-color .15s ease, background .15s ease, color .15s ease; }
.im-l-f__pigulka:hover span { border-color: var(--im-czern); }
.im-l-f__pigulka input:checked + span { border-color: var(--im-czern); background: var(--im-czern); color: #fff; }
.im-l-f__pigulka.im-l-f--pusta span { border-color: #ebe7e0; color: #b3ada4; }
.im-l-f__cena { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding: 0 0 16px; }
.im-l-f__cena label { position: relative; display: block; }
.im-l-f__cena label span { position: absolute; top: 5px; left: 10px; font-size: 11px; line-height: 1; color: #9a948b; }
.im-l-f__cena label i { position: absolute; right: 9px; bottom: 9px; font-style: normal; font-size: 12.5px; line-height: 1; color: #9a948b; }
.im-l-f__cena input { width: 100%; height: 44px; margin: 0; padding: 15px 26px 3px 10px; border: 1.5px solid #d9d3c9; border-radius: 9px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--im-czern); -moz-appearance: textfield; appearance: textfield; }
.im-l-f__cena input::-webkit-outer-spin-button, .im-l-f__cena input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.im-l-f__cena input::placeholder { font-weight: 400; color: #b3ada4; }
.im-l-f__cena input:focus { outline: 0; border-color: var(--im-czern); }
.im-l-f__ok { height: 44px; padding: 0 13px; border: 0; border-radius: 9px; background: var(--im-czern); font: inherit; font-size: 13.5px; font-weight: 700; color: #fff; cursor: pointer; }
.im-l-f__ok:hover { background: var(--im-zloto-ciemne); }
.im-l-filtry__dol { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 0; border-top: 1px solid var(--im-linia); }
.im-l-filtry__dol--pusty { display: none; } /* na komputerze bez wybranych filtrow nie ma tu nic do pokazania */
.im-strona .im-l-filtry__wyczysc { font-size: 14px; font-weight: 700; color: var(--im-czern); text-decoration: underline; text-underline-offset: 3px; }
.im-strona .im-l-filtry__wyczysc:hover { color: var(--im-zloto-ciemne); }
.im-l-filtry__pokaz { display: none; }
.im-l-zaslona { display: none; }

/* ---------- pasek nad lista ---------- */
.im-l-pasek { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.im-l-pasek__filtry { display: none; }
.im-l-pasek__ile { margin: 0; font-size: 15px; color: var(--im-tekst); }
.im-l-pasek__sort { display: flex; align-items: center; gap: 12px; margin: 0; }
.im-l-pasek__sort span { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--im-szary); }
.im-l-pasek__sort select { height: 46px; min-width: 210px; margin: 0; padding: 0 40px 0 14px; border: 1.5px solid #e3ded5; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; font: inherit; font-size: 14.5px; color: var(--im-czern); appearance: none; -webkit-appearance: none; cursor: pointer; }
.im-l-pasek__sort select:focus { outline: 0; border-color: var(--im-czern); }
.im-l-wybrane { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: -4px 0 18px; padding: 0; }
.im-strona .im-l-wybrane a { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px 0 13px; border-radius: 17px; background: #fff; box-shadow: inset 0 0 0 1.5px #e3ded5; font-size: 13.5px; font-weight: 600; color: var(--im-czern); }
.im-strona .im-l-wybrane a:hover { box-shadow: inset 0 0 0 1.5px var(--im-czern); }
.im-strona .im-l-wybrane a.im-l-wybrane__wszystko { padding: 0 6px; background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- kafle ---------- */
.im-l-kafle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.im-l-tresc.im-l--czeka .im-l-kafle { opacity: .45; pointer-events: none; transition: opacity .15s ease; }
.im-l-kafel { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 16px 16px 14px; border-radius: 14px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.im-l-kafel:hover { box-shadow: 0 10px 30px rgba(40, 30, 10, .09); transform: translateY(-2px); }
.im-l-kafel__gora { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 30px; padding-right: 40px; pointer-events: none; }
.im-l-plakietka { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1.5px solid #cfc8bc; border-radius: 6px; background: #fff; font-size: 12.5px; line-height: 1; font-weight: 700; color: #4a4640; white-space: nowrap; }
.im-l-plakietka--rabat { border-color: transparent; background: linear-gradient(180deg, #dfa53d, #c68c24); color: #fff; }
.im-l-plakietka--brak { border-color: transparent; background: #efece7; color: #6b6b6b; }
.im-l-kafel .im-serce { position: absolute; top: -4px; right: -6px; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; color: #8a847b; cursor: pointer; pointer-events: auto; transition: color .15s ease, background .15s ease; }
.im-l-kafel .im-serce:hover { background: var(--im-tlo); color: var(--im-czern); }
.im-l-kafel .im-serce[aria-pressed="true"] { color: #d23f3f; }
.im-l-kafel .im-serce[aria-pressed="true"] svg { fill: currentColor; }
.im-l-kafel__foto { aspect-ratio: 4 / 3; margin: 8px 0 12px; overflow: hidden; border-radius: 10px; background: #f4f2ee; }
.im-l-kafel__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.im-l-kafel--brak .im-l-kafel__foto img { opacity: .5; }
.im-l-ocena { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; font-size: 13.5px; line-height: 1; color: var(--im-szary); }
.im-l-ocena strong { font-weight: 700; color: var(--im-czern); }
.im-l-gwiazdki { display: block; flex: none; width: 85px; height: 16px; background: linear-gradient(90deg, #d59a2f var(--im-ocena, 0%), #e2ddd4 var(--im-ocena, 0%)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.2l-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3C/svg%3E") 0 0 / 17px 16px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.2l-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3C/svg%3E") 0 0 / 17px 16px repeat-x; }
.im-l-cechy { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 0 0 10px; padding: 0; }
.im-l-cechy li { padding: 3px 7px; border: 1px solid #d9d3c9; border-radius: 5px; font-size: 12px; line-height: 1.3; color: #5a554e; white-space: nowrap; }
.im-l-kafel__tytul { margin: 0 0 12px; font-size: 16.5px; line-height: 1.35; font-weight: 700; color: var(--im-czern); }
.im-strona .im-l-kafel__tytul a { color: inherit; }
.im-l-kafel__tytul a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 14px; } /* caly kafel jest linkiem */
.im-l-kafel:hover .im-l-kafel__tytul a { color: var(--im-zloto-ciemne); }
.im-l-kafel__pod { margin: -8px 0 12px; font-size: 14px; line-height: 1.4; font-weight: 600; color: #4a4640; }
.im-l-cena { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--im-linia); font-size: 14px; line-height: 1.2; color: var(--im-szary); }
.im-l-cena strong { font-size: 21px; font-weight: 700; color: var(--im-czern); white-space: nowrap; }
.im-l-cena__od { font-size: 15px; font-weight: 600; color: var(--im-czern); }
.im-l-cena del { font-size: 14.5px; color: #8a847b; white-space: nowrap; }
.im-l-omnibus { display: flex; align-items: flex-start; gap: 6px; min-height: 34px; margin: 8px 0 0; font-size: 12px; line-height: 1.4; color: var(--im-szary); }
.im-l-omnibus .im-ikona { margin-top: 1px; color: #8a847b; }
.im-l-omnibus strong { font-weight: 700; color: #4a4640; white-space: nowrap; }
.im-l-kafel__dol { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--im-linia); font-size: 12.5px; line-height: 1.3; color: var(--im-szary); }
.im-l-kafel__dol li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.im-l-kafel__dol .im-ikona { color: #8a847b; }

/* ---------- strony, pusta lista, opis ---------- */
.im-l-strony { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px 0 0; }
.im-l-strony .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 600; color: var(--im-czern); }
.im-strona .im-l-strony a.page-numbers:hover { box-shadow: inset 0 0 0 1.5px var(--im-czern); }
.im-l-strony .page-numbers.current { background: var(--im-czern); color: #fff; }
.im-l-strony .page-numbers.dots { background: none; }
.im-l-pusto { padding: 44px 24px; border-radius: 14px; background: #fff; text-align: center; font-size: 15.5px; color: var(--im-tekst); }
.im-l-pusto p { margin: 0 0 6px; }
.im-strona .im-l-pusto__link { display: inline-flex; align-items: center; height: 46px; margin-top: 14px; padding: 0 22px; border-radius: 10px; background: var(--im-czern); font-size: 14.5px; font-weight: 700; color: #fff; }
.im-strona .im-l-pusto__link:hover { background: var(--im-zloto-ciemne); }
.im-l-opis { max-width: 900px; margin: 56px auto 0; padding: 34px 38px; border-radius: 14px; background: #fff; font-size: 15.5px; line-height: 1.7; color: #3a3631; }
.im-l-opis h2 { margin: 26px 0 10px; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--im-czern); }
.im-l-opis h3 { margin: 22px 0 8px; font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--im-czern); }
.im-l-opis > :first-child, .im-l-opis__tekst > :first-child { margin-top: 0; }
/* Opis zwiniety (js/listy.js): okolo 6 linii z wygaszeniem, "Czytaj więcej" pokazuje calosc; gdy tekst jest krotki, skrypt zdejmuje zwiniecie */
.im-l-opis__tekst { position: relative; max-height: 170px; overflow: hidden; }
.im-l-opis__tekst::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); }
.im-l-opis__tekst.im-otwarte { max-height: none; }
.im-l-opis__tekst.im-otwarte::after { display: none; }
.im-l-opis__wiecej { margin-top: 12px; padding: 0; border: 0; background: none; font: 600 15px/1.4 "Open Sans", sans-serif; color: var(--im-zloto-ciemne); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.im-l-opis__wiecej[hidden] { display: none; }
.im-l-opis p { margin: 0 0 14px; }
.im-l-opis ul, .im-l-opis ol { margin: 0 0 14px; padding-left: 22px; }
.im-strona .im-l-opis a { color: var(--im-zloto-ciemne); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1199px) {
	.im-l-uklad { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
	.im-l-kafle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

/* Telefon i tablet: filtry w wysuwanym panelu. */
@media (max-width: 991px) {
	.im-l { padding-bottom: 48px; }
	.im-l-okruszki { padding-top: 12px; font-size: 12.5px; }
	.im-l-gora { padding: 14px 0 18px; }
	.im-l-uklad { display: block; }
	.im-l-filtry { position: fixed; top: 0; right: auto; bottom: 0; left: 0; z-index: 1001; display: flex; width: min(88vw, 380px); max-height: none; padding: 0; border-radius: 0; transform: translateX(-102%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
	html.im-nagl-widoczny .im-l-filtry { top: 0; max-height: none; }
	html.im-l-filtry-otwarte .im-l-filtry { transform: none; visibility: visible; transition: transform .25s ease; }
	html.im-l-filtry-otwarte { overflow: hidden; }
	.im-l-filtry__form { display: flex; flex-direction: column; width: 100%; min-height: 0; }
	.im-l-filtry__form > * { padding-left: 20px; padding-right: 20px; }
	.im-l-filtry__gora { flex: none; padding-top: 18px; padding-bottom: 14px; }
	.im-l-filtry__zamknij { display: block; }
	.im-l-f { flex: none; }
	.im-l-filtry__dol, .im-l-filtry__dol--pusty { display: flex; }
	.im-l-filtry__dol { position: sticky; bottom: 0; flex: none; margin-top: auto; padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 18px rgba(0, 0, 0, .06); }
	.im-l-filtry__form { overflow-y: auto; }
	.im-l-filtry__pokaz { display: block; flex: 1; height: 48px; margin-left: auto; border: 0; border-radius: 10px; background: var(--im-czern); font: inherit; font-size: 15px; font-weight: 700; color: #fff; cursor: pointer; }
	.im-l-f__ok { display: none; }
	.im-l-f__cena { grid-template-columns: 1fr 1fr; }
	html.im-l-filtry-otwarte .im-l-zaslona { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .45); }
	.im-l-pasek { flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
	.im-l-pasek__filtry { display: flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--im-czern); font: inherit; font-size: 14.5px; font-weight: 700; color: #fff; cursor: pointer; }
	.im-l-pasek__filtry b { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--im-zloto); font-size: 12px; }
	.im-l-pasek__sort { flex: 1 1 0; min-width: 0; }
	.im-l-pasek__sort span { display: none; }
	.im-l-pasek__sort select { width: 100%; min-width: 0; }
	.im-l-pasek__ile { order: 3; flex: 0 0 100%; font-size: 14px; color: var(--im-szary); }
	.im-l-kafle { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.im-l-opis { margin-top: 40px; padding: 24px 20px; }
}
@media (max-width: 767px) {
	.im-l .im-kontener { padding: 0 14px; }
	.im-l-kafle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.im-l-kafel { padding: 10px 10px 10px; border-radius: 12px; }
	.im-l-kafel:hover { box-shadow: none; transform: none; }
	.im-l-kafel__gora { gap: 4px; min-height: 24px; padding-right: 30px; }
	.im-l-plakietka { height: 22px; padding: 0 6px; border-width: 1px; font-size: 11px; }
	.im-l-kafel .im-serce { top: -5px; right: -6px; width: 34px; height: 34px; }
	.im-l-kafel__foto { margin: 4px 0 8px; }
	.im-l-ocena { gap: 5px; margin-bottom: 8px; font-size: 12.5px; }
	.im-l-gwiazdki { width: 70px; height: 13px; -webkit-mask-size: 14px 13px; mask-size: 14px 13px; }
	.im-l-cechy { gap: 4px; margin-bottom: 8px; }
	.im-l-cechy li { padding: 2px 5px; font-size: 11px; white-space: normal; }
	.im-l-kafel__tytul { font-size: 14px; }
	.im-l-kafel__pod { font-size: 12.5px; }
	.im-l-cena { padding-top: 10px; }
	.im-l-cena strong { font-size: 18px; }
	.im-l-cena del { font-size: 13px; }
	.im-l-omnibus { min-height: 0; gap: 5px; margin-top: 6px; font-size: 11px; }
	.im-l-omnibus--puste { display: none; }
	.im-l-kafel__dol { flex-direction: column; margin-top: 10px; padding-top: 8px; font-size: 11.5px; }
}

/* Strona Sklep (/sklep/, inc/listy.php imaterac_lista_sklep_gora; Konrad 03-11-2026): pasek szukania (LivBerry), cztery kategorie,
   rozmiary jako filtr listy, potem "Wszystkie produkty". Kategorie i rozmiary tylko na pierwszej stronie bez filtrow. */
.im-l--sklep .im-l-gora { padding-bottom: 18px; }
.im-s { margin: 0 0 30px; }
.im-s-szukaj { display: flex; align-items: center; gap: 14px; width: 100%; height: 62px; margin: 0; padding: 0 8px 0 22px; border: 1.5px solid var(--im-linia); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(18, 18, 18, .05); font: inherit; font-size: 16px; line-height: 1.3; text-align: left; color: var(--im-czern); cursor: text; transition: border-color .15s, box-shadow .15s; }
.im-s-szukaj:hover, .im-s-szukaj:focus-visible { border-color: var(--im-zloto); box-shadow: 0 8px 24px rgba(219, 155, 46, .16); }
.im-s-szukaj svg { flex: none; }
.im-s-szukaj__tekst { flex: 1; min-width: 0; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.im-s-szukaj__tekst span { font-weight: 400; color: var(--im-szary); }
.im-s-szukaj__przycisk { display: flex; flex: none; align-items: center; height: 46px; padding: 0 26px; border-radius: 10px; background: var(--im-zloto); font-size: 15px; font-weight: 700; color: #fff; }
.im-s-kategorie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.im-s-kategorie li::before { display: none; }
.im-s-kat { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; height: 100%; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(18, 18, 18, .04), 0 8px 24px rgba(18, 18, 18, .05); color: var(--im-czern); transition: box-shadow .15s, transform .15s; }
.im-s-kat:hover { box-shadow: 0 0 0 1px rgba(185, 124, 18, .25), 0 12px 30px rgba(60, 40, 15, .1); transform: translateY(-1px); }
.im-s-kat__zdjecie { position: relative; display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 10px; background: var(--im-tlo); }
.im-s-kat__zdjecie img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.im-s-kat__tekst strong { display: block; font-size: 15.5px; line-height: 1.3; font-weight: 700; color: var(--im-czern); }
.im-s-kat__tekst span { display: block; margin-top: 5px; font-size: 13px; line-height: 1.35; font-weight: 600; color: var(--im-zloto-ciemne); }
.im-s-kat__strzalka { display: none; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1.5px solid var(--im-zloto); border-radius: 50%; color: var(--im-zloto-ciemne); transition: background .15s, color .15s; }
.im-s-kat:hover .im-s-kat__strzalka { background: var(--im-zloto); color: #fff; }
.im-s-kat__zdjecie img, .im-s-kat__tekst { min-width: 0; }
.im-s-rozmiary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.im-s-rozmiary__tytul { flex: none; margin: 0 8px 0 0; font-size: 14.5px; font-weight: 700; color: var(--im-czern); }
.im-s-rozmiary__lista { display: contents; margin: 0; padding: 0; list-style: none; } /* napis i rozmiary w jednym zawijanym rzedzie */
.im-s-rozmiary__lista li::before { display: none; }
.im-s-rozmiary__lista a { display: block; padding: 7px 14px; border: 1px solid var(--im-linia); border-radius: 999px; background: #fff; font-size: 14px; line-height: 1.3; font-weight: 600; white-space: nowrap; color: var(--im-czern); transition: border-color .15s, color .15s; }
.im-s-rozmiary__lista a:hover { border-color: var(--im-zloto); color: var(--im-zloto-ciemne); }
.im-s-wszystkie { margin: 0 0 16px; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--im-czern); }
@media (max-width: 991px) {
	.im-s-kategorie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.im-s-kat { grid-template-columns: 72px minmax(0, 1fr) auto; }
	.im-s-kat__zdjecie { width: 72px; height: 72px; }
	.im-s-kat__strzalka { display: flex; }
}
@media (max-width: 767px) {
	.im-l--sklep .im-l-gora { padding: 10px 0 12px; }
	.im-l--sklep .im-l-tytul { font-size: 26px; }
	.im-s { margin-bottom: 24px; }
	.im-s-szukaj { gap: 10px; height: 54px; padding: 0 6px 0 14px; border-radius: 12px; font-size: 15px; }
	.im-s-szukaj__przycisk { display: none; }
	.im-s-kategorie { gap: 10px; margin-top: 14px; }
	.im-s-kat { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 12px; overflow: hidden; border-radius: 12px; }
	.im-s-kat:hover { transform: none; }
	.im-s-kat__zdjecie { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
	.im-s-kat__tekst { padding: 10px 12px 0; }
	.im-s-kat__tekst strong { font-size: 14.5px; }
	.im-s-kat__tekst span { margin-top: 3px; font-size: 12.5px; }
	.im-s-kat__strzalka { display: none; }
	.im-s-rozmiary { display: block; margin-top: 16px; }
	.im-s-rozmiary__tytul { margin-bottom: 8px; }
	.im-s-rozmiary__lista { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 -14px; padding: 0 14px 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.im-s-rozmiary__lista::-webkit-scrollbar { display: none; }
	.im-s-wszystkie { margin-bottom: 12px; font-size: 19px; }
}
