/* Tranquillum, zaplecze WordPress w wyglądzie strony (front Next, 15.11.2026).
   Tokeny skopiowane z front/app/globals.css (:root). EB Garamond (tytuły) + Karla (tekst), bez kursywy (akcent słowa kolorem),
   etykiety wersalikami w terakocie, pigułki przycisków w śliwce, pola jak .pole na froncie, narożnik 2 px, bez ornamentów i cieni.
   Przyciski bez przesunięć: tło, połysk ::before, scale .97 na :active. Ładowany po stylach Tutora (050-tq-tutor.php). */

:root {
  --tlo: #FAFBF8; --tlo-2: #EAF2F8; --roz: #DCE9F3; --sliwka: #1F5B8A; --sliwka-2: #17466C; --akcent: #4789C0;
  --tekst: #1A2633; --tekst-2: #4A5868; --linia: rgba(26,38,51,.12); --jasny: #EEF5FA; --terakota: #B87970; --terakota-tekst: #8E5149; --jroz: #F1D9D4;
  --ciemna: #0F2F49;
  --serif: 'EB Garamond', Georgia, serif; --sans: 'Karla', system-ui, sans-serif;
  --plynnie: cubic-bezier(.16,1,.3,1);
}
/* Stare zmienne innych wtyczek (050-tq-tutor.php, 041) → paleta strony. */
body.tq-wyglad {
  --tq-mauve: var(--akcent); --tq-mauve-c: var(--sliwka); --tq-blekit: var(--tekst-2); --tq-granat: var(--tekst); --tq-tekst-2: var(--tekst-2);
  --tq-linia: var(--linia); --tq-pole: rgba(26,38,51,.18); --tq-karta: #fff; --tq-mgla: var(--tlo); --tq-swit: var(--tlo-2);
  --tq-r: 2px; --tq-r-pole: 2px; --tq-cien-1: none; --tq-cien-2: none; --tq-cien-karta: none;
  --tq-serif: var(--serif); --tq-sans: var(--sans);
  --tutor-color-primary: #1F5B8A; --tutor-color-primary-rgb: 94,47,80; --tutor-color-primary-hover: #17466C; --tutor-body-color: #1A2633;
  --tutor-button-primary: #1F5B8A; --tutor-button-primary-hover: #17466C; --tutor-text-brand: #1F5B8A; --tutor-border-brand: #1F5B8A;
}
html:has(body.tq-wyglad) { background: var(--tlo) !important; overflow-x: clip; }
body.tq-wyglad {
  margin: 0; color: var(--tekst) !important; font: 400 18px/1.7 var(--sans) !important; -webkit-font-smoothing: antialiased; overflow-x: clip;
  background: radial-gradient(900px 440px at 0% 0%, rgba(241,217,212,.32), transparent 70%) no-repeat,
              radial-gradient(820px 420px at 100% 0%, rgba(200,212,218,.34), transparent 70%) no-repeat, var(--tlo) !important;
}
@media (max-width: 760px) { body.tq-wyglad { font-size: 17px !important; } }
body.tq-wyglad *, body.tq-wyglad *::before, body.tq-wyglad *::after { box-sizing: border-box; }
/* Bez kursywy w całym zapleczu: akcent słowa kolorem. */
body.tq-wyglad em, body.tq-wyglad i:not([class*="icon"]), body.tq-wyglad cite, body.tq-wyglad blockquote, body.tq-wyglad [style*="italic"] { font-style: normal !important; }
body.tq-wyglad em { color: var(--akcent); }
body.tq-wyglad :where(input, select, textarea, button) { font-family: inherit; }
body.tq-wyglad :is(h1, h2, h3, h4) { font-family: var(--serif) !important; font-weight: 400 !important; letter-spacing: -.022em; line-height: 1.08; color: var(--tekst) !important; text-wrap: balance; text-transform: none; margin: 0; }
body.tq-wyglad h1 { font-size: clamp(42px, 4.8vw, 68px) !important; line-height: 1.04 !important; }
body.tq-wyglad h2 { font-size: clamp(30px, 3vw, 42px) !important; }
body.tq-wyglad h3 { font-size: clamp(24px, 2.2vw, 30px) !important; line-height: 1.15 !important; }
body.tq-wyglad a { color: var(--sliwka); }
body.tq-wyglad a:hover { color: var(--akcent); }
body.tq-wyglad ::selection { background: var(--sliwka); color: var(--jasny); }
body.tq-wyglad :focus-visible { outline: 2px solid var(--akcent); outline-offset: 4px; border-radius: 2px; }
body.tq-wyglad img { max-width: 100%; height: auto; }
body.tq-wyglad .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tq-etyk { display: block; margin: 0 0 18px !important; font: 600 12px/1.3 var(--sans) !important; letter-spacing: .22em; text-transform: uppercase; color: var(--terakota-tekst) !important; }
.tq-lead { margin: 18px 0 0 !important; font-size: 19px; line-height: 1.65; color: var(--tekst-2); max-width: 46ch; }
@media (max-width: 760px) { .tq-lead { font-size: 17.5px; } }

/* Stary nagłówek i stopka motywu, ornament i wstęp z poprzedniej wersji: nie na tych stronach. */
body.tq-wyglad .elementor-location-header, body.tq-wyglad .elementor-location-footer, body.tq-wyglad #site-header, body.tq-wyglad #site-footer,
body.tq-wyglad > .site-header, body.tq-wyglad > .site-footer, body.tq-wyglad .skip-link, .tq-ozdobnik, body.tq-wyglad .tq-wstep, body.tq-wyglad .tq-liscik { display: none !important; }
body.tq-wyglad.tutor-screen-frontend-dashboard .tutor-frontend-dashboard-header-navbar { display: none; }

/* ——— Nagłówek (jak .nav na froncie) ——— */
.tq-naglowek { position: sticky; top: 0; z-index: 50; height: 76px; background: rgba(250,251,248,.92); box-shadow: 0 1px 0 var(--linia); }
.admin-bar .tq-naglowek { top: 32px; }
@media (max-width: 782px) { .admin-bar .tq-naglowek { top: 0; position: relative; } }
.tq-naglowek__w { width: min(1280px, 100% - 64px); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tq-logo { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: var(--tekst) !important; text-decoration: none !important; }
.tq-logo img { width: 32px; height: 32px; flex: none; }
.tq-logo b { font: 400 25px/1 var(--serif) !important; letter-spacing: -.01em; white-space: nowrap; }
.tq-naglowek__akcje { display: flex; align-items: center; gap: 8px 22px; }
.tq-naglowek__link { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15.5px; color: var(--tekst-2) !important; text-decoration: none !important; transition: color .3s; }
.tq-naglowek__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--plynnie); }
.tq-naglowek__link:hover { color: var(--tekst) !important; }
.tq-naglowek__link:hover::after { transform: scaleX(1); transform-origin: left; }
.tq-naglowek__krotkie { display: none; }
.tq-naglowek__koszyk { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 20px; border: 1px solid rgba(26,38,51,.2); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--tekst) !important; text-decoration: none !important; transition: background-color .3s, border-color .3s; }
.tq-naglowek__koszyk:hover { background: var(--tlo-2); border-color: rgba(26,38,51,.32); }
.tq-naglowek__koszyk:active { scale: .97; }
.tq-naglowek__ile:empty, .tq-naglowek__ile[data-ile="0"] { display: none; }
.tq-naglowek__ile { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--sliwka); color: var(--jasny); font-size: 13.5px; font-weight: 600; }
@media (max-width: 760px) {
  .tq-naglowek { height: 64px; }
  .tq-naglowek__w { width: calc(100% - 32px); gap: 10px; }
  .tq-logo { gap: 10px; } .tq-logo img { width: 28px; height: 28px; } .tq-logo b { font-size: 22px !important; }
  .tq-naglowek__akcje { gap: 6px 14px; }
  .tq-naglowek__pelne { display: none; } .tq-naglowek__krotkie { display: inline; }
  .tq-naglowek__link { font-size: 15px; }
  .tq-naglowek__koszyk { min-height: 42px; padding: 0 6px 0 14px; font-size: 14.5px; }
  .tq-naglowek__ile:empty, .tq-naglowek__ile[data-ile="0"] { display: none; }
.tq-naglowek__ile { min-width: 26px; height: 26px; }
}
@media (max-width: 380px) { .tq-naglowek__konto { display: none; } }

