/* Roboto (OFL, fontsource 5.3.0, wersja zmienna 100–900) dołączony do sklepu — osobna nazwa, żeby przeglądarka nie brała
   zainstalowanej w systemie kopii bez polskich znaków (np. „ą” z innego kroju) */
@font-face { font-family: "Roboto Sklep"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/roboto-latin-ext-wght-normal.a6323dda0842.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto Sklep"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/roboto-latin-wght-normal.665db5e157d2.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                 U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Sklep ICAN — barwy i układ zgodne z www.ican.pl; bez zewnętrznych czcionek i bibliotek (CSP). Przegląd UX: docs/UX-propozycje.md */
:root {
  /* marka ICAN (kolory z www.ican.pl, kontrasty w docs/UX-propozycje.md) */
  --ican-red: #c70f19; --ican-red-hover: #a50d15; --navy: #031b3d;
  --gold: #b79c68; --gold-light: #d9c49a; --gold-ink: #7a5f2a; --blue: #4154b1;
  /* neutralne */
  --ink: #282828; --muted: #5c6370; --line: #e5e7eb; --field-border: #878f9b; --surface: #f7f7f8; --card: #fff;
  --focus: #4154b1;
  /* stany */
  --ok: #1d7a3a; --warn: #a15c00; --err: #b3261e;
  --radius: 6px;
  --font: "Roboto Sklep", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--surface); }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--ican-red); }
