/* L01: style ograniczone do nowego wzorca kategorii. */
.category-page { background: #fff; }
.category-intro { padding-top: 28px; padding-bottom: 52px; }
.category-breadcrumbs { font-size: 14px; color: var(--muted); }
.category-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.category-breadcrumbs li+li::before { content: '/'; color: #879397; margin-right: 9px; }
.category-breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c9d0d1; }
.category-breadcrumbs a:hover { color: #a74808; text-decoration-color: currentColor; }
.category-heading { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 40px 34px; border-bottom: 1px solid var(--line); }
.category-heading .eyebrow { margin-bottom: 14px; }
.category-heading h1 { font-size: clamp(38px,4.6vw,66px); line-height: 1.12; letter-spacing: -.025em; }
.category-meta { font-size: 15px; color: var(--muted); margin-top: 16px; }
.category-jump { flex: none; background: var(--ink); color: #fff; gap: 30px; }
.category-jump:hover { background: #354454; }
.category-original-copy { display: grid; grid-template-columns: 1fr 1.08fr; column-gap: clamp(48px,7vw,110px); row-gap: 18px; padding-top: 38px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.category-original-copy h2 { grid-column: 1; grid-row: 1; max-width: 24ch; font-size: clamp(25px,2.2vw,32px); line-height: 1.22; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.category-original-copy>p:first-of-type { grid-column: 1; grid-row: 2; }
.category-original-copy>p:last-of-type { grid-column: 1; grid-row: 3; align-self: start; }
.category-original-copy h4 { grid-column: 2; grid-row: 1; margin: 0; align-self: end; font-size: 16px; font-weight: 650; color: var(--ink); }
.category-original-copy ul { grid-column: 2; grid-row: 2 / 4; list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.category-original-copy li { padding-left: 18px; position: relative; }
.category-original-copy li::before { content: ''; position: absolute; width: 5px; height: 5px; top: .65em; left: 0; border: 1px solid #a8490b; }
.category-original-copy strong { font-weight: 650; color: var(--ink); }
.category-copy-flow { display: block; max-width: 76ch; }
.category-copy-flow > * + * { margin-top: 14px; }
.category-copy-flow h2, .category-copy-flow h3 { max-width: 30ch; margin-bottom: 4px; font-size: clamp(22px,2vw,28px); line-height: 1.25; color: var(--ink); }
.category-copy-flow h4 { margin: 22px 0 0; font-size: 16px; font-weight: 650; color: var(--ink); }
.category-copy-flow ul { display: grid; gap: 10px; }
.category-listing { background: #f2efeb; padding-block: 58px; scroll-margin-top: 16px; }
.category-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.category-list-heading .eyebrow { margin-bottom: 14px; }
.category-list-heading h2 { font-size: clamp(30px,3.2vw,44px); letter-spacing: -.025em; }
.category-range { font-size: 15px; color: var(--muted); white-space: nowrap; }
.category-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.category-product-grid>li { min-width: 0; }
.category-product { display: flex; flex-direction: column; height: 100%; border: 1px solid #dedad4; background: #fff; border-radius: 4px; transition: border-color .2s,box-shadow .2s; }
.category-product-photo { position: relative; overflow: hidden; aspect-ratio: 4/3; border-radius: 3px 3px 0 0; background: #fff; }
.category-product-photo img { width: 100%; height: 100%; object-fit: cover; }
.category-product-photo::after { content: ''; position: absolute; top: 0; right: 0; width: 20px; height: 16px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); opacity: 0; transition: opacity .2s; }
.category-product-info { padding: 20px; display: flex; flex: 1; flex-direction: column; border-top: 1px solid #f2efeb; }
.category-product h3 { font-size: clamp(18px,1.5vw,22px); line-height: 1.4; letter-spacing: -.012em; font-weight: 550; text-wrap: pretty; margin-bottom: 26px; }
.category-product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.category-price { font-size: clamp(21px,1.9vw,27px); font-weight: 650; white-space: nowrap; letter-spacing: -.025em; }
.category-product-action { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 550; }
.category-product-action .icon { width: 18px; height: 18px; }
.category-product:hover,.category-product:focus-visible { border-color: #a4abb1; box-shadow: 0 5px 20px #252c320a; }
.category-product:hover .category-product-action,.category-product:focus-visible .category-product-action { color: #a74808; }
.category-product:hover .category-product-photo::after,.category-product:focus-visible .category-product-photo::after { opacity: 1; }
.category-list-footer { margin-top: 30px; padding-top: 24px; border-top: 1px solid #d8d4ce; display: flex; align-items: start; justify-content: space-between; gap: 44px; }
.category-pricing-note { max-width: 600px; font-size: 14px; color: var(--muted); }
.category-pagination { display: flex; align-items: center; gap: 8px; flex: none; font-size: 15px; }
.category-page-number { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d6d1ca; border-radius: 3px; }
.category-page-number[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.category-page-direction { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 10px; }
.category-pagination a:hover { background: #e6e4e0; color: #a74808; }
.category-help { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 64px; }
.category-help h2 { font-size: clamp(30px,3vw,42px); letter-spacing: -.025em; }
.category-models>a:not(.category-contact) { display: flex; gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.category-models>a>svg:not(.icon) { width: 74px; height: 64px; flex: none; }
.category-models>a>.icon { margin-left: auto; }
.category-models .category-help-icon { display: grid; place-items: center; width: 74px; height: 64px; flex: none; color: var(--muted); }
.category-models .category-help-icon .icon { width: 30px; height: 30px; }
.category-models strong { display: block; font-size: 21px; font-weight: 600; }
.category-models small { display: block; font-size: 15px; color: var(--muted); }
.category-models a:hover strong,.category-models a:hover>.icon { color: #a74808; }
.category-models .category-contact { margin-top: 24px; font-size: 15px; }
@media(min-width:1600px) { .category-product-photo { aspect-ratio: 1.5; } }
@media(max-width:1100px) {
 .category-product-action { font-size: 0; }
 .category-product-action .icon { width: 22px; height: 22px; }
 .category-original-copy { column-gap: 40px; }
}
@media(max-width:800px) {
 .category-heading { align-items: start; }
 .category-jump { padding: 14px 18px; gap: 10px; font-size: 14px; }
 .category-original-copy { display: block; padding-top: 28px; }
 .category-original-copy h2 { max-width: 30ch; margin-bottom: 18px; }
 .category-original-copy h4 { margin-block: 24px 14px; }
 .category-original-copy p:last-child { margin-top: 24px; }
 .category-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 18px; }
 .category-list-footer { flex-direction: column; gap: 22px; }
 .category-pagination { align-self: center; }
 .category-help { gap: 36px; }
}
@media(max-width:540px) {
 .category-intro { padding-top: 22px; padding-bottom: 32px; }
 .category-breadcrumbs { font-size: 13px; }
 .category-heading { flex-direction: column; gap: 22px; padding-block: 28px; }
 .category-heading h1 { font-size: 38px; }
 .category-heading .eyebrow { font-size: 12px; letter-spacing: 0; gap: 8px; }
 .category-meta { margin-top: 12px; font-size: 14px; }
 .category-jump { min-height: 46px; }
 .category-original-copy { font-size: 16px; }
 .category-original-copy h2 { font-size: 25px; }
 .category-listing { padding-block: 36px; scroll-margin-top: 16px; }
 .category-list-heading { display: block; margin-bottom: 24px; }
 .category-range { margin-top: 14px; }
 .category-product-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
 .category-product-photo { aspect-ratio: 1.5; }
 .category-product-info { padding: 20px; }
 .category-product h3 { font-size: 21px; margin-bottom: 18px; }
 .category-price { font-size: 25px; }
 .category-product-action { font-size: 13px; }
 .category-help { grid-template-columns: minmax(0,1fr); padding-block: 40px; gap: 24px; }
 .category-models .category-contact { align-items: start; }
}
@media(max-width:360px) { .category-product-action { font-size: 0; } }
@media(prefers-reduced-motion:reduce) { .category-product,.category-product-photo::after { transition: none; } }

/* Dalsze sekcje opisu kategorii: panele do rozwiniecia. Wstep zostaje w ukladzie
   dwukolumnowym, reszta tekstu (kilka tysiecy znakow ze starego sklepu) chowa sie
   pod naglowkami, zeby strona nie byla sciana liter. */
.category-copy-sections { margin-top: 34px; border-top: 1px solid var(--line); }
.category-copy-more { border-bottom: 1px solid var(--line); }
.category-copy-more > summary {
  cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative;
  font: 650 18px/1.35 "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink);
}
.category-copy-more > summary::-webkit-details-marker { display: none; }
.category-copy-more > summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid #6b747c; border-bottom: 2px solid #6b747c;
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.category-copy-more[open] > summary::after { transform: translateY(-30%) rotate(225deg); }
.category-copy-more > summary:hover { color: #a54c0d; }
.category-copy-more > summary:focus-visible { outline: 2px solid #b85108; outline-offset: 3px; }
.category-copy-body { padding: 0 0 26px; max-width: 74ch; font-size: 16px; line-height: 1.75; color: #454c52; }
.category-copy-body h3, .category-copy-body h4 { font-size: 17px; font-weight: 650; color: var(--ink); margin: 22px 0 8px; }
.category-copy-body p { margin: 0 0 14px; }
.category-copy-body ul, .category-copy-body ol { margin: 0 0 16px; padding-left: 22px; }
.category-copy-body li { margin-bottom: 8px; }
.category-copy-body a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .category-copy-more > summary { font-size: 16px; padding: 17px 30px 17px 0; }
  .category-copy-body { font-size: 15px; }
}
