/* ==========================================================================
   e-drapak — motyw. Mobile first. Tokeny współdzielone z wtyczką E-Drapak Core.
   ========================================================================== */
:root {
	/* === Paleta marki e-drapak (Premium Cat Boutique) — jedyne źródło kolorów === */
	--edr-forest: #263D35;        /* Głęboka leśna zieleń — marka, nagłówki, przyciski zakupowe */
	--edr-forest-700: #1C2E28;    /* hover zieleni */
	--edr-forest-100: #DFE6E0;    /* delikatny tint zieleni (aktywne filtry, sukces) */
	--edr-cream: #F5EFE5;         /* Ciepły kremowy — tło strony */
	--edr-caramel: #D99A72;       /* Ciepły karmel — wyłącznie akcenty dekoracyjne */
	--edr-sand: #E8DCCB;          /* Piaskowy beż — tła kart i sekcji */
	--edr-sand-50: #EFE6D9;       /* pośredni beż — tła zdjęć, sekcje naprzemienne */
	--edr-sand-strong: #DDCDB6;   /* hover beżu */
	--edr-surface: #FFFCF7;       /* powierzchnie: karty, pola, menu */
	--edr-graphite: #292925;      /* Ciemny grafit — tekst */
	--edr-terra: #C65D4B;         /* Terakota — duże elementy promocyjne, dekoracja */
	--edr-terra-strong: #AD4B3B;  /* Terakota do tekstu i małych etykiet (WCAG AA: 5,5:1 z białym) */
	--edr-terra-700: #93402F;     /* hover terakoty */
	--edr-terra-100: #F4E1D9;     /* tło komunikatów błędu */

	/* === Role semantyczne (używane przez wszystkie komponenty) === */
	--edr-primary: var(--edr-forest);
	--edr-primary-600: var(--edr-forest-700);
	--edr-cta: var(--edr-forest);            /* przyciski zakupowe */
	--edr-cta-hover: var(--edr-forest-700);
	--edr-cta-ink: #FFFFFF;
	--edr-accent-cta: var(--edr-terra-strong); /* wybrane CTA marketingowe */
	--edr-accent-cta-hover: var(--edr-terra-700);
	--edr-accent: var(--edr-sand);
	--edr-bg: var(--edr-cream);
	--edr-bg-soft: var(--edr-sand-50);
	--edr-ink: var(--edr-graphite);
	--edr-muted: #5F5A51;                    /* 6,0:1 na kremie, 5,1:1 na beżu */
	--edr-line: #DCCFBD;                     /* linie dekoracyjne */
	--edr-line-strong: #8F826F;              /* obramowania pól formularzy (≥3:1) */
	--edr-sale: var(--edr-terra-strong);
	--edr-ok: #2F6B4F;
	--edr-focus: var(--edr-forest);
	--edr-star: #C98457;
	--edr-overlay: rgba(28, 46, 40, .55);
	--edr-radius: 14px;
	--edr-radius-sm: 10px;
	--edr-shadow: 0 1px 2px rgba(41, 41, 37, .05), 0 10px 28px rgba(38, 61, 53, .09);
	--edr-shadow-lg: 0 18px 44px rgba(38, 61, 53, .14);
	--edr-ease: cubic-bezier(.2, .7, .2, 1);
	--edrt-gutter: 16px;
	--edrt-wrap: 1280px;
	--edrt-header-h: 64px;
	--edrt-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--edrt-display: "Inter Display", Inter, ui-sans-serif, system-ui, sans-serif;
}
@media (min-width: 700px) { :root { --edrt-gutter: 24px; } }
@media (min-width: 1100px) { :root { --edrt-gutter: 32px; --edrt-header-h: 76px; } }

/* --- Baza --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--edr-bg); color: var(--edr-ink); font: 400 1rem/1.6 var(--edrt-font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--edr-primary); text-underline-offset: .15em; }
a:hover { color: var(--edr-primary-600); }
:focus-visible { outline: 3px solid var(--edr-focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--edrt-display); font-weight: 800; line-height: 1.18; letter-spacing: -.015em; color: var(--edr-ink); }
h3, h4 { font-family: var(--edrt-font); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], select, textarea { min-height: 44px; padding: 10px 12px; border: 1px solid var(--edr-line-strong); border-radius: var(--edr-radius-sm); background: var(--edr-surface); max-width: 100%; }
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--edr-focus); outline-offset: 1px; border-color: transparent; }
.edrt-main:focus { outline: 0; }
.edrt-wrap { width: 100%; max-width: var(--edrt-wrap); margin: 0 auto; padding: 0 var(--edrt-gutter); }
.edrt-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--edr-primary); color: #fff; border-radius: 8px; font-weight: 700; }
.edrt-skip:focus { top: 12px; color: #fff; }
.edrt-eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--edr-primary); }
.edrt-ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--edr-bg-soft); }
.edrt-ph img { width: 60%; opacity: .9; }

/* --- Pasek promocji i korzyści --- */
.edrt-promo { background: var(--edr-cta); color: var(--edr-cta-ink); text-align: center; font-size: .88rem; font-weight: 700; padding: 8px var(--edrt-gutter); }
.edrt-promo a { color: inherit; }
.edrt-topbar { background: var(--edr-primary); color: #fff; font-size: .82rem; }
.edrt-topbar__list { display: flex; gap: 24px; justify-content: center; margin: 0 auto; padding-top: 7px; padding-bottom: 7px; list-style: none; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.edrt-topbar__list::-webkit-scrollbar { display: none; }
.edrt-topbar__item { display: flex; align-items: center; gap: 6px; }
.edrt-topbar__item .edr-icon { width: 16px; height: 16px; opacity: .85; }
.edrt-topbar a { color: #fff; text-decoration: none; }
.edrt-topbar a:hover { text-decoration: underline; }
@media (max-width: 699px) { .edrt-topbar__list { justify-content: flex-start; } }

/* --- Nagłówek --- */
.edrt-header { position: sticky; top: 0; z-index: 50; background: var(--edr-surface); border-bottom: 1px solid var(--edr-line); transition: box-shadow .2s; }
.edrt-header.is-stuck { box-shadow: 0 4px 18px rgba(38, 61, 53, .08); }
.edrt-header__main { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "burger logo actions" "search search search"; align-items: center; gap: 8px 10px; padding-top: 10px; padding-bottom: 10px; }
.edrt-header__burger { grid-area: burger; }
.edrt-header__logo { grid-area: logo; min-width: 0; }
.edrt-header__search { grid-area: search; }
.edrt-header__actions { grid-area: actions; display: flex; align-items: center; gap: 2px; }
.edrt-logo { display: inline-flex; }
.edrt-logo img { display: block; width: auto; height: 46px; }
@media (min-width: 1100px) {
	.edrt-header__main { grid-template-columns: auto minmax(320px, 680px) auto; grid-template-areas: "logo search actions"; gap: 32px; padding-top: 14px; padding-bottom: 14px; justify-content: space-between; }
	.edrt-header .edrt-header__burger { display: none; }
	.edrt-logo img { height: 64px; }
}
.edrt-iconbtn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 44px; min-height: 44px; padding: 4px 8px; border: 0; border-radius: 10px; background: none; color: var(--edr-ink); text-decoration: none; cursor: pointer; }
.edrt-iconbtn:hover { background: var(--edr-bg-soft); color: var(--edr-primary); }
.edrt-iconbtn .edr-icon { width: 24px; height: 24px; }
.edrt-iconbtn__label { font-size: .7rem; font-weight: 600; line-height: 1; }
@media (max-width: 699px) { .edrt-iconbtn__label { display: none; } .edrt-header__account { display: none; } }
.edrt-badge { position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--edr-cta); color: var(--edr-cta-ink); font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center; }
.edrt-badge[hidden] { display: none; }
.edrt-badge--cart .edr-cart-count[data-count="0"] { opacity: .6; }

/* Wyszukiwarka */
.edrt-search { position: relative; display: flex; }
.edrt-search input[type="search"] { flex: 1; width: 100%; min-height: 46px; padding: 10px 52px 10px 16px; border: 2px solid var(--edr-line); border-radius: 999px; background: var(--edr-bg-soft); transition: border-color .15s, background-color .15s; -webkit-appearance: none; appearance: none; }
.edrt-search input[type="search"]:focus { background: var(--edr-surface); border-color: var(--edr-primary); outline: 0; box-shadow: 0 0 0 4px rgba(38, 61, 53, .16); }
.edrt-search__btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--edr-primary); color: #fff; cursor: pointer; }
.edrt-search__btn:hover { background: var(--edr-primary-600); }
.edrt-search__btn .edr-icon { width: 20px; height: 20px; }

/* Nawigacja desktop + mega menu */
.edrt-header__navbar { display: none; border-top: 1px solid var(--edr-line); }
@media (min-width: 1100px) { .edrt-header__navbar { display: block; } }
.edrt-nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.edrt-nav__item { position: static; display: flex; align-items: center; }
.edrt-nav__link { display: block; padding: 14px 12px; color: var(--edr-ink); font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 3px solid transparent; }
.edrt-nav__item:hover > .edrt-nav__link, .edrt-nav__item.is-current > .edrt-nav__link, .edrt-nav__item.is-open > .edrt-nav__link { color: var(--edr-primary); border-bottom-color: var(--edr-cta); }
.edrt-nav__item:first-child > .edrt-nav__link { padding-left: 0; }
.edrt-nav__toggle { display: grid; place-items: center; width: 24px; height: 24px; margin-left: -8px; margin-right: 4px; padding: 0; border: 0; background: none; color: var(--edr-muted); cursor: pointer; }
.edrt-nav__toggle .edr-icon { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.edrt-nav__item.is-open .edrt-nav__toggle .edr-icon { transform: rotate(-90deg); }
.edrt-mega, .edrt-dropdown { position: absolute; left: 0; right: 0; top: 100%; z-index: 49; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--edr-ease), visibility 0s .18s; }
.edrt-nav__item.is-open > .edrt-mega, .edrt-nav__item.is-open > .edrt-dropdown { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
@media (hover: hover) { .edrt-nav__item.has-sub:hover > .edrt-mega, .edrt-nav__item.has-sub:hover > .edrt-dropdown { visibility: visible; opacity: 1; transform: none; transition-delay: .08s; } }
.edrt-mega { background: var(--edr-surface); border-top: 1px solid var(--edr-line); box-shadow: 0 18px 40px rgba(38, 61, 53, .12); }
.edrt-mega__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; max-width: var(--edrt-wrap); margin: 0 auto; padding: 28px var(--edrt-gutter) 24px; }
.edrt-mega__title { margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--edr-muted); }
.edrt-mega ul { margin: 0; padding: 0; list-style: none; }
.edrt-mega li a { display: block; padding: 6px 0; color: var(--edr-ink); text-decoration: none; font-weight: 500; }
.edrt-mega li a:hover { color: var(--edr-primary); text-decoration: underline; }
.edrt-mega__all { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--edr-line); font-weight: 700; text-decoration: none; }
.edrt-dropdown { left: auto; right: auto; width: 260px; margin: 0; padding: 8px; list-style: none; background: var(--edr-surface); border: 1px solid var(--edr-line); border-radius: var(--edr-radius); box-shadow: var(--edr-shadow); }
.edrt-nav__item.has-sub { position: relative; }
.edrt-nav__item.has-sub:has(.edrt-mega) { position: static; }
.edrt-dropdown a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--edr-ink); text-decoration: none; }
.edrt-dropdown a:hover { background: var(--edr-bg-soft); }

/* Szuflada mobile */
.edrt-drawer { position: fixed; inset: 0; z-index: 100; }
.edrt-drawer[hidden] { display: none; }
.edrt-drawer__backdrop { position: absolute; inset: 0; background: var(--edr-overlay); }
.edrt-drawer__panel { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(88vw, 380px); height: 100%; overflow-y: auto; background: var(--edr-surface); animation: edrt-slide .22s var(--edr-ease); }
@keyframes edrt-slide { from { transform: translateX(-100%); } to { transform: none; } }
.edrt-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--edr-line); }
.edrt-drawer__head .edrt-logo img { height: 40px; }
.edrt-mnav ul { margin: 0; padding: 0; list-style: none; }
.edrt-mnav__link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--edr-line); color: var(--edr-ink); font-weight: 700; text-decoration: none; cursor: pointer; list-style: none; }
.edrt-mnav__link::-webkit-details-marker { display: none; }
.edrt-mnav__group .edr-icon { transform: rotate(90deg); transition: transform .2s; color: var(--edr-muted); }
.edrt-mnav__group[open] > summary .edr-icon { transform: rotate(-90deg); }
.edrt-mnav__group > ul { padding: 8px 16px 16px; background: var(--edr-bg-soft); }
.edrt-mnav__group a { display: block; padding: 9px 0; color: var(--edr-ink); text-decoration: none; }
.edrt-mnav__all { font-weight: 700; color: var(--edr-primary) !important; }
.edrt-mnav__col > p { margin: 12px 0 2px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--edr-muted); }
.edrt-drawer__links { margin: auto 0 0; padding: 12px 16px 24px; list-style: none; }
.edrt-drawer__links a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--edr-ink); text-decoration: none; font-weight: 600; }
html.edrt-lock { overflow: hidden; }

/* --- Sekcje --- */
.edrt-section { padding: 44px 0; }
@media (min-width: 1100px) { .edrt-section { padding: 72px 0; } }
.edrt-section--soft { background: var(--edr-bg-soft); }
.edrt-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.edrt-shead__title { margin: 0; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); }
.edrt-shead__intro { margin: 8px 0 0; max-width: 60ch; color: var(--edr-muted); }
.edrt-shead__link { display: inline-flex; align-items: center; gap: 4px; flex: none; font-weight: 700; text-decoration: none; white-space: nowrap; }
.edrt-shead__link .edr-icon { width: 18px; height: 18px; }

/* Hero */
.edrt-hero { position: relative; background: var(--edr-accent); overflow: hidden; }
.edrt-hero__media { position: relative; aspect-ratio: 4 / 3; }
.edrt-hero__media picture, .edrt-hero__img { display: block; width: 100%; height: 100%; }
.edrt-hero__img { object-fit: cover; }
.edrt-hero__img--art { object-fit: contain; object-position: center bottom; padding: 16px 8px 0; }
.edrt-hero__inner { position: relative; }
.edrt-hero__card { position: relative; margin: -36px 0 0; padding: 22px 20px 26px; background: var(--edr-surface); border-radius: var(--edr-radius); box-shadow: var(--edr-shadow); margin-bottom: 24px; }
.edrt-hero__title { margin: 0 0 12px; font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.025em; }
.edrt-hero__sub { margin: 0 0 20px; font-size: 1.05rem; color: var(--edr-muted); max-width: 46ch; }
.edrt-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.edrt-hero__cta .edr-btn { flex: 1 1 auto; }
@media (min-width: 900px) {
	.edrt-hero { min-height: min(620px, 72vh); display: flex; align-items: center; }
	.edrt-hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
	.edrt-hero:not(.has-photo) .edrt-hero__media { left: 46%; }
	.edrt-hero__img--art { padding: 40px 40px 0 0; object-position: right bottom; }
	.edrt-hero.has-photo .edrt-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245, 239, 229, .94) 0%, rgba(245, 239, 229, .72) 36%, rgba(245, 239, 229, 0) 62%); }
	.edrt-hero__card { margin: 0; padding: 0; max-width: 560px; background: transparent; box-shadow: none; }
	.edrt-hero__cta .edr-btn { flex: 0 0 auto; }
}

