/* Puzzle Caper – site styles on top of Kadence (Customizer > Additional CSS).
   Colors come from the Kadence palette (--global-palette1..9, see site/setup/kadence-brand.php).
   Extra brand colors not in the palette: teal #1f8a8a (large shapes only), dark teal #176f6f (text), sun #ffc23d. */

:root {
	--pc-teal: #1f8a8a;
	--pc-teal-text: #176f6f;
	--pc-sun: #ffc23d;
	--pc-radius: 18px;
	--pc-shadow: 0 6px 20px rgba(29, 42, 68, 0.08);
}

/* Kadence is a classic theme, so group blocks wrap their content in .wp-block-group__inner-container.
   Grid and flex layouts below must look through that wrapper. */
.pc-grid > .wp-block-group__inner-container,
.pc-aud > .wp-block-group__inner-container { display: contents; }
.pc-grid > .wp-block-group__inner-container > * { margin: 0 !important; }
.entry-content ul.pc-facts, .entry-content ul.pc-checks { padding-left: 0 !important; margin-left: 0 !important; }

/* Sections */
.pc-sec { padding: 44px 24px; margin: 0 !important; }
.pc-sec .wp-block-group__inner-container > *:last-child, .pc-sec > *:last-child { margin-bottom: 0 !important; }
.pc-sec > * { max-width: 1140px; margin-left: auto !important; margin-right: auto !important; }
.pc-center { text-align: center; }
.pc-sub { max-width: 640px !important; margin-left: auto; margin-right: auto; color: var(--global-palette5); font-size: 1.1rem; }
.pc-sec h2 { margin: 0 0 0.3em; }
.pc-sec p { margin-bottom: 0.8em; }
.pc-sec .pc-sub { margin-bottom: 0; }

.pc-hero { background: var(--global-palette7); padding-top: 36px; padding-bottom: 40px; }
.pc-eyebrow { color: var(--pc-teal-text); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; margin-bottom: 0.6em; }
.pc-hero h1 { margin-top: 0; }
.pc-lead { font-size: 1.2rem; color: var(--global-palette4); max-width: 34em; }
.pc-hero-art img { width: 100%; max-width: 560px; height: auto; margin: 0 auto; display: block; }

.pc-facts { list-style: none; padding: 0; margin: 1.4em 0 0 !important; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: 0.98rem; }
.pc-facts li::before { content: "\2713"; color: var(--pc-teal-text); font-weight: 800; margin-right: 0.4em; }

.pc-audiences { background: var(--global-palette9); }
.pc-lines { background: var(--global-palette7); } /* own background after the white product section (owner 20.10.2026) */
.pc-faq { background: var(--global-palette8); }
.pc-how { background: var(--global-palette9); } /* sits between the cream products and the sun-tint product lines */
.pc-characters { background: var(--global-palette7); }

/* Grids and cards */
.pc-grid { display: grid; gap: 18px; margin-top: 20px !important; }
.pc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pc-grid-2 { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.pc-card { position: relative; background: var(--global-palette9); border: 1px solid var(--global-palette6); border-top: 6px solid var(--global-palette1); border-radius: var(--pc-radius); padding: 18px 20px; box-shadow: var(--pc-shadow); transition: transform 0.15s ease; }
.pc-card:nth-child(4n+2) { border-top-color: var(--pc-teal); }
.pc-card:nth-child(4n+3) { border-top-color: var(--pc-sun); }
.pc-card:nth-child(4n+4) { border-top-color: var(--global-palette3); }
.pc-card h3 { margin: 0 0 0.35em; font-size: 1.3rem; }
.pc-card h3 a { color: var(--global-palette3); text-decoration: none; }
.pc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--pc-radius); }
.pc-card h3 a:focus-visible::after { outline: 3px solid var(--pc-teal-text); outline-offset: 2px; }
.pc-card p { margin: 0; color: var(--global-palette5); }
.pc-card:hover { transform: translateY(-2px); }
.pc-card .pc-soon { position: absolute; top: 14px; right: 16px; margin: 0; padding: 2px 10px; border-radius: 999px; background: var(--global-palette7); color: var(--global-palette3); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; }
.pc-card.is-soon h3 { padding-right: 96px; }

.pc-steps { counter-reset: pcstep; }
.pc-step { text-align: center; padding: 8px 12px; }
.pc-step h3::before { counter-increment: pcstep; content: counter(pcstep); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; background: var(--pc-sun); color: var(--global-palette3); font-size: 1.5rem; font-weight: 800; }
.pc-step p { color: var(--global-palette5); margin: 0; }

.pc-aud { background: var(--global-palette8); border: 1px solid var(--global-palette6); border-radius: var(--pc-radius); padding: 24px 26px; display: flex; flex-direction: column; }
.pc-aud .wp-block-buttons { margin-top: auto; padding-top: 12px; }
.pc-checks { list-style: none; padding: 0; margin: 0 0 1.2em !important; }
.pc-checks li { position: relative; padding-left: 2em; margin-bottom: 0.4em; }
.pc-checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--pc-teal); color: #fff; font-size: 0.85em; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 0.2em; }

.pc-bandit img { width: 100%; max-width: 210px; height: auto; margin: 0 auto; display: block; }