/* ——— Stopka (ciemna śliwka, zwięzła) ——— */
.tq-stopka { margin-top: 110px; background: var(--ciemna); color: rgba(238,245,250,.74); font-size: 15px; }
.tq-stopka__w { width: min(1280px, 100% - 64px); margin: 0 auto; padding: 56px 0 26px; }
.tq-stopka a, .tq-stopka button { color: rgba(238,245,250,.86) !important; text-decoration: none !important; transition: color .3s; }
.tq-stopka a:hover, .tq-stopka button:hover { color: #fff !important; }
.tq-stopka .tq-logo, .tq-stopka .tq-logo b { color: var(--jasny) !important; }
.tq-stopka__gora { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-bottom: 32px; }
.tq-stopka__kontakt { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; }
.tq-stopka__kontakt a { display: inline-flex; align-items: center; min-height: 40px; }
.tq-stopka__dol { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 48px; padding-top: 20px; border-top: 1px solid rgba(238,245,250,.14); font-size: 13.5px; }
.tq-stopka__prawa { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin: 0; }
.tq-stopka__prawa a, .tq-stopka__zgody { display: inline-flex; align-items: center; min-height: 40px; background: none !important; border: 0 !important; padding: 0 !important; font: inherit !important; cursor: pointer; box-shadow: none !important; min-width: 0 !important; }
.tq-stopka__zastrzezenie { margin: 0; justify-self: end; max-width: 62ch; text-align: right; color: rgba(238,245,250,.56); line-height: 1.55; }
@media (max-width: 900px) { .tq-stopka__dol { grid-template-columns: 1fr; } .tq-stopka__zastrzezenie { justify-self: start; text-align: left; } }
@media (max-width: 760px) { .tq-stopka { margin-top: 80px; } .tq-stopka__w { width: calc(100% - 40px); padding-top: 44px; } }

/* ——— Przyciski: pigułki, tło i połysk, bez przesunięć ——— */
.tq-przycisk, body.tq-wyglad .button, body.tq-wyglad button.button, body.tq-wyglad a.button, body.tq-wyglad input[type=submit], body.tq-wyglad button[type=submit]:not(.tq-stopka__zgody),
body.tq-wyglad #place_order, body.tq-wyglad .woocommerce-button, body.tq-wyglad .wp-element-button, body.tq-wyglad .tutor-btn-primary, body.tq-wyglad .tq-dalej-link {
  position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px !important; border: 1px solid var(--sliwka) !important; border-radius: 999px !important; background: var(--sliwka) !important; color: var(--jasny) !important;
  font: 500 16px/1.2 var(--sans) !important; letter-spacing: .01em; text-align: center; text-transform: none !important; text-decoration: none !important; white-space: normal;
  box-shadow: none !important; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s !important;
}
.tq-przycisk::before, body.tq-wyglad .button::before, body.tq-wyglad #place_order::before, body.tq-wyglad .tq-dalej-link::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--plynnie);
}
.tq-przycisk:hover, body.tq-wyglad .button:hover, body.tq-wyglad input[type=submit]:hover, body.tq-wyglad button[type=submit]:not(.tq-stopka__zgody):hover, body.tq-wyglad #place_order:hover, body.tq-wyglad .tutor-btn-primary:hover, body.tq-wyglad .tq-dalej-link:hover { background: var(--sliwka-2) !important; border-color: var(--sliwka-2) !important; color: var(--jasny) !important; }
.tq-przycisk:hover::before, body.tq-wyglad .button:hover::before, body.tq-wyglad #place_order:hover::before, body.tq-wyglad .tq-dalej-link:hover::before { transform: translateX(120%); }
.tq-przycisk:active, body.tq-wyglad .button:active, body.tq-wyglad #place_order:active, body.tq-wyglad button[type=submit]:active, body.tq-wyglad .tutor-btn:active, body.tq-wyglad .tq-dalej-link:active { transform: none; scale: .97; }
.tq-przycisk--drugi, body.tq-wyglad .button.tq-przycisk--drugi { background: transparent !important; color: var(--tekst) !important; border-color: rgba(26,38,51,.25) !important; }
.tq-przycisk--drugi::before { background: linear-gradient(110deg, transparent 30%, rgba(31,91,138,.08) 50%, transparent 70%) !important; }
.tq-przycisk--drugi:hover { background: var(--tlo-2) !important; border-color: rgba(26,38,51,.35) !important; color: var(--tekst) !important; }
.tq-przycisk--maly { min-height: 46px; padding: 0 22px !important; font-size: 15px !important; }
.tq-przycisk--pelny { width: 100%; }
body.tq-wyglad .button:disabled, body.tq-wyglad .button[disabled] { opacity: .6 !important; cursor: default; }
.tq-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--sliwka) !important; text-decoration: none !important; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding: 0 0 2px; transition: color .3s; }
.tq-link:hover { color: var(--akcent) !important; }
.tq-przyciski { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }

/* ——— Pola (jak .pole na froncie) ——— */
body.tq-wyglad :is(input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=url], input[type=date], select, textarea, .tutor-form-control) {
  width: 100%; min-width: 0; min-height: 54px; padding: 12px 16px !important; font: 400 17px/1.4 var(--sans) !important; color: var(--tekst) !important;
  background: var(--tlo) !important; border: 1px solid rgba(26,38,51,.18) !important; border-radius: 2px !important; box-shadow: none !important; transition: border-color .3s, box-shadow .3s;
}
body.tq-wyglad textarea { min-height: 120px; resize: vertical; }
body.tq-wyglad :is(input, select, textarea, .tutor-form-control):focus { outline: none !important; border-color: var(--sliwka) !important; box-shadow: 0 0 0 3px rgba(31,91,138,.14) !important; }
body.tq-wyglad ::placeholder { color: #7F8991; opacity: 1; }
body.tq-wyglad input[type=checkbox], body.tq-wyglad input[type=radio] { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--sliwka); vertical-align: -4px; }
body.tq-wyglad label, body.tq-wyglad .form-row label { font: 500 15.5px/1.5 var(--sans) !important; color: var(--tekst) !important; }
body.tq-wyglad .required { color: var(--terakota-tekst) !important; text-decoration: none; border: 0; font-weight: 500; }
body.tq-wyglad .woocommerce-invalid :is(input.input-text, select) { border-color: #A4423A !important; box-shadow: 0 0 0 3px rgba(164,66,58,.1) !important; }
body.tq-wyglad .select2-container .select2-selection--single { height: 54px !important; display: flex; align-items: center; padding: 0 16px; border: 1px solid rgba(26,38,51,.18) !important; border-radius: 2px !important; background: var(--tlo) !important; }
body.tq-wyglad .select2-container .select2-selection--single .select2-selection__arrow { height: 52px !important; }
body.tq-wyglad .woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
body.tq-wyglad .woocommerce form .form-row label { display: block; margin: 0 0 6px; }
body.tq-wyglad .password-input { display: block; position: relative; }
body.tq-wyglad .show-password-input { position: absolute; top: 50% !important; right: 6px !important; transform: translateY(-50%); width: 44px; height: 44px; background-color: transparent !important; border: 0 !important; }
.tq-pole { display: grid; gap: 6px; margin-bottom: 16px; }
.tq-zgoda { display: grid !important; grid-template-columns: 22px 1fr; gap: 12px; margin: 4px 0 4px; font-size: 14.5px !important; line-height: 1.55 !important; color: var(--tekst-2) !important; cursor: pointer; }
.tq-formularz .tq-przycisk--pelny { margin-top: 20px; }

/* ——— Komunikaty WooCommerce ——— */
body.tq-wyglad :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice, .wc-block-components-notice-banner) {
  position: relative; display: block; margin: 0 0 22px !important; padding: 16px 20px !important; list-style: none; background: #fff !important; color: var(--tekst) !important;
  border: 0 !important; border-left: 2px solid var(--terakota) !important; border-radius: 2px !important; box-shadow: none !important; font-size: 15.5px !important; line-height: 1.6 !important;
}
body.tq-wyglad .woocommerce-error { border-left-color: #A4423A !important; }
body.tq-wyglad :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { display: none !important; }
body.tq-wyglad .woocommerce-error li { margin: 0; list-style: none; }
body.tq-wyglad :is(.woocommerce-message, .woocommerce-info) .button { float: none; min-height: 44px; margin: 8px 0 0 12px; font-size: 15px !important; }
body.tq-wyglad .woocommerce-notices-wrapper:empty { display: none; }

/* ═══════════ KASA ═══════════ */
body.tq-kasa main.tq-kasa-tresc { width: min(1180px, 100% - 64px); margin: 0 auto; padding: 72px 0 0; }
.tq-kasa-uklad { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 72px; align-items: start; }
.tq-kasa-lewa h1 { margin: 0 !important; }
.tq-kasa-formularz { margin-top: 36px; }
.tq-kasa-karta { position: sticky; top: 108px; display: grid; gap: 0; }
.tq-kasa-karta-gora { background: var(--tlo-2); border-radius: 2px; padding: 30px 30px 26px; }
@media (max-width: 960px) {
  body.tq-kasa main.tq-kasa-tresc { width: calc(100% - 40px); padding-top: 44px; }
  .tq-kasa-uklad { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tq-kasa-uklad:not(.tq-po) .tq-kasa-karta { display: contents; }
  .tq-kasa-uklad:not(.tq-po) .tq-kasa-karta-gora { order: 2; margin-top: 28px; padding: 22px 20px 18px; }
  .tq-kasa-uklad:not(.tq-po) .tq-kasa-lewa { display: contents; }
  .tq-kasa-uklad:not(.tq-po) .tq-kasa-lewa > .tq-etyk { order: 0; } .tq-kasa-uklad:not(.tq-po) .tq-kasa-lewa > h1 { order: 1; } .tq-kasa-uklad:not(.tq-po) .tq-kasa-lewa > .tq-lead { order: 1; }
  .tq-kasa-uklad:not(.tq-po) .tq-kasa-formularz { order: 3; margin-top: 28px; }
  .tq-kasa-uklad:not(.tq-po) .tq-kasa-dalej { order: 4; }
  .tq-kasa-uklad.tq-po .tq-kasa-karta { position: static; margin-top: 40px; }
  .tq-kasa-karta { position: static; }
}
/* Podsumowanie: pozycje ze zdjęciem */
.tq-kasa-pozycje { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.tq-kasa-poz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tq-kasa-poz img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: var(--roz); }
.tq-kasa-pozycje--wiele .tq-kasa-poz { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
.tq-kasa-pozycje--wiele .tq-kasa-poz img { aspect-ratio: 1; }
.tq-kasa-poz-opis p { margin: 0; }
.tq-kasa-poz-nazwa { font: 400 26px/1.15 var(--serif) !important; letter-spacing: -.015em; color: var(--tekst); }
.tq-kasa-pozycje--wiele .tq-kasa-poz-nazwa { font-size: 22px !important; }
.tq-kasa-poz-dop { margin-top: 6px !important; font-size: 15px; color: var(--tekst-2); }
.tq-kasa-poz-dol { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px !important; }
.tq-kasa-poz-cena { font-size: 16px; color: var(--tekst); font-weight: 500; }
.tq-kasa-usun { display: inline-flex; align-items: center; min-height: 40px; font-size: 14.5px; color: var(--tekst-2) !important; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: rgba(26,38,51,.3) !important; }
.tq-kasa-usun:hover { color: #A4423A !important; }
.tq-kasa-sumy { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--linia); }
.tq-kasa-sumy > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 0 0; }
.tq-kasa-sumy dt { font-size: 15px; color: var(--tekst-2); }
.tq-kasa-sumy dd { margin: 0; text-align: right; }
.tq-kasa-bon dd { color: var(--sliwka); }
.tq-kasa-bon .woocommerce-remove-coupon { margin-left: 8px; font-size: 14px; color: var(--tekst-2) !important; }
.tq-kasa-razem dt { font: 600 12px/1.3 var(--sans) !important; letter-spacing: .22em; text-transform: uppercase; color: var(--terakota-tekst) !important; }
.tq-kasa-razem dd { font: 400 34px/1 var(--serif) !important; letter-spacing: -.02em; color: var(--tekst); }
.tq-kasa-razem dd * { font: inherit !important; }
/* Co dalej */
.tq-kasa-dalej { padding: 30px 30px 0; }
.tq-kasa-dalej-tytul { margin: 16px 0 10px !important; font: 400 22px/1.2 var(--serif) !important; }
.tq-kasa-kroki { list-style: none; margin: 0; padding: 0; counter-reset: k; display: grid; gap: 14px; }
.tq-kasa-kroki li { counter-increment: k; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--tekst-2); }
.tq-kasa-kroki li::before { content: counter(k); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(31,91,138,.32); font: 400 17px/1 var(--serif); color: var(--sliwka); }
.tq-kasa-pyt { margin: 24px 0 0 !important; font-size: 15px; color: var(--tekst-2); }
@media (max-width: 960px) { .tq-kasa-dalej { padding: 32px 0 0; } }
/* Formularz WooCommerce w karcie jak .f-karta */
body.tq-kasa form.checkout { display: block; margin: 0; padding: 32px 32px 30px; background: var(--tlo-2); border-radius: 2px; }
@media (max-width: 760px) { body.tq-kasa form.checkout { padding: 22px 18px 20px; margin: 0 -2px; } }
body.tq-kasa .col2-set { display: block; width: 100%; } body.tq-kasa .col2-set::before, body.tq-kasa .col2-set::after { display: none; }
body.tq-kasa .col2-set .col-1, body.tq-kasa .col2-set .col-2 { float: none; width: 100%; max-width: none; padding: 0; }
body.tq-kasa .col2-set .col-2:empty, body.tq-kasa .woocommerce-shipping-fields:empty { display: none; }
body.tq-kasa .woocommerce-billing-fields h3, body.tq-kasa #order_review_heading, body.tq-kasa .woocommerce-additional-fields > h3 { display: none !important; }
body.tq-kasa .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
body.tq-kasa .woocommerce-billing-fields__field-wrapper .form-row { width: auto !important; float: none !important; margin: 0 0 16px !important; padding: 0 !important; }
body.tq-kasa .form-row-wide, body.tq-kasa #billing_email_field, body.tq-kasa #billing_phone_field { grid-column: 1 / -1; }
@media (max-width: 480px) { body.tq-kasa .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; } }
body.tq-kasa .woocommerce-account-fields, body.tq-kasa .woocommerce-additional-fields { margin-top: 4px; }
body.tq-kasa #order_comments_field { margin: 0 0 16px !important; }
body.tq-kasa.tq-kasa-bez-tabeli table.woocommerce-checkout-review-order-table { display: none; }
body.tq-kasa table.shop_table { width: 100%; border: 0; border-collapse: collapse; margin: 6px 0 16px; font-size: 15.5px; background: none; }
body.tq-kasa table.shop_table th, body.tq-kasa table.shop_table td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--linia); background: none !important; text-align: left; }
body.tq-kasa table.shop_table thead { display: none; }
body.tq-kasa table.shop_table td:last-child { text-align: right; }
body.tq-kasa #order_review, body.tq-kasa .woocommerce-checkout-review-order, body.tq-kasa #payment { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
body.tq-kasa #payment { margin-top: 10px !important; padding-top: 22px !important; border-top: 1px solid var(--linia) !important; }
body.tq-kasa #payment ul.payment_methods { list-style: none; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; display: grid; gap: 8px; }
body.tq-kasa #payment ul.payment_methods::before, body.tq-kasa #payment ul.payment_methods::after { display: none; }
body.tq-kasa #payment ul.payment_methods li { margin: 0; padding: 12px 16px !important; background: var(--tlo); border: 1px solid rgba(26,38,51,.14); border-radius: 2px; line-height: 1.5; }
body.tq-kasa #payment ul.payment_methods li:has(input:checked) { border-color: var(--sliwka); box-shadow: inset 0 0 0 1px var(--sliwka); }
body.tq-kasa #payment ul.payment_methods li > input { margin-right: 10px; }
body.tq-kasa #payment ul.payment_methods li label { display: inline !important; font-weight: 500 !important; cursor: pointer; }
body.tq-kasa #payment ul.payment_methods li img { display: none; }
body.tq-kasa #payment div.payment_box { margin: 10px 0 2px; padding: 0 !important; background: none !important; font-size: 14.5px; color: var(--tekst-2); }
body.tq-kasa #payment div.payment_box::before { display: none !important; }
body.tq-kasa #payment div.payment_box p { margin: 0; }
body.tq-kasa #payment div.form-row.place-order { padding: 0 !important; margin: 0 !important; }
body.tq-kasa .woocommerce-terms-and-conditions-wrapper { margin: 0 0 16px; }
body.tq-kasa .woocommerce-terms-and-conditions-wrapper p.form-row { margin: 0 !important; }
body.tq-kasa .woocommerce-terms-and-conditions-wrapper label, body.tq-kasa .form-row label.checkbox, body.tq-kasa label.woocommerce-form__label-for-checkbox {
  display: grid !important; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 0 0 10px; font-size: 14.5px !important; line-height: 1.55 !important; font-weight: 400 !important; color: var(--tekst-2) !important; cursor: pointer; }