/* Kafelki rodzajów */
.edrt-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .edrt-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .edrt-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.edrt-tile a { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 14px; border: 1px solid var(--edr-line); border-radius: var(--edr-radius); background: var(--edr-surface); color: var(--edr-ink); text-decoration: none; transition: box-shadow .2s, border-color .2s, transform .2s var(--edr-ease); }
.edrt-tile a:hover { box-shadow: var(--edr-shadow); border-color: transparent; transform: translateY(-2px); }
.edrt-tile__media { display: block; aspect-ratio: 1; margin-bottom: 10px; border-radius: 8px; overflow: hidden; background: var(--edr-bg-soft); }
.edrt-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.edrt-tile__name { font-weight: 700; line-height: 1.25; }
.edrt-tile__desc { margin-top: 4px; font-size: .82rem; color: var(--edr-muted); line-height: 1.4; }

/* Dobór drapaka */
.edrt-quizsec__box { padding: 24px 18px; border-radius: 20px; background: linear-gradient(135deg, var(--edr-accent), #fff 70%); border: 1px solid var(--edr-line); }
@media (min-width: 900px) { .edrt-quizsec__box { padding: 40px 44px; } }

/* Feature: duże koty */
.edrt-feature__grid { display: grid; gap: 24px; align-items: center; margin-bottom: 28px; }
@media (min-width: 900px) { .edrt-feature__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.edrt-feature__media { aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; background: var(--edr-bg-soft); }
.edrt-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.edrt-feature__title { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
.edrt-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 24px; }
.edrt-facts > div { padding: 14px; border-radius: var(--edr-radius-sm); background: var(--edr-bg-soft); border-left: 4px solid var(--edr-cta); }
.edrt-facts dt { font-size: .78rem; color: var(--edr-muted); }
.edrt-facts dd { margin: 2px 0 0; font-family: var(--edrt-display); font-weight: 800; font-size: 1.5rem; color: var(--edr-primary); font-variant-numeric: tabular-nums; }

/* Nowoczesne */
.edrt-modern__grid { display: grid; gap: 28px; }
.edrt-modern__lead { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .edrt-modern__lead { grid-template-columns: 1fr 1fr; gap: 48px; } }
.edrt-modern__media { aspect-ratio: 7 / 8; max-height: 560px; border-radius: 20px; overflow: hidden; background: var(--edr-sand); }
.edrt-modern__media img { width: 100%; height: 100%; object-fit: cover; }
.edrt-modern__products .edr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .edrt-modern__products .edr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Dlaczego */
.edrt-why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1100px) { .edrt-why__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.edrt-why__item { padding: 20px 16px; border-radius: var(--edr-radius); border: 1px solid var(--edr-line); }
.edrt-why__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 12px; background: var(--edr-accent); color: var(--edr-primary); }
.edrt-why__item h3 { font-size: 1rem; margin-bottom: 6px; }
.edrt-why__item p { margin: 0; font-size: .9rem; color: var(--edr-muted); }

/* Wpisy */
.edrt-posts { display: grid; gap: 20px; }
@media (min-width: 700px) { .edrt-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .edrt-posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .edrt-posts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.edrt-post { display: flex; flex-direction: column; border-radius: var(--edr-radius); overflow: hidden; background: var(--edr-surface); border: 1px solid var(--edr-line); transition: box-shadow .2s; }
.edrt-post:hover { box-shadow: var(--edr-shadow); }
.edrt-post__media { display: block; aspect-ratio: 16 / 10; background: var(--edr-bg-soft); }
.edrt-post__media img { width: 100%; height: 100%; object-fit: cover; }
.edrt-post__body { padding: 16px 18px 20px; }
.edrt-post__meta { margin: 0 0 6px; font-size: .78rem; color: var(--edr-muted); }
.edrt-post__title { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.3; }
.edrt-post__title a { color: var(--edr-ink); text-decoration: none; }
.edrt-post__title a:hover { color: var(--edr-primary); text-decoration: underline; }
.edrt-post__excerpt { margin: 0; font-size: .9rem; color: var(--edr-muted); }

/* FAQ i newsletter */
.edrt-faqsec { display: grid; gap: 24px; }
@media (min-width: 900px) { .edrt-faqsec { grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; } .edrt-faqsec__head { position: sticky; top: 120px; } }
.edrt-faqsec__head .edr-btn { margin-top: 16px; }
.edrt-nlsec__box { display: grid; gap: 20px; padding: 28px 20px; border-radius: 20px; background: var(--edr-primary); color: #fff; }
.edrt-nlsec__box .edrt-shead__title, .edrt-nlsec__box p, .edrt-nlsec__box .edr-check__label, .edrt-nlsec__box a { color: #fff; }
.edrt-nlsec__box .edr-check__box { border-color: rgba(255, 255, 255, .7); background: transparent; }
@media (min-width: 900px) { .edrt-nlsec__box { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 44px 48px; gap: 48px; } }
.edrt-nlsec__box .edr-input { border-color: transparent; }

/* --- Stopka --- */
.edrt-footer { margin-top: 48px; background: var(--edr-forest); color: #E3DACB; font-size: .92rem; }
.edrt-footer a { color: #fff; text-decoration: none; }
.edrt-footer a:hover { text-decoration: underline; }
.edrt-footer__nl { background: var(--edr-primary); padding: 32px 0; }
.edrt-footer__nl-inner { display: grid; gap: 16px; }
@media (min-width: 900px) { .edrt-footer__nl-inner { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; } }
.edrt-footer__nl-title { color: #fff; font-size: 1.35rem; margin: 0 0 6px; }
.edrt-footer__nl p, .edrt-footer__nl .edr-check__label { color: #E9E1D3; }
.edrt-footer__nl .edr-check__box { border-color: rgba(255, 255, 255, .7); background: transparent; }
.edrt-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 44px; padding-bottom: 36px; }
@media (min-width: 900px) { .edrt-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.edrt-fcol--brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .edrt-fcol--brand { grid-column: auto; } }
.edrt-fcol--brand p { margin: 14px 0; max-width: 34ch; }
.edrt-fcol__title { margin: 0 0 12px; color: #fff; font-family: var(--edrt-font); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.edrt-fcol ul { margin: 0; padding: 0; list-style: none; }
.edrt-fcol li { margin: 0 0 6px; }
.edrt-fcol li a { display: inline-block; padding: 4px 0; }
.edrt-fcontact li { display: flex; align-items: center; gap: 8px; }
.edrt-fcontact .edr-icon { width: 18px; height: 18px; color: var(--edr-cta); }
.edrt-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.edrt-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; font-size: .82rem; }
.edrt-footer__bottom p { margin: 0; }
.edrt-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }

/* --- Okruszki i nagłówki stron --- */
.edrt-crumbs { padding: 14px 0 6px; font-size: .82rem; color: var(--edr-muted); }
.edrt-crumbs ol, .edrt-crumbs > span { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.edrt-crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--edr-line-strong); }
.edrt-crumbs a { color: var(--edr-muted); text-decoration: none; }
.edrt-crumbs a:hover { color: var(--edr-primary); text-decoration: underline; }
.edrt-page__head, .edrt-shop__head { padding: 8px 0 16px; }
.edrt-page__title, .edrt-shop__title { margin: 0; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.edrt-shop__page { font-size: .6em; color: var(--edr-muted); font-weight: 600; }
.edrt-shop__intro, .edrt-page__intro { margin: 10px 0 0; max-width: 72ch; color: var(--edr-muted); font-size: 1.02rem; }

/* --- Listing --- */
.edrt-subcats { margin: 0 0 20px; }
.edrt-subcats ul { display: flex; gap: 10px; margin: 0 calc(var(--edrt-gutter) * -1); padding: 2px var(--edrt-gutter) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
@media (min-width: 1100px) { .edrt-subcats ul { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; } }
.edrt-subcats li { flex: none; scroll-snap-align: start; }
.edrt-subcats a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 14px 6px 6px; border: 1px solid var(--edr-line); border-radius: 999px; background: var(--edr-surface); color: var(--edr-ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .15s, background-color .15s; }
.edrt-subcats a:hover { border-color: var(--edr-primary); background: var(--edr-bg-soft); }
.edrt-subcats__img { display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--edr-bg-soft); }
.edrt-subcats__img img { width: 100%; height: 100%; object-fit: cover; }
.edrt-subcats__count { color: var(--edr-muted); font-weight: 500; font-size: .8rem; }

.edr-shop { position: relative; display: block; transition: opacity .15s; }
.edr-shop.is-loading .edr-shop__main { opacity: .45; pointer-events: none; }
@media (min-width: 1100px) { .edr-shop.has-filters { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 36px; align-items: start; } }
.edr-shop__filters-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--edr-line); }
.edr-shop__filters-head h2 { margin: 0; font-size: 1.15rem; }
.edr-shop__backdrop { display: none; }
@media (max-width: 1099px) {
	.edr-shop__filters { position: fixed; inset: 0 auto 0 0; z-index: 110; width: min(92vw, 400px); background: var(--edr-surface); overflow-y: auto; transform: translateX(-102%); transition: transform .25s var(--edr-ease); visibility: hidden; }
	.edr-shop__filters .edr-filters { padding: 0 16px; }
	html.edr-filters-open .edr-shop__filters { transform: none; visibility: visible; box-shadow: 0 0 40px rgba(0, 0, 0, .25); }
	html.edr-filters-open .edr-shop__backdrop { display: block; position: fixed; inset: 0; z-index: 105; background: var(--edr-overlay); }
	html.edr-filters-open { overflow: hidden; }
}
@media (min-width: 1100px) {
	.edr-shop__filters { position: sticky; top: calc(var(--edrt-header-h) + 60px); max-height: calc(100vh - var(--edrt-header-h) - 80px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
	.edr-shop__filters-head { padding: 0 0 8px; border: 0; }
	.edr-shop__filters-head .edrt-iconbtn { display: none; }
	.edr-filters__apply { display: none; }
	html:not(.js) .edr-filters__apply { display: inline-flex; }
	.edr-filters__actions { padding: 12px 0; }
	.edr-filters__actions:not(:has(a)) { display: none; }
}
.edr-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 14px; }
.edr-toolbar__found { margin: 0; margin-right: auto; font-size: .9rem; color: var(--edr-muted); }
.edr-toolbar__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--edr-primary); color: #fff; font-size: .75rem; }
@media (min-width: 1100px) { .edr-toolbar__filters { display: none; } }
@media (max-width: 1099px) { .edr-toolbar__filters { order: -1; } .edr-toolbar__found { order: 3; width: 100%; } }
.edr-toolbar__sort .woocommerce-ordering { margin: 0; }
.edr-toolbar__sort select { min-height: 44px; padding: 8px 36px 8px 12px; border: 1px solid var(--edr-line); border-radius: var(--edr-radius-sm); background: var(--edr-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23183F57' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; font-weight: 600; -webkit-appearance: none; appearance: none; }
.woocommerce-pagination, .edrt-pagination { margin: 32px 0 8px; }
.woocommerce-pagination ul.page-numbers, .edrt-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; border: 0 !important; }
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.page-numbers a, .page-numbers span, .edrt-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--edr-line) !important; border-radius: var(--edr-radius-sm); color: var(--edr-ink); text-decoration: none; font-weight: 600; }
.page-numbers .current, .edrt-pagination .current { background: var(--edr-primary) !important; border-color: var(--edr-primary) !important; color: #fff !important; }
.page-numbers a:hover { border-color: var(--edr-primary) !important; background: var(--edr-bg-soft) !important; }
.edrt-noresults .edr-icon { width: 40px; height: 40px; color: var(--edr-primary); }
.edrt-noresults h2 { margin: 0; font-size: 1.3rem; }
.edrt-noresults .edrt-search { width: 100%; max-width: 520px; }

/* Treść SEO kategorii */
.edrt-catseo { display: grid; gap: 40px; margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--edr-line); }
@media (min-width: 1100px) { .edrt-catseo { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; } .edrt-catseo__text { grid-row: span 2; } }
.edrt-catseo__related ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.edrt-catseo__related a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border: 1px solid var(--edr-line); border-radius: 999px; font-weight: 600; text-decoration: none; }
.edrt-catseo__related a:hover { border-color: var(--edr-primary); background: var(--edr-bg-soft); }
.edrt-catseo__related .edr-icon { width: 16px; height: 16px; }
.edrt-catseo__faq .edrt-shead__title, .edrt-catseo__related .edrt-shead__title { font-size: 1.35rem; margin-bottom: 12px; }

/* Proza */
.edrt-prose { line-height: 1.7; }
.edrt-prose h2 { margin: 1.6em 0 .5em; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.edrt-prose h3 { margin: 1.4em 0 .4em; font-size: 1.15rem; }
.edrt-prose > :first-child { margin-top: 0; }
.edrt-prose ul, .edrt-prose ol { padding-left: 1.3em; }
.edrt-prose li { margin: .3em 0; }
.edrt-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.edrt-prose th, .edrt-prose td { padding: 10px 12px; border: 1px solid var(--edr-line); text-align: left; vertical-align: top; }
.edrt-prose th { background: var(--edr-bg-soft); }
.edrt-prose blockquote, .edrt-prose .edr-tip { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--edr-cta); background: var(--edr-bg-soft); border-radius: 0 var(--edr-radius-sm) var(--edr-radius-sm) 0; }
.edrt-prose .edr-tip p:last-child { margin: 0; }
.edrt-prose img { border-radius: var(--edr-radius-sm); }
.edrt-prose .wp-block-table { overflow-x: auto; }
.edr-legal-note { padding: 12px 16px; background: #F6E9D6; border-radius: 8px; color: #6A4520; }

/* --- Karta produktu --- */
.edrt-pmain { display: grid; gap: 20px; margin-bottom: 32px; }
@media (min-width: 900px) { .edrt-pmain { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; } .edrt-pmain__gallery { position: sticky; top: calc(var(--edrt-header-h) + 60px); } }
.woocommerce div.product div.images, .edrt-pmain .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: var(--edr-bg-soft); border-radius: var(--edr-radius); overflow: hidden; }
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0 !important; padding: 0; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs li { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce-product-gallery .flex-control-thumbs img { aspect-ratio: 1; object-fit: contain; background: var(--edr-bg-soft); border: 2px solid transparent; border-radius: 8px; opacity: .7; cursor: pointer; transition: opacity .15s, border-color .15s; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--edr-primary); }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 5; display: grid !important; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--edr-surface); box-shadow: var(--edr-shadow); }
.edrt-pmain .onsale { position: absolute; top: 12px; left: 12px; z-index: 5; min-height: 0; min-width: 0; margin: 0; padding: .35em .75em; border-radius: 999px; background: var(--edr-sale); color: #fff; font-size: .8rem; font-weight: 700; line-height: 1.2; }
.edrt-pmain__summary .product_title { margin: 0 0 8px; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
.edrt-pmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 8px; font-size: .85rem; color: var(--edr-muted); }
.edrt-pmeta a { color: var(--edr-primary); }
.edrt-prating { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .9rem; text-decoration: none; }
.edrt-pmain__summary .price { margin: 12px 0 4px; font-size: 2rem; font-weight: 800; color: var(--edr-ink) !important; font-variant-numeric: tabular-nums; }
.edrt-pmain__summary .price del { font-size: 1.1rem; font-weight: 500; color: var(--edr-muted); opacity: 1; }
.edrt-pmain__summary .price ins { text-decoration: none; color: var(--edr-sale); }
.edrt-pmain__summary .edr-omnibus { margin-bottom: 8px; font-size: .82rem; }
.edrt-plead { margin: 12px 0; color: var(--edr-muted); }
.edrt-plead p:last-child { margin: 0; }
.edrt-pmain__summary .stock { margin: 8px 0; font-weight: 700; }
.edrt-pmain__summary .stock.in-stock { color: var(--edr-ok); }
.edrt-pmain__summary .stock.out-of-stock { color: var(--edr-sale); }
form.cart { margin: 18px 0 !important; }
form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.woocommerce-variation-add-to-cart { width: 100%; }
table.variations { width: 100%; margin: 0 0 12px; border: 0; border-collapse: collapse; }
table.variations th, table.variations td { display: block; padding: 0; border: 0; text-align: left; }
table.variations th label { display: block; margin: 0 0 6px; font-weight: 700; font-size: .92rem; }
table.variations td { margin-bottom: 14px; }
table.variations select { width: 100%; min-height: 48px; font-weight: 600; }
.reset_variations { display: inline-block; margin-top: 6px; font-size: .85rem; }
.woocommerce-variation-price .price { font-size: 1.6rem; margin: 0 0 6px; }
.woocommerce-variation-availability { margin-bottom: 10px; }
.quantity { display: flex; }
.quantity .qty { width: 76px; min-height: 52px; text-align: center; font-weight: 700; border: 1px solid var(--edr-line-strong); border-radius: var(--edr-radius-sm); }
.single_add_to_cart_button, .woocommerce .single_add_to_cart_button.button.alt { flex: 1 1 220px; min-height: 52px !important; padding: .8em 1.5em !important; border: 0 !important; border-radius: var(--edr-radius-sm) !important; background: var(--edr-cta) !important; color: var(--edr-cta-ink) !important; font-size: 1.05rem !important; font-weight: 800 !important; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.single_add_to_cart_button:hover { background: var(--edr-cta-hover) !important; box-shadow: 0 8px 20px rgba(38, 61, 53, .22); }
.single_add_to_cart_button.disabled { opacity: .55 !important; cursor: not-allowed; }
.edrt-pdelivery { margin: 12px 0 16px; padding: 14px 16px; border: 1px solid var(--edr-line); border-radius: var(--edr-radius); background: var(--edr-bg-soft); }
.edrt-pdelivery p { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 6px; font-size: .9rem; }
.edrt-pdelivery p:last-child { margin: 0; }
.edrt-pdelivery .edr-icon { width: 20px; height: 20px; color: var(--edr-primary); margin-top: 1px; }
.edrt-pspecs { margin: 16px 0; }
.edrt-pspecs__title { margin: 0 0 10px; font-family: var(--edrt-font); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--edr-muted); }
.edrt-pspecs__all { display: inline-block; margin-top: 8px; font-size: .88rem; font-weight: 600; }
.edr-specs dd.is-updated { animation: edrt-flash .8s; }
@keyframes edrt-flash { from { background: var(--edr-accent); } to { background: transparent; } }
.edrt-ptools { display: flex; gap: 8px; margin: 12px 0; }
.edrt-ptool { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--edr-line); border-radius: var(--edr-radius-sm); background: var(--edr-surface); color: var(--edr-ink); font-weight: 600; cursor: pointer; }
.edrt-ptool:hover { border-color: var(--edr-primary); }
.edrt-ptool[data-edr-wish].is-on { color: var(--edr-terra-strong); border-color: currentColor; }
.edrt-ptool[data-edr-wish].is-on .edr-icon { fill: currentColor; }
.edrt-ptool[data-edr-compare].is-on { background: var(--edr-primary); color: #fff; border-color: var(--edr-primary); }

/* Sekcje produktu */
.edrt-psections { margin-top: 16px; }
.edrt-psections__nav { position: sticky; top: var(--edrt-header-h); z-index: 20; margin: 0 calc(var(--edrt-gutter) * -1) 8px; padding: 0 var(--edrt-gutter); background: rgba(245, 239, 229, .96); border-bottom: 1px solid var(--edr-line); backdrop-filter: saturate(1.2) blur(6px); }
@media (max-width: 1099px) { .edrt-psections__nav { top: calc(var(--edrt-header-h) + 50px); } }
.edrt-psections__nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.edrt-psections__nav ul::-webkit-scrollbar { display: none; }
.edrt-psections__nav a { display: block; padding: 14px 12px; color: var(--edr-muted); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.edrt-psections__nav a:hover, .edrt-psections__nav a.is-active { color: var(--edr-primary); border-bottom-color: var(--edr-cta); }
.edrt-psection { padding: 28px 0; border-bottom: 1px solid var(--edr-line); scroll-margin-top: calc(var(--edrt-header-h) + 120px); }
.edrt-psection__title { font-size: 1.45rem; margin-bottom: 16px; }
.edrt-psection--description .edrt-psection__body { max-width: 78ch; }
.edrt-spectable { width: 100%; max-width: 820px; border-collapse: collapse; font-size: .95rem; }
.edrt-spectable th, .edrt-spectable td { padding: 12px 14px; border-bottom: 1px solid var(--edr-line); text-align: left; vertical-align: top; }
.edrt-spectable th { width: 42%; color: var(--edr-muted); font-weight: 600; background: var(--edr-bg-soft); }
.edrt-spectable__note { margin-top: 10px; font-size: .85rem; }
.edrt-assembly { display: grid; gap: 24px; }
@media (min-width: 900px) { .edrt-assembly { grid-template-columns: 1fr 1fr; gap: 48px; } }
.edrt-assembly h3 { font-size: 1.05rem; margin: 0 0 8px; }
.edrt-assembly h3:not(:first-child) { margin-top: 20px; }
.edrt-video { position: relative; aspect-ratio: 16 / 9; margin-top: 12px; border-radius: var(--edr-radius-sm); overflow: hidden; background: #000; }
.edrt-video iframe, .edrt-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#reviews .woocommerce-Reviews-title { font-size: 1.05rem; font-family: var(--edrt-font); }
#reviews ol.commentlist { padding: 0; list-style: none; }
#reviews .comment_container { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--edr-line); }
#reviews .comment_container img.avatar { width: 40px; height: 40px; border-radius: 50%; }
#review_form .comment-reply-title { font-weight: 700; font-size: 1.05rem; }
#review_form input[type="submit"] { min-height: 44px; padding: .6em 1.2em; border: 0; border-radius: var(--edr-radius-sm); background: var(--edr-primary); color: #fff; font-weight: 700; cursor: pointer; }
.edrt-reco { margin: 40px 0 0; }
.edrt-reco > .edrt-shead__title { margin-bottom: 16px; font-size: 1.45rem; }

/* Sticky CTA mobile */
.edrt-sticky { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px var(--edrt-gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--edr-surface); border-top: 1px solid var(--edr-line); box-shadow: 0 -6px 20px rgba(38, 61, 53, .1); transform: translateY(110%); transition: transform .2s var(--edr-ease); }
.edrt-sticky[hidden] { display: flex !important; visibility: hidden; }
.edrt-sticky.is-on { transform: none; visibility: visible; }
.edrt-sticky__info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.edrt-sticky__info img { width: 44px; height: 44px; object-fit: contain; background: var(--edr-bg-soft); border-radius: 6px; flex: none; }
.edrt-sticky__name { margin: 0; font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edrt-sticky__price { margin: 0; font-weight: 800; }
.edrt-sticky__price del { display: none; }
.edrt-sticky__price ins { text-decoration: none; color: var(--edr-sale); }
.edrt-sticky .edr-btn { flex: none; }
@media (min-width: 900px) { .edrt-sticky { display: none !important; } }
body.edrt-has-sticky { padding-bottom: 76px; }
body.edrt-has-sticky .edr-comparebar { bottom: 84px; }
@media (min-width: 900px) { body.edrt-has-sticky { padding-bottom: 0; } }

/* --- Koszyk i zamówienie (bloki + klasyczne) --- */
.edrt-steps { display: flex; gap: 8px; margin: 18px 0 8px; padding: 0; list-style: none; font-size: .85rem; color: var(--edr-muted); counter-reset: s; overflow-x: auto; }
.edrt-steps li { display: flex; align-items: center; gap: 8px; flex: none; padding-right: 16px; font-weight: 600; }
.edrt-steps li:not(:last-child)::after { content: ""; width: 28px; height: 2px; margin-left: 8px; background: var(--edr-line); }
.edrt-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--edr-line); font-size: .78rem; }
.edrt-steps .is-current { color: var(--edr-primary); }
.edrt-steps .is-current span { background: var(--edr-primary); border-color: var(--edr-primary); color: #fff; }
.edrt-steps .is-done span { background: var(--edr-accent); border-color: var(--edr-accent); color: var(--edr-primary); }
.edrt-page--wc .edrt-page__title { font-size: 1.8rem; }
.edrt-page__content--wide { max-width: none; }
.wc-block-cart, .wc-block-checkout { --wc-blocks-border: var(--edr-line); }
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link), .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button, .wc-block-components-button.contained { min-height: 52px; border-radius: var(--edr-radius-sm) !important; background: var(--edr-cta) !important; color: var(--edr-cta-ink) !important; font-weight: 800 !important; }
.wc-block-components-button.contained:hover { background: var(--edr-cta-hover) !important; }
.wc-block-components-sidebar { position: sticky; top: calc(var(--edrt-header-h) + 70px); }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary { border-color: var(--edr-line) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select { border-radius: var(--edr-radius-sm) !important; }
.wc-block-components-text-input.is-active input:focus, .wc-block-components-text-input input:focus { box-shadow: 0 0 0 3px rgba(38, 61, 53, .3) !important; }
.wc-block-components-validation-error p { color: var(--edr-sale) !important; font-weight: 600; }
.wp-block-woocommerce-empty-cart-block { padding: 40px 20px; text-align: center; background: var(--edr-bg-soft); border-radius: var(--edr-radius); }
.woocommerce-cart-form table.shop_table, table.shop_table { width: 100%; border: 1px solid var(--edr-line) !important; border-radius: var(--edr-radius) !important; border-collapse: separate !important; }
table.shop_table th, table.shop_table td { padding: 12px !important; border-color: var(--edr-line) !important; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button { min-height: 44px; padding: .6em 1.2em; border-radius: var(--edr-radius-sm); background: var(--edr-primary); color: #fff; font-weight: 700; }
.woocommerce .button:hover { background: var(--edr-primary-600); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order, .checkout-button { background: var(--edr-cta) !important; color: var(--edr-cta-ink) !important; }
.woocommerce-checkout .form-row input, .woocommerce-checkout .form-row select { width: 100%; }
.woocommerce form .form-row .required { color: var(--edr-sale); }
.woocommerce-invalid input { border-color: var(--edr-sale) !important; }

/* Komunikaty WooCommerce */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { margin: 0 0 18px !important; padding: 14px 16px 14px 48px !important; border: 0 !important; border-radius: var(--edr-radius-sm) !important; background: var(--edr-accent) !important; color: var(--edr-primary) !important; font-weight: 600; list-style: none; }
.woocommerce-error { background: var(--edr-terra-100) !important; color: #7E3427 !important; }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 12px; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 14px !important; left: 16px !important; color: inherit !important; }

/* Konto */
.woocommerce-account .woocommerce { display: grid; gap: 24px; }
@media (min-width: 900px) { .woocommerce-account .woocommerce { grid-template-columns: 240px 1fr; gap: 40px; } }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--edr-line); border-radius: var(--edr-radius); overflow: hidden; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--edr-line); color: var(--edr-ink); text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--edr-accent); color: var(--edr-primary); }
.woocommerce-account .woocommerce-MyAccount-content, .woocommerce-account .woocommerce-MyAccount-navigation { width: auto !important; float: none !important; }
.woocommerce-form-login, .woocommerce-form-register { padding: 20px !important; border: 1px solid var(--edr-line) !important; border-radius: var(--edr-radius) !important; }

/* Star rating (font WooCommerce) */
.star-rating { color: var(--edr-star); }

/* --- Poradnik --- */
.edrt-single { max-width: 1100px; }
.edrt-article__head { max-width: 780px; margin: 0 auto; padding: 16px 0 20px; }
.edrt-article__title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); letter-spacing: -.02em; }
.edrt-article__meta { font-size: .85rem; color: var(--edr-muted); }
.edrt-article__lead { font-size: 1.15rem; color: var(--edr-muted); }
.edrt-article__hero { margin: 0 0 28px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--edr-bg-soft); }
.edrt-article__hero img { width: 100%; height: 100%; object-fit: cover; }
.edrt-article__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 1000px) { .edrt-article__layout { grid-template-columns: 240px minmax(0, 760px); gap: 56px; justify-content: center; } .edrt-toc { position: sticky; top: calc(var(--edrt-header-h) + 70px); } }
.edrt-article__body { font-size: 1.06rem; }
.edrt-toc { align-self: start; padding: 16px 18px; border-radius: var(--edr-radius); background: var(--edr-bg-soft); font-size: .9rem; }
.edrt-toc__title { margin: 0 0 8px; font-weight: 700; }
.edrt-toc ul { margin: 0; padding: 0; list-style: none; }
.edrt-toc li { padding-left: 12px; border-left: 2px solid var(--edr-line); }
.edrt-toc li { margin: 6px 0; }
.edrt-toc a { color: var(--edr-ink); text-decoration: none; }
.edrt-toc a:hover { color: var(--edr-primary); text-decoration: underline; }
.edrt-chips-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.edrt-chips-nav a { display: inline-block; padding: 8px 14px; border: 1px solid var(--edr-line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.edrt-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 0; padding: 24px; border-radius: 20px; background: var(--edr-accent); }
.edrt-cta-box h2 { margin: 0 0 4px; font-size: 1.3rem; }
.edrt-cta-box p { margin: 0; color: var(--edr-muted); }
.edrt-comments { max-width: 760px; margin: 48px auto 0; }

/* 404 */
.edrt-404 { padding: 40px var(--edrt-gutter); }
.edrt-404__code { margin: 0 !important; font-family: var(--edrt-display); font-size: 5rem !important; font-weight: 800; line-height: 1; color: var(--edr-accent) !important; -webkit-text-stroke: 2px var(--edr-primary); }
.edrt-404 .edrt-search { width: 100%; max-width: 520px; }
.edrt-404__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.edrt-page { padding-bottom: 20px; }
.edrt-page__content { max-width: 780px; }
.wp-block-image img { height: auto; }
.alignwide { max-width: 1100px; }

/* Druk */
@media print { .edrt-header, .edrt-topbar, .edrt-promo, .edrt-footer, .edrt-sticky, .edr-comparebar, .edr-shop__filters, .edr-toolbar { display: none !important; } }

.edrt-fcol--brand .edrt-logo img { height: 64px; }
.edrt-header__main { padding-top: 6px; padding-bottom: 6px; }

/* ==========================================================================
   Warstwa premium (Cat Boutique) — motyw
   ========================================================================== */
body { background: var(--edr-bg); color: var(--edr-graphite); }
h1, h2, h3, h4, .edrt-shead__title { color: var(--edr-forest); }
a { color: var(--edr-forest); }
a:hover { color: var(--edr-forest-700); }
:focus-visible { outline-color: var(--edr-focus); }
::selection { background: var(--edr-sand-strong); color: var(--edr-graphite); }
.edrt-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--edr-forest); letter-spacing: .12em; }
.edrt-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--edr-caramel); border-radius: 2px; }
.edrt-skip { background: var(--edr-forest); color: var(--edr-cream); }