img { max-width: 100%; height: auto; }
h1 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; margin: 1.2rem 0 1rem; }
h2 { font-size: 1.25rem; font-weight: 700; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 30; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.menu-bar :focus-visible, .hero :focus-visible { outline-color: var(--gold-light); }
.menu-bar .sub :focus-visible { outline-color: var(--focus); }  /* podmenu na białym tle (Astra UX-14) */

/* nagłówek */
.top { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.topbar { background: var(--surface); font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: var(--muted); }
.top-row { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand img { display: block; height: 40px; width: auto; }
.brand-sub { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
             border-left: 1px solid var(--line); padding-left: 10px; }
.search { flex: 1 1 260px; display: flex; min-width: 0; }
.search input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--field-border); border-right: 0;
                border-radius: var(--radius) 0 0 var(--radius); font: inherit; background: #fff; }
.search button { border: 0; padding: 9px 16px; border-radius: 0 var(--radius) var(--radius) 0; background: var(--navy); color: #fff; font: inherit; cursor: pointer; }
.cart-link, .account-link { color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 1em; background: var(--ican-red); color: #fff; text-align: center; font-size: .8rem; }
.menu-bar { background: var(--navy); }
.menu { display: flex; flex-wrap: wrap; gap: 0 22px; }
.menu-item { position: relative; }
.menu-item > a { display: block; padding: 11px 0; color: #fff; text-decoration: none; font-size: .8125rem; font-weight: 500;
                 letter-spacing: .04em; text-transform: uppercase; }
.menu-item > a:hover, .menu-item > a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--ican-red); }
.menu-item .sub { display: none; position: absolute; top: 100%; left: 0; z-index: 5; background: #fff; border: 1px solid var(--line);
                  border-radius: var(--radius); padding: 6px 0; min-width: 260px; box-shadow: 0 6px 20px rgba(3, 27, 61, .14); }
.menu-item:hover .sub, .menu-item:focus-within .sub { display: block; }
.sub a { display: block; padding: 7px 14px; color: var(--ink); text-decoration: none; }
.sub a:hover { background: var(--surface); }

main { padding-bottom: 40px; min-height: 60vh; }
.messages { margin-top: 16px; }
.msg { padding: 10px 14px; border-radius: var(--radius); background: #eef1f6; border-left: 4px solid var(--navy); }
.msg-success { background: #e9f6ee; border-color: var(--ok); } .msg-warning { background: #fff5e6; border-color: var(--warn); }
.msg-error { background: #fdeceb; border-color: var(--err); }
.msg p { margin: 0; } .msg .fulfil { margin: 6px 0 0; padding-left: 20px; } .msg .fulfil:empty { display: none; }
.msg-info { background: #eef1f6; }
.add-msg { display: inline-block; margin: 8px 0 0; padding: 2px 12px; border-radius: 1em; font-size: .9rem; font-weight: 600; }
.add-ok { background: #e9f6ee; color: var(--ok); } .add-err { background: #fdeceb; color: var(--err); }

/* strona główna */
.hero { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 24px; margin-top: 20px; }
.hero h1 { margin: 0 0 6px; } .hero p { margin: 0; color: #c9ced6; max-width: 46rem; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 16px 0 8px; }
.tiles a { display: flex; flex-direction: column; padding: 14px 16px; background: #fff; border: 1px solid var(--line);
           border-left: 4px solid var(--ican-red); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.tiles a:hover { border-color: #cfd4dc; border-left-color: var(--ican-red); box-shadow: 0 6px 18px rgba(3, 27, 61, .08); }
.tiles span { font-size: .85rem; color: var(--muted); }

/* lista produktów */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column;
        transition: box-shadow .15s, border-color .15s; }
.card:hover { border-color: #cfd4dc; box-shadow: 0 6px 18px rgba(3, 27, 61, .08); }
.card-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; background: var(--surface); padding: 10px; border-radius: 4px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
/* szkolenia: grafiki programów z www są poziome (8:5) — ramka w tych proporcjach, bez pustych pasów */
.card-img-wide { aspect-ratio: 8 / 5; padding: 0; }
.card-img-wide img { object-fit: cover; }
.noimg { color: #c3cad3; font-weight: 800; font-size: 1.6rem; }
.card-title { font-size: .95rem; line-height: 1.35; font-weight: 600; margin: 8px 0 4px; flex: 1; overflow-wrap: anywhere; hyphens: auto;
              display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { text-decoration: none; color: var(--ink); } .card-title a:hover { text-decoration: underline; }
.kind { display: inline-block; align-self: flex-start; margin: 10px 0 0; padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.kind-physical { background: #eef1f6; color: var(--navy); }
.kind-digital { background: #e8f3ec; color: #1a6b35; }
.kind-virtual { background: #f6f0e4; color: var(--gold-ink); }
.price { font-weight: 700; font-size: 1.05rem; margin: 6px 0 10px; }
.price .old { color: var(--muted); font-weight: 400; margin-right: 6px; }
.price .new { color: var(--ican-red); }
.card .omnibus { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.price-big { font-size: 1.6rem; margin: 10px 0 4px; }
.omnibus { font-size: .9rem; color: var(--muted); margin: 0 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-size: .9rem; }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 24px 0; }
.pager a { display: inline-block; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; }

/* przyciski */
.btn { display: inline-block; border: 0; border-radius: var(--radius); background: var(--ican-red); color: #fff; padding: 10px 18px; font: inherit;
       font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { background: var(--ican-red-hover); color: #fff; }
.btn:disabled { opacity: .7; cursor: progress; }
.btn-small { padding: 8px 12px; font-size: .9rem; width: 100%; }
.btn-big { padding: 14px 24px; font-size: 1.1rem; }
.btn-buy { padding: 12px 28px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost:hover { background: #eef1f6; color: var(--navy); }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* okruszki */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; }
.crumbs a { color: var(--muted); }

/* produkt */
.product { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; background: var(--card); border: 1px solid var(--line);
           border-radius: var(--radius); padding: 24px; margin-top: 12px; }
.product-img { display: flex; align-items: flex-start; justify-content: center; }
.product-img img { max-height: 520px; object-fit: contain; }
.product-info h1 { margin: 8px 0 4px; }
.add { display: flex; align-items: center; gap: 10px; margin: 16px 0 8px; flex-wrap: wrap; }
.add input { width: 5em; padding: 9px; font: inherit; border: 1px solid var(--field-border); border-radius: var(--radius); }
.perks { list-style: none; padding: 12px 0; margin: 8px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; }
.perks li { padding: 3px 0 3px 22px; position: relative; }
.perks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px;
                    border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.attrs { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: .95rem; }
.attrs dt { color: var(--muted); }
.attrs dd { margin: 0; }
.desc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px 16px; margin-top: 20px; overflow-wrap: anywhere; }

/* strony informacyjne (regulamin, dostawa, płatności, kontakt) */
.info-body { max-width: 860px; line-height: 1.6; }
.info-body table { border-collapse: collapse; width: 100%; }
.info-body td { vertical-align: top; padding: 4px 8px 4px 0; }
.info-body ol ol { list-style-type: lower-alpha; }
@media (max-width: 600px) {
  .info-body { padding: 4px 14px 12px; }
  .info-body ol, .info-body ul { padding-left: 22px; }
}
.table-wrap { overflow-x: auto; max-width: 860px; }
.info-table { border-collapse: collapse; width: 100%; background: var(--card); font-size: .95rem; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.info-table thead th { background: var(--surface); }

/* koszyk i zamówienie */
.steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 16px; counter-reset: s; font-size: .85rem; color: var(--muted); }
.steps li { counter-increment: s; } .steps li::before { content: counter(s) ". "; }
.steps li + li::before { content: "→ " counter(s) ". "; }
.steps [aria-current] { color: var(--ink); font-weight: 700; }
.cart, .totals { width: 100%; border-collapse: collapse; background: var(--card); }
.cart .cell-label { display: none; }
.cart th, .cart td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart input { width: 4.5em; padding: 7px; font: inherit; border: 1px solid var(--field-border); border-radius: 6px; }
.cart .linkish { padding: 10px 0; }
.totals { max-width: 380px; margin: 16px 0 0 auto; }
.totals th { text-align: left; font-weight: 400; padding: 6px 10px; } .totals td { text-align: right; padding: 6px 10px; }
.totals .total th, .totals .total td { font-weight: 700; font-size: 1.15rem; border-top: 2px solid var(--ink); }
.shipping { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 16px 0; padding: 12px 16px; }
.radio { display: block; padding: 6px 0; }
.free-ship { margin: 8px 0 0; } .free-ship p { margin: 0 0 6px; }
.free-ship progress { width: 100%; height: 8px; accent-color: var(--ok); }
.free-ship-ok { color: var(--ok); font-weight: 600; }
.actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.btn-link { margin-right: auto; }
.trust { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px; border-radius: var(--radius); background: var(--surface);
         font-size: .85rem; color: var(--muted); }
.trust p { margin: 0; }
.trust-mark { flex-shrink: 0; font-weight: 800; color: var(--navy); border: 2px solid var(--navy); border-radius: 4px; padding: 2px 6px; letter-spacing: .02em; }
.checkout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 12px 16px 4px; margin: 0 0 16px; min-width: 0; }
.form legend { font-weight: 700; padding: 0 6px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .9rem; margin-bottom: 3px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea, .field input:not([type]) {
  width: 100%; padding: 9px 10px; font: inherit; border: 1px solid var(--field-border); border-radius: 6px; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.field label.check { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; }
.field label.check input { margin-top: 4px; }
.has-error input, .has-error textarea { border-width: 2px; border-color: var(--err); }
.err { color: var(--err); font-size: .85rem; margin: 3px 0 0; } .err p { margin: 0; }
.error-summary ul { margin: 6px 0 0; padding-left: 20px; }
.error-summary a { color: var(--err); font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 12px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px 16px; position: sticky; top: 12px; }
.sumlist { list-style: none; padding: 0; margin: 0; }
.sumlist li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sso { background: #eef1f6; border-radius: var(--radius); padding: 10px 14px; }

/* stopka */
.foot { background: var(--navy); color: #c9ced6; font-size: .9rem; margin-top: 24px; }
.foot a, .foot .linkish { color: #fff; }
.foot :focus-visible { outline-color: var(--gold-light); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 8px; }
.foot-h { color: var(--gold-light); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin: 0 0 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; } .foot li { padding: 3px 0; }
.foot-pay p { margin: 0; }
.foot-copy { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 10px; padding-bottom: 16px; font-size: .8rem; }
.foot-copy p { margin: 0; }


@media (max-width: 760px) {
  .topbar-usp, .topbar-mail { display: none; }
  .top-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand img { height: 34px; }
  .search { grid-column: 1 / -1; order: 3; }
  .cart-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu { flex-wrap: nowrap; overflow-x: auto; gap: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch;
          mask-image: linear-gradient(to right, #000 88%, transparent); }
  .menu::-webkit-scrollbar { display: none; }
  .menu-item > a { padding: 12px 10px; white-space: nowrap; }
  .menu-item .sub { display: none !important; }
  .hero { padding: 20px 16px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles a:last-child:nth-child(odd) { grid-column: span 2; }
  .product, .checkout { grid-template-columns: minmax(0, 1fr); }
  .product { padding: 16px; gap: 16px; }
  .product-img img { max-height: 260px; }
  .add { display: grid; grid-template-columns: auto 5em 1fr; }
  .add .btn { width: 100%; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .cart thead { display: none; }
  .cart tr { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .cart td { border: 0; padding: 4px 10px; }
  .cart .cell-label { display: inline; color: var(--muted); font-size: .85rem; }
  .cart td[data-label="Produkt"] { grid-column: 1 / -1; font-weight: 600; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .actions .btn { width: 100%; }
  .btn-link { margin-right: 0; text-align: center; }
  .summary { position: static; order: -1; }
  .crumbs li[aria-current] { display: none; }
  .foot-cols { grid-template-columns: 1fr; gap: 12px; }
}

/* paczkomat InPost (mapa Geowidget w oknie) */
.point .point-chosen:empty { display: none; }
.point-modal { border: 0; padding: 0; background: transparent; width: min(960px, calc(100% - 32px)); max-width: none; height: min(640px, 90vh); max-height: none; }
.point-modal::backdrop { background: rgba(3, 27, 61, .55); }
.point-box { background: #fff; border-radius: var(--radius); width: 100%; height: 100%; display: flex; flex-direction: column; padding: 8px; box-sizing: border-box; }
.point-box inpost-geowidget { flex: 1; min-height: 0; display: block; }
.point-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.point-head h2 { font-size: 1.1rem; margin: 0 4px; }
.point-box p { margin: 6px 4px 0; }

/* katalog kursów online: panel filtrów + karty (wzór: sklep ICAN Online Learning) */
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; position: sticky; top: 12px; }
.filters-box > summary { font-weight: 700; cursor: pointer; list-style: none; display: none; }
.filters-box > summary::-webkit-details-marker { display: none; }
.filters-form input[type=search] { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid var(--field-border); border-radius: 10px; font: inherit; }
.filters-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 16px 0 0; padding: 14px 0 0; min-width: 0; }
.filters-form legend { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); padding: 0; margin-bottom: 6px; }
.filters-form label.radio, .filters-form label.check { display: flex; gap: 10px; align-items: center; padding: 5px 0; cursor: pointer; }
.filters-form input[type=radio], .filters-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 14px; box-sizing: border-box; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.catalog-bar p { margin: 0; color: var(--muted); }
.catalog-bar strong { color: var(--navy); font-size: 1.15rem; }
.sort select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.chip-x { color: var(--navy); background: #eef1f6; border-color: #d9dee8; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(3, 27, 61, .04); transition: box-shadow .15s, transform .15s; }
.ccard:hover { box-shadow: 0 8px 24px rgba(3, 27, 61, .12); transform: translateY(-2px); }
.ccard-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #e9edf3; }
.ccard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccard-type { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.ccard-badges { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.pill { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 5px 10px; border-radius: 999px; color: #fff; }
.pill-new { background: #12805c; } .pill-best { background: var(--ican-red); } .pill-sale { background: #b45309; }
.ccard-body { padding: 16px 18px 6px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ccard-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ccard-meta li { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: #33415c; background: #f3f5f9;
  border: 1px solid #e4e8ef; border-radius: 999px; padding: 4px 10px; }
.ccard svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ccard-title { font-size: 1.08rem; line-height: 1.3; margin: 6px 0 0; font-weight: 800; }
.ccard-title a { color: var(--ink); text-decoration: none; }
.ccard-title a:hover { color: var(--ican-red); }
.ccard-desc { margin: 0; color: var(--muted); font-size: .93rem; }
.ccard-access { margin: 2px 0 0; display: flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.ccard-rating { margin: 0; font-size: .95rem; }
.ccard-rating .star { color: #f5a623; font-size: 1.15rem; }
.ccard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 18px 18px;
  border-top: 1px solid var(--line); margin-top: 10px; }
.ccard-price { margin: 0; font-size: 1.35rem; color: var(--navy); }
.ccard-price .old { font-size: .95rem; color: var(--muted); margin-right: 4px; }
.ccard-price .omnibus { display: block; font-size: .72rem; color: var(--muted); }
.ccard-cta { display: flex; gap: 8px; }
.ccard-cta .btn-small { width: auto; }
.ccard-cta form { margin: 0; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .filters-box { position: static; padding: 12px 16px; }
  .filters-box > summary { display: flex; align-items: center; gap: 8px; }
  .filters-box[open] > summary { margin-bottom: 10px; }
}

/* tryb wysokiego kontrastu: przyciski zachowują obrys (SON-UX-04) */
.btn, .search button, button.btn { border: 2px solid transparent; }
@media (forced-colors: active) { .btn, .search button { border-color: ButtonText; } }
/* link dla czytnika („skąd ocena”) widoczny, gdy ma fokus z klawiatury (SON-UX-01) */
a.sr:focus, a.sr:focus-visible { position: static !important; width: auto; height: auto; overflow: visible; clip: auto;
  white-space: normal; background: #fff; padding: 2px 4px; }
.sort select { border-color: var(--field-border); }  /* SON-UX-06 */

/* Moje zamówienia */
.orders { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.orders > li { border: 1px solid var(--field-border); border-radius: 8px; padding: 14px 16px; }
.orders .o-head { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; justify-content: space-between; }
.orders .o-items { margin: 8px 0 0; padding-left: 18px; }
.orders .o-dl { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; }