body.tq-kasa .woocommerce-terms-and-conditions-wrapper label span, body.tq-kasa label.checkbox span { font-size: inherit !important; color: inherit; }
body.tq-kasa .woocommerce-terms-and-conditions-checkbox-text a { color: var(--sliwka) !important; text-decoration: underline; text-underline-offset: 3px; }
body.tq-kasa #place_order { width: 100%; min-height: 58px; float: none; margin: 4px 0 0 !important; font-size: 17px !important; }
body.tq-kasa .woocommerce-privacy-policy-text { display: none; }
/* Kod bonu nad formularzem */
body.tq-kasa .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0 0 14px !important; padding: 0 !important; background: none !important; border: 0 !important; font-size: 15.5px !important; color: var(--tekst-2) !important; }
body.tq-kasa .woocommerce-form-coupon-toggle a { color: var(--sliwka) !important; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
body.tq-kasa form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px !important; padding: 18px !important; border: 1px solid var(--linia) !important; border-radius: 2px !important; background: var(--tlo) !important; }
body.tq-kasa form.checkout_coupon > p:not(.form-row) { flex: 1 1 100%; margin: 0; font-size: 15px; color: var(--tekst-2); }
body.tq-kasa form.checkout_coupon .form-row { margin: 0 !important; float: none !important; width: auto !important; padding: 0 !important; }
body.tq-kasa form.checkout_coupon .form-row-first { flex: 1 1 200px; }
body.tq-kasa form.checkout_coupon input.input-text { min-height: 48px; text-transform: uppercase; letter-spacing: .08em; background: #fff !important; }
body.tq-kasa form.checkout_coupon button { min-height: 48px !important; padding: 0 22px !important; font-size: 15px !important; }
body.tq-kasa .clear { display: none; }
body.tq-kasa .blockUI.blockOverlay { background: rgba(234,242,248,.7) !important; }

/* ═══════════ STRONA PO ZAMÓWIENIU ═══════════ */
.tq-po .tq-lead { max-width: 52ch; }
.tq-po-sam { max-width: 720px; }
.tq-po-platnosc { margin-top: 40px; padding: 28px 30px; background: var(--tlo-2); border-radius: 2px; }
.tq-po-platnosc > p { margin: 0 0 14px; color: var(--tekst-2); font-size: 16px; }
.tq-po-platnosc h2, .tq-po-platnosc .wc-bacs-bank-details-heading { font-size: clamp(26px, 2.4vw, 32px) !important; margin: 0 0 6px !important; }
.tq-po-platnosc h3 { font: 600 12px/1.3 var(--sans) !important; letter-spacing: .22em; text-transform: uppercase; color: var(--terakota-tekst) !important; margin: 18px 0 8px !important; }
.tq-po-platnosc ul.bacs_details, .tq-po-platnosc ul.order_details { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; border-top: 1px solid var(--linia); }
.tq-po-platnosc ul.bacs_details li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0 !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid var(--linia) !important; float: none !important; font-size: 13.5px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--terakota-tekst); }
.tq-po-platnosc ul.bacs_details li strong { display: block; font: 400 20px/1.3 var(--serif) !important; text-transform: none; letter-spacing: 0; color: var(--tekst); word-break: break-word; }
@media (max-width: 560px) { .tq-po-platnosc { padding: 22px 18px; } .tq-po-platnosc ul.bacs_details li { grid-template-columns: 1fr; gap: 2px; } }
.tq-po-dalej { display: grid; gap: 18px; margin-top: 28px; }
.tq-po-dalej:empty { display: none; }
.tq-dalej { padding: 28px 30px; background: #fff; border: 1px solid var(--linia); border-radius: 2px; }
.tq-dalej h2 { font-size: clamp(26px, 2.4vw, 32px) !important; margin: 0 0 14px !important; }
.tq-dalej p { margin: 0 0 14px; color: var(--tekst-2); font-size: 16px; line-height: 1.6; }
.tq-dalej p:last-child { margin-bottom: 0; }
.tq-dalej .tq-dalej-link { min-height: 52px; }
.tq-dalej a[href*="/ankieta/"] { font-weight: 500; color: var(--sliwka) !important; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: rgba(31,91,138,.4) !important; }
@media (max-width: 560px) { .tq-dalej { padding: 22px 18px; } .tq-dalej .tq-dalej-link { width: 100%; } }
.tq-po-wroc { margin: 32px 0 0 !important; }
.tq-po-dane { margin: 22px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--linia); }
.tq-po-dane > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linia); }
.tq-po-dane dt { font: 600 12px/1.9 var(--sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--terakota-tekst); }
.tq-po-dane dd { margin: 0; font-size: 15.5px; color: var(--tekst); word-break: break-word; }
.tq-po .tq-kasa-karta { top: 108px; }

