/* Homepage composition. ID scope protects catalogue, checkout and account layouts. */
#polunek-home .polunek-hero__slide { grid-template-columns: minmax(0,1fr); }
#polunek-home .polunek-home-categories { background: var(--pk-page-bg); border: 0; padding-block: 48px 0; }
#polunek-home .polunek-home-categories__heading { margin-bottom: 24px; }
#polunek-home .polunek-home-categories__heading .pk-eyebrow { color: var(--pk-ochre-text); font-size: 12px; }
#polunek-home .polunek-home-categories__heading h2,
#polunek-home .polunek-home-heading h2 { font-size: 30px; line-height: 1.2; color: var(--pk-olive); font-weight: 650; text-transform: none; letter-spacing: -.03em; }
#polunek-home .polunek-home-categories__heading > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--pk-olive); font-size: 14px; }
#polunek-home .polunek-home-categories__list { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; border: 0; overflow: visible; }
#polunek-home .polunek-home-categories__list > li:nth-child(n) { border: 1px solid var(--pk-line); border-radius: 4px; }
#polunek-home .polunek-home-categories__link { display: flex; align-items: stretch; background: var(--pk-surface); color: var(--pk-olive); min-height: 0; padding: 0; flex-direction: column; text-align: left; gap: 0; border-radius: 4px; }
#polunek-home .polunek-home-categories__link:is(:hover,:focus-visible) { background: var(--pk-surface); box-shadow: inset 0 0 0 1px var(--pk-control); }
#polunek-home .polunek-home-categories__scene { display: block; aspect-ratio: 2.7; overflow: hidden; border-radius: 3px 3px 0 0; background: var(--pk-surface-hover); }
#polunek-home .polunek-home-categories__scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 54%; }
#polunek-home .polunek-home-categories__body { display: grid; grid-template-columns: 18px minmax(0,1fr) 20px; align-items: start; gap: 10px; padding: 22px 20px 24px; }
#polunek-home .polunek-home-categories__number { font-size: 11px; line-height: 26px; font-variant-numeric: tabular-nums; color: var(--pk-muted); }
#polunek-home .polunek-home-categories__text { display: grid; gap: 10px; }
#polunek-home .polunek-home-categories__label { font-size: 18px; line-height: 1.35; min-height: 2.7em; font-weight: 650; }
#polunek-home .polunek-home-categories__hint { font-size: 13px; line-height: 1.7; color: var(--pk-muted); }
#polunek-home .polunek-home-categories__direction { margin-top: 2px; color: var(--pk-olive); }
@media (prefers-reduced-motion: no-preference) {
    #polunek-home .polunek-home-categories__scene img, #polunek-home .polunek-home-categories__direction { transition: transform .25s ease; }
    #polunek-home .polunek-home-categories__link:is(:hover,:focus-visible) img { transform: scale(1.025); }
    #polunek-home .polunek-home-categories__link:is(:hover,:focus-visible) .polunek-home-categories__direction { transform: translate(2px,-2px); }
}
@media (min-width: 1024px) and (max-width: 1200px) {
    #polunek-home .polunek-home-categories__body { padding: 18px 14px; grid-template-columns: minmax(0,1fr) 18px; gap: 8px; }
    #polunek-home .polunek-home-categories__number { display: none; }
    #polunek-home .polunek-home-categories__label { font-size: 16px; }
}
@media (max-width: 1023px) {
    #polunek-home .polunek-home-categories__list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
#polunek-home .polunek-home-section { padding-block: 48px 40px; }
#polunek-home .polunek-home-heading { margin-bottom: 24px; }
#polunek-home .polunek-product-list { --product-columns: 7; --product-gap: 12px; scrollbar-color: var(--pk-control) transparent; }
#polunek-home .polunek-round-button { width: 44px; height: 44px; border-color: var(--pk-control); background: var(--pk-surface); color: var(--pk-olive); }
#polunek-home .polunek-round-button:hover:not(:disabled) { background: var(--pk-surface-hover); }
#polunek-home .polunek-product__image { aspect-ratio: 1.2; padding: 10px; margin: 8px 8px 0; border-radius: 3px; }
#polunek-home .polunek-product__copy { padding: 12px; }
#polunek-home .polunek-product__category { font-size: 11px; min-height: 3em; }
#polunek-home .polunek-product h3 { font-size: 14px; min-height: 5.6em; line-height: 1.4; margin: 8px 0 12px; }
#polunek-home .polunek-product-list .polunek-product__specs { display: none; }
#polunek-home .polunek-product__specs span { font-size: 12px; padding: 3px 6px; }
#polunek-home .polunek-product__stock { font-size: 11px; min-height: 3em; align-items: baseline; }
#polunek-home .polunek-product__price { margin: 8px 0 12px; }
#polunek-home .polunek-product__price strong { font-size: 21px; }
#polunek-home .polunek-product__price small { font-size: 11px; }
#polunek-home .polunek-product__cta { font-size: 11px; padding: 10px; min-height: 44px; white-space: nowrap; }
#polunek-home .polunek-selection__note { margin-top: 8px; color: var(--pk-muted); font-size: 12px; }
#polunek-home .polunek-comparison { background: var(--pk-surface); border-color: var(--pk-line); margin-bottom: 48px; }
#polunek-home .polunek-comparison :is(table,thead th,tr > :first-child,.polunek-comparison__intro p) { font-size: 14px; }
#polunek-home .polunek-comparison :is(th,td) { border-color: var(--pk-line); }
#polunek-home .polunek-discovery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 48px; align-items: stretch; }
#polunek-home .polunek-discovery__tiles { display: contents; }
#polunek-home .polunek-scene { min-height: 350px; border-color: var(--pk-line); border-radius: 4px; }
#polunek-home .polunek-scene__copy { padding: 28px; min-height: 350px; }
#polunek-home .polunek-scene__copy > strong { max-width: 240px; font-size: 34px; line-height: 1.15; color: var(--pk-olive); }
#polunek-home .polunek-scene::before { background: linear-gradient(180deg,rgba(245,240,230,.97),rgba(245,240,230,.88) 24%,transparent 58%); }
#polunek-home .polunek-scene__cta { font-size: 13px; min-height: 48px; padding: 12px 16px; gap: 16px; background: var(--pk-surface); color: var(--pk-olive); border-color: var(--pk-control); border-radius: 4px; }
#polunek-home .polunek-scene--nature { background: var(--pk-olive); border-color: var(--pk-olive); }
#polunek-home .polunek-scene--nature .polunek-scene__copy > strong { color: var(--pk-cream); font-family: Georgia,serif; font-weight: 400; font-size: 38px; }
#polunek-home .polunek-scene--nature .polunek-home-kicker { color: var(--pk-ochre-light); }
#polunek-home .polunek-scene--nature .polunek-scene__cta { background: transparent; color: var(--pk-cream); border-color: var(--pk-ochre-light); }
#polunek-home .polunek-scene--nature:focus-visible { outline-color: var(--pk-ochre-text); }
#polunek-home .polunek-scene__contours { color: var(--pk-ochre-light); }
#polunek-home .polunek-advice { display: flex; grid-column: auto; flex-direction: column; align-items: stretch; padding: 28px; border-color: var(--pk-line); background: var(--pk-surface); border-radius: 4px; }
#polunek-home .polunek-advice__top { color: var(--pk-olive); }
#polunek-home .polunek-advice h3 { font-size: 29px; margin: 20px 0 16px; color: var(--pk-olive); }
#polunek-home .polunek-advice h3 br { display: none; }
#polunek-home .polunek-advice p { font-size: 14px; line-height: 1.65; color: var(--pk-muted); margin-bottom: 12px; }
#polunek-home .polunek-advice li { font-size: 14px; color: var(--pk-muted); }
#polunek-home .polunek-advice ul { margin-bottom: 16px; }
#polunek-home .polunek-advice > .polunek-home-button { margin-top: auto; }
#polunek-home .polunek-discovery__picks { position: static; grid-column: 1 / -1; min-width: 0; padding: 24px 0 0; border: 0; background: #fff; }
#polunek-home .polunek-picks-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
#polunek-home .polunek-picks-heading h2 { margin: 8px 0 0; color: var(--pk-olive); font-size: 30px; line-height: 1.2; font-weight: 650; letter-spacing: -.03em; }
#polunek-home .polunek-help { padding: 32px; gap: 24px 40px; margin-bottom: 48px; grid-template-columns: 1fr 1fr; background: var(--pk-surface); border-color: var(--pk-line); border-radius: 4px; }
#polunek-home .polunek-help__intro { grid-column: 1 / -1; align-items: center; gap: 20px; padding: 0; }
#polunek-home .polunek-help__intro > svg { color: var(--pk-olive); }
#polunek-home .polunek-help__intro > div { flex: 1; }
#polunek-home .polunek-help h2 { font-size: 30px; color: var(--pk-olive); margin-block: 6px; }
#polunek-home .polunek-help__intro p { font-size: 14px; color: var(--pk-muted); max-width: none; margin: 0; }
#polunek-home .polunek-help__questions { border-top: 1px solid var(--pk-line); }
#polunek-home .polunek-help details { border-color: var(--pk-line); }
#polunek-home .polunek-help summary { min-height: 60px; font-size: 16px; line-height: 1.5; padding-block: 16px; color: var(--pk-olive); }
#polunek-home .polunek-help details p { font-size: 14px; line-height: 1.7; color: var(--pk-muted); }
#polunek-home .polunek-help details p a { color: var(--pk-olive); }
#polunek-home :is(#produkty,#odkrywaj,#faq,#polunek-home-categories,#warte-uwagi,#polunek-services) { scroll-margin-top: 180px; }
@media (min-width: 1280px) and (max-width: 1399px) {
    #polunek-home .polunek-product-list .polunek-product__cta svg { display: none; }
    #polunek-home .polunek-product-list .polunek-product__cta { justify-content: center; }
}
@media (max-width: 1279px) {
    #polunek-home .polunek-product-list { --product-columns: 5; }
}
@media (max-width: 1100px) {
    #polunek-home .polunek-discovery { grid-template-columns: repeat(2,minmax(0,1fr)); }
    #polunek-home .polunek-advice { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    #polunek-home .polunek-product-list { --product-columns: 3; }
    #polunek-home :is(#produkty,#odkrywaj,#faq,#polunek-home-categories,#warte-uwagi,#polunek-services) { scroll-margin-top: 24px; }
}
@media (max-width: 620px) {
    #polunek-home .polunek-home-categories { padding-top: 32px; }
    #polunek-home .polunek-home-categories__heading { margin-bottom: 16px; }
    #polunek-home .polunek-home-categories__heading h2, #polunek-home .polunek-home-heading h2 { font-size: 26px; }
    #polunek-home .polunek-home-categories__list { grid-template-columns: 1fr; gap: 12px; }
    #polunek-home .polunek-home-categories__body { padding: 20px; }
    #polunek-home .polunek-home-categories__label { min-height: 0; }
    #polunek-home .polunek-home-section { padding-block: 32px; }
    #polunek-home .polunek-home-heading { flex-wrap: wrap; gap: 16px; }
    #polunek-home .polunek-home-heading__actions { width: 100%; justify-content: space-between; }
    #polunek-home .polunek-home-heading__actions > .polunek-home-text-link { display: inline-flex; }
    #polunek-home .polunek-product-list { --product-columns: 2; --product-gap: 10px; }
    #polunek-home .polunek-product__image { aspect-ratio: 1.2; }
    #polunek-home .polunek-product h3 { min-height: 0; }
    #polunek-home .polunek-discovery { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
    #polunek-home .polunek-scene { min-height: 350px; }
    #polunek-home .polunek-scene__copy { padding: 24px; }
    #polunek-home .polunek-advice { padding: 24px; }
    #polunek-home .polunek-picks-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 16px; }
    #polunek-home .polunek-picks-heading h2 { font-size: 26px; }
    #polunek-home .polunek-help { grid-template-columns: 1fr; padding: 24px; gap: 0; margin-bottom: 32px; }
    #polunek-home .polunek-help__intro { align-items: flex-start; margin-bottom: 20px; gap: 12px; }
    #polunek-home .polunek-help h2 { font-size: 26px; }
    #polunek-home .polunek-help__intro > svg { width: 32px; height: 32px; }
}

/* Two lead cards beside five compact recommendations, using live catalogue data. */
#polunek-home .polunek-picks-heading { padding-bottom: 24px; margin-bottom: 0; border-bottom: 1px solid var(--pk-line); }
#polunek-home .polunek-picks-editorial { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 24px; padding-top: 16px; }
#polunek-home .polunek-picks-leads { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 10px 24px 10px 0; border-right: 1px solid var(--pk-line); }
#polunek-home .polunek-picks-list { display: grid; min-width: 0; }
#polunek-home .polunek-pick { min-width: 0; }
#polunek-home .polunek-pick:not(.polunek-pick--featured) { padding: 10px 0; border-bottom: 1px solid var(--pk-line); }
#polunek-home .polunek-pick:last-child { border-bottom: 0; }
#polunek-home .polunek-pick__link { display: grid; grid-template-columns: 92px minmax(0,1fr) 120px; align-items: center; gap: 18px; height: 100%; color: var(--pk-ink); }
#polunek-home .polunek-pick__link:is(:hover,:focus-visible) { color: var(--pk-ink); }
#polunek-home .polunek-pick__image { display: flex; align-items: center; justify-content: center; min-width: 0; color: var(--pk-muted); }
#polunek-home .polunek-pick__image img { display: block; width: 100%; height: 88px; object-fit: contain; }
#polunek-home .polunek-pick__details { min-width: 0; }
#polunek-home .polunek-pick__category { display: block; font-size: 11px; line-height: 1.5; color: var(--pk-muted); }
#polunek-home .polunek-pick h3 { min-height: 0; margin: 5px 0 8px; text-transform: none; font-size: 14px; line-height: 1.4; font-weight: 650; letter-spacing: -.015em; }
#polunek-home .polunek-pick__stock { display: flex; gap: 7px; align-items: baseline; font-size: 11px; line-height: 1.55; color: var(--pk-olive); }
#polunek-home .polunek-pick__stock::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
#polunek-home .polunek-pick__stock--muted { color: var(--pk-ochre-text); }
#polunek-home .polunek-pick__purchase { min-width: 0; }
#polunek-home .polunek-pick__price { display: grid; gap: 2px; }
#polunek-home .polunek-pick__price strong { font-size: 21px; font-weight: 750; line-height: 1.3; }
#polunek-home .polunek-pick__price small { color: var(--pk-muted); font-size: 11px; line-height: 1.6; }
#polunek-home .polunek-pick__cta { display: flex; align-items: center; gap: 8px; min-height: 32px; margin-top: 4px; font-size: 12px; color: var(--pk-olive); text-decoration: underline; text-underline-offset: 4px; }
#polunek-home .polunek-pick__cta svg { flex-shrink: 0; }
#polunek-home .polunek-pick__link:is(:hover,:focus-visible) .polunek-pick__cta { text-decoration-thickness: 2px; }
#polunek-home .polunek-pick--featured .polunek-pick__link { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
#polunek-home .polunek-pick--featured .polunek-pick__image { height: 250px; margin-bottom: 20px; }
#polunek-home .polunek-pick--featured .polunek-pick__image img { height: 100%; }
#polunek-home .polunek-pick--featured .polunek-pick__details { flex: 1; }
#polunek-home .polunek-pick--featured h3 { min-height: 4.2em; font-size: 18px; line-height: 1.4; margin-bottom: 12px; }
#polunek-home .polunek-pick--featured .polunek-pick__purchase { margin-top: 18px; }
#polunek-home .polunek-pick--featured .polunek-pick__price strong { font-size: 26px; }
#polunek-home .polunek-pick--featured .polunek-pick__price small { font-size: 12px; }
#polunek-home .polunek-pick--featured .polunek-pick__cta { min-height: 44px; justify-content: space-between; padding: 10px 12px; margin-top: 14px; border-radius: 3px; background: var(--pk-olive); color: #fff; text-decoration: none; font-weight: 650; font-size: 11px; text-transform: uppercase; letter-spacing: .025em; white-space: nowrap; }
#polunek-home .polunek-pick--featured .polunek-pick__link:is(:hover,:focus-visible) .polunek-pick__cta { background: var(--pk-olive-hover); }
@media (prefers-reduced-motion: no-preference) {
    #polunek-home .polunek-pick__cta svg { transition: transform .2s ease; }
    #polunek-home .polunek-pick__link:is(:hover,:focus-visible) .polunek-pick__cta svg { transform: translateX(3px); }
}
@media (max-width: 1279px) and (min-width: 1024px) {
    #polunek-home .polunek-picks-editorial { grid-template-columns: 1fr 1.15fr; gap: 20px; }
    #polunek-home .polunek-picks-leads { gap: 16px; padding-right: 20px; }
    #polunek-home .polunek-pick__link { grid-template-columns: 64px minmax(0,1fr) 120px; gap: 12px; }
    #polunek-home .polunek-pick--featured .polunek-pick__image { height: 220px; }
    #polunek-home .polunek-pick--featured h3 { font-size: 16px; }
}
@media (max-width: 1023px) {
    #polunek-home .polunek-picks-editorial { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
    #polunek-home .polunek-picks-leads { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--pk-line); }
}
@media (max-width: 620px) {
    #polunek-home .polunek-picks-leads { gap: 16px; }
    #polunek-home .polunek-pick--featured .polunek-pick__image { height: 180px; margin-bottom: 16px; }
    #polunek-home .polunek-pick--featured h3 { font-size: 14px; margin: 5px 0 12px; }
    #polunek-home .polunek-pick--featured .polunek-pick__category { min-height: 3em; }
    #polunek-home .polunek-pick--featured .polunek-pick__price strong { font-size: 21px; }
    #polunek-home .polunek-pick--featured .polunek-pick__cta { padding-inline: 8px; gap: 4px; }
    #polunek-home .polunek-pick:not(.polunek-pick--featured) { padding-block: 16px; }
    #polunek-home .polunek-pick__link { grid-template-columns: 66px minmax(0,1fr); gap: 10px 14px; }
    #polunek-home .polunek-pick:not(.polunek-pick--featured) .polunek-pick__image { grid-row: 1 / span 2; align-self: start; padding-top: 6px; }
    #polunek-home .polunek-pick__image img { height: 76px; }
    #polunek-home .polunek-pick__purchase { grid-column: 2; }
    #polunek-home .polunek-pick__cta { margin-top: 6px; }
    #polunek-home .polunek-pick:not(.polunek-pick--featured) .polunek-pick__purchase { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
    #polunek-home .polunek-pick:not(.polunek-pick--featured) .polunek-pick__cta { margin: 0; }
}
