/* E-Drapak Core — komponenty (działają samodzielnie; motyw e-drapak nadpisuje tokeny). */
: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);
}

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.edr-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
.edr-muted { color: var(--edr-muted); }
.edr-todo { background: #F3E3C4; padding: 0 .2em; border-radius: 3px; }

/* Przyciski */
.edr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .65em 1.25em; border: 2px solid transparent; border-radius: var(--edr-radius-sm); font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--edr-ease), box-shadow .15s; }
.edr-btn:focus-visible, .edr-tool:focus-visible, .edr-check input:focus-visible + .edr-check__box, .edr-pill input:focus-visible + span { outline: 3px solid var(--edr-focus); outline-offset: 2px; }
.edr-btn--cta { background: var(--edr-cta); color: var(--edr-cta-ink); }
.edr-btn--cta:hover { background: var(--edr-cta-hover); color: var(--edr-cta-ink); box-shadow: 0 6px 16px rgba(38, 61, 53, .22); }
.edr-btn--primary { background: var(--edr-primary); color: #fff; }
.edr-btn--primary:hover { background: var(--edr-primary-600); color: #fff; }
.edr-btn--outline { background: transparent; border-color: var(--edr-primary); color: var(--edr-primary); }
.edr-btn--outline:hover { background: var(--edr-primary); color: #fff; }
.edr-btn--ghost { background: transparent; color: var(--edr-primary); border-color: var(--edr-line); }
.edr-btn--ghost:hover { border-color: var(--edr-primary); }
.edr-btn--sm { min-height: 36px; padding: .4em .9em; font-size: .9rem; }
.edr-btn--lg { min-height: 52px; padding: .8em 1.75em; font-size: 1.05rem; }
.edr-btn--block { width: 100%; }
.edr-btn.is-disabled { opacity: .5; pointer-events: auto; }
.edr-btn.loading { opacity: .7; pointer-events: none; }
.edr-btn.added::after { content: "✓"; margin-left: .25em; }
a.added_to_cart { display: none !important; }

/* Odznaki */
.edr-badge { display: inline-block; padding: .25em .6em; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.edr-badge--sale { background: var(--edr-sale); color: #fff; }
.edr-badge--new { background: var(--edr-accent); color: var(--edr-primary); }
.edr-badge--demo { background: #F0D9A9; color: #5A4300; }

/* Karta produktu */
.edr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .edr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .edr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.edr-card { position: relative; display: flex; flex-direction: column; background: var(--edr-bg); border: 1px solid var(--edr-line); border-radius: var(--edr-radius); overflow: hidden; transition: box-shadow .2s var(--edr-ease), border-color .2s, transform .2s var(--edr-ease); }
.edr-card:hover { box-shadow: var(--edr-shadow); border-color: transparent; }
.edr-card:focus-within { border-color: var(--edr-primary); }
.edr-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--edr-bg-soft); }
.edr-card__img { display: block; width: 100%; height: 100%; }
.edr-card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; transition: transform .4s var(--edr-ease); }
.edr-card:hover .edr-card__img img { transform: scale(1.04); }
.edr-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; pointer-events: none; }
.edr-card__tools { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; }
.edr-tool { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--edr-line); border-radius: 50%; background: rgba(255, 252, 247, .95); color: var(--edr-primary); cursor: pointer; transition: transform .15s var(--edr-ease), background-color .15s, color .15s; }
.edr-tool:hover { transform: scale(1.08); }
.edr-tool .edr-icon { width: 20px; height: 20px; }
.edr-tool--wish.is-on { color: var(--edr-terra-strong); }
.edr-tool--wish.is-on .edr-icon { fill: currentColor; }
.edr-tool--compare.is-on { background: var(--edr-primary); color: #fff; border-color: var(--edr-primary); }
.edr-tool.is-loading { opacity: .5; }
@media (hover: hover) and (min-width: 700px) {
	.edr-tool--compare, .edr-tool--qv { opacity: 0; transform: translateX(6px); }
	.edr-card:hover .edr-tool, .edr-card:focus-within .edr-tool, .edr-tool.is-on { opacity: 1; transform: none; }
}
.edr-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 12px 14px; }
@media (min-width: 700px) { .edr-card__body { padding: 16px; } }
.edr-card__title { margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.edr-card__title a { color: var(--edr-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.edr-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.edr-card__tools, .edr-card__cta, .edr-card__badges { z-index: 1; }
.edr-card__meta { margin: 0; color: var(--edr-muted); font-size: .82rem; }
.edr-card__rating { display: flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--edr-muted); }
.edr-card__rating .star-rating { font-size: .8rem; }
.edr-card__price { margin-top: auto; font-size: 1.15rem; font-weight: 800; color: var(--edr-ink); }
.edr-card__price del { font-size: .85rem; font-weight: 500; color: var(--edr-muted); margin-right: .35em; }
.edr-card__price ins { text-decoration: none; color: var(--edr-sale); }
.edr-card__cta { position: relative; margin-top: 8px; }
.edr-card__oos { display: block; padding: .6em 0; color: var(--edr-muted); font-size: .9rem; }
.edr-card.is-oos .edr-card__img img { opacity: .55; }
.edr-omnibus { margin: 0; font-size: .75rem; color: var(--edr-muted); line-height: 1.35; }
.edr-price-soon { font-size: .95rem; font-weight: 600; color: var(--edr-muted); }

/* Specyfikacja */
.edr-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--edr-line); border: 1px solid var(--edr-line); border-radius: var(--edr-radius-sm); overflow: hidden; }
.edr-specs > div { background: var(--edr-bg); padding: 10px 12px; }
.edr-specs > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.edr-specs dt { margin: 0; font-size: .75rem; color: var(--edr-muted); }
.edr-specs dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }

/* Filtry */
.edr-filters { display: flex; flex-direction: column; gap: 0; }
.edr-facet { border-bottom: 1px solid var(--edr-line); }
.edr-facet__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 6px 0; font-weight: 700; cursor: pointer; list-style: none; }
.edr-facet__title::-webkit-details-marker { display: none; }
.edr-facet__chev { transform: rotate(90deg); transition: transform .2s; color: var(--edr-muted); }
.edr-facet[open] .edr-facet__chev { transform: rotate(-90deg); }
.edr-facet__body { padding: 0 0 16px; }
.edr-terms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.edr-terms__more { display: none; }
.edr-terms.is-expanded .edr-terms__more { display: block; }
.edr-terms__toggle { margin-top: 6px; padding: 4px 0; border: 0; background: none; color: var(--edr-primary); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.edr-check { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: .92rem; }
.edr-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.edr-check__box { flex: none; width: 20px; height: 20px; border: 2px solid var(--edr-line-strong); border-radius: 5px; background: var(--edr-surface); transition: background-color .15s, border-color .15s; }
.edr-check--radio .edr-check__box { border-radius: 50%; }
.edr-check input:checked + .edr-check__box { background: var(--edr-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--edr-primary); }
.edr-check__label { flex: 1; }
.edr-check__count { color: var(--edr-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.edr-check.is-disabled { opacity: .45; cursor: not-allowed; }
.edr-check:hover .edr-check__box { border-color: var(--edr-primary); }
.edr-filters__actions { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px 0; background: var(--edr-bg); }

/* Zakres */
.edr-range { position: relative; padding-top: 4px; }
.edr-range__track, .edr-range__slider { display: none; }
.edr-range.is-js .edr-range__track { display: block; position: relative; height: 4px; margin: 14px 10px 18px; border-radius: 4px; background: var(--edr-line); }
.edr-range__fill { position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: var(--edr-primary); border-radius: 4px; }
.edr-range.is-js .edr-range__slider { display: block; position: absolute; top: 4px; left: 0; width: 100%; height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.edr-range__slider::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--edr-surface); border: 2px solid var(--edr-primary); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); cursor: grab; }
.edr-range__slider::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--edr-surface); border: 2px solid var(--edr-primary); cursor: grab; }
.edr-range__slider::-webkit-slider-runnable-track { background: none; }
.edr-range__slider::-moz-range-track { background: none; }
.edr-range__inputs { display: flex; align-items: center; gap: 8px; }
.edr-range__inputs label { flex: 1; }
.edr-range__num { width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid var(--edr-line-strong); border-radius: var(--edr-radius-sm); font: inherit; font-variant-numeric: tabular-nums; }
.edr-range__num:focus { outline: 2px solid var(--edr-focus); outline-offset: 1px; border-color: transparent; }
.edr-range__unit { color: var(--edr-muted); font-size: .85rem; }

/* Chipsy aktywnych filtrów */
.edr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.edr-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 8px 4px 12px; border-radius: 999px; background: var(--edr-accent); color: var(--edr-primary); font-size: .85rem; font-weight: 600; text-decoration: none; }
.edr-chip .edr-icon { width: 16px; height: 16px; }
.edr-chip:hover { background: var(--edr-sand-strong); }
.edr-chip--clear { background: transparent; text-decoration: underline; padding-right: 12px; }