/* ═══════════ PANEL /kokpit/ ═══════════ */
main.tq-panel-strona { width: min(1120px, 100% - 64px); margin: 0 auto; padding: 64px 0 0; }
@media (max-width: 760px) { main.tq-panel-strona { width: calc(100% - 32px); padding-top: 36px; } }
.tq-panel-gora h1 { margin: 0 !important; }
.tq-panel-menu { position: sticky; top: 76px; z-index: 20; margin: 34px 0 40px; background: var(--tlo); border-bottom: 1px solid var(--linia); }
.admin-bar .tq-panel-menu { top: 108px; }
.tq-panel-menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 30px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tq-panel-menu ul::-webkit-scrollbar { display: none; }
.tq-panel-menu li { flex: none; }
.tq-panel-menu a { position: relative; display: inline-flex; align-items: center; min-height: 52px; font-size: 16px; font-weight: 500; color: var(--tekst-2) !important; text-decoration: none !important; white-space: nowrap; transition: color .3s; }
.tq-panel-menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sliwka); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--plynnie); }
.tq-panel-menu a:hover, .tq-panel-menu a[aria-current] { color: var(--tekst) !important; }
.tq-panel-menu a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.tq-panel-menu-wyloguj { margin-left: auto; }
.tq-panel-menu-wyloguj a { color: var(--tekst-2) !important; font-weight: 400; }
@media (max-width: 760px) {
  .tq-panel-menu { top: 64px; margin: 24px -16px 28px; padding: 0 16px; }
  .admin-bar .tq-panel-menu { top: 64px; }
  .tq-panel-menu ul { gap: 4px 22px; }
  .tq-panel-menu a { min-height: 50px; font-size: 15.5px; }
  .tq-panel-menu-wyloguj { margin-left: 0; }
}
.tq-panel-glowa { margin: 0 0 26px; }
.tq-panel-glowa h2 { margin: 0 !important; }
.tq-panel-opis { margin: 10px 0 0; color: var(--tekst-2); font-size: 17px; max-width: 60ch; }
.tq-panel-blok { margin: 0 0 54px; }
.tq-panel-blok-gora { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tq-panel-blok-gora h2 { font-size: clamp(28px, 2.6vw, 36px) !important; }
.tq-panel-pusto { padding: 34px 32px; background: var(--tlo-2); border-radius: 2px; }
.tq-panel-pusto p { margin: 0 0 18px; font: 400 24px/1.3 var(--serif); }
.tq-panel-pyt { margin: 28px 0 0; color: var(--tekst-2); font-size: 15.5px; }
.tq-panel-wstecz { margin: -8px 0 22px; }
/* Kurs */
.tq-p-kurs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--tlo-2); border-radius: 2px; overflow: hidden; margin: 0 0 22px; }
.tq-p-kurs > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.tq-p-kurs-tresc { padding: 34px 36px 32px; }
.tq-p-kurs-tresc h3 { margin: 0 0 22px !important; }
.tq-p-postep { height: 6px; border-radius: 6px; background: rgba(31,91,138,.12); overflow: hidden; }
.tq-p-postep span { display: block; height: 100%; background: var(--sliwka); border-radius: 6px; }
.tq-p-postep-opis { margin: 10px 0 0; font-size: 15px; color: var(--tekst-2); }
.tq-p-postep-opis strong { color: var(--tekst); font-weight: 600; }
.tq-p-dalej { margin: 22px 0 0; font-size: 17px; color: var(--tekst-2); }
.tq-p-dalej strong { display: block; margin-top: 2px; font: 400 23px/1.25 var(--serif); color: var(--tekst); }
.tq-p-akcje { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 22px 0 0; }
.tq-p-materialy { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--linia); }
.tq-p-materialy .tq-etyk { margin-bottom: 10px !important; }
.tq-p-materialy ul { list-style: none; margin: 0; padding: 0; }
.tq-p-materialy a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .tq-p-kurs { grid-template-columns: 1fr; }
  .tq-p-kurs > img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .tq-p-kurs-tresc { padding: 24px 20px 24px; }
  .tq-p-akcje .tq-przycisk { flex: 1 1 100%; }
}
/* Sesje */
.tq-p-sesje { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tq-p-sesja { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linia); border-radius: 2px; overflow: hidden; }
.tq-p-sesja > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tq-p-sesja-tresc { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.tq-p-sesja-tresc h3 { margin: 0 !important; }
.tq-p-terminy { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--linia); }
.tq-p-terminy li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--linia); }
.tq-p-terminy span { font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--terakota-tekst); }
.tq-p-terminy strong { font: 400 21px/1.3 var(--serif); color: var(--tekst); }
.tq-p-sesja .tq-p-akcje { margin-top: auto; padding-top: 22px; gap: 10px 12px; }
.tq-p-uwaga { flex: 1 1 100%; font-size: 15px; color: var(--tekst-2); }
.tq-p-ok { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; font-size: 15px; color: var(--tekst-2); }
.tq-p-ok::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--sliwka) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F6EEEA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 860px) { .tq-p-sesje { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .tq-p-sesja-tresc { padding: 20px 20px 22px; } .tq-p-sesja .tq-p-akcje .tq-przycisk { flex: 1 1 100%; } }
/* Kafle i listy */
.tq-p-kafle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tq-p-kafle a { position: relative; display: grid; gap: 4px; min-height: 120px; padding: 24px 56px 24px 24px; background: var(--tlo-2); border-radius: 2px; color: var(--tekst) !important; text-decoration: none !important; transition: background-color .3s; }
.tq-p-kafle a:hover { background: var(--roz); }
.tq-p-kafle a:active { scale: .98; }
.tq-p-kafle strong { font: 400 26px/1.15 var(--serif); }
.tq-p-kafle span { font-size: 15px; color: var(--tekst-2); }
.tq-p-kafle i { position: absolute; right: 22px; top: 50%; translate: 0 -50%; font: 400 24px/1 var(--serif); color: var(--sliwka); }
@media (max-width: 760px) { .tq-p-kafle { grid-template-columns: 1fr; gap: 10px; } .tq-p-kafle a { min-height: 0; padding: 18px 50px 18px 20px; } .tq-p-kafle strong { font-size: 23px; } }
.tq-p-lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linia); }
.tq-p-wiersz { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 0; border-bottom: 1px solid var(--linia); }
.tq-p-wiersz > div:first-child { display: grid; gap: 4px; min-width: 0; }
.tq-p-wiersz strong { font: 400 22px/1.25 var(--serif); color: var(--tekst); }
.tq-p-wiersz span { font-size: 15px; color: var(--tekst-2); }
.tq-p-status { color: var(--sliwka) !important; font-weight: 500; }
.tq-p-kod { font-family: var(--sans); letter-spacing: .1em; color: var(--tekst); }
.tq-p-akcje:empty { display: none; }
@media (max-width: 640px) { .tq-p-wiersz { flex-wrap: wrap; } .tq-p-wiersz > .tq-przycisk, .tq-p-wiersz .tq-p-akcje { flex: 1 1 100%; } .tq-p-wiersz .tq-p-akcje { margin: 0; } .tq-p-wiersz .tq-p-akcje .tq-przycisk { flex: 1 1 auto; } }
/* Dane */
.tq-p-dane { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.tq-p-dane-karta { padding: 30px 30px 28px; background: var(--tlo-2); border-radius: 2px; }
.tq-p-dane-karta h3 { margin: 0 0 20px !important; }
@media (max-width: 860px) { .tq-p-dane { grid-template-columns: 1fr; } .tq-p-dane-karta { padding: 22px 18px 20px; } }
.tq-woo .woocommerce-address-fields__field-wrapper, .tq-woo .woocommerce-EditAccountForm { display: block; }
.tq-woo .form-row { float: none !important; width: 100% !important; margin: 0 0 16px !important; padding: 0 !important; }
.tq-woo fieldset { margin: 20px 0 0; padding: 0; border: 0; }
.tq-woo legend { margin: 0 0 12px; font: 400 22px/1.2 var(--serif); }
.tq-woo em, .tq-woo #account_display_name_description { display: block; margin-top: 4px; font-size: 14px; color: var(--tekst-2); }
.tq-woo h2, .tq-woo h3:not(:first-child) { display: none; }
.tq-woo .button { width: 100%; margin-top: 6px; }
.tq-woo .clear { display: none; }
.tq-p-szczegoly table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--linia); }
.tq-p-szczegoly th, .tq-p-szczegoly td { padding: 14px 16px; border-bottom: 1px solid var(--linia); text-align: left; font-size: 15.5px; }
.tq-p-szczegoly h2 { font-size: 28px !important; margin: 26px 0 14px !important; }
.tq-p-szczegoly .woocommerce-customer-details address { font-style: normal; padding: 18px; border: 1px solid var(--linia); background: #fff; }
/* Logowanie i reset hasła */
.tq-wejscie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 80px; align-items: start; padding-top: 24px; }
.tq-wejscie-tekst h1 { margin: 0 !important; }
.tq-wejscie-karta { padding: 34px 34px 30px; background: var(--tlo-2); border-radius: 2px; }
.tq-wejscie-dol { margin: 18px 0 0; text-align: center; }
.tq-wejscie-info { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--linia); font-size: 15.5px; color: var(--tekst-2); }
.tq-wejscie-info p { margin: 0 0 12px; }
.tq-wejscie-info strong { color: var(--tekst); font-weight: 600; }
.tq-wejscie-karta .woocommerce-ResetPassword > p:first-child { margin: 0 0 20px; color: var(--tekst-2); font-size: 16px; }
.tq-wejscie-karta .woocommerce-ResetPassword .button, .tq-wejscie-karta .woocommerce-ResetPassword button { width: 100%; }
@media (max-width: 900px) { .tq-wejscie { grid-template-columns: 1fr; gap: 30px; padding-top: 0; } .tq-wejscie-karta { padding: 24px 20px 22px; } }