/* Paski nad nagłówkiem */
.edrt-promo { background: var(--edr-terra-strong); color: #fff; font-weight: 600; letter-spacing: .02em; }
.edrt-topbar { background: var(--edr-forest); color: var(--edr-cream); }
.edrt-topbar a { color: var(--edr-cream); }
.edrt-topbar__item .edr-icon { color: var(--edr-caramel); opacity: 1; }

/* Nagłówek */
.edrt-header { background: rgba(245, 239, 229, .97); border-bottom-color: var(--edr-line); backdrop-filter: saturate(1.1) blur(8px); }
.edrt-header.is-stuck { box-shadow: 0 6px 22px rgba(38, 61, 53, .08); }
.edrt-header__navbar { border-top-color: var(--edr-line); }
.edrt-iconbtn { color: var(--edr-forest); }
.edrt-iconbtn:hover { background: var(--edr-sand-50); color: var(--edr-forest-700); }
.edrt-badge { background: var(--edr-terra-strong); color: #fff; }
.edrt-search input[type="search"] { background: var(--edr-surface); border-color: var(--edr-line); color: var(--edr-graphite); }
.edrt-search input[type="search"]::placeholder { color: var(--edr-muted); }
.edrt-search input[type="search"]:focus { border-color: var(--edr-forest); box-shadow: 0 0 0 4px rgba(38, 61, 53, .12); background: var(--edr-surface); }
.edrt-search__btn { background: var(--edr-forest); color: var(--edr-cream); }
.edrt-search__btn:hover { background: var(--edr-forest-700); }
.edrt-nav__link { color: var(--edr-graphite); font-weight: 600; }
.edrt-nav__item:hover > .edrt-nav__link, .edrt-nav__item.is-current > .edrt-nav__link, .edrt-nav__item.is-open > .edrt-nav__link { color: var(--edr-forest); border-bottom-color: var(--edr-caramel); }
.edrt-nav__toggle { color: var(--edr-muted); }
.edrt-mega { background: var(--edr-surface); border-top-color: var(--edr-line); box-shadow: 0 22px 44px rgba(38, 61, 53, .12); }
.edrt-mega__title { color: var(--edr-terra-strong); }
.edrt-mega li a { color: var(--edr-graphite); }
.edrt-mega li a:hover { color: var(--edr-forest); }
.edrt-mega__all { border-top-color: var(--edr-line); color: var(--edr-forest); }
.edrt-dropdown { background: var(--edr-surface); border-color: var(--edr-line); }
.edrt-dropdown a:hover { background: var(--edr-sand-50); }

/* Szuflada mobile */
.edrt-drawer__panel { background: var(--edr-bg); }
.edrt-drawer__head, .edrt-mnav__link { border-color: var(--edr-line); }
.edrt-mnav__link { color: var(--edr-forest); }
.edrt-mnav__group > ul { background: var(--edr-sand-50); }
.edrt-mnav__col > p { color: var(--edr-terra-strong); }
.edrt-drawer__links a { color: var(--edr-forest); }

/* Sekcje */
.edrt-section--soft { background: var(--edr-sand-50); }
.edrt-shead__intro { color: var(--edr-muted); }
.edrt-shead__link { color: var(--edr-forest); }
.edrt-shead__link .edr-icon { color: var(--edr-caramel); }

/* Hero */
.edrt-hero { background: var(--edr-sand); }
.edrt-hero__title { color: var(--edr-forest); }
.edrt-hero__sub { color: #4E4A43; }
.edrt-hero__card { background: var(--edr-surface); box-shadow: var(--edr-shadow); }
.edrt-hero__cta .edr-btn--cta { background: var(--edr-accent-cta); color: #fff; }
.edrt-hero__cta .edr-btn--cta:hover { background: var(--edr-accent-cta-hover); box-shadow: 0 10px 24px rgba(173, 75, 59, .25); }
.edrt-hero__cta .edr-btn--ghost { border-color: var(--edr-forest); color: var(--edr-forest); background: rgba(255, 252, 247, .6); }
.edrt-hero__cta .edr-btn--ghost:hover { background: var(--edr-forest); color: #fff; }
@media (min-width: 900px) {
	.edrt-hero__card { background: transparent; box-shadow: none; }
	.edrt-hero.has-photo .edrt-hero__media::after { background: linear-gradient(90deg, rgba(232, 220, 203, .95) 0%, rgba(232, 220, 203, .75) 36%, rgba(232, 220, 203, 0) 62%); }
}

/* Kafelki, kategorie */
.edrt-tile a { background: var(--edr-surface); border-color: var(--edr-line); color: var(--edr-graphite); }
.edrt-tile a:hover { box-shadow: var(--edr-shadow-lg); }
.edrt-tile__media { background: var(--edr-sand-50); }
.edrt-tile__name { color: var(--edr-forest); }
.edrt-tile__desc { color: var(--edr-muted); }
.edrt-subcats a { background: var(--edr-surface); border-color: var(--edr-line); color: var(--edr-graphite); }
.edrt-subcats a:hover { border-color: var(--edr-forest); background: var(--edr-sand-50); }
.edrt-subcats__img { background: var(--edr-sand-50); }
.edrt-subcats__count { color: var(--edr-muted); }

/* Dobór drapaka */
.edrt-quizsec__box { background: var(--edr-sand); border-color: var(--edr-sand-strong); }

/* Duże koty, nowoczesne */
.edrt-feature__media { background: var(--edr-sand-50); }
.edrt-feature__title { color: var(--edr-forest); }
.edrt-facts > div { background: var(--edr-surface); border-left-color: var(--edr-caramel); box-shadow: 0 1px 0 var(--edr-line); }
.edrt-facts dd { color: var(--edr-forest); }
.edrt-modern__media { background: var(--edr-sand); }

/* Dlaczego e-drapak */
.edrt-why__item { background: var(--edr-surface); border-color: var(--edr-line); }
.edrt-why__icon { background: var(--edr-sand); color: var(--edr-forest); }
.edrt-why__item h3 { color: var(--edr-forest); }
.edrt-why__item p { color: var(--edr-muted); }

/* Wpisy */
.edrt-post { background: var(--edr-surface); border-color: var(--edr-line); }
.edrt-post:hover { box-shadow: var(--edr-shadow-lg); }
.edrt-post__media { background: var(--edr-sand-50); }
.edrt-post__title a { color: var(--edr-forest); }
.edrt-post__meta { color: var(--edr-terra-strong); font-weight: 600; letter-spacing: .02em; }

/* Newsletter (sekcja) */
.edrt-nlsec__box { background: var(--edr-forest); color: var(--edr-cream); }
.edrt-nlsec__box .edrt-shead__title { color: var(--edr-cream); }
.edrt-nlsec__box p, .edrt-nlsec__box .edr-check__label, .edrt-nlsec__box a { color: #E3DACB; }
.edrt-nlsec__box .edr-check__box, .edrt-footer__nl .edr-check__box { border-color: rgba(245, 239, 229, .7); background: transparent; }
.edrt-nlsec__box :focus-visible, .edrt-footer :focus-visible { outline-color: var(--edr-cream); }

/* Stopka */
.edrt-footer { background: var(--edr-forest); color: #E3DACB; }
.edrt-footer a { color: var(--edr-cream); }
.edrt-footer a:hover { color: #fff; }
.edrt-footer__nl { background: var(--edr-forest-700); }
.edrt-footer__nl-title { color: var(--edr-cream); }
.edrt-footer__nl p, .edrt-footer__nl .edr-check__label { color: #E3DACB; }
.edrt-fcol__title { color: var(--edr-caramel); }
.edrt-fcontact .edr-icon { color: var(--edr-caramel); }
.edrt-footer__bottom { border-top-color: rgba(245, 239, 229, .14); color: #D3C9B9; }

/* Okruszki, nagłówki stron */
.edrt-crumbs, .edrt-crumbs a { color: var(--edr-muted); }
.edrt-crumbs a:hover { color: var(--edr-forest); }
.edrt-page__title, .edrt-shop__title { color: var(--edr-forest); }
.edrt-shop__intro, .edrt-page__intro { color: var(--edr-muted); }

/* Listing */
.edr-toolbar__found { color: var(--edr-muted); }
.edr-toolbar__count { background: var(--edr-terra-strong); color: #fff; }
.edr-toolbar__sort select { background-color: var(--edr-surface); border-color: var(--edr-line-strong); color: var(--edr-graphite); }
.edr-shop__filters { background: transparent; }
@media (max-width: 1099px) { .edr-shop__filters { background: var(--edr-bg); } }
.edr-shop__filters-head h2 { color: var(--edr-forest); }
.page-numbers a, .page-numbers span, .edrt-pagination .page-numbers { background: var(--edr-surface); border-color: var(--edr-line) !important; color: var(--edr-graphite); }
.page-numbers .current, .edrt-pagination .current { background: var(--edr-forest) !important; border-color: var(--edr-forest) !important; color: #fff !important; }
.edrt-catseo { border-top-color: var(--edr-line); }
.edrt-catseo__related a { background: var(--edr-surface); border-color: var(--edr-line); color: var(--edr-forest); }
.edrt-catseo__related a:hover { border-color: var(--edr-forest); background: var(--edr-sand-50); }
.edrt-catseo__related .edr-icon { color: var(--edr-caramel); }
.edrt-prose blockquote, .edrt-prose .edr-tip { background: var(--edr-sand-50); border-left-color: var(--edr-caramel); }
.edrt-prose th { background: var(--edr-sand-50); }
.edrt-prose th, .edrt-prose td { border-color: var(--edr-line); }

/* Karta produktu */
.woocommerce-product-gallery__image { background: var(--edr-sand-50); }
.woocommerce-product-gallery .flex-control-thumbs img { background: var(--edr-sand-50); }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { border-color: var(--edr-forest); }
.woocommerce-product-gallery__trigger { background: var(--edr-surface); }
.edrt-pmain .onsale { background: var(--edr-sale); color: #fff; }
.edrt-pmain__summary .product_title { color: var(--edr-forest); }
.edrt-pmeta a { color: var(--edr-forest); }
.edrt-pmain__summary .price { color: var(--edr-graphite) !important; }
.edrt-pmain__summary .price ins { color: var(--edr-sale); }
.edrt-pmain__summary .stock.in-stock { color: var(--edr-ok); }
.edrt-pmain__summary .stock.out-of-stock { color: var(--edr-terra-strong); }
.single_add_to_cart_button, .woocommerce .single_add_to_cart_button.button.alt { background: var(--edr-cta) !important; color: var(--edr-cta-ink) !important; }
.single_add_to_cart_button:hover { background: var(--edr-cta-hover) !important; box-shadow: 0 10px 24px rgba(38, 61, 53, .25); }
.quantity .qty, table.variations select { background: var(--edr-surface); border-color: var(--edr-line-strong); }
.edrt-pdelivery { background: var(--edr-surface); border-color: var(--edr-line); }
.edrt-pdelivery .edr-icon { color: var(--edr-forest); }
.edrt-pspecs__title { color: var(--edr-terra-strong); }
.edrt-ptool { background: var(--edr-surface); border-color: var(--edr-line); color: var(--edr-forest); }
.edrt-ptool:hover { border-color: var(--edr-forest); }
.edrt-ptool[data-edr-wish].is-on { color: var(--edr-terra-strong); border-color: var(--edr-terra); }
.edrt-ptool[data-edr-compare].is-on { background: var(--edr-forest); border-color: var(--edr-forest); color: #fff; }
.edrt-psections__nav { background: rgba(245, 239, 229, .96); border-bottom-color: var(--edr-line); }
.edrt-psections__nav a { color: var(--edr-muted); }
.edrt-psections__nav a:hover, .edrt-psections__nav a.is-active { color: var(--edr-forest); border-bottom-color: var(--edr-caramel); }
.edrt-psection { border-bottom-color: var(--edr-line); }
.edrt-psection__title { color: var(--edr-forest); }
.edrt-spectable th { background: var(--edr-sand-50); color: var(--edr-muted); }
.edrt-spectable th, .edrt-spectable td { border-bottom-color: var(--edr-line); }
.edrt-spectable td { background: var(--edr-surface); }
#reviews .comment_container { border-bottom-color: var(--edr-line); }
#review_form input[type="submit"] { background: var(--edr-forest); color: #fff; }
.edrt-sticky { background: var(--edr-surface); border-top-color: var(--edr-line); box-shadow: 0 -8px 24px rgba(38, 61, 53, .1); }
.edrt-sticky__info img { background: var(--edr-sand-50); }
.edrt-sticky__price ins { color: var(--edr-sale); }

/* Koszyk i zamówienie */
.edrt-steps { color: var(--edr-muted); }
.edrt-steps span { border-color: var(--edr-line-strong); background: var(--edr-surface); }
.edrt-steps .is-current { color: var(--edr-forest); }
.edrt-steps .is-current span { background: var(--edr-forest); border-color: var(--edr-forest); color: #fff; }
.edrt-steps .is-done span { background: var(--edr-forest-100); border-color: var(--edr-forest-100); color: var(--edr-forest); }
.edrt-steps li:not(:last-child)::after { background: var(--edr-line); }
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link), .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button, .wc-block-components-button.contained { background: var(--edr-cta) !important; color: var(--edr-cta-ink) !important; }
.wc-block-components-button.contained:hover, .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background: var(--edr-cta-hover) !important; }
.wc-block-cart, .wc-block-checkout { --wc-blocks-border: var(--edr-line); }
.wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-panel, .wc-block-components-order-summary, .wc-block-components-totals-wrapper { border-color: var(--edr-line) !important; }
.wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block, .wc-block-checkout__sidebar { background: var(--edr-surface); border-radius: var(--edr-radius); padding: 8px 16px; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select, .wc-block-components-textarea { background: var(--edr-surface) !important; border-color: var(--edr-line-strong) !important; color: var(--edr-graphite) !important; }
.wc-block-components-text-input.is-active input:focus, .wc-block-components-text-input input:focus { box-shadow: 0 0 0 3px rgba(38, 61, 53, .25) !important; border-color: var(--edr-forest) !important; }
.wc-block-components-radio-control__input:checked, .wc-block-components-checkbox__input:checked { background-color: var(--edr-forest) !important; border-color: var(--edr-forest) !important; }
.wc-block-components-product-price__value.is-discounted, .wc-block-components-sale-badge { color: var(--edr-sale) !important; }
.wc-block-components-sale-badge { border-color: var(--edr-sale) !important; background: var(--edr-surface) !important; }
.wc-block-components-validation-error p { color: var(--edr-terra-strong) !important; }
.wp-block-woocommerce-empty-cart-block { background: var(--edr-sand-50); border: 1px solid var(--edr-line); }
table.shop_table { background: var(--edr-surface); border-color: var(--edr-line) !important; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button { background: var(--edr-forest); color: #fff; }
.woocommerce .button:hover { background: var(--edr-forest-700); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order, .checkout-button { background: var(--edr-cta) !important; color: var(--edr-cta-ink) !important; }
.woocommerce form .form-row .required { color: var(--edr-terra-strong); }
.woocommerce-invalid input { border-color: var(--edr-terra-strong) !important; }
.woocommerce-message, .woocommerce-info, .wc-block-components-notice-banner { background: var(--edr-forest-100) !important; color: var(--edr-forest) !important; }
.woocommerce-error, .wc-block-components-notice-banner.is-error { background: var(--edr-terra-100) !important; color: #7E3427 !important; }
.woocommerce-MyAccount-navigation ul { background: var(--edr-surface); border-color: var(--edr-line); }
.woocommerce-MyAccount-navigation a { border-color: var(--edr-line); color: var(--edr-graphite); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--edr-forest); color: #fff; }
.woocommerce-form-login, .woocommerce-form-register { background: var(--edr-surface); border-color: var(--edr-line) !important; }

/* Poradnik, 404, CTA box */
.edrt-toc { background: var(--edr-sand-50); border: 1px solid var(--edr-line); }
.edrt-toc li { border-left-color: var(--edr-caramel); }
.edrt-toc a { color: var(--edr-graphite); }
.edrt-chips-nav a { background: var(--edr-surface); border-color: var(--edr-line); color: var(--edr-forest); }
.edrt-cta-box { background: var(--edr-sand); }
.edrt-article__meta { color: var(--edr-muted); }
.edrt-article__lead { color: #4E4A43; }
.edrt-article__hero { background: var(--edr-sand-50); }
.edrt-404__code { color: var(--edr-sand) !important; -webkit-text-stroke-color: var(--edr-forest); }
.edr-legal-note { background: #F6E9D6; color: #6A4520; }
/* Zdjęcia produktowe na białym tle wtapiają się w beżowe tła (bez wpływu na zdjęcia lifestyle w sekcjach). */
.edrt-tile__media img, .edrt-subcats__img img, .woocommerce-product-gallery__image img, .woocommerce-product-gallery .flex-control-thumbs img, .edrt-sticky__info img { mix-blend-mode: multiply; }

/* ===== Pasek kategorii (1.1.1): pełna szerokość, wyróżniony ===== */
.edrt-header__navbar { background: var(--edr-forest); border-top: 0; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08); }
.edrt-nav__list { justify-content: space-between; gap: 8px; }
.edrt-nav__item { flex: 0 1 auto; }
.edrt-nav__link { padding: 17px 6px 14px; color: var(--edr-cream); font-size: 1.04rem; font-weight: 700; letter-spacing: .01em; border-bottom-width: 3px; transition: color .15s, border-color .15s; }
.edrt-nav__item:first-child > .edrt-nav__link { padding-left: 0; }
.edrt-nav__item:hover > .edrt-nav__link, .edrt-nav__item.is-current > .edrt-nav__link, .edrt-nav__item.is-open > .edrt-nav__link { color: #fff; border-bottom-color: var(--edr-caramel); }
.edrt-nav__link:focus-visible { outline: 2px solid var(--edr-caramel); outline-offset: -2px; border-radius: 4px; }
.edrt-nav__toggle { color: var(--edr-caramel); margin-left: -2px; margin-right: 0; }
.edrt-nav__item:hover > .edrt-nav__toggle { color: #fff; }

/* ===== Karty produktów (1.1.2): większy produkt + obrót 3D po najechaniu ===== */
.edr-card__media { overflow: hidden; }
.edr-card__img { perspective: 1100px; }
.edr-card__img img { padding: 2%; transform: scale(1.1); }
.edr-card:hover .edr-card__img img { transform: scale(1.1); }
.edrt-spin { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.edrt-spin__face { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--edr-sand-50); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.edrt-spin__face--back { transform: rotateY(180deg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.edr-card:hover .edrt-spin.has-back, .edr-card:focus-within .edrt-spin.has-back { transform: rotateY(180deg); }
	.edr-card:hover .edrt-spin:not(.has-back) { animation: edrt-sway 2.4s ease-in-out infinite; }
}
@keyframes edrt-sway { 0%, 100% { transform: rotateY(0); } 25% { transform: rotateY(-16deg); } 75% { transform: rotateY(16deg); } }

/* ===== Kolory jako kwadraciki (1.1.2) ===== */
.edrt-swatches { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 0; padding: 0; list-style: none; }
.edrt-swatch { position: relative; display: block; width: 24px; height: 24px; border-radius: 6px; background: var(--sw, var(--edr-sand)); box-shadow: inset 0 0 0 1px rgba(41, 41, 37, .22); cursor: help; outline: none; transition: transform .15s; }
.edrt-swatch.is-unknown { display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: var(--edr-graphite); }
.edrt-swatch:hover, .edrt-swatch:focus-visible { transform: scale(1.12); }
.edrt-swatch:focus-visible { box-shadow: inset 0 0 0 1px rgba(41, 41, 37, .22), 0 0 0 2px var(--edr-surface), 0 0 0 4px var(--edr-forest); }
.edrt-swatch::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20; padding: 5px 9px; border-radius: 6px; background: var(--edr-graphite); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 4px); transition: opacity .15s, transform .15s; }
.edrt-swatch::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 3px); z-index: 20; border: 5px solid transparent; border-top-color: var(--edr-graphite); border-bottom: 0; pointer-events: none; opacity: 0; transform: translateX(-50%); transition: opacity .15s; }
.edrt-swatch:hover::after, .edrt-swatch:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.edrt-swatch:hover::before, .edrt-swatch:focus-visible::before { opacity: 1; }
.edr-specs > div, .edr-specs dd { overflow: visible; }

/* ===== Logo (1.1.4): większe ===== */
.edrt-logo img { height: 56px; }
@media (min-width: 1100px) { .edrt-logo img { height: 86px; } .edrt-header__main { padding-top: 10px; padding-bottom: 10px; } }

/* ===== Kontakt (1.1.4) ===== */
.edr-cinfo { margin: 0 0 28px; padding: 20px 22px; background: var(--edr-sand-50); border-radius: var(--edr-radius); }
.edr-cinfo__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px 24px; margin: 0; padding: 0; list-style: none; }
.edr-cinfo__list li { display: flex; flex-direction: column; gap: 2px; }
.edr-cinfo__label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--edr-terra-strong); margin: 0; }
.edr-cinfo__val, .edr-cinfo__val a { font-weight: 700; color: var(--edr-forest); font-size: 1.05rem; }
.edr-cinfo__seller { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--edr-line); }
.edr-cinfo__seller p:last-child { margin: 4px 0 0; }
.edr-contact { max-width: 760px; }
.edr-contact__form { padding: 26px 24px; background: var(--edr-surface); border: 1px solid var(--edr-line); border-radius: var(--edr-radius); box-shadow: var(--edr-shadow); }
.edr-contact__grid { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
@media (min-width: 640px) { .edr-contact__grid { grid-template-columns: 1fr 1fr; } .edr-field--full { grid-column: 1 / -1; } }
.edr-contact .edr-field { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.edr-contact .edr-field label { font-weight: 600; font-size: .92rem; color: var(--edr-graphite); }
.edr-contact .edr-field input[type="text"], .edr-contact .edr-field input[type="email"], .edr-contact .edr-field input[type="tel"], .edr-contact .edr-field select, .edr-contact .edr-field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--edr-line-strong); border-radius: 10px; background: #fff; color: var(--edr-graphite); font: inherit; }
.edr-contact .edr-field textarea { min-height: 140px; resize: vertical; }
.edr-contact .edr-field :is(input, select, textarea):focus { outline: 0; border-color: var(--edr-forest); box-shadow: 0 0 0 4px rgba(38, 61, 53, .14); }
.edr-contact .edr-field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.edr-contact .edr-field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--edr-forest); flex: 0 0 auto; }
.edr-contact .edr-field--check label { font-weight: 400; font-size: .9rem; }
.edr-contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 6px 0 0; }
.edr-contact__req { font-size: .85rem; color: var(--edr-muted); }
.edr-contact__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.edr-contact__notice { margin: 0 0 18px; padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.edr-contact__notice.is-ok { background: #E3EFE7; color: #1F4F37; border: 1px solid #A9CDB7; }
.edr-contact__notice.is-err { background: var(--edr-terra-100); color: var(--edr-terra-700); border: 1px solid #E2B7A8; }

/* ===== Pasek kategorii (1.1.6): bliżej siebie, wyśrodkowane ===== */
.edrt-nav__list { justify-content: center; gap: clamp(24px, 4vw, 64px); }
.edrt-nav__item:first-child > .edrt-nav__link { padding-left: 6px; }

/* ===== 1.1.8: większe logo + poprawki mobilne ===== */
.edrt-logo img { height: 64px; }
@media (min-width: 1100px) { .edrt-logo img { height: 104px; } .edrt-header__main { padding-top: 8px; padding-bottom: 8px; } }
.edrt-drawer__head .edrt-logo img { height: 52px; }
/* Plakietka promocji (nadpisuje okrągłą plakietkę WooCommerce/Woodmart) */
.woocommerce span.onsale, .woocommerce-page span.onsale, .edrt-pmain span.onsale { position: absolute; top: 12px; left: 12px; z-index: 5; display: inline-block; width: auto; height: auto; min-width: 0; min-height: 0; margin: 0; padding: .4em .8em; border-radius: 8px; background: var(--edr-terra-strong) !important; color: #fff !important; font-size: .78rem; font-weight: 800; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; box-shadow: none; }
@media (max-width: 699px) {
	/* Karty w 2 kolumnach: przycisk w jednej linii, ciaśniejsze odstępy */
	.edr-card__cta .edr-btn, .edr-card .add_to_cart_button { width: 100%; min-height: 44px; padding: 10px 8px; gap: 6px; font-size: .9rem; white-space: nowrap; }
	.edr-card__cta .edr-btn .edr-icon { width: 18px; height: 18px; }
	.edr-card__body { padding: 12px 12px 14px; }
	.edr-card__title { font-size: .95rem; line-height: 1.3; }
	.edr-card__price { font-size: 1.05rem; }
	.edr-card__tools .edr-tool { width: 38px; height: 38px; }
	.edrt-hero__card { padding: 20px 18px 22px; }
	.edrt-hero__title { font-size: 2rem; }
	.edrt-hero__media { aspect-ratio: 4 / 3; }
	.edrt-hero__img { object-position: 70% 100%; }
	.edrt-search input[type="search"] { min-height: 44px; font-size: 16px; }
	h1, .edrt-archive__title { overflow-wrap: anywhere; }
	html, body { overflow-x: clip; }
}

/* ===== 1.1.9: auto-kadrowanie zdjęć w kafelkach ===== */
.edr-card__img img, .edrt-tile__media img, .edrt-subcats__img img { transform-origin: 50% 50%; }
.edr-card__img img.is-fitted, .edr-card:hover .edr-card__img img.is-fitted { padding: 0; transform: translate(var(--fit-x, 0), var(--fit-y, 0)) scale(var(--fit-s, 1)); }
.edrt-tile__media img.is-fitted, .edrt-subcats__img img.is-fitted { transform: translate(var(--fit-x, 0), var(--fit-y, 0)) scale(var(--fit-s, 1)); }
.edrt-tile__media, .edrt-subcats__img { overflow: hidden; }

/* ===== 1.2.0: modele 3D ===== */
.edrt-mv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; pointer-events: none; transition: opacity .35s; background: transparent; --poster-color: transparent; --progress-bar-height: 0px; }
.edr-card.is-3d.is-3d-ready .edrt-mv { opacity: 1; }
.edr-card.is-3d.is-3d-ready .edr-card__img { opacity: 0; transition: opacity .25s; }
.edr-card.has-model:hover .edrt-spin { animation: none !important; }
.edrt-3d-badge { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 3px 8px; border-radius: 6px; background: var(--edr-forest); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; opacity: 0; transition: opacity .25s; pointer-events: none; }
.edr-card.is-3d.is-3d-ready .edrt-3d-badge { opacity: 1; }
.edrt-3d { margin: 20px 0 0; padding: 18px; background: var(--edr-surface); border: 1px solid var(--edr-line); border-radius: var(--edr-radius); }
.edrt-3d__title { margin: 0 0 4px; font-size: 1.15rem; color: var(--edr-forest); }
.edrt-3d__note { margin: 0 0 12px; font-size: .85rem; color: var(--edr-muted); }
.edrt-3d__stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--edr-sand-50) 75%); overflow: hidden; }
.edrt-mv--full { position: absolute; inset: 0; opacity: 0; pointer-events: auto; }
.edrt-3d__stage.is-ready .edrt-mv--full { opacity: 1; }
.edrt-3d__stage.is-ready .edrt-3d__load { display: none; }
.edrt-3d__stage.is-error .edrt-3d__load { display: none; }

/* ===== 1.2.2: logo jeszcze większe ===== */
.edrt-logo img { height: 76px; }
@media (min-width: 1100px) { .edrt-logo img { height: 132px; } .edrt-header__main { padding-top: 6px; padding-bottom: 6px; } }

/* 1.3.3 — dane producenta (GPSR) jako zwijane FAQ */
.edrt-gpsr { margin-top: 20px; display: grid; gap: 8px; }
.edrt-gpsr .edr-faq__q { min-height: 48px; padding: 12px 16px; font-size: .95rem; }
.edrt-gpsr .edr-faq__a p { margin: 0 0 4px; font-size: .92rem; }
.edr-faq + .edrt-gpsr { margin-top: 8px; }

/* 1.3.5 — hero: cały drapak widoczny (góra i dół), tło zdjęcia = tło sekcji */
@media (min-width: 900px) {
	.edrt-hero.has-photo .edrt-hero__img { object-fit: contain; object-position: right bottom; padding: 24px 4vw 0 0; box-sizing: border-box; }
	.edrt-hero.has-photo .edrt-hero__media { background: var(--edr-sand); }
}
@media (max-width: 899px) {
	.edrt-hero.has-photo .edrt-hero__img { object-fit: contain; object-position: center bottom; background: var(--edr-sand); }
}
/* 1.3.5 — rodzaje drapaków równomiernie na całej szerokości (dowolna liczba kafli) */
@media (min-width: 1100px) {
	.edrt-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) {
	.edrt-hero.has-photo { min-height: min(720px, 84vh); }
	.edrt-hero.has-photo .edrt-hero__img { padding: 14px 7vw 0 0; }
}
/* 1.3.7 — stopka: większe logo, wyśrodkowane nad opisem */
.edrt-fcol--brand .edrt-logo { display: flex; justify-content: center; max-width: 34ch; }
.edrt-fcol--brand .edrt-logo img { height: 84px; }
@media (min-width: 900px) { .edrt-fcol--brand .edrt-logo img { height: 96px; } }

/* 1.3.8 — hero: tekst i zdjęcie w jednej siatce strony (wyrównane do kontenera), zdjęcie zawsze w całości */
@media (min-width: 900px) {
	.edrt-hero.has-photo { min-height: clamp(500px, 66vh, 620px); }
	.edrt-hero.has-photo .edrt-hero__media::after { display: none; }
	.edrt-hero.has-photo .edrt-hero__media {
		inset: 36px auto 28px auto;
		right: max(var(--edrt-gutter), calc((100% - var(--edrt-wrap)) / 2 + var(--edrt-gutter)));
		width: min(44%, 540px);
		background: transparent;
	}
	.edrt-hero.has-photo .edrt-hero__img { padding: 0; object-fit: contain; object-position: center bottom; }
	.edrt-hero.has-photo .edrt-hero__card { max-width: min(560px, 50%); }
}

/* 1.3.9 — jaśniejsza zieleń paska i stopki */
:root { --edrt-bar: #2C4E42; }
.edrt-header__navbar { background: var(--edrt-bar); }
.edrt-footer { background: var(--edrt-bar); }
.edrt-footer__bottom { background: rgba(0, 0, 0, .10); }

/* 1.3.9 — po przewinięciu: zostaje tylko zielony pasek z logo (lewo), menu (środek) i kontem/ulubionymi/koszykiem (prawo) */
@media (min-width: 1100px) {
	.edrt-header { transition: box-shadow .2s; }
	.edrt-header.is-compact { border-bottom: 0; background: var(--edrt-bar); box-shadow: 0 6px 20px rgba(20, 40, 33, .22); }
	.edrt-header.is-compact .edrt-header__main {
		position: absolute; inset: 0; z-index: 2; pointer-events: none;
		grid-template-columns: auto 1fr auto; grid-template-areas: "logo . actions";
		padding-top: 0; padding-bottom: 0; align-items: center;
	}
	.edrt-header.is-compact .edrt-header__main > * { pointer-events: auto; }
	.edrt-header.is-compact .edrt-header__search { display: none; }
	.edrt-header.is-compact .edrt-header__logo .edrt-logo img { height: 48px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
	.edrt-header.is-compact .edrt-iconbtn { color: #fff; min-height: 40px; }
	.edrt-header.is-compact .edrt-iconbtn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
	.edrt-header.is-compact .edrt-header__navbar .edrt-nav__list { position: relative; z-index: 3; }
	/* kompensacja wysokości, żeby treść nie skakała */
	body.edrt-compact-on .edrt-main { padding-top: var(--edrt-compact-gap, 0px); }
}
@media (max-width: 1099px) {
	.edrt-header.is-compact .edrt-header__search { display: none; }
	.edrt-header.is-compact .edrt-logo img { height: 44px; }
	.edrt-header.is-compact .edrt-header__main { padding-top: 6px; padding-bottom: 6px; }
}
body.edrt-compact-on .edrt-main { padding-top: var(--edrt-compact-gap, 0px); }
.edrt-header { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .edrt-header { top: 0; } }

/* 1.4.2 — zieleń marki: „mech leśny, ciemny” */
html:root { --edr-forest: #3B5638; --edr-forest-700: #2E452C; --edr-forest-100: #E3EBE1; --edrt-bar: #3B5638; }

/* 1.4.3 — hero: zdjęcie z miękko wtopionymi krawędziami (tło zdjęcia przechodzi w tło sekcji) */
.edrt-hero.has-photo { background: #E6D4BE; }
.edrt-hero.has-photo .edrt-hero__media picture { display: flex; justify-content: center; align-items: flex-end; width: 100%; height: 100%; }
.edrt-hero.has-photo .edrt-hero__img {
	width: auto; height: 100%; max-width: 100%; margin: 0 auto; object-fit: contain; background: none;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
	mask-composite: intersect;
}
@media (min-width: 900px) {
	.edrt-hero.has-photo .edrt-hero__media { top: 0; bottom: 0; left: auto; right: max(var(--edrt-gutter), calc((100% - var(--edrt-wrap)) / 2 + var(--edrt-gutter))); }
}

/* 1.4.5 — hero: zdjęcie bliżej tekstu (mniejsza pusta przestrzeń) */
@media (min-width: 900px) {
	.edrt-hero.has-photo .edrt-hero__media {
		right: auto;
		left: calc(max(var(--edrt-gutter), (100% - var(--edrt-wrap)) / 2 + var(--edrt-gutter)) + min(600px, 46%));
		width: min(42%, 520px);
	}
	.edrt-hero.has-photo .edrt-hero__media picture { justify-content: flex-start; }
	.edrt-hero.has-photo .edrt-hero__img { margin: 0; }
}
@media (min-width: 1400px) {
	.edrt-hero.has-photo .edrt-hero__media picture { justify-content: center; }
}
/* 1.4.6 — logo i ikony na kompaktowym pasku nad warstwą menu (klikalne) */
@media (min-width: 1100px) {
	.edrt-header.is-compact .edrt-header__main { z-index: 5; }
	.edrt-header.is-compact .edrt-header__logo, .edrt-header.is-compact .edrt-header__actions { position: relative; z-index: 6; }
}

/* 1.4.7 — hero z dwoma zdjęciami: kot – tekst na środku – kot (szerokie ekrany) */
.edrt-hero__media--left { display: none; }
@media (min-width: 1250px) {
	.edrt-hero.has-duo .edrt-hero__media--left { display: block; }
	.edrt-hero.has-duo .edrt-hero__media {
		position: absolute; top: 0; bottom: 0; width: min(27%, 380px);
		left: auto; right: max(var(--edrt-gutter), calc((100% - var(--edrt-wrap)) / 2 + var(--edrt-gutter)));
	}
	.edrt-hero.has-duo .edrt-hero__media--left {
		right: auto; left: max(var(--edrt-gutter), calc((100% - var(--edrt-wrap)) / 2 + var(--edrt-gutter)));
	}
	.edrt-hero.has-duo .edrt-hero__media picture { justify-content: center; }
	.edrt-hero.has-duo .edrt-hero__inner { display: flex; justify-content: center; }
	.edrt-hero.has-duo .edrt-hero__card { max-width: 520px; text-align: center; }
	.edrt-hero.has-duo .edrt-hero__card .edrt-eyebrow { justify-content: center; }
	.edrt-hero.has-duo .edrt-hero__sub { margin-left: auto; margin-right: auto; }
	.edrt-hero.has-duo .edrt-hero__cta { justify-content: center; }
	.edrt-hero.has-duo .edrt-hero__title { font-size: clamp(2.4rem, 1.2rem + 2.4vw, 3.4rem); }
}

/* 1.4.8 — kot obok kreatora doboru drapaka (szerokie ekrany) */
.edrt-quizsec__box { position: relative; }
.edrt-quizsec__cat { display: none; }
@media (min-width: 1200px) {
	.edrt-quizsec__box { overflow: hidden; }
	.edrt-quizsec__cat { display: block; position: absolute; right: 40px; bottom: 0; width: auto; height: min(290px, 40%); pointer-events: none; filter: drop-shadow(0 6px 10px rgba(41, 41, 37, .12)); }
}

/* 1.5.0 — powiększenie zdjęcia produktu: obrazek bazowy w tle widoczny tylko w 10% */
.woocommerce-product-gallery__image img:not(.zoomImg) { transition: opacity .2s ease; }
.woocommerce-product-gallery__image:has(.zoomImg):hover img:not(.zoomImg) { opacity: .1; }
.woocommerce-product-gallery__image .zoomImg { background-color: var(--edr-surface); }

/* 1.5.1 — wybór koloru: lista rozwijana z nazwą i kwadracikiem */
.edrt-colorsel { position: relative; flex: 1 1 100%; margin: 4px 0 14px; }
.edrt-colorsel__label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; color: var(--edr-forest); }
.edrt-colorsel__btn { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 420px; min-height: 52px; padding: 10px 14px; border: 2px solid var(--edr-line-strong); border-radius: 12px; background: var(--edr-surface); color: var(--edr-ink, #292925); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.edrt-colorsel__btn:hover, .edrt-colorsel.is-open .edrt-colorsel__btn { border-color: var(--edr-forest); }
.edrt-colorsel__btn:focus-visible { outline: 3px solid rgba(45, 67, 48, .35); outline-offset: 2px; }
.edrt-colorsel__chev { margin-left: auto; transition: transform .2s; }
.edrt-colorsel.is-open .edrt-colorsel__chev { transform: rotate(180deg); }
.edrt-colorsel__sw { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(41, 41, 37, .22); }
.edrt-colorsel__list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 100%; max-width: 420px; max-height: 340px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--edr-line); border-radius: 12px; background: var(--edr-surface); box-shadow: 0 14px 34px rgba(41, 41, 37, .16); }
.edrt-colorsel__label + .edrt-colorsel__btn + .edrt-colorsel__list { top: calc(100% + 6px); }
.edrt-colorsel__list li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-weight: 500; }
.edrt-colorsel__list li:hover, .edrt-colorsel__list li:focus { background: var(--edr-sand); outline: 0; }
.edrt-colorsel__list li[aria-selected="true"] { background: var(--edr-forest-100, #E3EBE1); font-weight: 700; }
.edrt-colorsel__err { margin: 6px 0 0; color: var(--edr-terra-strong); font-size: .88rem; font-weight: 600; }
.edrt-colorsel.has-error .edrt-colorsel__btn { border-color: var(--edr-terra-strong); }
form.cart:has(.edrt-colorsel) { flex-wrap: wrap; }

/* 1.5.4 — kwadraciki dostępnych kolorów obok napisu „Kolor” */
.edrt-colorsel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 420px; margin-bottom: 8px; }
.edrt-colorsel__head .edrt-colorsel__label { margin: 0; white-space: nowrap; }
.edrt-colorsel__dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.edrt-colorsel__dot { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(41, 41, 37, .22); cursor: pointer; transition: transform .15s; }
.edrt-colorsel__dot:hover { transform: scale(1.15); }
.edrt-colorsel__dot.is-active { box-shadow: inset 0 0 0 1px rgba(41, 41, 37, .22), 0 0 0 2px var(--edr-surface), 0 0 0 4px var(--edr-forest); }
/* 1.5.5 — kwadraciki równomiernie na całej długości pola */
.edrt-colorsel__head { gap: 18px; }
.edrt-colorsel__dots { flex: 1 1 auto; flex-wrap: nowrap; justify-content: space-between; }
/* 1.5.6 — bez SKU na stronie produktu */
.single-product .product_meta .sku_wrapper, .single-product .edrt-pmeta__sku { display: none !important; }

/* 1.5.7 — ilość z przyciskami – / + oraz „Kup teraz” */
.quantity.has-steppers { display: inline-flex; align-items: stretch; border: 1px solid var(--edr-line-strong); border-radius: var(--edr-radius-sm, 10px); background: var(--edr-surface); overflow: hidden; }
.quantity.has-steppers .qty { width: 48px; min-height: 52px; border: 0; border-radius: 0; padding: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.quantity.has-steppers .qty::-webkit-outer-spin-button, .quantity.has-steppers .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.edrt-qtybtn { width: 40px; border: 0; background: transparent; color: var(--edr-forest); font-size: 1.25rem; font-weight: 700; line-height: 1; cursor: pointer; }
.edrt-qtybtn:hover { background: var(--edr-sand); }
.edrt-qtybtn:focus-visible { outline: 2px solid var(--edr-forest); outline-offset: -2px; }
.edrt-buynow { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 2px solid var(--edr-forest) !important; border-radius: var(--edr-radius-sm, 10px); background: var(--edr-surface) !important; color: var(--edr-forest) !important; font-weight: 800; font-size: 1.05rem; cursor: pointer; }
.edrt-buynow:hover { background: var(--edr-forest) !important; color: #fff !important; }
form.cart:has(.edrt-buynow) { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
form.cart:has(.edrt-buynow) .single_add_to_cart_button { flex: 1 1 200px; }
form.cart:has(.edrt-buynow) .edrt-buynow { flex: 0 1 auto; }

/* 1.5.9 — opis produktu w prawej kolumnie; brak sekcji pod produktem */
.edrt-pdesc { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--edr-line); }
.edrt-pdesc__title { margin: 0 0 10px; font-size: 1.15rem; color: var(--edr-forest); }
.edrt-pdesc__body { color: var(--edr-muted); line-height: 1.65; }
.edrt-pdesc__body p { margin: 0 0 10px; }
.edrt-pdesc__body h2, .edrt-pdesc__body h3 { font-size: 1.05rem; margin: 14px 0 8px; color: var(--edr-forest); }
.single-product .edrt-psections, .single-product .woocommerce-tabs { display: none; }

/* 1.6.1 — płynne pojawianie się logo i ikon w zielonym pasku */
@keyframes edrtBarIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
	.edrt-header.is-compact .edrt-header__logo,
	.edrt-header.is-compact .edrt-header__actions { animation: edrtBarIn .3s ease-out both; }
}

/* 1.6.1 — Dobór drapaka: lista pytań + zielony panel podsumowania (propozycja C) */
.edrt-quizsec .edr-quiz__actions { display: none; }
.edrt-quizsec__cat { display: none !important; }
.edrt-quizc { display: grid; gap: 28px; align-items: start; margin-top: 8px; }
@media (min-width: 1100px) { .edrt-quizc { grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; } }
.edrt-quizsec .edr-quiz__steps { display: block; }
.edrt-quizsec .edr-quiz__step { padding: 16px 0; border-top: 1px dashed #cdbd9f; }
.edrt-quizsec .edr-quiz__step:last-child { border-bottom: 1px dashed #cdbd9f; }
.edrt-quizsec .edr-quiz fieldset { display: flow-root; }
.edrt-quizsec .edr-quiz__q { float: left; width: 100%; margin: 0 0 10px; padding: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.3; gap: 12px; color: var(--edr-ink, #1F2A22); }
.edrt-quizsec .edr-quiz__n { width: auto; height: auto; background: none; color: var(--edr-accent-cta, #B24A3A); font-family: var(--edrt-display); font-weight: 800; font-size: 1.45rem; min-width: 24px; }
@media (min-width: 760px) {
	.edrt-quizsec .edr-quiz__q { width: 215px; min-height: 50px; margin: 0 16px 0 0; }
}
.edrt-quizsec .edr-quiz__opts { width: fit-content; max-width: 100%; overflow: hidden; display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; background: #fff; border: 1px solid var(--edr-line); border-radius: 12px; }
.edrt-quizsec .edr-pill span { min-height: 40px; padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; font-size: .95rem; color: #3c3a35; }
.edrt-quizsec .edr-pill:hover span { background: var(--edr-forest-100, #E3EBE1); }
.edrt-quizsec .edr-pill input:checked + span { background: var(--edr-forest, #3B5638); color: #fff; }
.edrt-quizc__sum { display: flex; flex-direction: column; background: var(--edr-forest, #3B5638); color: #fff; border-radius: 22px; padding: 28px 28px 0; }
.edrt-quizc__title { margin: 0 0 14px; color: #fff; font-size: 1.18rem; white-space: nowrap; }
.edrt-quizc__list { margin: 0 0 22px; font-size: .95rem; line-height: 1.5; }
.edrt-quizc__list div { display: flex; gap: 6px; padding: 3px 0; }
.edrt-quizc__list dt { opacity: .7; font-weight: 400; }
.edrt-quizc__list dd { margin: 0; font-weight: 600; }
.edrt-quizc__btn { display: block; width: 100%; padding: 16px 20px; border: 0; border-radius: 12px; background: var(--edr-accent-cta, #B24A3A); color: #fff; font: inherit; font-weight: 700; font-size: 1.08rem; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.edrt-quizc__btn:hover { background: var(--edr-accent-cta-hover, #9c3f31); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.edrt-quizc__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.edrt-quizc__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 12px; }
.edrt-quizc__note { margin: 0 0 24px; font-size: .85rem; opacity: .8; max-width: 190px; }
.edrt-quizc__cat { display: block; flex: none; width: auto; height: 200px; margin-right: 6px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.edrt-quizc__out:not(:empty) { margin-top: 28px; }

/* 1.6.6 — Dobór drapaka na telefonie: odpowiedzi jako równe kafelki, zwarty panel z przyciskiem */
@media (max-width: 759px) {
	.edrt-quizsec .edrt-quizsec__box { padding: 22px 16px; }
	.edrt-quizsec .edr-quiz__step { padding: 14px 0; }
	.edrt-quizsec .edr-quiz__q { font-size: 1.05rem; margin-bottom: 10px; }
	.edrt-quizsec .edr-quiz__n { font-size: 1.3rem; }
	.edrt-quizsec .edr-quiz__opts { clear: both; width: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; background: none; border: 0; overflow: visible; }
	.edrt-quizsec .edr-quiz__opts:has(input[name="cats"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.edrt-quizsec .edr-quiz__opts:has(input[name="cats"]) > .edr-pill:last-child { grid-column: auto; }
	.edrt-quizsec .edr-quiz__opts > .edr-pill:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.edrt-quizsec .edr-pill { display: block; }
	.edrt-quizsec .edr-pill span { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; height: 100%; min-height: 48px; padding: 8px 10px; border: 1.5px solid var(--edr-line); border-radius: 12px; background: #fff; font-size: .95rem; line-height: 1.25; }
	.edrt-quizsec .edr-pill input:checked + span { border-color: var(--edr-forest, #3B5638); }
	.edrt-quizc { gap: 18px; }
	.edrt-quizc__sum { padding: 20px 18px 0; border-radius: 18px; }
	.edrt-quizc__title, .edrt-quizc__list { display: none; }
	.edrt-quizc__btn { padding: 16px; font-size: 1.05rem; }
	.edrt-quizc__note { margin-bottom: 18px; max-width: none; }
	.edrt-quizc__cat { height: 130px; }
}

/* 1.6.6 — czarny pasek informacyjny u góry strony */
.edrt-topbar { background: #0b0b0b; color: #fff; font-size: .95rem; font-weight: 500; }
.edrt-topbar__list { gap: 44px; padding-top: 11px; padding-bottom: 11px; }
.edrt-topbar__item .edr-icon { display: none; }
.edrt-topbar a { color: #fff; }
@media (max-width: 899px) {
	.edrt-topbar { font-size: .85rem; }
	.edrt-topbar__list { position: relative; display: block; height: 38px; padding: 0; overflow: hidden; text-align: center; }
	.edrt-topbar__item { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
	.edrt-topbar__item:first-child, .edrt-topbar__item.is-on { opacity: 1; transform: none; }
	.edrt-topbar__list.is-rotating .edrt-topbar__item:first-child:not(.is-on) { opacity: 0; transform: translateY(-6px); }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) { .edrt-topbar__item { transition: none; } }

/* 1.7.0 — telefon: czarny pasek zawsze przyklejony u góry, nad nagłówkiem */
@media (max-width: 899px) {
	.edrt-topbar { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; }
	.edrt-header { top: calc(var(--wp-admin--admin-bar--height, 0px) + 38px); }
}
@media (max-width: 600px) {
	.edrt-topbar { top: 0; }
	.edrt-header { top: 38px; }
}

/* 1.7.3 — Kasa: najpierw akceptacja regulaminu, potem czytelne karty metod płatności, na końcu przycisk */
.woocommerce-checkout #payment { display: flex; flex-direction: column; gap: 18px; padding: 22px; background: #fff; border: 1px solid var(--edr-line, #E2D8C6); border-radius: 16px; }
.woocommerce-checkout #payment .place-order { display: contents; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper { order: 0; margin: 0; padding: 16px 18px; background: var(--edr-forest-100, #E3EBE1); border: 1px solid color-mix(in srgb, var(--edr-forest, #3B5638) 25%, transparent); border-radius: 12px; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper::before { content: "Akceptacja regulaminu"; display: block; margin-bottom: 8px; font-weight: 800; font-size: 1.05rem; color: var(--edr-forest, #3B5638); }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { margin: 0 0 10px; font-size: .9rem; line-height: 1.5; color: #4b4a45; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0; padding: 0; }
.woocommerce-checkout #payment .woocommerce-form__label-for-checkbox { display: flex !important; align-items: flex-start; gap: 10px; margin: 0; font-weight: 600; font-size: 1rem; line-height: 1.4; cursor: pointer; }
.woocommerce-checkout #payment .woocommerce-form__label-for-checkbox input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--edr-forest, #3B5638); }
.woocommerce-checkout #payment ul.wc_payment_methods { order: 1; margin: 0; padding: 0; border: 0; list-style: none; display: grid; gap: 10px; }
.woocommerce-checkout #payment ul.wc_payment_methods::before { content: "Metoda płatności"; display: block; font-weight: 800; font-size: 1.05rem; color: var(--edr-forest, #3B5638); }
.woocommerce-checkout #payment ul.wc_payment_methods li.wc_payment_method { position: relative; margin: 0; padding: 14px 16px 14px 48px; background: #fff; border: 1.5px solid var(--edr-line, #E2D8C6); border-radius: 12px; transition: border-color .15s, box-shadow .15s; line-height: 1.4; }
.woocommerce-checkout #payment ul.wc_payment_methods li.wc_payment_method:hover { border-color: color-mix(in srgb, var(--edr-forest, #3B5638) 50%, #fff); }
.woocommerce-checkout #payment ul.wc_payment_methods li.wc_payment_method:has(> input:checked) { border-color: var(--edr-forest, #3B5638); box-shadow: 0 0 0 1px var(--edr-forest, #3B5638) inset; background: #FBFDFA; }
.woocommerce-checkout #payment ul.wc_payment_methods li > input.input-radio { position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; margin: 0; accent-color: var(--edr-forest, #3B5638); }
.woocommerce-checkout #payment ul.wc_payment_methods li > label { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-weight: 700; font-size: 1rem; cursor: pointer; }
.woocommerce-checkout #payment ul.wc_payment_methods li > label img { max-height: 24px; width: auto; margin: 0 !important; }
.woocommerce-checkout #payment div.payment_box { margin: 12px 0 0; padding: 12px 14px; background: #F6F1E8; border-radius: 10px; font-size: .9rem; color: #3c3a35; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.payment_box p:last-child { margin-bottom: 0; }
.woocommerce-checkout #payment div.payment_box label.checkbox { display: block; font-weight: 500; line-height: 1.45; }
.woocommerce-checkout #payment div.payment_box input[type="checkbox"] { width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; accent-color: var(--edr-forest, #3B5638); }
.woocommerce-checkout #payment #place_order { order: 2; float: none; width: 100%; min-height: 56px; margin: 0; font-size: 1.12rem; border-radius: 12px; }
@media (min-width: 768px) { .woocommerce-checkout #payment #place_order { width: auto; min-width: 280px; align-self: flex-start; } }

/* 1.7.4 — Kasa w zwartym układzie: dane po lewej (pola w 2 kolumnach), podsumowanie i płatność po prawej */
.woocommerce-checkout .edrt-page__content--wide { max-width: 1180px; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details h3 { margin: 0 0 12px; font-size: 1.15rem; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1; float: none; width: auto; margin: 0; padding: 0; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
.woocommerce-checkout #billing_company_field, .woocommerce-checkout #billing_nip_field, .woocommerce-checkout #billing_postcode_field, .woocommerce-checkout #billing_city_field, .woocommerce-checkout #billing_phone_field, .woocommerce-checkout #billing_email_field,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last,
.woocommerce-checkout #shipping_postcode_field, .woocommerce-checkout #shipping_city_field { grid-column: auto; }
.woocommerce-checkout .form-row label { margin-bottom: 4px; font-size: .88rem; }
.woocommerce-checkout .form-row .input-text, .woocommerce-checkout .form-row select { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.woocommerce-checkout .woocommerce-additional-fields { margin-top: 14px; }
.woocommerce-checkout .woocommerce-additional-fields textarea { min-height: 70px; height: 70px; }
@media (max-width: 560px) {
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}
@media (min-width: 1000px) {
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: auto 1fr; column-gap: 36px; align-items: start; }
	.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
	.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
	.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 10px; font-size: 1.15rem; }
	.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 100px; }
}
.woocommerce-checkout #order_review table.shop_table { margin-bottom: 14px; font-size: .92rem; }
.woocommerce-checkout #order_review table.shop_table th, .woocommerce-checkout #order_review table.shop_table td { padding: 8px 12px; }
.woocommerce-checkout #order_review #shipping_method li { margin: 0 0 4px; }
.woocommerce-checkout #payment { gap: 12px; padding: 16px; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper { padding: 12px 14px; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper::before, .woocommerce-checkout #payment ul.wc_payment_methods::before { font-size: .98rem; margin-bottom: 4px; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { font-size: .82rem; margin-bottom: 8px; }
.woocommerce-checkout #payment ul.wc_payment_methods { gap: 8px; }
.woocommerce-checkout #payment ul.wc_payment_methods li.wc_payment_method { padding: 10px 12px 10px 42px; }
.woocommerce-checkout #payment ul.wc_payment_methods li > input.input-radio { left: 13px; top: 12px; }
.woocommerce-checkout #payment ul.wc_payment_methods li > label { font-size: .95rem; }
.woocommerce-checkout #payment div.payment_box { margin-top: 8px; padding: 9px 11px; font-size: .84rem; }
.woocommerce-checkout #payment #place_order { width: 100%; min-width: 0; align-self: stretch; min-height: 52px; }

/* 1.7.5 — zgoda Przelewy24 połączona z akceptacją regulaminu */
.woocommerce-checkout #payment .edrt-p24-merged { display: none !important; }
.woocommerce-checkout #payment div.payment_box.edrt-p24-empty { display: none !important; }
/* 1.7.7 — jedna zgoda: krótka etykieta, informacja o danych drobnym drukiem pod nią */
.woocommerce-checkout #payment .woocommerce-privacy-policy-text { display: none; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper::before { content: none; }
.woocommerce-checkout #payment .edrt-terms-note { margin: 8px 0 0 30px; font-size: .8rem; line-height: 1.45; color: #5a5850; }

/* 1.7.9 — produkty wielkogabarytowe: indywidualna wycena dostawy */
.edrt-pdelivery--oversize { padding: 10px 12px; background: #FFF6E5; border: 1px solid #E8C98F; border-radius: 10px; }
.edrt-pdelivery--oversize small, .edrt-oversize-note { color: #6b5a3a; font-size: .82rem; line-height: 1.4; font-weight: 400; }

/* 1.8.0 — „Wyceń dostawę” */
.edrt-quote { margin: 10px 0 2px 28px; }
.edrt-quote__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 9px; background: var(--edr-forest, #3B5638); color: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; list-style: none; }
.edrt-quote__btn::-webkit-details-marker { display: none; }
.edrt-quote__btn::after { content: "▾"; font-size: .8em; }
.edrt-quote[open] .edrt-quote__btn::after { content: "▴"; }
.edrt-quote__btn:focus-visible { outline: 3px solid var(--edr-forest, #3B5638); outline-offset: 2px; }
.edrt-quote__form { margin-top: 10px; padding: 12px; background: #fff; border: 1px solid #E8C98F; border-radius: 10px; }
.edrt-quote__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
@media (max-width: 480px) { .edrt-quote__grid { grid-template-columns: 1fr; } .edrt-quote { margin-left: 0; } }
.edrt-quote__grid label { display: flex; flex-direction: column; gap: 3px; font-size: .8rem; font-weight: 600; color: #3c3a35; }
.edrt-quote__grid input { min-height: 38px; padding: 6px 10px; border: 1px solid var(--edr-line, #DDCFB8); border-radius: 8px; font: inherit; font-size: .92rem; font-weight: 400; background: #fff; }
.edrt-quote__consent { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; font-size: .78rem; line-height: 1.4; color: #5a5850; }
.edrt-quote__consent input { flex: none; width: 16px; height: 16px; margin-top: 1px; accent-color: var(--edr-forest, #3B5638); }
.edrt-quote__send { width: 100%; min-height: 42px; border: 0; border-radius: 9px; background: var(--edr-forest, #3B5638); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.edrt-quote__send:disabled { opacity: .6; cursor: wait; }
.edrt-quote__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.edrt-quote__msg { margin: 8px 0 0; font-size: .86rem; }
.edrt-quote__msg:empty { display: none; }
.edrt-quote__msg.is-ok { color: #2f5a2c; font-weight: 700; }
.edrt-quote__msg.is-error { color: #a33a2c; }
/* 1.8.0 — wyraźniejsza ramka „indywidualna wycena” */
.edrt-pdelivery--oversize { padding: 12px 14px; background: #FCE7C2; border: 1.5px solid #D9962E; border-left: 6px solid #C2711A; border-radius: 12px; box-shadow: 0 2px 8px rgba(194, 113, 26, .12); }
.edrt-pdelivery--oversize > p { align-items: flex-start; }
.edrt-pdelivery--oversize .edr-icon, .edrt-pdelivery--oversize svg { color: #A3550F; }
.edrt-pdelivery--oversize strong { color: #7A3B08; font-size: 1.05rem; }
.edrt-pdelivery--oversize small { color: #5B3A12; font-size: .85rem; }
.edrt-pdelivery--oversize .edrt-quote__btn { background: #A3550F; }
.edrt-pdelivery--oversize .edrt-quote__btn:hover { background: #8A470C; }
.edrt-pdelivery--oversize .edrt-quote__send { background: #A3550F; }
.edrt-pdelivery--oversize .edrt-quote__form { border-color: #D9962E; }
/* 1.8.1 — okienko „indywidualna wycena” w wersji B (leśna, jasna zieleń) */
.edrt-pdelivery--oversize { background: #E6EFE3; border: 1.5px solid #A9BFA3; border-left: 6px solid var(--edr-forest, #3B5638); box-shadow: 0 2px 8px rgba(59, 86, 56, .10); }
.edrt-pdelivery--oversize .edr-icon, .edrt-pdelivery--oversize svg { color: var(--edr-forest, #3B5638); }
.edrt-pdelivery--oversize strong { color: #2C4029; }
.edrt-pdelivery--oversize small { color: #3F4A3C; }
.edrt-pdelivery--oversize .edrt-quote__btn, .edrt-pdelivery--oversize .edrt-quote__send { background: var(--edr-forest, #3B5638); }
.edrt-pdelivery--oversize .edrt-quote__btn:hover, .edrt-pdelivery--oversize .edrt-quote__send:hover { background: var(--edr-forest-700, #2E452C); }
.edrt-pdelivery--oversize .edrt-quote__form { border-color: #A9BFA3; }
.edrt-pdelivery--oversize .edrt-quote__btn:focus-visible { outline-color: #2C4029; }
/* 1.8.2 — strona „Dobór drapaka” z kreatorem jak na stronie głównej */
.edrt-page--quiz { padding-bottom: 0; }
.edrt-page--quiz + .edrt-quizsec { padding-top: 8px; }
/* 1.8.3 — długi leżący kot nad kartami „Dlaczego e-drapak.pl?” */
.edrt-why__body { position: relative; }
.edrt-why__body.has-cat { padding-top: clamp(52px, 8vw, 104px); }
.edrt-why__cat { position: absolute; top: 4px; right: 2%; width: clamp(260px, 42vw, 540px); height: auto; mix-blend-mode: multiply; pointer-events: none; }
@media (min-width: 1100px) { .edrt-why .edrt-shead { margin-bottom: 0; } .edrt-why__body.has-cat { margin-top: -40px; } }
/* 1.8.4 — leżący kot w „Dlaczego e-drapak.pl?”: większy i dłuższy, leży na kartach */
.edrt-why__body.has-cat { --edrt-catw: clamp(320px, 56vw, 760px); padding-top: calc(var(--edrt-catw) * 0.196 * 1.0 - 8px); }
.edrt-why__cat { top: auto; bottom: calc(100% - var(--edrt-catw) * 0.196 * 1.0 + 2px); width: var(--edrt-catw); right: 1%; transform: scaleX(1.14); transform-origin: right bottom; }
@media (max-width: 699px) { .edrt-why__cat { transform: scaleX(1.08); } }
/* 1.8.5 — mniejsze odstępy między sekcjami (strona była zbyt „pusta”) */
.edrt-section { padding: 28px 0; }
@media (min-width: 1100px) { .edrt-section { padding: 40px 0; } }
.edrt-section:not(.edrt-section--soft) + .edrt-section:not(.edrt-section--soft) { padding-top: 8px; }
@media (min-width: 1100px) { .edrt-section:not(.edrt-section--soft) + .edrt-section:not(.edrt-section--soft) { padding-top: 12px; } }
.edrt-section--soft { padding: 36px 0; }
@media (min-width: 1100px) { .edrt-section--soft { padding: 52px 0; } }
/* 1.8.6 — telefon/tablet: niższy, zielony pasek z logo, menu, ulubionymi i koszykiem */
@media (max-width: 1099px) {
	.edrt-header { background: var(--edr-forest, #3B5638) !important; border-bottom: 0; backdrop-filter: none; }
	.edrt-header .edrt-header__main { padding-top: 4px; padding-bottom: 8px; row-gap: 4px; }
	.edrt-header .edrt-logo img { height: 46px; }
	.edrt-header .edrt-iconbtn { color: #fff; min-height: 40px; }
	.edrt-header .edrt-iconbtn:hover, .edrt-header .edrt-iconbtn:focus-visible { background: rgba(255, 255, 255, .12); }
	.edrt-header .edrt-iconbtn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
	.edrt-header .edrt-search input[type="search"], .edrt-header .edrt-search input { min-height: 40px; background: #fff; border-color: transparent; }
	.edrt-header .edrt-search button { background: var(--edr-forest-700, #2E452C); color: #fff; }
}
/* 1.8.6 — Dobór drapaka na telefonie: zwarty układ */
@media (max-width: 759px) {
	.edrt-quizsec { padding-top: 16px; padding-bottom: 16px; }
	.edrt-quizsec .edrt-quizsec__box { padding: 16px 12px; }
	.edrt-quizsec .edrt-shead { margin-bottom: 8px; }
	.edrt-quizsec .edrt-shead__title { font-size: 1.45rem; line-height: 1.15; }
	.edrt-quizsec .edrt-shead__intro { font-size: .88rem; margin-top: 4px; }
	.edrt-quizsec .edrt-eyebrow { margin-bottom: 4px; }
	.edrt-quizsec .edr-quiz__step { padding: 10px 0; }
	.edrt-quizsec .edr-quiz__q { font-size: .98rem; margin-bottom: 7px; gap: 8px; min-height: 0; }
	.edrt-quizsec .edr-quiz__n { font-size: 1.1rem; min-width: 16px; }
	.edrt-quizsec .edr-quiz__opts, .edrt-quizsec .edr-quiz__opts:has(input[name="cats"]) { display: flex; flex-wrap: wrap; gap: 6px; }
	.edrt-quizsec .edr-quiz__opts > .edr-pill, .edrt-quizsec .edr-quiz__opts > .edr-pill:last-child:nth-child(odd) { flex: 1 1 auto; grid-column: auto; }
	.edrt-quizsec .edr-pill span { min-height: 36px; padding: 6px 10px; border-radius: 9px; font-size: .86rem; white-space: nowrap; }
	.edrt-quizc { gap: 10px; margin-top: 4px; }
	.edrt-quizc__sum { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; }
	.edrt-quizc__btn { flex: 1; padding: 12px 10px; font-size: .98rem; }
	.edrt-quizc__foot { margin: 0; flex: none; }
	.edrt-quizc__note { display: none; }
	.edrt-quizc__cat { height: 64px; margin: 0; }
	.edrt-quizc__out:not(:empty) { margin-top: 14px; }
}
/* 1.9.0 — Dobór drapaka (komputer): zielony panel zaczyna się na wysokości tytułu, mniej pustego miejsca na dole */
@media (min-width: 1100px) {
	.edrt-quizsec__box { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 36px; align-items: start; padding-bottom: 28px; }
	.edrt-quizsec__box > .edrt-shead { grid-column: 1; grid-row: 1; margin-bottom: 10px; }
	.edrt-quizsec__box > .edrt-quizc { display: contents; }
	.edrt-quizsec__box .edrt-quizc__main { grid-column: 1; grid-row: 2; }
	.edrt-quizsec__box .edrt-quizc__sum { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
	.edrt-quizsec__box > .edrt-quizc__out { grid-column: 1 / -1; grid-row: 3; }
}
/* 1.9.0 — ciaśniej wokół sekcji „Najczęstsze pytania” i nad stopką */
.edrt-section--soft { padding: 26px 0; }
@media (min-width: 1100px) { .edrt-section--soft { padding: 32px 0; } }
.edrt-section:not(.edrt-section--soft):has(+ .edrt-section--soft) { padding-bottom: 20px; }
.home .edrt-main { padding-bottom: 0; margin-bottom: 0; }
.edrt-footer { margin-top: 28px; }
.home .edrt-footer { margin-top: 0; }
.edrt-quizc__out > :empty { display: none; }
.edrt-quizc__out:not(:has(> :not(:empty))) { margin-top: 0 !important; }
/* 1.9.3 — „Dlaczego e-drapak.pl?” na wysokości leżącego kota; kot minimalnie krótszy, żeby się zmieściły obok siebie */
.edrt-why__body.has-cat { --edrt-catw: clamp(300px, 46vw, 640px); }
@media (min-width: 1100px) {
	.edrt-why .edrt-shead { position: relative; z-index: 1; transform: translateY(calc(var(--edrt-why-drop, 46px))); }
}
/* 1.9.4 — kociak w sekcji „Najczęstsze pytania” */
.edrt-faqsec__cat { display: block; width: clamp(150px, 22vw, 240px); height: auto; margin: 10px 0 0 8px; mix-blend-mode: multiply; pointer-events: none; }
@media (max-width: 899px) { .edrt-faqsec__cat { width: 140px; margin: 8px auto 0; } }
.edrt-section--soft .edrt-faqsec__head { background: var(--edr-sand-50); }

/* Kontakt — menu wyboru poczty */
.edrt-mailmenu{max-width:440px;margin:10px 0 18px;background:#fff;border:1px solid #DDCFB8;border-radius:14px;box-shadow:0 8px 24px rgba(31,42,34,.12);padding:8px;display:flex;flex-direction:column}
.edrt-mailmenu[hidden]{display:none}
.edrt-mailmenu__t{margin:6px 10px 6px;font-size:.85rem;color:#5d5a52}
.edrt-mailmenu a,.edrt-mailmenu button{display:block;text-align:left;font:inherit;font-weight:600;color:var(--edr-forest,#2D4330);background:none;border:0;border-radius:10px;padding:11px 12px;text-decoration:none;cursor:pointer}
.edrt-mailmenu a:hover,.edrt-mailmenu button:hover,.edrt-mailmenu a:focus-visible,.edrt-mailmenu button:focus-visible{background:#E6EFE3}

/* Darmowa dostawa — karta, sekcja, filtr */
.edrt-shipline{display:flex;align-items:center;gap:6px;margin:6px 0 2px;font-size:.82rem;font-weight:600;color:#5d5a52}
.edrt-shipline .edr-icon{width:18px;height:18px;flex:none}
.edrt-shipline.is-free{color:#2D6A3E}
.edrt-shipline.is-free span{background:#E6EFE3;border-radius:999px;padding:2px 10px}
.edrt-freeship{background:#E6EFE3}
.edrt-freeship__head{display:flex;align-items:center;gap:18px;margin-bottom:20px;flex-wrap:wrap}
.edrt-freeship__icon{width:64px;height:64px;border-radius:50%;background:#2D4330;color:#fff;display:grid;place-items:center;flex:none}
.edrt-freeship__icon .edr-icon,.edrt-freeship__icon svg{width:34px;height:34px}
.edrt-freeship__txt{flex:1;min-width:240px}
.edrt-freeship__kicker{margin:0;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#B24A3A}
.edrt-freeship__txt .edrt-shead__title{margin:2px 0 4px}
.edrt-freeship__lead{margin:0;color:#3d4a3f;max-width:620px}
.edrt-freechip-row{margin:0 0 14px}
.edrt-freechip{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;border:1.5px solid #2D4330;color:#2D4330;font-weight:600;text-decoration:none;background:#fff}
.edrt-freechip svg{width:20px;height:20px}
.edrt-freechip:hover{background:#E6EFE3}
.edrt-freechip.is-on{background:#2D4330;color:#fff}
.edrt-freechip b{margin-left:4px;font-size:1.1em}

/* Kafelki rodzajów — układ dla 4 kafelków */
@media (min-width: 700px) { .edrt-tiles:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .edrt-tiles:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.edrt-tiles:has(> li:nth-child(4):last-child) .edrt-tile__media img { object-fit: contain; }

/* Kasa — wyraźna informacja: zaznacz akceptację regulaminu, aby przejść do płatności (zielona) */
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper:not(:has(#terms:checked)) { background: #E3EBE1; border: 2px solid #3B5638; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper:not(:has(#terms:checked))::before { content: "Zaznacz akceptację regulaminu, aby przejść do płatności"; display: block; margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: #3B5638; color: #fff; font-weight: 700; font-size: .92rem; line-height: 1.35; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper:not(:has(#terms:checked)) #terms { outline: 3px solid #3B5638; outline-offset: 2px; animation: edrt-terms-pulse 1.6s ease-in-out infinite; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper:has(#terms:checked)::before { content: "✓  Regulamin zaakceptowany – możesz wybrać płatność"; display: block; margin: 0 0 10px; font-weight: 700; font-size: .92rem; color: #2D6A3E; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper:not(:has(#terms:checked)) p.validate-required { display: flex; align-items: flex-start; gap: 8px; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper:not(:has(#terms:checked)) p.validate-required::before { content: "➜"; flex: none; font-size: 1.6rem; line-height: 1; color: #3B5638; margin-top: -3px; animation: edrt-terms-nudge 1.2s ease-in-out infinite; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox .required { display: none; }
@keyframes edrt-terms-pulse { 0%, 100% { outline-color: #3B5638; } 50% { outline-color: rgba(59, 86, 56, .25); } }
@keyframes edrt-terms-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .woocommerce-checkout #payment #terms, .woocommerce-checkout #payment p.validate-required::before { animation: none !important; } }