/* Wyszukiwarka */
.edr-sugg { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; max-height: min(70vh, 560px); overflow: auto; padding: 8px; background: var(--edr-surface); border: 1px solid var(--edr-line); border-radius: var(--edr-radius); box-shadow: var(--edr-shadow); }
.edr-sugg__h { margin: 8px 8px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--edr-muted); }
.edr-sugg a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--edr-radius-sm); color: var(--edr-ink); text-decoration: none; }
.edr-sugg a:hover, .edr-sugg a.is-active { background: var(--edr-bg-soft); }
.edr-sugg__cat span { margin-left: auto; color: var(--edr-muted); font-size: .8rem; }
.edr-sugg__prod { display: grid !important; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px; }
.edr-sugg__prod img { grid-row: span 2; width: 48px; height: 48px; object-fit: contain; background: var(--edr-bg-soft); border-radius: 6px; }
.edr-sugg__name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.edr-sugg__meta { font-size: .8rem; color: var(--edr-muted); }
.edr-sugg__all { justify-content: center; margin-top: 4px; font-weight: 700; color: var(--edr-primary) !important; }
.edr-sugg__empty { margin: 12px 8px; color: var(--edr-muted); }

/* Dobór drapaka */
.edr-quiz__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .edr-quiz__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; } .edr-quiz__step:last-child { grid-column: 1 / -1; } }
.edr-quiz fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.edr-quiz__q { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; font-size: 1rem; }
.edr-quiz__n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--edr-primary); color: #fff; font-size: .85rem; }
.edr-quiz__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.edr-pill { position: relative; }
.edr-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.edr-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--edr-line); border-radius: 999px; background: var(--edr-surface); font-size: .92rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.edr-pill:hover span { border-color: var(--edr-primary); }
.edr-pill input:checked + span { border-color: var(--edr-primary); background: var(--edr-primary); color: #fff; }
.edr-quiz__actions { margin-top: 20px; }
.edr-quiz__result { margin-top: 24px; scroll-margin-top: 100px; }
.edr-quiz.is-loading .edr-quiz__actions .edr-btn { opacity: .6; }
.edr-quiz__more { margin: 20px 0 0; text-align: center; }
.edr-notice { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--edr-radius-sm); background: var(--edr-accent); color: var(--edr-primary); font-size: .92rem; }
.edr-notice--warn { background: #F6E9D6; color: #6A4520; }

/* Pusty stan */
.edr-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px; text-align: center; background: var(--edr-bg-soft); border-radius: var(--edr-radius); }
.edr-empty p { margin: 0; max-width: 46ch; color: var(--edr-muted); }

/* Pasek porównania */
.edr-comparebar { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; background: var(--edr-primary); color: #fff; border-radius: var(--edr-radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.edr-comparebar[hidden] { display: none; }
.edr-comparebar__inner { display: flex; align-items: center; gap: 12px; padding: 10px 12px; max-width: 1200px; margin: 0 auto; }
.edr-comparebar__items { display: flex; gap: 8px; flex: 1; margin: 0; padding: 0; list-style: none; overflow-x: auto; }
.edr-comparebar__items li { position: relative; display: flex; align-items: center; gap: 8px; flex: none; max-width: 200px; padding: 4px 28px 4px 4px; border-radius: 8px; background: rgba(255, 255, 255, .1); font-size: .8rem; }
.edr-comparebar__items img { width: 36px; height: 36px; object-fit: contain; background: var(--edr-surface); border-radius: 6px; }
.edr-comparebar__items span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edr-comparebar__x { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; cursor: pointer; line-height: 1; }
.edr-comparebar__actions { display: flex; gap: 8px; flex: none; }
.edr-comparebar .edr-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.edr-comparebar .edr-btn--primary { background: var(--edr-cta); color: var(--edr-cta-ink); }
@media (max-width: 699px) { .edr-comparebar__items li { max-width: 52px; padding-right: 4px; } .edr-comparebar__items li span { display: none; } .edr-comparebar__x { top: -6px; right: -6px; transform: none; width: 20px; height: 20px; background: var(--edr-sale); } }

/* Tabela porównania */
.edr-compare__scroll { overflow-x: auto; border: 1px solid var(--edr-line); border-radius: var(--edr-radius); }
.edr-compare__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.edr-compare__table th, .edr-compare__table td { padding: 12px; border-bottom: 1px solid var(--edr-line); text-align: left; vertical-align: top; }
.edr-compare__table tbody th { position: sticky; left: 0; z-index: 1; width: 160px; background: var(--edr-bg-soft); color: var(--edr-muted); font-weight: 600; }
.edr-compare__table thead th { background: var(--edr-surface); }
.edr-compare__table tr.is-same td { color: var(--edr-muted); }
.edr-compare__table ins { text-decoration: none; color: var(--edr-sale); font-weight: 700; }
.edr-compare__table del { color: var(--edr-muted); margin-right: .3em; }
.edr-compare__product { position: relative; min-width: 160px; }
.edr-compare__product a { display: flex; flex-direction: column; gap: 8px; color: var(--edr-ink); text-decoration: none; font-weight: 700; }
.edr-compare__product img { width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: contain; background: var(--edr-bg-soft); border-radius: 8px; }
.edr-compare__remove { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--edr-line); border-radius: 50%; background: var(--edr-surface); cursor: pointer; }