/* ═══════════ Tutor (lekcje, widok wykładowcy): kroje i barwy strony ═══════════ */
body.tq-wyglad [class*="tutor-"]:not([class*="tutor-icon"]) { font-family: var(--sans); }
body.tq-wyglad :is(.tutor-card, .tutor-stat-card, .tutor-accordion-item, .tutor-course-sidebar-card, .tutor-modal-content, .tutor-learning-sidebar, .tutor-learning-nav) { border-radius: 2px !important; box-shadow: none !important; }
body.tq-wyglad .tutor-btn { border-radius: 999px !important; }
body.tq-wyglad .tutor-progress-value, body.tq-wyglad .tutor-progress-bar-fill { background: var(--sliwka) !important; }
body.tq-wyglad .tq-foto { border-radius: 2px !important; box-shadow: none !important; }
body.tq-wyglad .tutor-lesson-wrapper blockquote { background: var(--tlo-2) !important; border-radius: 2px !important; }
body.tq-wyglad .tutor-login-wrap { border-radius: 2px !important; box-shadow: none !important; background: var(--tlo-2) !important; }

/* Hello Elementor: zwykłe strony WordPressa (order-pay, regulamin) w szerokości strony */
body.tq-wyglad:not(.tq-kasa):not(.tq-panel-body) .site-main, body.tq-wyglad:not(.tq-kasa):not(.tq-panel-body) main#content { width: min(1120px, 100% - 40px); max-width: none; margin: 0 auto; padding: 56px 0 0; }
body.tq-wyglad .page-header .entry-title { font-size: clamp(42px, 4.8vw, 64px) !important; }

@media (prefers-reduced-motion: reduce) { body.tq-wyglad *, body.tq-wyglad *::before { transition: none !important; animation: none !important; } }