.pc-free { background: var(--pc-sun); }
.pc-free .pc-sub { color: var(--global-palette3); }
.pc-free .wp-block-buttons, .pc-final .wp-block-buttons { justify-content: center; margin-top: 14px !important; }
.pc-free .wp-block-button__link { background: var(--global-palette3); color: #fff; }
.pc-free .wp-block-button__link:hover { background: var(--global-palette9); color: var(--global-palette3); }

.pc-faq .wp-block-details { max-width: 760px !important; margin-left: auto; margin-right: auto; background: var(--global-palette9); border: 1px solid var(--global-palette6); border-radius: 14px; padding: 12px 20px; margin-top: 8px; }
.pc-faq summary { font-weight: 800; cursor: pointer; color: var(--global-palette3); }
.pc-faq .wp-block-details p { margin: 0.6em 0 0; color: var(--global-palette5); }

.pc-final { background: var(--global-palette3); padding-bottom: 20px !important; } /* footer below is the same navy */
.pc-final h2 { color: #fff; }
.pc-final .pc-sub { color: #c9d1e3; }
.pc-final .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #cf4631; } /* accent on navy */
.pc-final .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #ffffff; color: var(--global-palette3); }

/* Product cards (shop, categories, homepage): one compact framed card like szkolnedruki.pl (owner 20.10.2026) */
.pc-featured { background: var(--global-palette8); } /* cream, so white covers stand out (owner 20.10.2026) */
.pc-featured .woocommerce { margin-top: 20px; }
.pc-featured { padding-bottom: 36px; }
.pc-featured ul.products { margin-bottom: 30px !important; }
.pc-center-buttons .wp-block-buttons { justify-content: center; margin-top: 8px; }
.pc-faq .pc-center-buttons .wp-block-buttons { margin-top: 18px !important; }
.woocommerce ul.products { column-gap: 24px !important; row-gap: 26px !important; }
.woocommerce ul.products li.product { position: relative; container-type: inline-size; background: var(--global-palette9); border: 2px solid var(--global-palette6); border-radius: 16px; padding: 0; overflow: hidden; box-shadow: none !important; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-2px); box-shadow: var(--pc-shadow) !important; }
.woocommerce ul.products li.product img { border-radius: 0; margin: 0 !important; display: block; }
.woocommerce ul.products li.product .woocommerce-loop-image-link { display: block; position: static !important; background: #ffffff; padding-bottom: 7px; } /* white strip between the cover pill and the tinted price bar */
/* Whole card is the product link, including price, badge and the hover strip (owner 20.10.2026) */
.woocommerce ul.products li.product .woocommerce-loop-image-link::after { content: ""; position: absolute; inset: 0; z-index: 5; }
.woocommerce ul.products li.product .woocommerce-loop-image-link:focus-visible { outline: none; }
/* card buttons sit above that whole-card link layer, so "Add to cart" adds instead of opening the product (25.10.2026) */
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .added_to_cart { position: relative; z-index: 6; }
.woocommerce ul.products li.product:has(.woocommerce-loop-image-link:focus-visible) { outline: 3px solid var(--pc-teal-text); outline-offset: 3px; }
/* Card frame takes the colour of its product line (same as the band on the cover, owner 20.10.2026) */
.woocommerce ul.products li.product.product_cat-escape-rooms,
.woocommerce ul.products li.product.product_cat-party-kits { border-color: #cf4631; }
.woocommerce ul.products li.product.product_cat-color-by-code,
.woocommerce ul.products li.product.product_cat-unplugged-coding { border-color: #1f8a8a; }
.woocommerce ul.products li.product.product_cat-secret-codes,
.woocommerce ul.products li.product.product_cat-case-files,
.woocommerce ul.products li.product.product_cat-adventure-games { border-color: #1d2a44; }
.woocommerce ul.products li.product.product_cat-bundles { border-color: #176f6f; }
.woocommerce ul.products li.product.product_cat-logic-puzzles,
.woocommerce ul.products li.product.product_cat-math-fact-games { border-color: #ffc23d; }
/* Card body white for every product (owner 26.10.2026: "wszędzie to tło powinno być białe"; the line tint of 20.10 is
   dropped); the line shows only in the frame. Frames for the $2.99-line categories in the colors of their cover bands. */
.woocommerce ul.products li.product { background: #ffffff; }
.woocommerce ul.products li.product.product_cat-puzzle-packs { border-color: #cf4631; }
.woocommerce ul.products li.product.product_cat-stem-challenges { border-color: #2a6f97; }
.woocommerce ul.products li.product.product_cat-gift-tags-rewards,
.woocommerce ul.products li.product.product_cat-handwriting-copywork { border-color: #176f6f; }
.woocommerce ul.products li.product.product_cat-math-projects-routines { border-color: #1d2a44; }
.woocommerce ul.products li.product.product_cat-brain-breaks-games { border-color: #ffc23d; }
.woocommerce ul.products li.product .product-details { margin: 0 !important; border-radius: 0 !important; padding: 9px 12px 9px !important; text-align: center; background: inherit !important; } /* same tint as the card (Kadence gives it white .content-bg); covers the cover bottom when it slides up on hover */
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 !important; margin: 0 0 2px; font-size: 1.05rem; font-weight: 800; color: var(--global-palette3); line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
/* Card = column; the price line is pushed to the bottom, so prices line up across a row whatever the title length */
.woocommerce ul.products li.product { display: flex; flex-direction: column; }
.woocommerce ul.products li.product .product-details { flex: 1 1 auto; display: flex; flex-direction: column; }
.woocommerce ul.products li.product .product-details .price { margin-top: auto !important; padding-top: 0; }
.woocommerce ul.products li.product .pc-grades { display: block; color: var(--global-palette5); font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.woocommerce ul.products li.product .price { display: flex; align-items: center; justify-content: center; gap: 8px; line-height: 1; color: var(--global-palette3); font-weight: 800; font-size: 1.15rem; margin: 0 !important; }
.woocommerce ul.products li.product .price .amount { color: var(--global-palette3); }
.woocommerce ul.products li.product.pc-coming-soon .product-action-wrap { display: none; }
/* The title is printed big on the cover, so the text title is visually hidden but stays in the HTML
   for Google and screen readers (owner 20.10.2026). On narrow cards (phones) the cover title gets small, so the text title comes back. */
.woocommerce ul.products li.product .woocommerce-loop-product__title { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@container (max-width: 120px) { /* phones show 2 cards per row (~160px): the title on the cover is still readable there */
	.woocommerce ul.products li.product .woocommerce-loop-product__title { position: static !important; width: auto; height: auto; margin: 0 0 2px; clip: auto; white-space: normal; overflow: hidden; }
}
/* Hover: Kadence moves .entry-content-wrap up 2rem; the grade line fills the strip below it */
.woocommerce ul.products li.product .product-details { position: relative; }
.pc-grades-hover { position: absolute; left: 0; right: 0; bottom: calc(-2rem + 9px); height: 2rem; line-height: 2rem; text-align: center; color: var(--global-palette5); font-weight: 800; font-size: 0.92rem; opacity: 0; transition: opacity 0.15s ease; pointer-events: none; }
.woocommerce ul.products li.product:hover .pc-grades-hover,
.woocommerce ul.products li.product:focus-within .pc-grades-hover { opacity: 1; }
.pc-badge-soon { display: inline-block; margin: 0; line-height: 1.5; padding: 2px 10px; border-radius: 999px; background: #ffffff; color: var(--global-palette3); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; }
.pc-soon-note { background: var(--global-palette7); border-radius: 12px; padding: 12px 16px; }
@media (prefers-reduced-motion: reduce) { .woocommerce ul.products li.product { transition: none; } .woocommerce ul.products li.product:hover { transform: none; } }

/* Content pages (site/setup/build_page.py): header band, text column, notes, table of contents */
.pc-page-head { background: var(--global-palette7); padding-top: 32px; padding-bottom: 28px; }
.pc-page-head > .wp-block-group__inner-container, .pc-page-body > .wp-block-group__inner-container { max-width: 820px !important; }
.pc-page-head h1 { margin: 0 0 0.25em; }
.pc-page-head .pc-lead { margin: 0; color: var(--global-palette4); }
.pc-updated { margin: 10px 0 0 !important; font-size: 0.92rem; color: var(--global-palette5); }
.pc-page-body { background: var(--global-palette9); padding-top: 32px; }
.pc-page-body h2 { margin: 1.6em 0 0.4em; font-size: 1.6rem; scroll-margin-top: 90px; }
.pc-page-body h2:first-child, .pc-page-body .pc-toc + h2, .pc-page-body .wp-block-group__inner-container > h2:first-child { margin-top: 0.4em; }
.pc-page-body h3 { margin: 1.2em 0 0.3em; font-size: 1.2rem; }
.pc-page-body p, .pc-page-body li { line-height: 1.65; }
.pc-page-body ul, .pc-page-body ol { margin: 0 0 1em 1.2em; }
.pc-note { background: var(--global-palette7); border-left: 5px solid var(--pc-sun); border-radius: 12px; padding: 14px 18px; margin: 0 0 1.2em; }
.pc-note p { margin: 0; }
.pc-toc { background: var(--global-palette8); border: 1px solid var(--global-palette6); border-radius: 14px; padding: 14px 18px 6px; margin: 0 0 1.4em; }
.pc-toc .pc-toc-title { margin: 0 0 6px; }
.pc-toc ul { columns: 2; column-gap: 28px; margin: 0 0 8px 1.1em; }
.pc-toc li { margin-bottom: 4px; break-inside: avoid; }
.pc-page-body .wp-block-details { background: var(--global-palette8); border: 1px solid var(--global-palette6); border-radius: 14px; padding: 12px 20px; margin: 8px 0 0; }
.pc-page-body .wp-block-details summary { font-weight: 800; cursor: pointer; color: var(--global-palette3); }
.pc-page-body .wp-block-details p { margin: 0.6em 0 0; color: var(--global-palette5); }
.pc-cta-card { background: var(--global-palette3); border-radius: 18px; padding: 24px 26px; margin: 1.6em 0 0.4em; text-align: center; }
.pc-cta-card h3 { color: #fff; margin: 0 0 0.3em; }
.pc-cta-card p { color: #c9d1e3; }
.pc-cta-card .wp-block-buttons { justify-content: center; }
@media (max-width: 680px) { .pc-toc ul { columns: 1; } .pc-page-body h2 { font-size: 1.35rem; } }

/* Shop and category pages like szkolnedruki.pl: left menu box, title in the content, intro + search above the grid */
.pc-shop-menu { background: var(--global-palette8); border: 2px solid var(--global-palette6); border-top: 5px solid var(--pc-teal); border-radius: 16px; padding: 14px 12px 10px; }
.pc-shop-menu-title { font-weight: 800; font-size: 1.15rem; color: var(--global-palette3); margin: 0 6px 8px; }
.pc-shop-menu ul { list-style: none; margin: 0; padding: 0; }
.pc-shop-menu li { margin: 0; }
.pc-shop-menu li a, .pc-shop-menu summary { display: block; padding: 7px 10px; border-bottom: 1px solid var(--global-palette6); color: var(--global-palette4); text-decoration: none; font-size: 0.98rem; border-radius: 8px; }
.pc-shop-menu li a:hover, .pc-shop-menu summary:hover { background: var(--global-palette7); color: var(--global-palette3); }
.pc-shop-menu li.is-active > a { background: var(--pc-teal-text); color: #fff; font-weight: 800; border-bottom-color: transparent; }
.pc-shop-menu summary { cursor: pointer; list-style: none; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.pc-shop-menu summary::-webkit-details-marker { display: none; }
.pc-shop-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 4px 4px 0; transition: transform 0.15s; }
.pc-shop-menu details[open] summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
.pc-shop-menu details ul { margin: 2px 0 4px 10px; border-left: 2px solid var(--global-palette6); }
.pc-shop-menu details li a { font-size: 0.94rem; }
.pc-shop-menu li:last-child > a { border-bottom: 0; }
.woocommerce-products-header, .archive .woocommerce-products-header { text-align: left; margin-bottom: 4px; }
.post-type-archive-product .page-title, .tax-product_cat .page-title, .woocommerce-products-header__title { font-size: 2.2rem; margin: 0 0 6px; text-align: left; }
.term-description p, .pc-shop-intro { color: var(--global-palette5); margin: 0 0 12px; }
.pc-shop-search { display: flex; gap: 0; max-width: 620px; margin: 0 0 18px; border: 1px solid var(--global-palette6); border-radius: 12px; background: #fff; padding: 5px; }
.pc-shop-search input[type="search"] { flex: 1; border: 0; padding: 10px 12px; font-size: 1rem; background: transparent; box-shadow: none; }
.pc-shop-search input[type="search"]:focus { outline: 2px solid var(--pc-teal-text); border-radius: 8px; }
.pc-shop-search button { background: var(--pc-teal-text); color: #fff; border: 0; border-radius: 9px; padding: 9px 22px; font-weight: 800; cursor: pointer; }
.pc-shop-search button:hover { background: var(--global-palette3); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 14px; }
.pc-badge-soon { white-space: nowrap; }
.post-type-archive-product .content-area, .tax-product_cat .content-area { margin-top: 28px; }
@media (min-width: 1025px) { .has-left-sidebar .content-container.site-container { column-gap: 32px !important; } }
@media (max-width: 1024px) { .pc-shop-menu { margin-bottom: 18px; } }

/* Product-line cards with an illustration on top (owner 20.10.2026 chose illustrations over icons) */
.pc-card.pc-card-img { padding: 0 0 16px; overflow: hidden; border-top-width: 0; }
.pc-card.pc-card-img .pc-card-art { margin: 0 0 12px; padding: 0; border-top: 5px solid var(--pc-lc, var(--global-palette1)); } /* background is baked into the image (sticker on line colour) */
.pc-card.pc-card-img .pc-card-art img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 300; }
.pc-card.pc-card-img h3, .pc-card.pc-card-img p:not(.pc-soon) { padding: 0 20px; }
.pc-card.pc-card-img .pc-soon { top: 14px; right: 12px; background: #fff; box-shadow: 0 1px 4px rgba(29, 42, 68, 0.15); }
.pc-card.pc-lc-escape-rooms, .pc-card.pc-lc-party-kits { --pc-lc: #cf4631; --pc-lc-tint: #fbece8; }
.pc-card.pc-lc-color-by-code, .pc-card.pc-lc-unplugged-coding { --pc-lc: #1f8a8a; --pc-lc-tint: #e6f2f2; }
.pc-card.pc-lc-secret-codes, .pc-card.pc-lc-case-files, .pc-card.pc-lc-adventure-games { --pc-lc: #1d2a44; --pc-lc-tint: #e9ecf2; }
.pc-card.pc-lc-logic-puzzles, .pc-card.pc-lc-math-fact-games { --pc-lc: #ffc23d; --pc-lc-tint: #fff4d9; }

/* LINE ICONS START (generated by site/setup/make_line_icons_css.py) */
.pc-card[class*="pc-line-"] { padding-left: 82px; min-height: 96px; }
.pc-card[class*="pc-line-"]::before { content: ""; position: absolute; left: 18px; top: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--pc-ico-tint); }
.pc-card[class*="pc-line-"]::after { content: ""; position: absolute; left: 30px; top: 32px; width: 24px; height: 24px; background: var(--pc-ico-color); -webkit-mask: var(--pc-ico) center / contain no-repeat; mask: var(--pc-ico) center / contain no-repeat; }
.pc-card.pc-line-escape-rooms { --pc-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%2211%22 width=%2214%22 height=%2210%22 rx=%222%22/%3E%3Cpath d=%22M8 11V8a4 4 0 0 1 8 0v3%22/%3E%3Cpath d=%22M12 15v2%22/%3E%3C/svg%3E"); --pc-ico-tint: #fbe3dd; --pc-ico-color: #cf4631; border-top-color: #cf4631 !important; }
.pc-card.pc-line-color-by-code { --pc-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%224%22 width=%2216%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22M4 9.3h16M4 14.7h16M9.3 4v16M14.7 4v16%22/%3E%3C/svg%3E"); --pc-ico-tint: #dff0f0; --pc-ico-color: #1f8a8a; border-top-color: #1f8a8a !important; }
.pc-card.pc-line-secret-codes { --pc-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%2215%22 r=%224%22/%3E%3Cpath d=%22M11 12l8-8M16 7l2 2M14 9l2 2%22/%3E%3C/svg%3E"); --pc-ico-tint: #e3e7ef; --pc-ico-color: #1d2a44; border-top-color: #1d2a44 !important; }
.pc-card.pc-line-logic-puzzles { --pc-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M19 10h-1V6a2 2 0 0 0-2-2h-3a2.3 2.3 0 1 0-4 0H6a2 2 0 0 0-2 2v3a2.3 2.3 0 1 1 0 4v5a2 2 0 0 0 2 2h3a2.3 2.3 0 1 1 4 0h3a2 2 0 0 0 2-2v-3h1a2.3 2.3 0 0 0 0-5z%22/%3E%3C/svg%3E"); --pc-ico-tint: #fff1cc; --pc-ico-color: #1d2a44; border-top-color: #ffc23d !important; }
.pc-card.pc-line-unplugged-coding { --pc-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%228%22 width=%2214%22 height=%2211%22 rx=%222%22/%3E%3Cpath d=%22M12 8V5%22/%3E%3Ccircle cx=%2212%22 cy=%224%22 r=%221%22/%3E%3Cpath d=%22M9.5 12.5v1M14.5 12.5v1M10 16.5h4%22/%3E%3C/svg%3E"); --pc-ico-tint: #dff0f0; --pc-ico-color: #1f8a8a; border-top-color: #1f8a8a !important; }
.pc-card.pc-line-case-files { --pc-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2210.5%22 cy=%2210.5%22 r=%226%22/%3E%3Cpath d=%22M15 15l5 5%22/%3E%3C/svg%3E"); --pc-ico-tint: #e3e7ef; --pc-ico-color: #1d2a44; border-top-color: #1d2a44 !important; }
.pc-card.pc-line-math-fact-games { --pc-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 4v6M4 7h6M14 7h6M5 15l4 4M9 15l-4 4M14 16h6M14 19h6%22/%3E%3C/svg%3E"); --pc-ico-tint: #fff1cc; --pc-ico-color: #1d2a44; border-top-color: #ffc23d !important; }
.pc-card.pc-line-adventure-games { --pc-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2z%22/%3E%3Cpath d=%22M9 4v14M15 6v14%22/%3E%3C/svg%3E"); --pc-ico-tint: #e3e7ef; --pc-ico-color: #1d2a44; border-top-color: #1d2a44 !important; }
.pc-card.pc-line-party-kits { --pc-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cellipse cx=%2212%22 cy=%229%22 rx=%225%22 ry=%226%22/%3E%3Cpath d=%22M11 15h2l-1 2zM12 17c0 2-2 2.5-1 5%22/%3E%3C/svg%3E"); --pc-ico-tint: #fbe3dd; --pc-ico-color: #cf4631; border-top-color: #cf4631 !important; }
@media (max-width: 680px) { .pc-card[class*="pc-line-"] { padding-left: 76px; } }
/* LINE ICONS END */

/* Footer: Shop column is twice as wide (layout center-half) and lists its links in two columns (owner 20.10.2026) */
@media (min-width: 768px) { .site-footer .footer-widget2 .menu { columns: 2; column-gap: 32px; } .site-footer .footer-widget2 .menu li { break-inside: avoid; } }
@media (min-width: 1025px) { .site-middle-footer-inner-wrap.site-footer-row-columns-3 { grid-template-columns: 34% 42% 24% !important; }
  .site-footer-middle-section-2 { border-left: 1px solid rgba(255, 255, 255, 0.18); border-right: 1px solid rgba(255, 255, 255, 0.18); padding-left: 32px; padding-right: 24px; } /* thin dividers around Shop (owner 20.10.2026) */
  .site-footer-middle-section-3 { padding-left: 8px; } }

/* Outline button (secondary) */
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent !important; color: var(--global-palette3) !important; border: 2px solid var(--global-palette3) !important; } /* Kadence colours outline text with palette1; owner wants navy */
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--global-palette3) !important; color: #fff !important; }

/* Homepage: no theme gaps around full-width sections */
.pc-home .content-container.site-container, .pc-home .entry-content-wrap { padding: 0; }
.pc-home .site-main, .pc-home .content-area { margin: 0; }

@media (max-width: 900px) {
	.pc-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
/* Kadence's .entry-content .alignfull zeroes side padding (stronger selector than .pc-sec): text touched the screen edge on phones */
.entry-content .pc-sec.alignfull { padding-left: 24px; padding-right: 24px; }

/* Phones (owner 20.10.2026): two products per row, centered footer */
@media (max-width: 543px) {
	.woocommerce ul.products.grid-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px !important; row-gap: 16px !important; }
	.woocommerce ul.products li.product { border-radius: 12px; }
	.woocommerce ul.products li.product .product-details { padding: 7px 6px !important; }
	.woocommerce ul.products li.product .price { font-size: 1rem; gap: 5px; flex-wrap: wrap; }
	.woocommerce ul.products li.product .pc-badge-soon { font-size: 0.68rem; padding: 3px 7px; }
}
@media (max-width: 767px) {
	.site-footer .site-footer-section, .site-footer .footer-widget-area, .site-footer .widget, .site-footer .footer-html { text-align: center; justify-content: center; }
	.site-footer .widget .wp-block-image, .site-footer .widget img { margin-left: auto; margin-right: auto; }
	.site-footer .widget .menu { padding: 0; margin-left: 0; }
	.site-footer .footer-widget2 .menu { columns: 1; } /* one column on phones (owner 20.10.2026) */
	.site-footer .pc-fl { display: block; } /* bottom line: © on line 1, e-mail + Cookie settings on line 2 */
	.site-footer .pc-fl-sep { display: none; }
}
@media (max-width: 680px) {
	.pc-sec, .entry-content .pc-sec.alignfull { padding: 32px 16px; }
	/* How It Works: number beside the text, not above it (owner: steps stretched the page) */
	.pc-steps { row-gap: 18px !important; }
	.pc-step { position: relative; text-align: left; padding: 2px 0 2px 60px; min-height: 44px; }
	.pc-step h3 { margin: 0 0 4px; font-size: 1.2rem; }
	.pc-step h3::before { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: 0; font-size: 1.35rem; }
	.pc-grid-3, .pc-grid-2 { grid-template-columns: 1fr; }
	.pc-hero { padding-top: 24px; }
	.pc-hero-art img { max-width: 100%; }
	.pc-bandit img { max-width: 200px; }
	.pc-aud { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.pc-card { transition: none; }
	.pc-card:hover { transform: none; }
}

/* Blog list (owner 20.10.2026: "far too empty, compare with SD"): slim white header with a subtitle,
   compact cards like the shop (2px frame, teal top accent, short image, small title, date, excerpt) */
.blog .entry-hero.post-archive-hero-section, .archive.category .entry-hero.post-archive-hero-section { background: var(--global-palette7); border-bottom: 1px solid var(--global-palette6); } /* light yellow, like the home hero: white blended with the header (owner) */
.blog .post-archive-hero-section .entry-hero-container-inner, .archive.category .post-archive-hero-section .entry-hero-container-inner { background: transparent; }
.blog .post-archive-hero-section .hero-section-overlay, .archive.category .post-archive-hero-section .hero-section-overlay { display: none; }
.blog .post-archive-hero-section .hero-container, .archive.category .post-archive-hero-section .hero-container { min-height: 0 !important; padding-top: 26px; padding-bottom: 22px; }
.blog .post-archive-title, .archive.category .post-archive-title { margin: 0; text-align: center; min-height: 0 !important; display: block; }
.blog .post-archive-title h1, .archive.category .post-archive-title h1 { font-size: 2.1rem; margin: 0; }
.pc-archive-sub { margin: 6px auto 0; max-width: 640px; color: var(--global-palette5); font-size: 1.05rem; text-align: center; }
.blog .content-area, .archive.category .content-area { margin-top: 32px; margin-bottom: 40px; }
.kadence-posts-list .loop-entry { border: 2px solid var(--global-palette6); border-top: 4px solid var(--pc-sun); border-radius: 14px; overflow: hidden; box-shadow: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.kadence-posts-list .loop-entry:hover { transform: translateY(-2px); box-shadow: var(--pc-shadow); }
.kadence-posts-list .loop-entry .post-thumbnail { margin: 0; border-bottom: 1px solid var(--global-palette6); }
.kadence-posts-list .loop-entry .post-thumbnail { position: relative; padding-bottom: 56% !important; background: #fff; }
.kadence-posts-list .loop-entry .post-thumbnail .post-thumbnail-inner { position: absolute; inset: 0; padding: 0 !important; }
.kadence-posts-list .loop-entry .post-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.kadence-posts-list .loop-entry .entry-content-wrap { padding: 14px 16px 16px; }
.kadence-posts-list .loop-entry .entry-taxonomies { margin-bottom: 4px; font-size: 0.72rem; letter-spacing: 0.04em; }
.kadence-posts-list .loop-entry .entry-title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 6px; }
.kadence-posts-list .loop-entry .entry-meta { font-size: 0.8rem; margin: 0 0 8px; color: var(--global-palette5); }
.kadence-posts-list .loop-entry .entry-summary { font-size: 0.92rem; line-height: 1.55; color: var(--global-palette5); margin: 0; }
.kadence-posts-list .loop-entry .entry-summary p { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.kadence-posts-list .loop-entry .entry-footer, .kadence-posts-list .loop-entry .entry-actions { margin-top: 10px; font-size: 0.88rem; font-weight: 800; }
.kadence-posts-list.grid-cols { column-gap: 22px; row-gap: 24px; }
@media (max-width: 680px) {
	.blog .post-archive-title h1, .archive.category .post-archive-title h1 { font-size: 1.7rem; }
	.blog .content-area, .archive.category .content-area { margin-top: 20px; }
}
/* Single post: smaller featured image (art on white, shown whole) and less space above the title */
.single-post .content-area { margin-top: 28px; }
.single-post .article-post-thumbnail { padding-bottom: 38% !important; position: relative; background: #fff; margin-bottom: 18px; }
.single-post .article-post-thumbnail .post-thumbnail-inner { position: absolute; inset: 0; padding: 0 !important; }
.single-post .article-post-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.single-post .entry-header .entry-title { font-size: 2.1rem; }
@media (max-width: 680px) { .single-post .article-post-thumbnail { padding-bottom: 56% !important; } .single-post .entry-header .entry-title { font-size: 1.6rem; } .single-post .content-area { margin-top: 16px; } }

/* ===== Blog posts: content blocks (site/setup/build_post.py, layout site/setup/blog_layout.php; 20.10.2026) ===== */
.single-post .content-container.site-container { max-width: 1320px; }
@media (min-width: 1025px) { .single-post.has-left-sidebar .content-container.site-container { column-gap: 36px !important; } }
.single-post .article-post-thumbnail { padding-bottom: 0 !important; height: auto !important; background: none; margin: 4px 0 6px; }
.single-post .article-post-thumbnail .post-thumbnail-inner { position: relative !important; inset: auto !important; }
.single-post .article-post-thumbnail img { position: relative !important; inset: auto !important; width: 100%; height: auto !important; object-fit: cover; padding: 0 !important; border-radius: 18px; aspect-ratio: 16 / 9; }
.single-post .post-thumbnail-caption, .single-post .article-post-thumbnail figcaption, .single-post .wp-caption-text { font-size: 0.78rem; color: #6b7590; text-align: right; margin: 4px 2px 0; }
.single-post .entry-content { font-size: 1.06rem; }
.single-post .entry-content > h2 { font-size: 1.75rem; margin: 1.9em 0 0.55em; padding-left: 14px; border-left: 6px solid var(--pc-teal); scroll-margin-top: 90px; line-height: 1.25; }
.single-post .entry-content h3 { font-size: 1.25rem; margin: 1.3em 0 0.35em; }
.single-post .entry-content p, .single-post .entry-content li { line-height: 1.7; }
.single-post .pc-lead { font-size: 1.2rem; max-width: none; color: #2c3a58; }
/* at a glance + jump chips */
.pc-glance { background: #fff1cc; border-radius: 18px; padding: 16px 22px 6px; margin: 0 0 1.2em; }
.single-post .pc-glance-title, .single-post .pc-jump-title { margin: 0 0 8px; font-size: 1.02rem; }
.pc-jump { background: #fff; border: 2px dashed #e9e1cf; border-radius: 16px; padding: 14px 18px 12px; margin: 0 0 1.4em; }
.single-post ul.pc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.single-post ul.pc-chips li { margin: 0; line-height: 1.3; }
ul.pc-chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #dff0f0; color: #135f5f; font-weight: 700; font-size: 0.93rem; text-decoration: none; }
ul.pc-chips li:nth-child(3n+2) a { background: #fff1cc; color: #1d2a44; }
ul.pc-chips li:nth-child(3n) a { background: #fbe3dd; color: #9c2f1e; }
ul.pc-chips a:hover { text-decoration: underline; }
/* figures and media-text */
.single-post figure.pc-fig { margin: 1.2em auto 1.4em; }
.single-post figure.pc-fig img { border-radius: 16px; border: 1px solid #e9e1cf; background: #fff; }
.single-post figure.pc-fig-medium { max-width: 520px; }
.single-post figure.pc-fig figcaption { font-size: 0.92rem; color: #4a5672; text-align: center; margin-top: 8px; }
.single-post .pc-media { background: #fff; border: 1px solid #e9e1cf; border-radius: 18px; padding: 10px; margin: 1.2em 0 1.4em; grid-template-columns: 38% 1fr; }
.single-post .pc-media.has-media-on-the-right { grid-template-columns: 1fr 38%; }
.single-post .pc-media .wp-block-media-text__content { padding: 6px 18px; }
.single-post .pc-media img { border-radius: 14px; }
/* lists with icons */
.single-post ul.pc-list-check, .single-post ul.pc-list-warn, .single-post ul.pc-list-star, .single-post ol.pc-list-time { list-style: none; margin: 0 0 1.2em; padding: 0; }
.single-post .pc-list-check li, .single-post .pc-list-warn li, .single-post .pc-list-star li { position: relative; padding-left: 38px; margin-bottom: 10px; }
.single-post .pc-list-check li::before, .single-post .pc-list-warn li::before, .single-post .pc-list-star li::before { position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.9rem; color: #fff; }
.single-post .pc-list-check li::before { content: "\2713"; background: var(--pc-teal); }
.single-post .pc-list-warn li::before { content: "!"; background: #cf4631; }
.single-post .pc-list-star li::before { content: "\2605"; background: var(--pc-sun); color: #1d2a44; }
.single-post .pc-list-time li { background: #fff; border: 1px solid #e9e1cf; border-left: 5px solid var(--pc-teal); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; }
.single-post .pc-list-time li:nth-child(2n) { border-left-color: var(--pc-sun); }
.single-post .pc-list-time li:nth-child(3n) { border-left-color: #cf4631; }
/* callouts */
.pc-callout { position: relative; border-radius: 16px; padding: 14px 18px 14px 58px; margin: 0 0 1.3em; }
.pc-callout p { margin: 0; }
.pc-callout::before { position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; }
.pc-callout-tip { background: #dff0f0; }
.pc-callout-tip::before { content: "\2713"; background: var(--pc-teal); }
.pc-callout-warn { background: #fbe3dd; }
.pc-callout-warn::before { content: "!"; background: #cf4631; }
.pc-callout-star { background: #fff1cc; }
.pc-callout-star::before { content: "\2605"; background: var(--pc-sun); color: #1d2a44; }
/* numbered step cards */
.pc-bstep { position: relative; background: #fff; border: 2px solid #e9e1cf; border-top: 6px solid var(--pc-teal); border-radius: 18px; padding: 20px 24px 8px; margin: 1.3em 0 1.5em; }
.single-post .pc-bstep .pc-bstep-num { width: 46px; height: 46px; border-radius: 50%; background: var(--pc-teal); color: #fff; font-weight: 900; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin: 0 0 6px; line-height: 1; }
.pc-bstep-brick { border-top-color: #cf4631; }
.single-post .pc-bstep-brick .pc-bstep-num { background: #cf4631; }
.pc-bstep-navy { border-top-color: #1d2a44; }
.single-post .pc-bstep-navy .pc-bstep-num { background: #1d2a44; }
.pc-bstep-sun { border-top-color: var(--pc-sun); }
.single-post .pc-bstep-sun .pc-bstep-num { background: var(--pc-sun); color: #1d2a44; }
.single-post .pc-bstep h3 { margin-top: 0.2em; }
.single-post .pc-bstep-meta { font-size: 0.95rem; color: #4a5672; margin-top: -0.2em; }
/* task box + answer toggle */
.pc-task { background: #fffaf0; border: 1px solid #f0e3c4; border-radius: 14px; padding: 14px 18px; margin: 0 0 1em; }
.single-post .pc-task p { margin: 0 0 0.4em; font-size: 1.1rem; }
.single-post .pc-task .pc-task-lines { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.08em; color: #1d2a44; margin: 0.2em 0 0; }
.single-post details.pc-answer { background: #eef7f7; border: 1px solid #cfe6e6; border-radius: 12px; padding: 10px 16px; margin: 0 0 1.1em; }
.single-post details.pc-answer summary { font-weight: 800; color: #135f5f; cursor: pointer; }
.single-post details.pc-answer p { margin: 0.6em 0 0.2em; }
/* FAQ toggles in posts (same look as page FAQ) */
.single-post .wp-block-details:not(.pc-answer) { background: #fff; border: 1px solid #e9e1cf; border-radius: 14px; padding: 12px 20px; margin: 8px 0 0; }
.single-post .wp-block-details:not(.pc-answer) summary { font-weight: 800; cursor: pointer; color: #1d2a44; }
.single-post .wp-block-details:not(.pc-answer) p { margin: 0.6em 0 0; color: #4a5672; }
/* tables */
.single-post .pc-table { margin: 0.6em 0 1.4em; overflow-x: auto; }
.single-post .pc-table table { border-collapse: separate; border-spacing: 0; width: 100%; border: 1px solid #e9e1cf; border-radius: 14px; overflow: hidden; font-size: 0.98rem; }
.single-post .pc-table th { background: #1d2a44; color: #fff; text-align: left; padding: 10px 14px; border: 0; }
.single-post .pc-table td { padding: 10px 14px; border: 0; border-top: 1px solid #e9e1cf; vertical-align: top; background: #fff; }
.single-post .pc-table td:first-child { font-weight: 800; background: #fffaf0; }
/* mini cards (columns) */
.single-post .pc-minis { gap: 14px; margin: 0.6em 0 1.4em; }
.pc-mini { height: 100%; border-radius: 16px; padding: 14px 16px 6px; border-top: 6px solid var(--pc-teal); background: #f0f8f8; }
.single-post .pc-mini p { font-size: 0.97rem; }
.single-post .pc-mini .pc-mini-title { margin: 0 0 4px; font-size: 1.08rem; }
.pc-mini-coral { background: #fdf0ec; border-top-color: #cf4631; }
.pc-mini-yellow { background: #fff7e0; border-top-color: var(--pc-sun); }
.pc-mini-navy { background: #eef0f5; border-top-color: #1d2a44; }
/* product + related cards */
.pc-cards-wrap { background: #fffaf0; border: 2px solid #e9e1cf; border-radius: 18px; padding: 16px 18px 6px; margin: 1.4em 0 1.6em; }
.single-post .pc-cards-head { margin: 0 0 10px; font-size: 1.1rem; }
.single-post .pc-cards { gap: 14px; }
.pc-card-prod, .pc-card-post { background: #fff; border: 1px solid #e9e1cf; border-radius: 14px; padding: 8px 8px 4px; height: 100%; }
.single-post .pc-bcard-img { margin: 0 0 8px; }
.single-post .pc-bcard-img img { border-radius: 10px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #fff; }
.single-post .pc-card-post .pc-bcard-img img { aspect-ratio: 16 / 9; }
.single-post .pc-card-title { margin: 0 4px 2px; font-weight: 800; font-size: 0.98rem; line-height: 1.35; }
.single-post .pc-card-title a { color: #1d2a44; text-decoration: none; }
.single-post .pc-card-title a:hover { text-decoration: underline; }
.single-post .pc-card-meta { margin: 0 4px 6px; font-size: 0.84rem; color: #4a5672; line-height: 1.45; }
/* sidebar on posts */
.pc-side-card, .pc-side-cta { border-radius: 16px; padding: 14px 14px 10px; margin-top: 18px; }
.pc-side-card { background: #fff; border: 2px solid #e9e1cf; border-top: 5px solid var(--pc-sun); }
.pc-side-cta { background: #1d2a44; color: #fff; }
.pc-side-cta p { color: #dfe5f1; font-size: 0.95rem; }
.pc-side-title { font-weight: 800; font-size: 1.12rem; margin: 0 0 8px; color: #1d2a44; }
.pc-side-cta .pc-side-title { color: #fff; }
.pc-side-cta .wp-block-button, .pc-side-cta .wp-block-button__link { width: 100%; }
.pc-side-cta .wp-block-button__link { background: #cf4631; color: #fff; text-align: center; }
ul.pc-side-posts { margin: 0; padding: 0; list-style: none; }
ul.pc-side-posts li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; margin: 0 0 10px; font-size: 0.92rem; line-height: 1.35; }
ul.pc-side-posts .wp-block-latest-posts__featured-image { margin: 0; }
ul.pc-side-posts .wp-block-latest-posts__featured-image img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
ul.pc-side-posts a { color: #1d2a44; font-weight: 700; text-decoration: none; }
ul.pc-side-posts a:hover { text-decoration: underline; }
.pc-side-more { margin: 4px 0 0; font-size: 0.9rem; font-weight: 800; }
/* blog cards: "Read more" in brick coral (owner 20.10.2026) */
.kadence-posts-list .loop-entry .post-more-link, .pc-side-more a { color: #cf4631; }
.kadence-posts-list .loop-entry .post-more-link:hover, .pc-side-more a:hover { color: #a8331f; }
.kadence-posts-list .loop-entry .post-more-link svg { color: currentColor; fill: currentColor; }
@media (max-width: 781px) {
	.single-post .pc-media, .single-post .pc-media.has-media-on-the-right { grid-template-columns: 100%; }
	.single-post .entry-content > h2 { font-size: 1.4rem; }
	.pc-bstep { padding: 16px 16px 6px; }
	.single-post .pc-cards, .single-post .pc-minis { flex-wrap: wrap !important; gap: 12px; }
	.single-post .pc-cards > .wp-block-column, .single-post .pc-minis > .wp-block-column { flex-basis: calc(50% - 6px) !important; flex-grow: 0; }
	.single-post .pc-table table { font-size: 0.9rem; }
	.single-post .pc-table th, .single-post .pc-table td { padding: 8px 10px; }
}

/* Header: more room between the cart icon and the "Free Puzzle" button (owner 20.10.2026) */
.site-header-row .header-button-wrap { margin-left: 14px; }

/* Contact form (Fluent Forms, site/setup/contact_form.php): brand card */
.pc-page .fluentform { background: var(--global-palette8); border: 2px solid var(--global-palette6); border-radius: 16px; padding: 22px 24px 18px; margin: 14px 0 8px; }
.pc-page .fluentform .ff-el-input--label label { font-weight: 800; color: var(--global-palette3); }
.pc-page .fluentform .ff-el-form-control { border-radius: 10px; border: 1.5px solid #d9cfb8; background: #fff; }
.pc-page .fluentform .ff-el-form-control:focus { border-color: var(--pc-teal-text); box-shadow: 0 0 0 3px rgba(31, 138, 138, 0.15); }
.pc-page .fluentform .ff-btn-submit { border-radius: 999px !important; padding: 11px 26px !important; font-weight: 800; }
.pc-page .fluentform .ff-btn-submit:hover { background: var(--global-palette3) !important; }
.pc-page .fluentform .pc-form-note { font-size: 0.9rem; color: var(--global-palette5); margin: 0; }
.pc-page .ff-message-success { background: #e6f2f2; border: 2px solid var(--pc-teal); border-radius: 16px; padding: 18px 22px; }
@media (max-width: 680px) { .pc-page .fluentform { padding: 16px 14px 12px; } }

/* How It Works steps as cards, frame and top bar in the same yellow as the numbers (owner 20.10.2026) */
.pc-how .pc-step { background: #fff; border: 2px solid var(--pc-sun); border-top-width: 6px; border-radius: 18px; padding: 18px 18px 16px; }
@media (max-width: 680px) {
	.pc-how .pc-step { padding: 14px 14px 14px 72px; }
	.pc-how .pc-step h3::before { left: 14px; top: 14px; }
}

/* Placeholders readable everywhere (owner 20.10.2026: shop search hint was invisible); #6b7590 = 4.7:1 on white */
input::placeholder, textarea::placeholder { color: #6b7590; opacity: 1; }
.pc-shop-search { border: 1.5px solid #d9cfb8; }

/* Product gallery: thumbnails start under the main image (Kadence pulls them up 32 px over the cover pill, owner 22.10.2026) */
.single-product div.product div.images.woocommerce-product-gallery .flex-control-thumbs { margin-top: 10px; }

/* Product cards with "Add to cart" (shop open 23.10.2026, owner: the hover button sat on the "Grades" label; button in the color of the product line, like the card band (owner 23.10.2026; navy and outline versions rejected), brick coral stays for the main actions).
   Kadence's hover slide is off: price, then the brand button in its own row, always visible; grades stay on the cover pill. */
.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap,
.woocommerce ul.products.woo-archive-action-on-hover li.product:focus-within .entry-content-wrap { transform: none !important; }
.woocommerce ul.products.woo-archive-action-on-hover li.product .product-action-wrap,
.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .product-action-wrap { position: static !important; opacity: 1 !important; bottom: auto !important; top: auto !important; padding: 0 !important; margin: 8px 0 0 !important; text-align: center; }
.woocommerce ul.products li.product .product-action-wrap .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px !important; border: 0 !important; border-radius: 8px !important; background: var(--pc-line, #1d2a44) !important; color: var(--pc-line-ink, #ffffff) !important; font-size: 0.95rem !important; font-weight: 800; line-height: 1.2; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important; }
.woocommerce ul.products li.product .product-action-wrap .button:hover,
.woocommerce ul.products li.product .product-action-wrap .button:focus-visible { background: var(--pc-line, #1d2a44) !important; color: var(--pc-line-ink, #ffffff) !important; filter: brightness(0.88); }
.woocommerce ul.products li.product .product-action-wrap .button svg { display: none; }
.woocommerce ul.products li.product .product-action-wrap .added_to_cart { display: block; margin-top: 6px; font-size: 0.9rem; font-weight: 700; color: var(--pc-teal-text); }
.woocommerce ul.products li.product .pc-grades-hover { display: none; }
@media (max-width: 543px) {
	.woocommerce ul.products li.product .product-action-wrap .button { padding: 8px 10px !important; font-size: 0.88rem !important; width: 100%; }
}

/* Vertical spacing, one rule for every page type (owner 23.10.2026: "giga marnotrawienie miejsca"):
   header -> first content (breadcrumbs or title) about 24 px; Woo pages get a compact title instead of the 200 px hero. */
.single-product .content-area,
.woocommerce-cart .content-area, .woocommerce-checkout .content-area, .woocommerce-account .content-area,
.search .content-area, .single-post .content-area { margin-top: 24px; margin-bottom: 48px; }
.woocommerce-cart .entry-hero .entry-header, .woocommerce-checkout .entry-hero .entry-header, .woocommerce-account .entry-hero .entry-header { min-height: 0 !important; padding: 14px 0 !important; }
.woocommerce-cart .entry-hero .entry-title, .woocommerce-checkout .entry-hero .entry-title, .woocommerce-account .entry-hero .entry-title { font-size: 1.75rem; margin: 0; }
.woocommerce-cart .content-area, .woocommerce-checkout .content-area, .woocommerce-account .content-area { margin-top: 16px; }
.woocommerce-cart .entry-content-wrap, .woocommerce-checkout .entry-content-wrap, .woocommerce-account .entry-content-wrap { padding-top: 18px !important; }
.single-post .entry-content-wrap { padding-top: 8px; }
.single-product .kadence-breadcrumbs { margin-top: 0 !important; }
/* Checkout (Kadence: details left, order right): a compact order column, so "Place order" shows without scrolling on a laptop */
.woocommerce-checkout #order_review_heading { margin-top: 0; }
.woocommerce-checkout:not(.woocommerce-order-received) .entry-hero { display: none; } /* "Billing details" and "Your order" head the form */
.woocommerce-checkout:not(.woocommerce-order-received) .content-area { margin-top: 12px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal { display: none; } /* digital, no tax or shipping on our side: same as Total */
.woocommerce-checkout h3#order_review_heading, .woocommerce-checkout .woocommerce-billing-fields > h3 { margin: 0 0 10px; font-size: 1.35rem; }
.woocommerce-checkout #payment ul.payment_methods { padding: 12px 14px !important; }
.woocommerce-checkout #payment div.payment_box { margin: 8px 0 0 !important; padding: 10px 12px !important; font-size: 0.9rem; line-height: 1.45; }
.woocommerce-checkout #payment div.payment_box p { margin: 0; }
.woocommerce-checkout #payment .place-order { padding: 12px 14px !important; margin: 0 !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text p { margin: 0 0 8px; font-size: 0.85rem; line-height: 1.45; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0 0 10px; padding: 0; font-size: 0.95rem; line-height: 1.4; }
.woocommerce-checkout .woocommerce-checkout-review-order-table td, .woocommerce-checkout .woocommerce-checkout-review-order-table th { padding-top: 7px; padding-bottom: 7px; }

@media (max-width: 767px) {
	.single-product .content-area, .woocommerce-cart .content-area, .woocommerce-checkout .content-area, .woocommerce-account .content-area,
	.search .content-area, .single-post .content-area { margin-top: 12px; margin-bottom: 32px; }
	.woocommerce-cart .entry-hero .entry-title, .woocommerce-checkout .entry-hero .entry-title, .woocommerce-account .entry-hero .entry-title { font-size: 1.45rem; }
	.woocommerce-cart .entry-content-wrap, .woocommerce-checkout .entry-content-wrap, .woocommerce-account .entry-content-wrap { padding: 14px 12px !important; }
}

/* Header cart: number of items in a coral badge (szkolnedruki.pl pattern), hidden when the cart is empty; WooCommerce fragments refresh it after "Add to cart" */
.header-cart-button { position: relative; }
.header-cart-button .header-cart-total { position: absolute; top: -7px; right: -11px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #cf4631; color: #ffffff; font-size: 0.72rem; font-weight: 800; line-height: 19px; text-align: center; }
.header-cart-is-empty-true ~ .header-cart-inner-wrap .header-cart-total, .header-cart-total.header-cart-is-empty-true { display: none; }

/* Checkout and cart trust (owner 23.10.2026): card and wallet marks, secure-payment line, guest download note (mu-plugin pc-shop) */
.pc-pay-icons { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; vertical-align: middle; }
.pc-pay-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 24px; background: #ffffff; border: 1px solid #d9cfb8; border-radius: 4px; }
.pc-pay-icon svg { width: 20px; height: 20px; display: block; }
.pc-pay-icons.is-small .pc-pay-icon { width: 32px; height: 20px; }
.pc-pay-icons.is-small .pc-pay-icon svg { width: 16px; height: 16px; }
.woocommerce-checkout #payment .wc_payment_method > label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.woocommerce-checkout #payment .wc_payment_method > label .pc-pay-icons { margin-left: auto; }
.woocommerce-checkout #payment .pc-secure-note, .pc-secure-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; font-size: 0.85rem; line-height: 1.45; color: var(--global-palette5); }
.pc-secure-note svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 2px; color: #176f6f; }
.pc-cart-pay { margin: 10px 0 0; text-align: center; }
.woocommerce .pc-dl-btn.button.alt { background: #176f6f; border-color: #176f6f; color: #ffffff; font-weight: 700; white-space: normal; text-align: left; }
.woocommerce .pc-dl-btn.button.alt:hover, .woocommerce .pc-dl-btn.button.alt:focus { background: #0f5454; border-color: #0f5454; color: #ffffff; }
.pc-dl-btn .pc-dl-name { font-weight: 400; }
.pc-download-note { margin: 10px 0 12px; padding: 10px 14px; background: #e6f2f2; border: 1px solid #b9dcdc; border-radius: 10px; font-size: 0.92rem; line-height: 1.5; color: var(--global-palette3); }
/* "Returning customer? Click here to login" as one small line, not a framed bar */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { margin: 0 0 12px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; font-size: 0.92rem; color: var(--global-palette5); }
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before { display: none !important; }

.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper { margin-top: 6px; }
.woocommerce-checkout #payment #place_order { margin: 4px 0 0; }

/* One Add to cart button everywhere (owner 26.10.2026: "za żółto", wants the teal one): teal #176f6f with white bold
   text in lists, on the product page and in the sticky bar; hover darker. Category colors stay on the cover bands. */
.woocommerce ul.products li.product { --pc-line: #176f6f; --pc-line-ink: #ffffff; }
.single-product div.product form.cart .single_add_to_cart_button:not(.pc-view-cart) { background: #176f6f !important; color: #ffffff !important; font-weight: 800 !important; border: 0 !important; }
.single-product div.product form.cart .single_add_to_cart_button:not(.pc-view-cart):hover,
.single-product div.product form.cart .single_add_to_cart_button:not(.pc-view-cart):focus-visible { background: #0f5454 !important; color: #ffffff !important; }

/* Product page: SKU and categories under "Add to cart" were in the line color #e9e1cf, almost invisible (owner 23.10.2026) */
.single-product div.product .product_meta { color: var(--global-palette5) !important; font-size: 0.9rem; line-height: 1.6; }
.single-product div.product .product_meta > span, .single-product div.product .product_meta a { display: block; color: var(--global-palette5) !important; font-size: 0.9rem !important; }
.single-product div.product .product_meta a { display: inline; }
.single-product div.product .product_meta a { color: var(--pc-teal-text, #176f6f) !important; }
.single-product div.product .product_meta a:hover { color: var(--global-palette3) !important; }

/* Header "Account" link (mu-plugin pc-site [pc_account_link]): icon like the cart; label on desktop only */
.pc-account-link { display: inline-flex; align-items: center; gap: 6px; color: var(--global-palette3) !important; font-weight: 700; font-size: 17px; text-decoration: none !important; }
.pc-account-link:hover, .pc-account-link:focus-visible { color: #176f6f !important; }
.pc-account-link svg { width: 21px; height: 21px; }
.header-html .pc-account-link, .mobile-html .pc-account-link { line-height: 1; }
@media (max-width: 1024px) { .pc-account-link .pc-account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.site-header-item .mobile-html, .site-header-item .header-html { display: flex; align-items: center; }
/* the inner wrapper was a text line box (31 px), so the link sat ~4 px above the cart and search icons (owner 26.10.2026) */
.header-html-inner, .mobile-html-inner { display: flex; align-items: center; }
/* Header icons (owner 30.10.2026: "nierówne i za małe odstępy", lupa hover): search, cart and account are one size with one gap, the label reads like the menu.
   The search button loses its side padding (it made the gaps uneven); the hover color stays teal for all three, and a click no longer leaves the magnifier teal (:focus). */
#main-header .search-toggle-open, #mobile-header .search-toggle-open { padding-left: 0; padding-right: 0; }
#main-header .search-toggle-open .search-toggle-icon, #mobile-header .search-toggle-open .search-toggle-icon { font-size: 19px; transform: translateY(0.5px); } /* the solid magnifier reads larger than the line icons and sat 1 px high */
#main-header .header-cart-button .kadence-svg-iconset, #mobile-header .header-cart-button .kadence-svg-iconset { font-size: 21px; }
#main-header .pc-account-link svg, #mobile-header .pc-account-link svg { width: 23px; height: 23px; } /* the drawing fills less of its box than the cart */
.search-toggle-open-container .search-toggle-open:focus:not(:focus-visible):not(:hover) { color: var(--global-palette3); }
.site-header-item .header-cart-wrap .header-cart-inner-wrap .header-cart-button:focus-visible { color: #176f6f; }
#main-header .site-header-item[data-section="kadence_customizer_header_search"] { margin-right: 24px; }
#main-header .site-header-item[data-section="kadence_customizer_cart"] { margin-right: 22px; }
#main-header .site-header-item[data-section="kadence_customizer_header_html"] { margin-right: 28px; }
#main-header .site-header-item-main-navigation { margin-right: 18px; }
#main-header .site-header-row .header-button-wrap { margin-left: 0; }
#mobile-header .site-header-item[data-section="kadence_customizer_header_search"] { margin-right: 16px; }
#mobile-header .site-header-item[data-section="kadence_customizer_mobile_cart"] { margin-right: 14px; }
#mobile-header .site-header-item[data-section="kadence_customizer_mobile_html"] { margin-right: 5px; } /* the menu button has its own padding */
@media (max-width: 374px) { #mobile-header .site-header-item[data-section="kadence_customizer_header_search"], #mobile-header .site-header-item[data-section="kadence_customizer_mobile_cart"], #mobile-header .site-header-item[data-section="kadence_customizer_mobile_html"] { margin-right: 10px; } }

/* Product page on phones (audit 24.10.2026, Meta ad visitors on iPhones): title, price and "Add to cart" on the first
   screen; button and trust line come before the short description (pc-shop.php), sticky price + button bar after it. */
.pc-trust { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 18px; padding: 0; list-style: none; font-size: 0.9rem; line-height: 1.4; color: var(--global-palette4); }
.pc-trust li { display: inline-flex; align-items: center; gap: 5px; margin: 0; }
.pc-trust svg { width: 15px; height: 15px; flex: 0 0 auto; color: #176f6f; }
.single-product div.product form.cart { margin-bottom: 0; }
.pc-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #ffffff; border-top: 1px solid #e9e1cf; box-shadow: 0 -4px 16px rgba(29, 42, 68, 0.12); }
.pc-sticky-atc[hidden] { display: none; }
.pc-sticky-price { font-size: 1.2rem; font-weight: 800; color: var(--global-palette3); }
.pc-sticky-atc .button { flex: 0 1 auto; padding: 12px 26px !important; border: 0 !important; border-radius: 8px !important; background: #176f6f !important; color: #ffffff !important; font-size: 1rem !important; font-weight: 800; line-height: 1.2; }
.pc-sticky-atc .button:hover, .pc-sticky-atc .button:focus-visible { background: #0f5454 !important; }
@media (min-width: 768px) { .pc-sticky-atc { display: none !important; } }
@media (max-width: 767px) {
	.single-product .kadence-breadcrumbs { display: none; } /* the line name sits under the button in the product meta */
	.single-product div.product div.images.woocommerce-product-gallery { margin-bottom: 12px; padding-bottom: 0; }
	/* thumbnails: one row the visitor can swipe (Kadence slid them 160 px left, cutting the first one off) */
	.single-product div.product div.images.woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; justify-content: flex-start !important; align-items: flex-start; left: 0 !important; width: 100% !important; margin-top: 8px; padding: 0 !important; transform: none !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.single-product div.product div.images.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 48px; width: 48px !important; height: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
	.single-product div.product div.images.woocommerce-product-gallery .flex-control-thumbs li img { display: block; width: 48px; height: 48px; margin: 0 !important; }
	.single-product div.product .product_title { font-size: 1.35rem; line-height: 1.25; margin-bottom: 6px; }
	.single-product div.product .summary .price { margin: 0 0 10px; font-size: 1.3rem; }
	.single-product div.product form.cart .single_add_to_cart_button { width: 100%; height: 48px; padding: 0 20px; line-height: 48px; font-size: 1.05rem; } /* Kadence fixes the height at 40 px */
	.pc-trust { margin: 8px 0 14px; font-size: 0.85rem; gap: 2px 12px; }
	body.pc-sticky-on .site-footer { padding-bottom: 72px; }
}

/* Cart for PDFs (25.10.2026: phone visitors left the cart; "Quantity:" ran into "Subtotal:"). One copy per product
   (sold individually), so no quantity, price column or "Update cart"; Subtotal equals Total. On phones each item is one
   block (thumbnail, title, price, remove) and "Proceed to checkout" sits on the first screen. */
.woocommerce-cart .shop_table .product-quantity, .woocommerce-cart .shop_table .product-price,
.woocommerce-cart .shop_table td.actions, .woocommerce-cart .cart_totals .cart-subtotal { display: none !important; }
.woocommerce-cart .cart-summary h2, .woocommerce-cart .cart_totals h2 { font-size: 1.3rem; margin: 0 0 10px; }
.pc-checkout-terms .pc-terms-line { margin: 0 0 8px; font-size: 0.85rem; line-height: 1.45; }
.pc-checkout-terms .pc-waiver { margin: 4px 0 10px !important; padding: 10px 12px !important; background: #fffaf0; border: 1px solid #e9e1cf; border-radius: 8px; font-size: 0.9rem; line-height: 1.45; }
.pc-checkout-terms .pc-waiver label { display: block; font-weight: 400; }
@media (max-width: 767px) {
	.woocommerce-cart .entry-hero .entry-header { padding: 8px 0 !important; }
	.woocommerce-cart .entry-hero .entry-title { font-size: 1.3rem; }
	.woocommerce-cart .cart-summary { display: none; } /* the page title already says "Cart" */
	.woocommerce-cart .shop_table_responsive.cart tr.cart_item { display: grid; grid-template-columns: 64px 1fr 28px; grid-template-areas: "thumb name remove" "thumb sub remove"; column-gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e9e1cf; }
	.woocommerce-cart .shop_table_responsive.cart tr.cart_item td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; background: none !important; }
	.woocommerce-cart .shop_table_responsive.cart tr.cart_item td::before { display: none !important; }
	.woocommerce-cart .shop_table_responsive.cart td.product-thumbnail { grid-area: thumb; display: block !important; }
	.woocommerce-cart .shop_table_responsive.cart td.product-thumbnail img { width: 64px !important; height: 64px; max-width: none; border-radius: 6px; border: 1px solid #e9e1cf; }
	.woocommerce-cart .shop_table_responsive.cart td.product-name { grid-area: name; font-size: 0.95rem; line-height: 1.35; }
	.woocommerce-cart .shop_table_responsive.cart td.product-subtotal { grid-area: sub; font-weight: 800; color: var(--global-palette3); margin-top: 4px; }
	.woocommerce-cart .shop_table_responsive.cart td.product-remove { grid-area: remove; align-self: start; text-align: right !important; }
	.woocommerce-cart .cart-collaterals .cart_totals { margin-top: 6px; }
	.woocommerce-cart .cart_totals table.shop_table { margin-bottom: 8px; }
	.woocommerce-cart .wc-proceed-to-checkout { padding-top: 4px; }
}

/* "Added to cart" (owner 25.10.2026): the card button turns into a navy "View cart →" (mu-plugin pc-shop), the small
   link is gone; toast with Checkout / Keep shopping: bottom on phones (above the sticky bar), bottom right on desktop,
   at the top while the cookie banner is open. */
.woocommerce ul.products li.product .added_to_cart { display: none !important; }
.woocommerce ul.products li.product .product-action-wrap .button.pc-view-cart, .woocommerce ul.products li.product .button.pc-view-cart,
.single-product div.product .single_add_to_cart_button.pc-view-cart,
.pc-sticky-atc .button.pc-view-cart { background: #1d2a44 !important; color: #ffffff !important; }
.woocommerce ul.products li.product .button.pc-view-cart::after { display: none; }
.pc-atc-toast { position: fixed; z-index: 100000; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; padding: 12px 14px; background: #ffffff; border: 1px solid #e9e1cf; border-radius: 14px; box-shadow: 0 10px 30px rgba(29, 42, 68, 0.22); color: var(--global-palette3); animation: pc-atc-in 0.22s ease-out; }
.pc-atc-toast[hidden] { display: none; }
.pc-atc-toast.is-top { top: calc(10px + env(safe-area-inset-top)); bottom: auto; }
body.pc-sticky-on .pc-atc-toast:not(.is-top) { bottom: calc(78px + env(safe-area-inset-bottom)); }
.pc-atc-img { grid-row: 1; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid #e9e1cf; }
.pc-atc-body { grid-row: 1; min-width: 0; padding-right: 22px; }
.pc-atc-body p { margin: 0; line-height: 1.3; }
.pc-atc-title { font-weight: 800; font-size: 1.02rem; color: #176f6f; }
.pc-atc-name { font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-atc-meta { font-size: 0.85rem; color: var(--global-palette5); }
.pc-atc-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.pc-atc-checkout, .pc-atc-keep { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: 8px; font-weight: 800; font-size: 0.98rem; line-height: 1.2; text-decoration: none !important; cursor: pointer; }
.pc-atc-checkout { background: #cf4631; color: #ffffff !important; border: 0; }
.pc-atc-checkout:hover, .pc-atc-checkout:focus-visible { background: #1d2a44; }
.pc-atc-keep { background: #ffffff; color: var(--global-palette3); border: 1.5px solid #d9cfb8; }
.pc-atc-keep:hover { border-color: #1d2a44; }
.pc-atc-close { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--global-palette5); font-size: 22px; line-height: 1; cursor: pointer; }
@keyframes pc-atc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pc-atc-toast { animation: none; } }
@media (min-width: 768px) {
	.pc-atc-toast { left: auto; right: 20px; bottom: 20px; width: 380px; }
	.pc-atc-toast.is-top { top: 96px; }
}

/* Bundles (26.10.2026, mu-plugin pc-shop): savings line on a bundle page, bundle offer on its products' pages */
.pc-bundle-save { margin: -4px 0 12px; font-size: 0.95rem; color: var(--global-palette4); }
.pc-bundle-save strong { color: #176f6f; }
.pc-bundle-offer { margin: 0 0 14px; padding: 10px 14px; background: #e6f2f2; border: 1px solid #b9dcdc; border-radius: 10px; font-size: 0.92rem; line-height: 1.5; color: var(--global-palette3); }
.pc-bundle-offer span { font-weight: 800; }
.pc-bundle-offer a { font-weight: 700; color: #176f6f; }
.pc-bundle-offer strong { color: #176f6f; }

/* More air in product grids (owner 26.10.2026: "daj może kilka px więcej przestrzeni"): +8 px under the card button
   and +8 px between rows (was 16 px on phones, 26 px on desktop) */
.woocommerce ul.products.woo-archive-action-on-hover li.product .product-action-wrap,
.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .product-action-wrap,
.woocommerce ul.products li.product .product-action-wrap { margin-bottom: 8px !important; }
body.woocommerce-page ul.products.grid-cols, body ul.products.content-wrap.grid-cols { row-gap: 34px !important; }
@media (max-width: 767px) { body.woocommerce-page ul.products.grid-cols, body ul.products.content-wrap.grid-cols { row-gap: 24px !important; } }

/* Sampler sign-up above the footer (owner 2.11.2026; mu-plugin pc-site, form #3): text left, form right; stacked on phones */
.pc-footer-signup { background: #e6f2f2; border-top: 1px solid #b9dcdc; padding: 36px 16px; }
.pc-footer-signup-inner { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.pc-footer-signup h2 { margin: 0 0 8px; font-size: 1.6rem; line-height: 1.2; color: var(--global-palette3); }
.pc-footer-signup p { margin: 0; color: #4a5672; font-size: 1rem; line-height: 1.55; }
.pc-footer-signup .fluentform { margin: 0; }
@media (max-width: 767px) { .pc-footer-signup { padding: 28px 16px; } .pc-footer-signup-inner { grid-template-columns: 1fr; gap: 16px; } .pc-footer-signup h2 { font-size: 1.35rem; }
	.pc-footer-signup .ff-el-form-check { display: inline-flex; margin: 0 16px 6px 0; } }

/* Free sampler popup (owner 04.11.2026; markup pc-popup.php, logic pc-popup.js). Desktop: centered dialog with a backdrop.
   Phones: a small sheet from the bottom (no full-screen interstitial); the form opens only after a tap. */
.pc-pop[hidden] { display: none !important; }
.pc-pop { position: fixed; inset: 0; z-index: 99990; pointer-events: none; }
.pc-pop-backdrop { position: absolute; inset: 0; background: rgba(29, 42, 68, 0.55); opacity: 0; transition: opacity 0.2s ease; pointer-events: auto; }
.pc-pop-box { position: absolute; left: 50%; top: 50%; width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; transform: translate(-50%, -46%); opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; background: #fffaf0; border-radius: 20px; box-shadow: 0 24px 60px rgba(29, 42, 68, 0.35); display: grid; grid-template-columns: 1fr 1.1fr; pointer-events: auto; outline: none; }
.pc-pop.is-in .pc-pop-backdrop { opacity: 1; }
.pc-pop.is-in .pc-pop-box { opacity: 1; transform: translate(-50%, -50%); }
.pc-pop-art { background: #ffc23d; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 20px 0 0 20px; }
.pc-pop-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-pop-body { padding: 28px 28px 20px; }
.pc-pop-kicker { margin: 0 0 6px; color: #176f6f; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.pc-pop-body h2 { margin: 0 32px 8px 0; font-size: 1.6rem; line-height: 1.2; color: #1d2a44; }
.pc-pop-body p { margin: 0 0 14px; color: #4a5672; font-size: 1rem; line-height: 1.5; }
.pc-pop-body .fluentform { margin: 0; }
/* only the email in the popup; name, role and grades stay optional in the footer and homepage forms */
.pc-pop .ff-el-group:has(input[name="first_name"]), .pc-pop .ff-el-group:has(input[name="role"]), .pc-pop .ff-el-group:has(input[name="grades[]"]) { display: none; }
.pc-pop-body .ff-btn-submit, .pc-pop-open { background: #cf4631 !important; border-color: #cf4631 !important; color: #fff !important; font-weight: 800; border-radius: 10px; }
.pc-pop-open { display: none; width: 100%; padding: 12px 16px; border: 0; font-size: 1rem; cursor: pointer; }
.pc-pop-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #1d2a44; font-size: 28px; line-height: 1; cursor: pointer; }
.pc-pop-x:hover, .pc-pop-x:focus-visible { background: #e9e1cf; }
.pc-pop-no { display: block; margin: 10px auto 0; padding: 6px 10px; border: 0; background: none; color: #4a5672; font-size: 0.9rem; text-decoration: underline; cursor: pointer; }
.pc-pop :focus-visible { outline: 3px solid #1f8a8a; outline-offset: 2px; }
html.pc-pop-lock { overflow: hidden; }
@media (max-width: 767px) {
	.pc-pop-backdrop { display: none; }
	.pc-pop-box { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 85vh; transform: translateY(100%); border-radius: 18px 18px 0 0; grid-template-columns: 1fr; box-shadow: 0 -8px 30px rgba(29, 42, 68, 0.25); }
	.pc-pop.is-in .pc-pop-box { transform: translateY(0); }
	.pc-pop-art { display: none; }
	.pc-pop-body { padding: 18px 16px 12px; }
	.pc-pop-kicker { display: none; }
	.pc-pop-body h2 { font-size: 1.2rem; margin-right: 40px; }
	.pc-pop-body p { font-size: 0.95rem; margin-bottom: 10px; }
	.pc-pop-open { display: block; }
	.pc-pop-form { display: none; }
	.pc-pop.is-full .pc-pop-backdrop { display: block; }
	.pc-pop.is-full .pc-pop-form { display: block; }
	.pc-pop.is-full .pc-pop-open { display: none; }
	.pc-pop.is-full .pc-pop-art { display: flex; border-radius: 18px 18px 0 0; height: 170px; }
	.pc-pop.is-full .pc-pop-art img { object-position: 50% 20%; }
	.pc-pop-body .ff-el-form-check { display: inline-flex; margin: 0 14px 6px 0; }
}
@media (prefers-reduced-motion: reduce) { .pc-pop-box, .pc-pop-backdrop { transition: none; } }
/* "Free PDF" button (owner 18.11.2026): bottom left, away from the cookie box (bottom right); above the sticky bar. */
.pc-pop-tab[hidden] { display: none !important; }
.pc-pop-tab { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 989; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 999px; background: #cf4631; color: #ffffff; font-weight: 800; font-size: 0.95rem; line-height: 1.2; white-space: nowrap; box-shadow: 0 6px 18px rgba(29, 42, 68, 0.25); cursor: pointer; }
.pc-pop-tab:hover, .pc-pop-tab:focus-visible { background: #1d2a44; }
.pc-pop-tab:focus-visible { outline: 3px solid #1f8a8a; outline-offset: 2px; }
body.pc-sticky-on .pc-pop-tab { bottom: calc(78px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { body.pc-sticky-on .pc-pop-tab { bottom: 16px; } }
@media print { .pc-pop-tab { display: none !important; } }
/* Winter Windows personal box (pc-winter-windows.php, 18.11.2026). */
.pc-ww-box { margin: 0 0 28px; padding: 22px 24px; background: #ffffff; border: 2px solid #1f8a8a; border-radius: 14px; }
.pc-ww-box h2 { margin: 0 0 8px; }
.pc-ww-box p { margin: 0 0 12px; }
.pc-ww-list { margin: 0; padding-left: 22px; }
.pc-ww-list li { margin: 0 0 6px; font-weight: 700; }
.pc-ww-btn { display: inline-block; padding: 12px 24px; border-radius: 8px; background: #cf4631; color: #ffffff !important; font-weight: 800; text-decoration: none; }
.pc-ww-btn:hover, .pc-ww-btn:focus-visible { background: #1d2a44; }
/* /free-printables/ = the Meta ad landing (04.11.2026): on phones the optional choices sit in rows, so the button is closer */
@media (max-width: 767px) { .page-id-19 .ff-el-form-check { display: inline-flex; margin: 0 14px 6px 0; } }