/* Szybki podgląd */
.edr-dialog { width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--edr-radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.edr-dialog::backdrop { background: var(--edr-overlay); }
.edr-dialog__close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--edr-surface); cursor: pointer; }
.edr-qv { display: grid; gap: 20px; padding: 20px; }
@media (min-width: 760px) { .edr-qv { grid-template-columns: 1fr 1fr; padding: 28px; } }
.edr-qv__media { background: var(--edr-bg-soft); border-radius: var(--edr-radius-sm); }
.edr-qv__media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.edr-qv__title { margin: 0 40px 8px 0; font-size: 1.35rem; }
.edr-qv__price { font-size: 1.5rem; font-weight: 800; margin: 8px 0; }
.edr-qv__stock { color: var(--edr-ok); font-weight: 600; }
.edr-qv__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
html.edr-lock { overflow: hidden; }

/* Toast */
.edr-toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px; background: var(--edr-ink); color: #fff; font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--edr-ease); }
.edr-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body.edr-has-comparebar .edr-toast { bottom: 96px; }

/* FAQ */
.edr-faq { display: flex; flex-direction: column; gap: 10px; }
.edr-faq__item { background: var(--edr-surface); border: 1px solid var(--edr-line); border-radius: var(--edr-radius); }
.edr-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.edr-faq__q::-webkit-details-marker { display: none; }
.edr-faq__chev { transform: rotate(90deg); transition: transform .2s; color: var(--edr-primary); }
.edr-faq__item[open] .edr-faq__chev { transform: rotate(-90deg); }
.edr-faq__a { padding: 0 18px 16px; color: var(--edr-muted); }
.edr-faq__a p { margin: 0; }

/* Newsletter */
.edr-nl__row { display: flex; gap: 8px; flex-wrap: wrap; }
.edr-input { flex: 1 1 220px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--edr-line-strong); border-radius: var(--edr-radius-sm); font: inherit; }
.edr-input:focus { outline: 3px solid var(--edr-focus); outline-offset: 1px; }
.edr-nl__hp { position: absolute; left: -9999px; }
.edr-nl__consent { margin-top: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.45; }
.edr-nl__consent .edr-check__box { margin-top: 2px; }
.edr-nl__msg { margin: 10px 0 0; font-weight: 600; }
.edr-nl__msg--ok { color: var(--edr-ok); }
.edr-nl__msg--error { color: var(--edr-sale); }

/* Darmowa dostawa */
.edr-freeship { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--edr-radius-sm); background: var(--edr-accent); }
.edr-freeship__text { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--edr-primary); font-weight: 600; font-size: .92rem; }
.edr-freeship__bar { height: 6px; border-radius: 6px; background: rgba(38, 61, 53, .15); overflow: hidden; }
.edr-freeship__bar span { display: block; height: 100%; background: var(--edr-primary); border-radius: 6px; transition: width .4s var(--edr-ease); }