/* ═══════════ LEKCJE KURSU (bloki treści z serwer/tresc, 15.11.2026) ═══════════ */
body.tq-wyglad .tutor-lesson-wrapper { max-width: 68ch; margin-inline: auto; font: 400 18px/1.75 var(--sans) !important; color: var(--tekst) !important; }
body.tq-wyglad .tutor-lesson-wrapper :is(h2, h3) { font-family: var(--serif) !important; font-weight: 400 !important; font-style: normal !important; color: var(--tekst) !important; }
body.tq-wyglad .tutor-lesson-wrapper h2 { font-size: clamp(30px, 3vw, 38px) !important; margin: 1.6em 0 .5em !important; }
body.tq-wyglad .tutor-lesson-wrapper h3 { font-size: clamp(24px, 2.4vw, 30px) !important; margin: 0 0 .4em !important; }
body.tq-wyglad .tutor-lesson-wrapper li::marker { color: var(--terakota); }
/* Szkic do akceptacji: dyskretna etykieta */
.tq-szkic { display: inline-block; margin: 0 0 26px !important; padding: 6px 12px; border: 1px dashed rgba(142,81,73,.45); border-radius: 2px; font-size: 13.5px !important; line-height: 1.5 !important; color: var(--terakota-tekst) !important; background: transparent; }
.tq-szkic strong { font-weight: 600; letter-spacing: .04em; }
/* Zaślepka nagrania: karta w różu z ikoną odtwarzania */
.tq-nagranie { position: relative; margin: 0 0 34px; padding: 28px 30px 24px 104px; background: var(--roz); border-radius: 2px; }
.tq-nagranie::before { content: ''; position: absolute; left: 30px; top: 28px; width: 52px; height: 52px; border-radius: 50%; background: var(--sliwka) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23F6EEEA'/%3E%3C/svg%3E") center / 26px no-repeat; }
.tq-nagranie p { margin: 0 0 6px !important; font-size: 16px !important; color: var(--tekst-2) !important; }
.tq-nagranie p:first-child { font: 600 12px/1.6 var(--sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--terakota-tekst) !important; }
.tq-nagranie p:first-child strong { font-weight: 600; }
.tq-nagranie p:nth-child(2) { font: 400 24px/1.25 var(--serif) !important; color: var(--tekst) !important; margin-bottom: 12px !important; }
.tq-nagranie ul { margin: 6px 0 0 !important; padding-left: 1.2em !important; }
.tq-nagranie li { font-size: 15.5px !important; line-height: 1.6 !important; color: var(--tekst-2); margin: 0 0 6px !important; }
@media (max-width: 640px) { .tq-nagranie { padding: 84px 20px 20px; } .tq-nagranie::before { left: 20px; top: 20px; width: 48px; height: 48px; } }
/* Ćwiczenie: Co dziś zrobisz, numerowane kroki */
.tq-cwiczenie { margin: 38px 0; padding: 30px 30px 26px; background: var(--tlo-2); border-radius: 2px; }
.tq-cwiczenie h3 { margin: 0 0 6px !important; }
.tq-czas { display: inline-block; margin: 0 0 18px !important; font: 600 12px/1.6 var(--sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--terakota-tekst) !important; }
.tq-cwiczenie ol { list-style: none; margin: 0 !important; padding: 0 !important; counter-reset: c; display: grid; gap: 14px; }
.tq-cwiczenie ol li { counter-increment: c; display: grid; grid-template-columns: 36px 1fr; gap: 12px; margin: 0 !important; font-size: 17px !important; line-height: 1.6 !important; }
.tq-cwiczenie ol li::before { content: counter(c); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tlo); box-shadow: inset 0 0 0 1px rgba(31,91,138,.32); font: 400 18px/1 var(--serif); color: var(--sliwka); }
/* Pytania do workbooka */
.tq-pytania { margin: 38px 0; padding: 28px 0 0; border-top: 1px solid var(--linia); }
.tq-pytania > p { color: var(--tekst-2); font-size: 16px !important; }
.tq-pytania ol { margin: 14px 0 22px !important; padding-left: 1.4em !important; }
.tq-pytania ol li { font: 400 21px/1.4 var(--serif) !important; margin: 0 0 10px !important; color: var(--tekst); }
.tq-pytania ol li::marker { font-family: var(--sans); font-size: 15px; color: var(--terakota-tekst); }
/* Link do workbooka jak przycisk */
a.tq-workbook { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--sliwka); color: var(--jasny) !important; font: 500 16px/1.2 var(--sans) !important; text-decoration: none !important; transition: background-color .3s; }
a.tq-workbook::before { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; }
a.tq-workbook:hover { background: var(--sliwka-2); color: var(--jasny) !important; }
a.tq-workbook:active { scale: .97; }
/* Tekst prowadzący medytacji: rozwijany blok */
details.tq-tekst-medytacji { margin: 34px 0; border-top: 1px solid var(--linia); border-bottom: 1px solid var(--linia); }
details.tq-tekst-medytacji > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font: 400 23px/1.3 var(--serif) !important; color: var(--tekst); }
details.tq-tekst-medytacji > summary::-webkit-details-marker { display: none; }
details.tq-tekst-medytacji > summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(26,38,51,.2); font: 400 24px/1 var(--serif); color: var(--sliwka); transition: background-color .3s; }
details.tq-tekst-medytacji[open] > summary::after { content: '−'; background: var(--tlo-2); }
details.tq-tekst-medytacji > :not(summary) { color: var(--tekst-2); }
details.tq-tekst-medytacji[open] { padding-bottom: 18px; }
/* Obszar nauki: nagłówek, nawigacja Poprzednia / Następna */
body.tq-wyglad .tutor-learning-area-content { background: var(--tlo) !important; }
body.tq-wyglad .tutor-learning-header-title, body.tq-wyglad .tutor-course-topic-title { font-family: var(--serif) !important; font-weight: 400 !important; }
body.tq-wyglad .tutor-learning-area-footer { border-top: 1px solid var(--linia) !important; background: var(--tlo) !important; }
body.tq-wyglad .tutor-learning-area-footer a.tutor-btn, body.tq-wyglad .tutor-learning-area-footer button.tutor-btn:not(.tutor-btn-primary) { min-height: 48px; padding: 0 20px !important; border: 1px solid rgba(26,38,51,.25) !important; border-radius: 999px !important; background: transparent !important; color: var(--tekst) !important; font: 500 15.5px/1.2 var(--sans) !important; }
body.tq-wyglad .tutor-learning-area-footer a.tutor-btn:hover { background: var(--tlo-2) !important; }
body.tq-wyglad .tutor-mark-as-complete-button, body.tq-wyglad .tutor-learning-area-footer .tutor-btn-primary { min-height: 52px; border-radius: 999px !important; background: var(--sliwka) !important; border-color: var(--sliwka) !important; color: var(--jasny) !important; }
@media (max-width: 640px) { body.tq-wyglad .tutor-lesson-wrapper { font-size: 17px !important; } .tq-cwiczenie { padding: 22px 18px 20px; margin: 30px -4px; } .tq-pytania ol li { font-size: 19px !important; } a.tq-workbook { width: 100%; justify-content: center; } }
@media (max-width: 960px) {
  .tq-kasa-poz, .tq-kasa-pozycje--wiele .tq-kasa-poz { grid-template-columns: 88px minmax(0, 1fr); align-items: start; gap: 14px; }
  .tq-kasa-poz img { aspect-ratio: 1; }
  .tq-kasa-poz-nazwa { font-size: 22px !important; }
  .tq-kasa-karta-gora > .tq-etyk { margin-bottom: 14px !important; }
}
.tq-p-kurs > img, .tq-p-sesja > img, .tq-kasa-poz img { display: block; }
@media (min-width: 861px) { .tq-p-sesja > img { aspect-ratio: 2 / 1; } }
@media (max-width: 760px) { .tq-panel-menu ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 28px; } }
.tq-woo .form-row:has(> input[type=hidden]), .tq-woo #billing_country_field { display: none; }
html body.tq-wyglad.tq-wyglad h5.tutor-learning-header-title { font-family: 'EB Garamond', Georgia, serif !important; font-weight: 400 !important; font-size: clamp(20px, 2vw, 26px) !important; letter-spacing: -.01em; color: var(--tekst) !important; }
html body.tq-wyglad.tq-wyglad :is(.tutor-learning-header-title, .tutor-learning-nav-header-title, [class*="learning-header"] [class*="title"]) { font-family: 'EB Garamond', Georgia, serif !important; font-weight: 400 !important; font-size: clamp(20px, 2vw, 26px) !important; letter-spacing: -.01em; }
@media (max-width: 767px) {
  body.tq-wyglad .tutor-learning-area-footer > a.tutor-btn { flex: 1 1 0 !important; justify-content: center; min-width: 0; padding: 0 10px !important; font-size: 14.5px !important; margin-left: 0 !important; }
  .tq-naglowek__konto .tq-naglowek__pelne { display: none; }
  .tq-naglowek__koszyk[data-ile="0"] { display: none; }
}
body.tq-wyglad .tq-po-platnosc h3 { font: 600 12px/1.3 var(--sans) !important; letter-spacing: .22em !important; text-transform: uppercase !important; color: var(--terakota-tekst) !important; margin: 18px 0 8px !important; }
body.tq-wyglad .tq-dalej a.tq-dalej-link[href*="/ankieta/"] { display: inline !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--sliwka) !important; font: 500 16px/1.6 var(--sans) !important; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: rgba(31,91,138,.4) !important; overflow: visible; width: auto !important; }
body.tq-wyglad .tq-dalej a.tq-dalej-link[href*="/ankieta/"]::before { display: none !important; }
body.tq-kasa .woocommerce-terms-and-conditions-wrapper label > .required, body.tq-kasa .woocommerce-terms-and-conditions-wrapper label abbr.required { display: none !important; }


