/* Produkty: jedna kompozycja z pasem Halloween i opakowaniami 150 / 300 g. */
.catalog-story { background-size: 100% auto; background-repeat: no-repeat; background-position: center top; isolation: isolate; }
.catalog-story .catalog-hero { min-height: 385px; background-color: transparent; }
.catalog-story .hero-sign { top: 110px; left: 31%; width: 39%; min-height: 240px; padding: 28px 22px; }
.catalog-story .hero-sign h1 { font-size: clamp(52px,6vw,90px); }
.catalog-story .hero-sign p { font-size: clamp(23px,2.2vw,32px); }
.catalog-story .hero-mascots { width: 32%; max-width: 490px; left: -1%; bottom: -32px; z-index: 4; }
.catalog-story .feature-signs { top: 108px; right: 1.4%; width: 23%; }
.catalog-story .feature-sign { min-height: 72px; padding: 14px; }
.catalog-story .feature-sign::before { background: #321608b5; }
.catalog-story .feature-sign p { color: #fff9e8; font-size: clamp(16px,1.35vw,21px); line-height: 1.2; text-shadow: 0 1px 2px #291409; }
.catalog-story .hero-butterfly { width: 48px; top: 130px; left: 29%; }
.catalog-story .catalog-filters { margin: -36px auto -24px; z-index: 7; padding: 7px 10px; gap: 8px; max-width: 96%; }
.catalog-filters .wp-block-button__link { font: 700 17px/1.25 'Trebuchet MS',sans-serif; padding: 12px 20px; }
.catalog-filter-chip { position: relative; }
.catalog-filter-art { position: absolute; z-index: 2; width: 30px; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.catalog-filters .catalog-filter-chip .wp-block-buttons .wp-block-button__link { background: transparent; color: #612600; padding-left: 52px; }
.catalog-filters .catalog-filter-chip:first-child .wp-block-button__link,
.catalog-filters .catalog-filter-chip:has(.is-active) .wp-block-button__link { background: #003b2d; color: #fff8df; }
.catalog-filters.is-filtering .catalog-filter-chip:first-child:not(:has(.is-active)) .wp-block-button__link { background: transparent; color: #612600; }
.catalog-filter-chip:first-child .catalog-filter-art { filter: brightness(0) invert(94%) sepia(10%) saturate(600%) hue-rotate(340deg); }
.catalog-filters.is-filtering .catalog-filter-chip:first-child:not(:has(.is-active)) .catalog-filter-art { filter: none; }
.catalog-halloween-stage { position: relative; z-index: 5; padding: 48px 2.5% 24px; background-size: cover; background-position: center; }
.catalog-halloween-grid { display: grid; grid-template-columns: minmax(0,.8fr) repeat(2,minmax(0,1.15fr)); gap: 18px; max-width: 1600px; margin: auto; align-items: center; }
.catalog-season-sign { padding: 32px 20px; background-size: 100% 100%; text-align: center; transform: rotate(-3deg); isolation: isolate; }
.catalog-season-sign::before { content: ''; position: absolute; inset: 10% 4%; z-index: -1; background: #36150c9c; border-radius: 16px; }
.catalog-season-sign h2 { font: 800 clamp(30px,3vw,46px)/1.1 'Baloo 2',sans-serif; color: #fff8df; margin: 0 0 14px; text-shadow: 0 3px 0 #44200b; }
.catalog-season-sign .halloween-word { font-size: 1.25em; color: #ffb546; }
.catalog-season-sign p { color: #fff8df; font: 700 18px/1.4 'Trebuchet MS',sans-serif; margin: 0; text-shadow: 0 2px 2px #36150c; }
.catalog-halloween-card { background: transparent; padding: 0; border-radius: 0; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 0; color: #512605; align-items: center; }
.catalog-halloween-copy { background: #fff7df; padding: 20px 16px; border-radius: 18px 24px 13px 22px; box-shadow: 0 4px 12px #25102c25; min-width: 0; position: relative; z-index: 2; }
.catalog-halloween-copy h3 { font: 700 clamp(17px,1.35vw,21px)/1.12 Georgia,serif; letter-spacing: -.025em; margin: 0 0 14px; overflow-wrap: anywhere; }
.catalog-halloween-copy .check-list { font-size: 14px; line-height: 1.3; margin: 12px 0 14px; }
.catalog-halloween-copy .check-list li { line-height: 1.3; padding: 0 0 9px 23px; }
.catalog-halloween-copy .check-list li::before { background: #753588; top: 0; width: 17px; height: 17px; line-height: 17px; }
.catalog-halloween-copy .wp-block-button__link { background: #74348b; font-size: 15px; line-height: 1.2; padding: 11px 14px; white-space: nowrap; }
.catalog-halloween-art { width: 115%; margin-left: -7%; align-self: end; position: relative; z-index: 3; pointer-events: none; }
.catalog-halloween-art a { pointer-events: auto; }
.catalog-standard-section { position: relative; z-index: 6; background: #fff7df; }
.catalog-flavor-results { display: none; }
.catalog-standard-section.is-flavor-filter .catalog-flavor-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 750px; gap: 20px; padding: 20px; margin: auto; }
.catalog-standard-product { min-width: 0; text-align: center; padding-bottom: 16px; }
.catalog-standard-product h3 { font-size: 25px; margin: 0 0 12px; }
.catalog-standard-product .wp-block-buttons { justify-content: center; }
.catalog-halloween-grid:has(.halloween-card[hidden]) { grid-template-columns: minmax(0,.8fr) minmax(0,1.15fr); max-width: 1000px; }
.catalog-halloween-grid:has(.halloween-card[hidden]) .catalog-season-sign { grid-column: auto; }
.catalog-sizes-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 1600px; margin: auto; }
.catalog-size-card { position: relative; display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); overflow: hidden; border-radius: 26px; background: #fff8df; align-items: end; }
.catalog-size-copy { padding: 22px 10px 22px 30px; position: relative; z-index: 2; }
.catalog-size-copy h2 { font-size: clamp(26px,2.3vw,36px); line-height: 1.12; letter-spacing: -.025em; color: #512605; margin: 0 0 5px; }
.catalog-size-copy > p { color: #512605; font-size: 16px; line-height: 1.4; margin: 0 0 12px; }
.catalog-size-copy .check-list { margin: 12px 0 16px; font-size: 15px; }
.catalog-size-copy .check-list li { line-height: 1.3; padding-bottom: 8px; padding-left: 24px; }
.catalog-size-copy .wp-block-button__link { font-size: 16px; padding: 11px 18px; line-height: 1.25; background: #612600; }
.catalog-size-art { width: 114%; margin-left: -14%; align-self: end; mask-image: linear-gradient(90deg,transparent,#000 12%); }
.catalog-benefits { position: relative; z-index: 6; padding: 20px 5%; background-size: 100% 100%; }
.catalog-benefits-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 1500px; margin: auto; gap: 22px; }
.catalog-benefit { display: flex; align-items: center; gap: 14px; }
.catalog-benefit > p:last-child { color: #fff8df; font: 700 18px/1.25 Georgia,serif; margin: 0; text-shadow: 0 1px 2px #3d1e0d; }
.catalog-benefit-icon { width: 62px; min-width: 62px; height: 62px; display: grid; place-content: center; background: #fff8df; color: #612600; border-radius: 50%; font-size: 33px; margin: 0; box-shadow: 0 3px 5px #331e0b35; }
.catalog-icon-leaf { width: 38px; filter: brightness(0) invert(14%) sepia(72%) saturate(1110%) hue-rotate(349deg); }
.catalog-edge-leaf { position: absolute; width: 64px; bottom: 1%; z-index: 3; pointer-events: none; }
.catalog-edge-leaf.edge-left { left: -8px; transform: rotate(-25deg); }
.catalog-edge-leaf.edge-right { right: -8px; transform: rotate(32deg); }
.catalog-benefits .hero-motion-toggle { position: static; display: block; width: fit-content; margin: 15px auto 0; font-size: 12px; padding: 5px 10px; }
.editor-styles-wrapper .catalog-halloween-grid > .block-editor-inner-blocks,
.editor-styles-wrapper .catalog-sizes-grid > .block-editor-inner-blocks,
.editor-styles-wrapper .catalog-benefits-grid > .block-editor-inner-blocks { display: contents; }
.editor-styles-wrapper .catalog-halloween-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: minmax(0,.8fr) repeat(2,minmax(0,1.15fr)); align-items: center; gap: 18px; }
.editor-styles-wrapper .catalog-sizes-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.editor-styles-wrapper .catalog-benefits-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.editor-styles-wrapper .catalog-halloween-card > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .catalog-size-card > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: end; }
.editor-styles-wrapper .catalog-flavor-results { display: block; padding: 20px; }
.editor-styles-wrapper .catalog-flavor-results > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
@media (max-width: 1100px) {
    .catalog-story .catalog-hero { min-height: 430px; }
    .catalog-story .hero-sign { top: 145px; min-height: 220px; }
    .catalog-story .feature-signs { top: 140px; }
    .catalog-season-sign { padding: 28px 14px; }
    .catalog-season-sign h2 { font-size: 32px; }
    .catalog-season-sign p { font-size: 16px; }
    .catalog-halloween-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
    .catalog-season-sign { grid-column: 1 / -1; max-width: 520px; justify-self: center; width: 100%; }
    .catalog-halloween-copy h3 { font-size: 22px; }
    .catalog-halloween-copy .check-list { font-size: 15px; }
    .catalog-sizes-grid { grid-template-columns: 1fr; }
    .catalog-size-art { width: 100%; margin-left: 0; }
    .catalog-size-copy { padding: 28px; }
    .catalog-size-copy h2 { font-size: 34px; }
    .catalog-size-copy .check-list { font-size: 17px; }
    .catalog-benefit { gap: 10px; }
    .catalog-benefit-icon { width: 52px; min-width: 52px; height: 52px; }
    .catalog-benefit > p:last-child { font-size: 16px; }
}
@media (max-width: 780px) {
    .catalog-story { background-size: auto 950px; }
    .catalog-story .catalog-hero { min-height: 670px; }
    .catalog-story .hero-sign { left: 5%; width: 90%; top: 128px; min-height: 238px; }
    .catalog-story .hero-sign h1 { font-size: clamp(48px,10vw,70px); }
    .catalog-story .hero-mascots { width: 56%; left: -6%; bottom: 8px; }
    .catalog-story .feature-signs { top: auto; bottom: 55px; width: 49%; right: 2%; }
    .catalog-story .feature-sign { min-height: 82px; }
    .catalog-story .hero-butterfly { top: 365px; left: 6%; width: 36px; }
    .catalog-story .catalog-filters { margin: -18px auto -24px; border-radius: 28px; gap: 0; padding: 7px; }
    .catalog-filters .wp-block-button__link { font-size: 15px; padding: 10px 12px; }
    .catalog-halloween-stage { padding: 48px 4% 26px; background-size: auto 100%; }
    .catalog-halloween-grid { grid-template-columns: 1fr; }
    .catalog-halloween-card { grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); }
    .catalog-halloween-grid:has(.halloween-card[hidden]) { grid-template-columns: 1fr; }
    .catalog-standard-section.is-flavor-filter .catalog-flavor-results { grid-template-columns: 1fr; max-width: 350px; }
    .catalog-halloween-copy { padding: 22px 18px; }
    .catalog-halloween-copy h3 { font-size: 20px; }
    .catalog-halloween-art { width: 115%; margin-left: -7%; align-self: center; }
    .catalog-season-sign { max-width: 350px; }
    .catalog-size-card { grid-template-columns: 1fr; }
    .catalog-size-copy { padding: 26px 26px 10px; }
    .catalog-size-art { width: 100%; margin: 0; mask-image: none; }
    .catalog-benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 18px; }
    .catalog-benefit { flex-direction: column; text-align: center; }
    .catalog-benefit > p:last-child { font-size: 17px; }
    .editor-styles-wrapper .catalog-halloween-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
    .editor-styles-wrapper .catalog-sizes-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
    .editor-styles-wrapper .catalog-size-card > .block-editor-inner-blocks > .block-editor-block-list__layout { grid-template-columns: 1fr; }
    .editor-styles-wrapper .catalog-benefits-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 360px) {
    .catalog-halloween-card { grid-template-columns: 1fr; }
    .catalog-halloween-art { width: 85%; margin: 10px auto 0; }
}
@media (prefers-reduced-motion: reduce) { .catalog-benefits .hero-motion-toggle { display: none; } }