/* Karuzela */
.edr-carousel { position: relative; }
.edr-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 2.15); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px; scrollbar-width: none; padding: 4px 2px 12px; }
.edr-carousel__track::-webkit-scrollbar { display: none; }
.edr-carousel__track > * { scroll-snap-align: start; }
@media (min-width: 700px) { .edr-carousel__track { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; } }
@media (min-width: 1100px) { .edr-carousel__track { grid-auto-columns: calc((100% - 60px) / 4); } }
.edr-carousel__nav { position: absolute; top: 38%; z-index: 2; display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--edr-line); border-radius: 50%; background: var(--edr-surface); box-shadow: var(--edr-shadow); color: var(--edr-primary); cursor: pointer; }
.edr-carousel__nav--prev { left: -14px; transform: scaleX(-1); }
.edr-carousel__nav--next { right: -14px; }
.edr-carousel__nav:disabled { opacity: 0; pointer-events: none; }
@media (min-width: 700px) and (hover: hover) { .edr-carousel__nav { display: grid; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Warstwa premium (Cat Boutique) — komponenty wtyczki
   ========================================================================== */
.edr-btn { letter-spacing: .01em; border-radius: var(--edr-radius-sm); }
.edr-btn--cta, .edr-btn--primary { background: var(--edr-cta); color: var(--edr-cta-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset; }
.edr-btn--cta:hover, .edr-btn--primary:hover { background: var(--edr-cta-hover); color: var(--edr-cta-ink); box-shadow: 0 8px 20px rgba(38, 61, 53, .22); }
.edr-btn--cta:active, .edr-btn--primary:active { transform: translateY(1px); }
.edr-btn--accent { background: var(--edr-accent-cta); color: #fff; }
.edr-btn--accent:hover { background: var(--edr-accent-cta-hover); color: #fff; box-shadow: 0 8px 20px rgba(173, 75, 59, .25); }
.edr-btn--outline { border-color: var(--edr-forest); color: var(--edr-forest); background: transparent; }
.edr-btn--outline:hover { background: var(--edr-forest); border-color: var(--edr-forest); color: #fff; }
.edr-btn--ghost { background: transparent; border-color: var(--edr-line-strong); color: var(--edr-forest); }
.edr-btn--ghost:hover { border-color: var(--edr-forest); background: var(--edr-sand-50); }

/* Etykiety */
.edr-badge { padding: .3em .7em; font-size: .7rem; letter-spacing: .06em; border-radius: 6px; }
.edr-badge--sale { background: var(--edr-sale); color: #fff; }
.edr-badge--new { background: var(--edr-forest); color: var(--edr-cream); }
.edr-badge--best { background: var(--edr-surface); color: var(--edr-forest); box-shadow: inset 0 0 0 1px var(--edr-caramel); }
.edr-badge--demo { background: #F0D9A9; color: #5A4300; }

/* Karta produktu */
.edr-card { background: var(--edr-surface); border-color: var(--edr-line); border-radius: var(--edr-radius); }
.edr-card:hover { box-shadow: var(--edr-shadow-lg); border-color: transparent; transform: translateY(-3px); }
.edr-card__media { background: var(--edr-sand-50); }
.edr-card__img img { mix-blend-mode: multiply; }
.edr-card__title a { color: var(--edr-graphite); }
.edr-card__title a:hover { color: var(--edr-forest); }
.edr-card__meta { color: var(--edr-muted); }
.edr-card__price { color: var(--edr-graphite); font-variant-numeric: tabular-nums; }
.edr-card__price ins, .edr-qv__price ins { color: var(--edr-sale); }
.edr-card__price del { color: var(--edr-muted); }
.edr-tool { background: rgba(255, 252, 247, .95); border-color: var(--edr-line); color: var(--edr-forest); box-shadow: 0 2px 6px rgba(41, 41, 37, .06); }
.edr-tool:hover { background: var(--edr-surface); color: var(--edr-forest-700); }
.edr-tool--wish.is-on { color: var(--edr-terra-strong); border-color: var(--edr-terra); }
.edr-tool--compare.is-on { background: var(--edr-forest); border-color: var(--edr-forest); color: #fff; }
.edr-card__rating .star-rating, .star-rating { color: var(--edr-star); }
.edr-price-soon { color: var(--edr-muted); font-style: italic; font-weight: 500; }

/* Specyfikacja */
.edr-specs { background: var(--edr-line); border-color: var(--edr-line); }
.edr-specs > div { background: var(--edr-surface); }
.edr-specs dd { color: var(--edr-graphite); }

/* Filtry */
.edr-facet { border-color: var(--edr-line); }
.edr-facet__title { color: var(--edr-graphite); }
.edr-check__box { border-color: var(--edr-line-strong); background: var(--edr-surface); border-radius: 6px; }
.edr-check input:checked + .edr-check__box { background-color: var(--edr-forest); border-color: var(--edr-forest); }
.edr-check:hover .edr-check__box { border-color: var(--edr-forest); }
.edr-range.is-js .edr-range__track { background: var(--edr-sand); }
.edr-range__fill { background: var(--edr-forest); }
.edr-range__slider::-webkit-slider-thumb { background: var(--edr-surface); border-color: var(--edr-forest); }
.edr-range__slider::-moz-range-thumb { background: var(--edr-surface); border-color: var(--edr-forest); }
.edr-range__num { background: var(--edr-surface); }
.edr-terms__toggle { color: var(--edr-forest); }
.edr-filters__actions { background: var(--edr-bg); }
.edr-chip { background: var(--edr-forest-100); color: var(--edr-forest); }
.edr-chip:hover { background: #CDD9D0; }
.edr-chip--clear { background: transparent; color: var(--edr-forest); }

/* Wyszukiwarka */
.edr-sugg { background: var(--edr-surface); border-color: var(--edr-line); box-shadow: var(--edr-shadow-lg); }
.edr-sugg a:hover, .edr-sugg a.is-active { background: var(--edr-sand-50); }
.edr-sugg__prod img { background: var(--edr-sand-50); }
.edr-sugg__all { color: var(--edr-forest) !important; }

/* Dobór drapaka */
.edr-quiz__n { background: var(--edr-forest); color: var(--edr-cream); }
.edr-pill span { background: var(--edr-surface); border-color: var(--edr-line); color: var(--edr-graphite); }
.edr-pill:hover span { border-color: var(--edr-forest); }
.edr-pill input:checked + span { background: var(--edr-forest); border-color: var(--edr-forest); color: #fff; }
.edr-quiz__actions .edr-btn--cta { background: var(--edr-accent-cta); }
.edr-quiz__actions .edr-btn--cta:hover { background: var(--edr-accent-cta-hover); box-shadow: 0 8px 20px rgba(173, 75, 59, .25); }
.edr-notice { background: var(--edr-forest-100); color: var(--edr-forest); }
.edr-notice--warn { background: #F6E9D6; color: #6A4520; }

/* Pusty stan, toast, porównanie */
.edr-empty { background: var(--edr-sand-50); border: 1px solid var(--edr-line); }
.edr-toast { background: var(--edr-graphite); color: var(--edr-cream); }
.edr-comparebar { background: var(--edr-forest); }
.edr-comparebar .edr-btn--primary { background: var(--edr-accent-cta); color: #fff; }
.edr-comparebar .edr-btn--primary:hover { background: var(--edr-accent-cta-hover); }
.edr-comparebar__x { background: rgba(245, 239, 229, .2); }
.edr-compare__scroll { border-color: var(--edr-line); background: var(--edr-surface); }
.edr-compare__table th, .edr-compare__table td { border-color: var(--edr-line); }
.edr-compare__table tbody th { background: var(--edr-sand-50); }
.edr-compare__table thead th { background: var(--edr-surface); }
.edr-compare__product img { background: var(--edr-sand-50); }

/* Szybki podgląd */
.edr-dialog { background: var(--edr-surface); color: var(--edr-graphite); }
.edr-dialog::backdrop { background: var(--edr-overlay); }
.edr-qv__media { background: var(--edr-sand-50); }
.edr-qv__stock { color: var(--edr-ok); }

/* FAQ, newsletter, darmowa dostawa */
.edr-faq__item { background: var(--edr-surface); border-color: var(--edr-line); }
.edr-faq__item[open] { border-color: var(--edr-sand-strong); box-shadow: 0 6px 18px rgba(38, 61, 53, .06); }
.edr-faq__chev { color: var(--edr-caramel); }
.edr-input { background: var(--edr-surface); border-color: var(--edr-line-strong); color: var(--edr-graphite); }
.edr-nl .edr-btn--cta { background: var(--edr-accent-cta); color: #fff; }
.edr-nl .edr-btn--cta:hover { background: var(--edr-accent-cta-hover); }
.edr-freeship { background: var(--edr-sand-50); border: 1px solid var(--edr-line); }
.edr-freeship__text { color: var(--edr-forest); }
.edr-freeship__bar { background: var(--edr-sand); }
.edr-freeship__bar span { background: var(--edr-forest); }

/* Karuzela */
.edr-carousel__nav { background: var(--edr-surface); border-color: var(--edr-line); color: var(--edr-forest); }
.edr-carousel__nav:hover { background: var(--edr-forest); color: #fff; border-color: var(--edr-forest); }
.edr-compare__product img, .edr-sugg__prod img { mix-blend-mode: multiply; }