/* ——— Stopka 1:1 z frontu (15.11.2026) + stopka zawsze na dole okna ——— */
body.tq-wyglad { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body.tq-wyglad > * { flex-shrink: 0; }
body.tq-wyglad > footer.stopka { margin-top: auto; }
body.tq-wyglad > footer.stopka::before { content: ''; display: block; }
.tq-wrap { width: min(1280px, 100% - 64px); margin-inline: auto; }
@media (max-width: 760px) { .tq-wrap { width: calc(100% - 40px); } }
footer.stopka { margin-top: auto; }
footer.stopka ul { list-style: none; margin: 0; padding: 0; }
footer.stopka a { color: rgba(238,245,250,.86) !important; text-decoration: none !important; }
footer.stopka a:hover { color: #fff !important; }
footer.stopka h2 { line-height: 1.2; }
footer.stopka p { margin: 0; }
footer.stopka .stopka-cytat { margin-top: 30px; } footer.stopka .stopka-podpis { margin-top: 26px; }
footer.stopka .stopka-forma, footer.stopka .stopka-rozmowa { margin-top: 18px; }
footer.stopka .stopka-rozmowa { color: var(--jasny) !important; }
footer.stopka button.odnosnik { background: none !important; border: 0 !important; padding: 0 !important; color: rgba(238,245,250,.86) !important; font: inherit !important; box-shadow: none !important; cursor: pointer; min-height: 40px; }
footer.stopka .do-gory { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(238,245,250,.3); border-radius: 50%; font-size: 18px; }
footer.stopka .stopka-napis span { translate: 0 -.07em; }
.tq-panel-pusto { margin-bottom: 28px; }
.stopka { --ciemna: #0F2F49; position: relative; overflow: hidden; background: var(--ciemna); color: rgba(238,245,250,.74); font-size: 15.5px; padding-top: 110px; }
.stopka a { transition: color .3s; } .stopka a:hover { color: #fff; }
.stopka-gora { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 72px; }
.stopka-portret { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.stopka-cytat { margin-top: 30px; max-width: 13ch; font: 400 clamp(34px, 3.2vw, 46px)/1.08 var(--serif); letter-spacing: -.02em; color: var(--jasny); }
.stopka-cytat em { color: var(--jroz); white-space: nowrap; }
.stopka-podpis { margin-top: 26px; }
.stopka-podpis b { display: block; font: 400 22px/1.2 var(--serif); color: var(--jasny); }
.stopka-podpis span { font-size: 14px; }
.stopka-kolumny { display: grid; grid-template-columns: 1.15fr 1fr 1.1fr; gap: 40px; }
.stopka h2 { font: 600 11.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--jroz); margin-bottom: 18px; }
.stopka li a { display: inline-flex; align-items: center; min-height: 36px; }
.stopka-forma { margin-top: 18px; max-width: 28ch; font-size: 14.5px; line-height: 1.6; }
.stopka-rozmowa { display: inline-block; margin-top: 18px; font-weight: 500; color: var(--jasny); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
/* wielki napis: kolor tuż jaśniejszy od tła, dolna część liter ucięta krawędzią */
.stopka-napis { margin-top: 110px; height: 15.6vw; overflow: hidden; pointer-events: none; user-select: none; }
.stopka-napis span { display: block; font: 400 21.2vw/1 var(--serif); letter-spacing: -.045em; text-align: center; white-space: nowrap; color: #17466C; translate: 0 -.07em; }
.ruch .stopka-napis.pojaw { opacity: 1; translate: none; }
.ruch .stopka-napis.pojaw span { translate: 0 45%; transition: translate 1.8s var(--plynnie); }
.ruch .stopka-napis.pojaw.jest span { translate: 0 -.07em; }
.stopka-dol { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 48px; padding: 26px 0 30px; border-top: 1px solid rgba(238,245,250,.14); font-size: 13.5px; }
.stopka-prawa { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.stopka-dok { display: inline-flex; flex-wrap: wrap; gap: 0 20px; }
.stopka-dol a, .stopka-dol button.odnosnik { display: inline-flex; align-items: center; min-height: 40px; background: none; }
.stopka-dol button.odnosnik { border: 0; font-weight: 400; } .stopka-dol button.odnosnik:hover { color: #fff !important; }
.stopka-zastrzezenie { max-width: 62ch; justify-self: center; text-align: center; color: rgba(238,245,250,.56); line-height: 1.55; }
.do-gory { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(238,245,250,.3); background: transparent; color: var(--jasny); transition: background-color .3s, border-color .3s; }
.do-gory:hover { background: var(--jasny); border-color: var(--jasny); color: var(--sliwka); }
.do-gory:active { scale: .97; }
.do-gory i { width: 12px; height: 12px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; rotate: 45deg; margin-top: 6px; }
@media (max-width: 1080px) { .stopka-gora { grid-template-columns: 1fr; gap: 60px; } .stopka-cytat { max-width: 18ch; } }
@media (max-width: 900px) { .stopka-dol { grid-template-columns: 1fr auto; } .stopka-zastrzezenie { grid-column: 1 / -1; grid-row: 2; justify-self: start; text-align: left; } }
@media (max-width: 640px) {
  .stopka { padding-top: 80px; }
  .stopka-kolumny { grid-template-columns: 1fr; gap: 36px; }
  .stopka-napis { margin-top: 70px; }
  .stopka-dol { grid-template-columns: 1fr auto; align-items: start; padding-bottom: 36px; }
  .stopka-prawa { flex-direction: column; align-items: flex-start; gap: 0; }
}
.stopka-logo { display: inline-flex; align-items: center; gap: 10px; }
.stopka-logo img { width: 26px; height: 26px; }
body.tq-wyglad footer.stopka h2 { font: 600 11.5px/1.2 var(--sans) !important; letter-spacing: .22em !important; text-transform: uppercase !important; color: var(--jroz) !important; margin: 0 0 18px !important; }
body.tq-wyglad footer.stopka .stopka-cytat { font: 400 clamp(34px, 3.2vw, 46px)/1.08 var(--serif) !important; color: var(--jasny) !important; }
body.tq-wyglad footer.stopka .stopka-cytat em { color: var(--jroz) !important; font-style: normal !important; }
body.tq-wyglad footer.stopka .stopka-podpis b { font: 400 22px/1.2 var(--serif) !important; color: var(--jasny) !important; }
