/*!
 * Medicorp Clinic — arkusz stylów v2 (18.09.2026)
 * System dwóch światów: cannabis (granat/teal) + infusion (brąz/pomarańcz), wspólna typografia.
 */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 32px; --r-full: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  --grey-50: #f7f9fa; --grey-100: #eef2f4; --grey-200: #dfe6e9; --grey-400: #93a5ae; --grey-500: #6d818c; --grey-600: #51646e;
  --ink: #16202b; --ink-soft: #55656f;
  --accent: #0e7f8c; --accent-strong: #0a616b; --accent-tint: #e6f5f6; --accent-line: #c3e4e7;
  --surface: #ffffff; --surface-2: #f7fafb; --line: #e2eaec;
  --grad: linear-gradient(135deg, #0e7f8c 0%, #14b8a6 100%);
  --grad-soft: linear-gradient(160deg, #f0fafa 0%, #ffffff 70%);
  --shadow: 0 14px 44px rgba(18, 38, 50, 0.08);
  --shadow-lg: 0 28px 80px rgba(18, 38, 50, 0.16);
  --gold: #c9a24a;
}
[data-world="cannabis"] {
  --ink: #0f2233; --ink-soft: #4d6575; --accent: #0e7f8c; --accent-strong: #0a5f69; --accent-tint: #e4f4f5; --accent-line: #bfe2e5;
  --surface-2: #f6fafb; --line: #e0eaec;
  --grad: linear-gradient(135deg, #0b4f5c 0%, #0e7f8c 55%, #22b0a8 100%);
  --grad-soft: linear-gradient(165deg, #edf8f9 0%, #ffffff 68%);
  --shadow: 0 14px 44px rgba(12, 44, 58, 0.09); --shadow-lg: 0 28px 80px rgba(12, 44, 58, 0.18);
}
[data-world="infusion"] {
  --ink: #3a1d0c; --ink-soft: #7a5641; --accent: #d9560b; --accent-strong: #a83c05; --accent-tint: #fdf0e4; --accent-line: #f6d5b4;
  --surface-2: #fffaf5; --line: #f0e2d4;
  --grad: linear-gradient(135deg, #b3410a 0%, #ef7c22 52%, #fbbf4c 100%);
  --grad-soft: linear-gradient(165deg, #fef4ea 0%, #ffffff 68%);
  --shadow: 0 14px 44px rgba(90, 44, 14, 0.09); --shadow-lg: 0 28px 80px rgba(90, 44, 14, 0.18);
}

/* ============ BAZA ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin: 0; overflow-wrap: anywhere; }
ul, ol { margin: 0; padding: 0; } li { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
svg { flex-shrink: 0; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 700px) { .container { padding: 0 28px; } }
.skip-link { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 12px 20px; z-index: 999; font-weight: 800; }
.skip-link:focus { left: 0; top: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ NAGŁÓWEK ============ */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; min-width: 0; }
/* Logo (v2.4): znak wektorowy + logotyp w stylu identyfikacji (MEDICORP – serif rozstrzelony, CLINIC – błękit #33a3cb) */
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand:hover .brand-mark { transform: scale(1.06); }
.brand-txt { line-height: 1; }
.brand-txt b { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.2em; text-transform: uppercase; color: #1f1e1c; font-variation-settings: "opsz" 144; }
.brand-txt span { display: block; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: #33a3cb; margin-top: 5px; padding-left: 0.1em; }
.brand-lg { gap: 14px; }
.brand-lg .brand-mark { width: 58px; height: 58px; }
.brand-lg .brand-txt b { font-size: 1.32rem; }
.brand-lg .brand-txt span { font-size: 0.66rem; margin-top: 7px; }
.logo-inline { display: inline-block; vertical-align: -6px; margin-right: 4px; }
.modal-brand { display: flex; align-items: center; gap: 14px; }
.modal-brand > svg { flex-shrink: 0; }
.ih-core-logo { background: var(--surface) !important; box-shadow: 0 16px 34px -14px rgba(15, 34, 51, .4) !important; }
.hero-mark { position: absolute; right: -60px; top: -90px; width: 480px; height: 480px; opacity: 0.07; pointer-events: none; z-index: 0; transform: rotate(-8deg); }
@media (max-width: 949px) { .hero-mark { width: 300px; height: 300px; right: -90px; top: -60px; } }
.sponsor-pair { display: inline-flex; align-items: center; gap: 10px; }
.sponsor-pair .x { font-family: var(--serif); font-size: 1.3rem; color: var(--grey-400); }
.sponsor-pair .mc { width: 64px; height: 64px; }
.letterhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border: 1px solid var(--line); border-left: 4px solid #1a5a9a; border-radius: var(--r-md); background: #fff; margin-top: 22px; }
.letterhead .lh-brand { display: flex; align-items: center; gap: 12px; flex: 1 1 380px; min-width: 0; }
.letterhead .lh-code { margin-left: auto; }
.letterhead .lh-brand b { display: block; font-family: var(--serif); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.92rem; color: #1f1e1c; }
.letterhead .lh-brand small { display: block; font-size: 0.7rem; color: var(--grey-500); margin-top: 3px; }
.letterhead .lh-code { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #33a3cb; text-align: right; }
.letterhead .lh-code b { display: block; font-size: 0.86rem; color: var(--ink); letter-spacing: 0.06em; margin-top: 2px; }
.brand-404 { display: flex; justify-content: center; margin-bottom: 24px; }
.world-switch { display: none; align-items: center; gap: 4px; background: var(--grey-100); padding: 4px; border-radius: var(--r-full); }
.world-switch a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: var(--r-full); font-size: 0.8rem; font-weight: 800; color: var(--grey-600); transition: all 0.2s var(--ease); white-space: nowrap; }
.world-switch a:hover { color: var(--ink); }
.world-switch a.on-cannabis { background: #fff; color: #0e7f8c; box-shadow: 0 2px 8px rgba(12,44,58,0.12); }
.world-switch a.on-infusion { background: #fff; color: #d9560b; box-shadow: 0 2px 8px rgba(90,44,14,0.12); }
@media (min-width: 1000px) { .world-switch { display: flex; } }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.hdr-cta.btn { display: none; }
.hdr-phone { display: none; align-items: center; gap: 7px; font-weight: 800; font-size: 0.86rem; color: var(--ink-soft); padding: 8px 12px; border-radius: var(--r-full); }
.hdr-phone:hover { background: var(--accent-tint); color: var(--accent-strong); }
.hdr-link { display: none; align-items: center; gap: 7px; font-weight: 800; font-size: 0.86rem; color: var(--ink-soft); padding: 8px 12px; border-radius: var(--r-full); white-space: nowrap; }
.hdr-phone { white-space: nowrap; }
.hdr-link:hover { background: var(--accent-tint); color: var(--accent-strong); }
@media (min-width: 1260px) { .hdr-link { display: inline-flex; } }
@media (min-width: 1000px) { .hdr-cta.btn { display: inline-flex; } .hdr-phone { display: inline-flex; } .burger { display: none !important; } }
.burger { width: 44px; height: 44px; border-radius: var(--r-full); border: 1.5px solid var(--line); display: grid; place-items: center; background: #fff; }

.subnav { background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 68px; z-index: 50; }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav-in a { padding: 8px 14px; border-radius: var(--r-full); font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; transition: all 0.18s; }
.subnav-in a:hover { background: var(--accent-tint); color: var(--accent-strong); }
.subnav-in a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ============ PRZYCISKI ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-full); font-weight: 800; font-size: 0.9rem; padding: 13px 24px; border: 2px solid transparent; white-space: nowrap; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(14,127,140,0.22); }
[data-world="infusion"] .btn-primary { box-shadow: 0 8px 22px rgba(217,86,11,0.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.22); }
.btn-sm { padding: 9px 17px; font-size: 0.8rem; }
.btn-lg { padding: 16px 30px; font-size: 0.98rem; }
.btn-block { width: 100%; }
@media (max-width: 420px) { .hero-btns .btn, .inner-hero .btn { width: 100%; } }

/* ============ MENU MOBILNE ============ */
.mnav { position: fixed; inset: 0; z-index: 90; display: none; }
.mnav.open { display: block; }
.mnav-bg { position: absolute; inset: 0; background: rgba(10,25,35,0.5); backdrop-filter: blur(3px); }
.mnav-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(90vw, 370px); background: #fff; padding: 20px; overflow-y: auto; box-shadow: -20px 0 60px rgba(10,25,35,0.28); animation: slideIn 0.28s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } }
.mnav-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mnav-close { width: 40px; height: 40px; border-radius: var(--r-full); border: 1.5px solid var(--line); display: grid; place-items: center; }
.mnav-group { margin-top: 20px; }
.mnav-group > p { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding-left: 4px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.mnav-group.c > p { color: #0e7f8c; } .mnav-group.i > p { color: #d9560b; }
.mnav-group a { display: block; padding: 11px 14px; border-radius: var(--r-sm); font-size: 0.94rem; font-weight: 700; color: var(--ink); }
.mnav-group.c a:hover { background: #e4f4f5; } .mnav-group.i a:hover { background: #fdf0e4; }
.mnav-group.n a { color: var(--grey-600); font-weight: 600; font-size: 0.86rem; padding: 9px 14px; }
.mnav-phone { margin-top: 22px; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.mnav-phone b { display: block; font-size: 1rem; } .mnav-phone span { font-size: 0.74rem; color: var(--grey-500); }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(14,127,140,0.10) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%); pointer-events: none; }
[data-world="infusion"] .hero::before { background-image: radial-gradient(rgba(217,86,11,0.10) 1px, transparent 1px); }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; top: -300px; right: -200px; opacity: 0.13; background: var(--grad); pointer-events: none; }
.hero-in { position: relative; z-index: 1; padding: 44px 0 56px; }
.hero-grid { display: grid; gap: 34px; }
@media (min-width: 950px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; } .hero-in { padding: 78px 0 86px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-strong); background: var(--accent-tint); padding: 7px 14px; border-radius: var(--r-full); max-width: 100%; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.15rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; margin-top: 20px; }
.hero h1 em, .inner-hero h1 em, .sec-title em { font-style: normal; color: var(--accent); }
.hero-lede { margin-top: 20px; font-size: 1.04rem; line-height: 1.7; color: var(--ink-soft); max-width: 540px; }
.hero-btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 11px; }
.eyebrow-date { background: #fdf3d9; color: #8a5a10; }
.hero-facts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 9px 20px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.79rem; font-weight: 700; color: var(--ink-soft); }
.hero-facts svg { color: var(--accent); }
/* Ramka zdjęcia – POPRAWKA: wymuszone height:auto i stały aspect-ratio na kontenerze,
   dzięki czemu atrybuty width/height obrazka nie rozciągają układu. */
.frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--grey-100); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-badge { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-radius: var(--r-md); padding: 10px 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.18); max-width: calc(100% - 36px); }
.frame-badge i { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.frame-badge b { display: block; font-size: 0.8rem; line-height: 1.2; } .frame-badge span { font-size: 0.68rem; color: var(--grey-500); font-weight: 700; }
.hero-deco { position: absolute; right: -8%; bottom: -12%; width: 55%; opacity: 0.16; pointer-events: none; color: var(--accent); }

/* ============ SEKCJE ============ */
.sec { padding: 58px 0; }
@media (min-width: 900px) { .sec { padding: 84px 0; } }
.sec-2 { background: var(--surface-2); }
.sec-tight { padding: 36px 0; }
.sec-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.17em; color: var(--accent-strong); }
.sec-label::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.sec-head { margin-bottom: 36px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .sec-label::before { display: none; }
.sec-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 3.3vw, 2.6rem); line-height: 1.13; margin-top: 12px; letter-spacing: -0.02em; }
.sec-copy { margin-top: 14px; font-size: 1rem; line-height: 1.72; color: var(--ink-soft); }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head-row .sec-head { margin-bottom: 0; }

.grid { display: grid; gap: 18px; } .grid > * { min-width: 0; }
.g2, .g3, .g4 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .g2, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }

/* ============ KARTY ============ */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s; position: relative; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-line); }
.card-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; flex-shrink: 0; }
.card h3 { font-size: 1.08rem; margin-top: 18px; }
.card p { margin-top: 10px; font-size: 0.9rem; line-height: 1.68; color: var(--ink-soft); }
.card-go { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.83rem; font-weight: 800; color: var(--accent-strong); }
.card-go svg { transition: transform 0.2s var(--ease); }
a.card:hover .card-go svg { transform: translateX(3px); }
.card-num { position: absolute; top: 18px; right: 20px; font-family: var(--serif); font-size: 2rem; color: var(--grey-200); line-height: 1; }
.card ul { margin-top: 12px; display: grid; gap: 7px; }
.card li { display: flex; gap: 9px; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; }
.card li svg { color: var(--accent); margin-top: 3px; }

/* ============ DWIE BRAMY ============ */
.gates { display: grid; gap: 20px; }
@media (min-width: 880px) { .gates { grid-template-columns: 1fr 1fr; gap: 24px; } }
.gate { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 36px 30px 30px; color: #fff; min-height: 340px; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.gate:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gate::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.gate-c::before { background: linear-gradient(150deg, #0b4f5c 0%, #0e7f8c 58%, #22b0a8 100%); }
.gate-i::before { background: linear-gradient(150deg, #9c3606 0%, #e0670f 55%, #f9a83c 100%); }
.gate::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -120px; bottom: -150px; background: rgba(255,255,255,0.1); z-index: 0; transition: transform 0.45s var(--ease); }
.gate:hover::after { transform: scale(1.22); }
.gate > * { position: relative; z-index: 1; }
.gate-art { position: absolute !important; right: 18px; top: 18px; z-index: 0 !important; opacity: 0.18; width: 120px; height: 120px; }
.gate-tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.26); padding: 7px 14px; border-radius: var(--r-full); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.gate h2 { font-family: var(--serif); font-weight: 600; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.1; margin-top: 20px; }
.gate p { margin-top: 14px; font-size: 0.94rem; line-height: 1.68; color: rgba(255,255,255,0.9); max-width: 400px; }
.gate ul { margin-top: 18px; display: grid; gap: 8px; }
.gate li { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.94); }
.gate li svg { opacity: 0.85; }
.gate .gate-btn { margin-top: auto; padding-top: 24px; }

/* ============ KROKI ============ */
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.step-n { width: 34px; height: 34px; border-radius: var(--r-full); background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 0.82rem; font-weight: 800; }
.step h3 { font-size: 1.05rem; margin-top: 16px; }
.step p { margin-top: 9px; font-size: 0.89rem; line-height: 1.68; color: var(--ink-soft); }

/* ============ KOMUNIKATY ============ */
.note { border-radius: var(--r-md); padding: 18px 20px; display: flex; gap: 13px; align-items: flex-start; font-size: 0.89rem; line-height: 1.68; }
.note svg { margin-top: 2px; }
.note-accent { background: var(--accent-tint); color: var(--ink-soft); } .note-accent svg { color: var(--accent); }
.note-warn { background: #fff8e8; border: 1px solid #f2dfb0; color: #6e5320; } .note-warn svg { color: #b57f18; }
.note-info { background: var(--grey-50); border: 1px solid var(--grey-200); color: var(--grey-600); } .note-info svg { color: var(--grey-500); }
.note-danger { background: #fdecec; border: 1px solid #f4c2c2; color: #7a2323; } .note-danger svg { color: #c03434; }
.note strong { color: var(--ink); }
.note-draft { background: #fff4d6; border: 1px dashed #e2b850; color: #6e5320; }

/* ============ PASEK FAKTÓW ============ */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts .grid { gap: 0; }
.facts .f { padding: 22px 4px; }
@media (min-width: 620px) { .facts .f + .f { border-left: 1px solid var(--line); padding-left: 26px; } }
.facts .fk { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey-400); }
.facts .fv { margin-top: 7px; font-size: 1rem; font-weight: 800; color: var(--ink); }

/* ============ SPONSOR ============ */
.sponsor { display: grid; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; background: linear-gradient(120deg, #fff 0%, var(--surface-2) 100%); position: relative; overflow: hidden; opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.3s; }
.sponsor.in { opacity: 1; transform: none; }
.sponsor:hover { box-shadow: var(--shadow); }
@media (min-width: 700px) { .sponsor { grid-template-columns: auto 1fr auto; gap: 26px; padding: 24px 30px; } }
.sponsor-logo { width: 96px; height: 96px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.sponsor-logo img { width: 78px; height: 78px; object-fit: contain; }
.sponsor-logo.pair { width: auto; padding: 0 16px; }
.sponsor-logo .ph { width: 78px; height: 78px; border-radius: 50%; border: 2px dashed var(--grey-200); display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; color: var(--grey-400); }
.sponsor-k { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 7px; }
.sponsor h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin-top: 6px; }
.sponsor p { font-size: 0.86rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.6; }

/* ============ GALERIA ============ */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.gallery .ph { position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, var(--accent-tint), #fff); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-strong); }
.gallery .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery .ph small { position: absolute; left: 12px; bottom: 10px; font-size: 0.68rem; font-weight: 800; color: var(--grey-500); background: rgba(255,255,255,0.85); padding: 4px 9px; border-radius: var(--r-full); }
.gallery .ph.missing img { display: none; }

/* ============ SZUKAJKA + FILTRY ============ */
.toolbar { display: grid; gap: 14px; margin-bottom: 26px; }
.search-box { position: relative; }
.search-box > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--grey-400); pointer-events: none; }
.search-box input { width: 100%; padding: 14px 44px 14px 46px; border: 1.5px solid var(--line); border-radius: var(--r-full); background: #fff; color: var(--ink); font-size: 0.94rem; font-family: inherit; }
.search-box input::placeholder { color: var(--grey-400); }
.search-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: var(--r-full); display: none; place-items: center; color: var(--grey-500); background: var(--grey-100); }
.search-box.has-val .search-clear { display: grid; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 9px 15px; border-radius: var(--r-full); border: 1.5px solid var(--line); background: #fff; font-size: 0.78rem; font-weight: 800; color: var(--ink-soft); transition: all 0.18s; display: inline-flex; align-items: center; gap: 7px; }
.chip:hover { border-color: var(--accent); color: var(--accent-strong); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.result-count { font-size: 0.82rem; color: var(--grey-500); font-weight: 600; }
.empty-state { text-align: center; padding: 56px 20px; color: var(--grey-500); }
.empty-state svg { color: var(--grey-400); margin: 0 auto 14px; }

/* ============ LISTA WSKAZAŃ ============ */
.cond-list { display: grid; gap: 11px; }
.cond { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.cond:hover { border-color: var(--accent-line); }
.cond[open] { box-shadow: var(--shadow); border-color: var(--accent-line); }
.cond > summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.cond > summary::-webkit-details-marker { display: none; }
.cond-ico { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.cond-main { flex: 1; min-width: 0; }
.cond-main h3 { font-size: 1rem; line-height: 1.3; }
.cond-sub { margin-top: 4px; font-size: 0.8rem; color: var(--ink-soft); }
.cond-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cond-plus { width: 28px; height: 28px; border-radius: var(--r-full); border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--accent-strong); flex-shrink: 0; transition: transform 0.22s var(--ease), background 0.2s; }
.cond[open] .cond-plus { transform: rotate(45deg); background: var(--accent-tint); border-color: var(--accent-line); }
.cond-body { padding: 0 18px 22px; }
.cond-body > p { font-size: 0.91rem; line-height: 1.72; color: var(--ink-soft); }
.icd { display: inline-flex; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.7rem; font-weight: 700; background: var(--grey-100); color: var(--grey-600); padding: 3px 9px; border-radius: 6px; }
.cond-facts { margin-top: 14px; display: grid; gap: 10px; }
@media (min-width: 760px) { .cond-facts { grid-template-columns: 1fr 1fr; } }
.cond-fact { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 0.82rem; line-height: 1.6; color: var(--ink-soft); }
.cond-fact b { display: flex; align-items: center; gap: 6px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 5px; }

/* poziomy dowodów */
.ev { display: inline-flex; align-items: center; gap: 7px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; padding: 5px 10px; border-radius: var(--r-full); }
.ev-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ev-4 { color: #15693f; background: #e3f4ea; } .ev-3 { color: #1f5f75; background: #e4f3f7; }
.ev-2 { color: #8a5a10; background: #fdf3d9; } .ev-1 { color: #6b5b58; background: #f1ecea; }
@media (max-width: 720px) { .ev span { display: none; } .ev { padding: 6px; } }
.ev-legend { display: grid; gap: 12px; margin-top: 10px; }
@media (min-width: 760px) { .ev-legend { grid-template-columns: repeat(2, 1fr); } }
.ev-legend > div { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; min-width: 0; font-size: 0.84rem; line-height: 1.6; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.ev-legend > div > span { flex: 1 1 220px; min-width: 0; }
.ev-legend .ev { flex-shrink: 0; margin-top: 1px; }
.ev-legend .ev span { display: inline; }
.ev-legend .ev { padding: 5px 10px; white-space: normal; text-align: left; }

.studies { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; }
.studies-h { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-400); }
.study { background: var(--surface-2); border-radius: var(--r-sm); padding: 13px 15px; font-size: 0.83rem; line-height: 1.62; color: var(--ink-soft); }
.study b { color: var(--ink); font-weight: 800; }
.study-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 5px; font-size: 0.74rem; color: var(--grey-500); }
.study p { margin-top: 7px; }
.study a { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 0.78rem; font-weight: 800; color: var(--accent-strong); }
.study a:hover { text-decoration: underline; }

/* ============ KATALOG ODMIAN ============ */
.strains { display: grid; gap: 18px; }
@media (min-width: 640px) { .strains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strains { grid-template-columns: repeat(3, 1fr); } }
.strain { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease); }
.strain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.strain-vis { position: relative; aspect-ratio: 16/9; overflow: hidden; display: grid; place-items: center; }
.strain-vis img.strain-photo { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; }
.strain-vis .bud { position: relative; z-index: 1; opacity: 0.9; color: #fff; }
.strain-vis::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,0.18); right: -60px; top: -70px; }
.vis-sativa { background: linear-gradient(140deg, #a97a12 0%, #d9a916 55%, #f2d27a 100%); }
.vis-indica { background: linear-gradient(140deg, #4b3d86 0%, #7060b4 60%, #a993d8 100%); }
.vis-hybryda { background: linear-gradient(140deg, #1f7a4a 0%, #2f9e5f 55%, #8fcf94 100%); }
.strain-type { position: absolute; z-index: 4; left: 14px; top: 14px; background: rgba(255,255,255,0.94); color: #1a3a3a; padding: 5px 12px; border-radius: var(--r-full); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.type-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25); display: inline-block; flex-shrink: 0; }
.strain-corner { position: absolute; z-index: 4; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.95); box-shadow: 0 2px 8px rgba(0,0,0,0.28); }
.strain-form { position: absolute; z-index: 4; left: 14px; bottom: 12px; font-size: 0.66rem; font-weight: 800; color: rgba(255,255,255,0.9); letter-spacing: 0.06em; text-transform: uppercase; }
.strain-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.strain-body h3 { font-size: 1.12rem; }
.strain-prod { margin-top: 3px; font-size: 0.78rem; font-weight: 700; color: var(--grey-500); }
.strain-desc { margin-top: 12px; font-size: 0.85rem; line-height: 1.65; color: var(--ink-soft); flex: 1; }
/* PASKI – POPRAWKA: elementy blokowe, szerokość z data-* obliczona względem wspólnej skali */
.cann-bars { margin-top: 15px; display: grid; gap: 9px; }
.cann-row { display: grid; grid-template-columns: 34px 1fr 72px; align-items: center; gap: 10px; }
.cann-row b { font-size: 0.7rem; font-weight: 800; color: var(--grey-500); }
.cann-track { display: block; height: 8px; border-radius: 4px; background: var(--grey-100); overflow: hidden; position: relative; }
.cann-fill { display: block; height: 100%; border-radius: 4px; width: 0; min-width: 0; transition: width 0.6s var(--ease); }
.cann-fill[data-min] { min-width: 4px; }
.cann-thc .cann-fill { background: linear-gradient(90deg, #e0670f, #f9a83c); }
.cann-cbd .cann-fill { background: linear-gradient(90deg, #0e7f8c, #4aa89b); }
.cann-row.na .cann-track { background: repeating-linear-gradient(135deg, var(--grey-100) 0 6px, #fff 6px 10px); }
.cann-row i { font-style: normal; font-size: 0.76rem; font-weight: 800; color: var(--ink); text-align: right; white-space: nowrap; }
.cann-row.na i { color: var(--grey-400); font-weight: 700; font-size: 0.7rem; }
.cann-scale { margin-top: 6px; font-size: 0.66rem; color: var(--grey-400); text-align: right; }
.terps { margin-top: 15px; padding-top: 14px; border-top: 1px dashed var(--line); }
.terps-h { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--grey-400); }
.terp-list { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.terp { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-full); font-size: 0.73rem; font-weight: 700; }
.terp em { font-style: normal; width: 7px; height: 7px; border-radius: 50%; }
.strain-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.strain-rx { font-size: 0.68rem; font-weight: 800; color: var(--grey-500); text-transform: uppercase; letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 6px; }
.strain-link { font-size: 0.78rem; font-weight: 800; color: var(--accent-strong); display: inline-flex; align-items: center; gap: 5px; }
.strain-link:hover { text-decoration: underline; }
.type-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 22px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; font-size: 0.82rem; color: var(--ink-soft); }
.type-legend span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.type-legend small { flex-basis: 100%; font-size: 0.76rem; color: var(--grey-500); }

/* ============ WLEWY ============ */
.inf-list { display: grid; gap: 12px; }
.inf { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.inf[open] { box-shadow: var(--shadow); border-color: var(--accent-line); }
.inf > summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.inf > summary::-webkit-details-marker { display: none; }
.inf-code { width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; flex-shrink: 0; letter-spacing: 0.04em; }
.inf-name { flex: 1; min-width: 0; }
.inf-name h3 { font-size: 1rem; font-weight: 800; }
.inf-name p { font-size: 0.8rem; color: var(--ink-soft); margin-top: 3px; }
.inf-body { padding: 0 20px 22px; }
.inf-body p { font-size: 0.9rem; line-height: 1.72; color: var(--ink-soft); }
.inf-cols { margin-top: 14px; display: grid; gap: 10px; }
@media (min-width: 760px) { .inf-cols { grid-template-columns: 1fr 1fr; } }
.inf-col { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 0.82rem; line-height: 1.6; color: var(--ink-soft); }
.inf-col b { display: block; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 5px; }
.inf-price-note { margin-top: 12px; font-size: 0.78rem; color: var(--grey-500); display: flex; gap: 8px; align-items: flex-start; }
.lab-list { display: grid; gap: 12px; }
@media (min-width: 700px) { .lab-list { grid-template-columns: 1fr 1fr; } }
.lab { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; display: flex; gap: 14px; }
.lab-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; flex-shrink: 0; }
.lab h3 { font-size: 0.98rem; } .lab p { margin-top: 6px; font-size: 0.85rem; line-height: 1.62; color: var(--ink-soft); }
.lab small { display: inline-block; margin-top: 8px; font-size: 0.7rem; font-weight: 800; color: var(--accent-strong); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============ TABELE ============ */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.86rem; }
thead th { text-align: left; padding: 13px 15px; background: var(--surface-2); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-400); border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody td { padding: 12px 15px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }
.pill { display: inline-flex; padding: 3px 10px; border-radius: var(--r-full); font-size: 0.75rem; font-weight: 800; white-space: nowrap; }
.pill-thc { background: #fdeee2; color: #9c4a13; } .pill-cbd { background: #e4f4f5; color: #0a5f69; } .pill-none { background: var(--grey-100); color: var(--grey-500); }
.tlink { font-weight: 800; color: var(--accent-strong); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.tlink:hover { text-decoration: underline; }
.price-table td:nth-child(2) { white-space: nowrap; font-weight: 800; }
.price-table .tbd { color: var(--grey-400); font-weight: 700; font-size: 0.78rem; }

/* ============ PASMO ============ */
.band { background: var(--grad); color: #fff; padding: 54px 0; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(255,255,255,0.08); right: -140px; top: -200px; }
.band-in { position: relative; z-index: 1; display: grid; gap: 24px; align-items: center; }
@media (min-width: 880px) { .band-in { grid-template-columns: 1fr auto; } }
.band h2 { font-family: var(--serif); font-weight: 600; color: #fff; font-size: clamp(1.7rem, 3.3vw, 2.5rem); line-height: 1.1; }
.band p { margin-top: 12px; color: rgba(255,255,255,0.88); font-size: 0.94rem; line-height: 1.68; max-width: 560px; }

/* ============ MODAL REZERWACJI ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(10,25,35,0.62); backdrop-filter: blur(4px); animation: fadeIn 0.2s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(94vw, 960px); height: min(92vh, 860px); background: #fff; border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 100px rgba(0,0,0,0.4); animation: popIn 0.28s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -46%) scale(0.97); } }
.modal-head { padding: 16px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface-2); flex-shrink: 0; }
.modal-head h2 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.modal-head p { margin-top: 3px; font-size: 0.8rem; color: var(--ink-soft); }
.modal-close { width: 38px; height: 38px; border-radius: var(--r-full); background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.modal-close:hover { background: var(--grey-100); }
.modal-body { flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: #fff; }
.modal-frame { display: block; width: 100%; height: 100%; min-height: 100%; border: 0; background: #fff; }
.modal-frame.tall { height: 1700px; }
.modal-foot { padding: 10px 22px; border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--grey-500); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: center; flex-shrink: 0; }
.modal-foot a { font-weight: 800; color: var(--accent-strong); }
@media (max-width: 640px) {
  .modal-box { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; top: 0; left: 0; transform: none; }
  @keyframes popIn { from { opacity: 0; transform: translateY(16px); } }
}
/* v2.5: widget Medfile w trybie katalogu – iframe dopasowuje wysokość przez postMessage; kontener nie może go przycinać */
.widget-page { min-height: 560px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; background: #fff; overflow: visible; }
#medfile-register-widget { min-height: 500px; width: 100%; }
#medfile-register-widget iframe { width: 100% !important; max-width: 100%; border: 0; display: block; }
.medfile-embed::before { content: "Wczytuję terminarz rezerwacji…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--grey-500); font-size: .9rem; z-index: 0; }
.medfile-embed.loaded::before { display: none; }
.medfile-embed { position: relative; width: 100%; overflow: visible; border-radius: var(--r-md); background: #fff; }
.medfile-frame { position: relative; z-index: 1; display: block; width: 100%; min-width: 0; border: 0; height: min(1100px, calc(100vh - 140px)); min-height: 600px; background: #fff; }
.medfile-embed .medfile-frame.tall { height: 1700px; }
@media (max-width: 640px) { .medfile-frame { height: calc(100vh - 120px); min-height: 560px; } .medfile-embed .medfile-frame.tall { height: 1900px; } }
.widget-page { padding: 6px; }
.widget-note { margin-top: 12px; font-size: .8rem; color: var(--grey-500); }
.widget-note a { font-weight: 800; color: var(--accent-strong); }
/* oferta na stronie głównej */
.offer-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .offer-grid { grid-template-columns: repeat(4, 1fr); } }
.offer { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; min-width: 0; }
.offer .card-ico { margin-bottom: 4px; }
.offer h3 { font-size: 1.05rem; overflow-wrap: normal; hyphens: manual; line-height: 1.25; }
.offer-k { font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.offer-soon { background: var(--surface-2); border-style: dashed; }
.offer-soon .offer-price { color: var(--accent-strong); font-size: .95rem; }
.offer p { font-size: .86rem; line-height: 1.62; color: var(--ink-soft); flex: 1; }
.offer-price { display: flex; align-items: baseline; gap: 6px; font-weight: 800; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }
.offer-price small { font-size: .7rem; font-weight: 700; color: var(--grey-500); text-transform: uppercase; letter-spacing: .06em; }
.offer .btn { align-self: flex-start; }
.offer-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 22px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.offer-steps span { display: inline-flex; align-items: center; gap: 7px; }
.offer-steps i { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-style: normal; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
/* dane kontaktowe */
.contact-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid #1a5a9a; border-radius: var(--r-lg); padding: 24px; }
.contact-card-h { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact-card-h b { display: block; font-family: var(--serif); font-weight: 700; letter-spacing: .08em; font-size: 1.05rem; }
.contact-card-h span { display: block; font-size: .76rem; color: var(--grey-500); margin-top: 3px; }
.contact-dl { margin: 16px 0 0; display: grid; gap: 10px 24px; }
@media (min-width: 640px) { .contact-dl { grid-template-columns: 1fr 1fr; } }
.contact-dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; font-size: .9rem; align-items: baseline; }
.contact-dl dt { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-400); }
.contact-dl dd { margin: 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.contact-dl dd a { color: var(--accent-strong); }
#medfile-register-widget:empty::before { content: "Wczytuję terminarz Medfile…"; display: grid; place-items: center; min-height: 300px; color: var(--grey-500); font-size: 0.9rem; }

/* ============ STOPKA ============ */
.ftr { background: #0c1b26; color: #fff; }
.ftr-grid { display: grid; gap: 30px; padding: 52px 0 40px; }
@media (min-width: 700px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .ftr-grid { grid-template-columns: 1.35fr 0.8fr 0.8fr 0.9fr; } }
.ftr .brand-txt b { color: #fff; } .ftr .brand-txt span { color: #aad1e2; }
.ftr-about { margin-top: 18px; font-size: 0.86rem; line-height: 1.7; color: #9fb4c0; max-width: 360px; }
.ftr-contact { margin-top: 16px; display: grid; gap: 8px; }
.ftr-contact a, .ftr-contact span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.88rem; color: #cfdde5; }
.ftr-contact a:hover { color: #5fd3cd; }
.ftr-contact svg { color: #5fd3cd; }
.ftr-h { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #7e95a3; }
.ftr-h.c { color: #5fd3cd; } .ftr-h.i { color: #f9a83c; }
.ftr-links { margin-top: 15px; display: grid; gap: 9px; }
.ftr-links a { font-size: 0.86rem; color: #b6c8d2; }
.ftr-links a:hover { color: #fff; }
.ftr-docs { border-top: 1px solid rgba(255,255,255,0.09); padding: 30px 0; }
.ftr-docs-h { display: flex; align-items: center; gap: 10px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #7e95a3; }
.ftr-docs-h svg { color: #5fd3cd; }
.doc-chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: var(--r-full); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; font-weight: 700; color: #cfdde5; transition: background 0.2s, border-color 0.2s; }
.doc-chip:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); color: #fff; }
.doc-chip svg { color: #5fd3cd; }
.doc-chip .pdf { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; color: #f9a83c; }
.ftr-bot { border-top: 1px solid rgba(255,255,255,0.09); }
.ftr-bot .container { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; font-size: 0.73rem; color: #8299a7; line-height: 1.6; }
.ftr-bot button { color: #b6c8d2; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ftr-bot button:hover { color: #fff; }

/* ============ COOKIES ============ */
.cookie { position: fixed; left: 14px; right: 14px; bottom: 84px; z-index: 70; max-width: 720px; margin: 0 auto; background: rgba(255,255,255,0.98); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 70px rgba(16,42,67,0.2); padding: 17px; display: none; }
.cookie.show { display: grid; gap: 12px; }
@media (min-width: 720px) { .cookie { bottom: 20px; left: 20px; right: auto; max-width: 560px; } }
.cookie p { font-size: 0.84rem; line-height: 1.6; color: var(--ink-soft); }
.cookie a { font-weight: 800; color: var(--accent-strong); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-panel { display: none; border-top: 1px solid var(--line); padding-top: 12px; gap: 10px; }
.cookie.settings .cookie-panel { display: grid; }
.cookie-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--ink-soft); }
.cookie-cat b { display: block; color: var(--ink); font-size: 0.84rem; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--grey-200); border-radius: 999px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.cookie .cookie-save { display: none; }
.cookie.settings .cookie-save { display: inline-flex; }
.cookie-cat .tag { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-500); background: var(--grey-100); padding: 4px 9px; border-radius: var(--r-full); white-space: nowrap; }

/* ============ PŁYWAJĄCE PRZYCISKI ============ */
.fab-book { position: fixed; left: 14px; bottom: 16px; z-index: 65; display: inline-flex; align-items: center; gap: 8px; background: var(--grad); color: #fff; border-radius: var(--r-full); padding: 13px 18px; font-weight: 800; font-size: 0.88rem; box-shadow: 0 16px 38px rgba(10,25,35,0.34); }
@media (min-width: 1000px) { .fab-book { display: none; } }
.phone-fab { position: fixed; right: 14px; bottom: 16px; z-index: 66; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (min-width: 700px) { .phone-fab { right: 22px; bottom: 22px; } }
.phone-btn { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 18px 0 14px; border-radius: var(--r-full); background: var(--ink); color: #fff; font-weight: 800; font-size: 0.86rem; box-shadow: 0 16px 38px rgba(10,25,35,0.35); transition: transform 0.2s var(--ease), background 0.2s; }
.phone-btn:hover { transform: translateY(-2px); background: var(--accent-strong); }
.phone-btn .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.phone-btn .lbl { display: none; }
@media (min-width: 700px) { .phone-btn .lbl { display: inline; } }
.phone-panel { display: none; width: min(320px, calc(100vw - 28px)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 70px rgba(16,42,67,0.25); padding: 18px; animation: popUp 0.22s var(--ease); }
.phone-fab.open .phone-panel { display: block; }
.phone-fab.open { z-index: 80; }
@keyframes popUp { from { opacity: 0; transform: translateY(8px); } }
.phone-panel-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.phone-panel-h b { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-500); }
.phone-panel-h button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; }
.phone-num { display: block; margin-top: 10px; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.phone-panel p { margin-top: 6px; font-size: 0.78rem; color: var(--ink-soft); line-height: 1.55; }
.phone-panel .btn { margin-top: 12px; width: 100%; }
.phone-panel .alt { margin-top: 10px; text-align: center; font-size: 0.76rem; }
.phone-panel .alt a { font-weight: 800; color: var(--accent-strong); }

/* ============ STRONY TREŚCI / DOKUMENTY ============ */
.inner-hero { background: var(--grad-soft); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.inner-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -240px; right: -160px; opacity: 0.12; background: var(--grad); pointer-events: none; }
.inner-hero-in { padding: 40px 0 38px; position: relative; z-index: 1; }
.back { display: inline-flex; align-items: center; gap: 7px; font-size: 0.83rem; font-weight: 800; color: var(--grey-500); margin-bottom: 18px; }
.back:hover { color: var(--accent-strong); }
.inner-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.07; margin-top: 14px; letter-spacing: -0.02em; }
.inner-hero .lede { margin-top: 15px; font-size: 1rem; line-height: 1.72; color: var(--ink-soft); max-width: 660px; }
.legal h2 { font-size: 1.22rem; margin-top: 34px; font-family: var(--serif); font-weight: 600; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1rem; margin-top: 22px; }
.legal p, .legal li { margin-top: 11px; font-size: 0.93rem; line-height: 1.75; color: var(--ink-soft); }
.legal ul, .legal ol { padding-left: 21px; margin-top: 10px; }
.legal li { list-style: disc; margin-top: 7px; } .legal ol li { list-style: decimal; }
.legal strong { color: var(--ink); }
.legal table { min-width: 0; font-size: 0.86rem; }
.legal .tbl-wrap { margin-top: 14px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 0.76rem; color: var(--grey-500); }
.doc-meta b { color: var(--ink); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.two-col { display: grid; gap: 34px; }
@media (min-width: 940px) { .two-col { grid-template-columns: 0.78fr 1.22fr; gap: 54px; } }
.sticky { position: sticky; top: 145px; align-self: start; }
.stack { display: grid; gap: 13px; }
.center { text-align: center; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 22px; } .mt-l { margin-top: 34px; }
.data-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.data-card dl { margin-top: 11px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.86rem; }
.data-card dt { color: var(--grey-400); } .data-card dd { margin: 0; font-weight: 800; color: var(--ink); }
.data-card .k { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-400); }
.data-card svg { color: var(--accent); }
.doc-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .doc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .doc-grid { grid-template-columns: repeat(3, 1fr); } }
.doc-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.doc-card .k { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-strong); }
.doc-card h3 { font-size: 1rem; }
.doc-card p { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.doc-card .row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-draft { display: inline-flex; align-items: center; gap: 6px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8a5a10; background: #fdf3d9; padding: 4px 9px; border-radius: var(--r-full); }
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 2px; background: var(--accent-line); }
.tl { position: relative; padding: 0 0 24px 52px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 10px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent-line); }
.tl h3 { font-size: 1rem; } .tl p { margin-top: 5px; font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }
.ctrl-list { display: grid; gap: 10px; }
.ctrl { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 0.86rem; line-height: 1.6; color: var(--ink-soft); }
.ctrl svg { color: #b57f18; margin-top: 3px; }
.ctrl b { color: var(--ink); }

/* ============ POZOSTAŁE ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .sponsor { opacity: 1; transform: none; }
}
@media print { .hdr, .subnav, .fab-book, .phone-fab, .cookie, .modal, .mnav, #vp-b { display: none !important; } }

/* ===== v2.1 (19.09.2026): zdjęcia odmian, linie producentów, galeria gabinetu, sekcja „Gdzie po lek” ===== */
.strain-vis.has-photo { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.strain-vis.has-photo::after { display: none; }
.strain-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; place-items: stretch; background: var(--line); }
.strain-mosaic > img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; min-height: 0; }
.strain-mosaic.m3 > img:first-of-type { grid-row: span 2; }
.strain-count { position: absolute; z-index: 4; left: 12px; bottom: 12px; background: rgba(255,255,255,0.95); color: var(--ink); padding: 5px 11px; border-radius: var(--r-full); font-size: 0.7rem; font-weight: 800; box-shadow: 0 1px 6px rgba(15,34,51,0.12); }
.strain-line { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.strain-line summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 0.8rem; font-weight: 800; color: var(--accent-strong); }
.strain-line summary::-webkit-details-marker { display: none; }
.strain-line summary .cond-plus { margin-left: auto; width: 24px; height: 24px; }
.strain-line[open] summary .cond-plus { transform: rotate(45deg); background: var(--accent-tint); border-color: var(--accent-line); }
.line-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.line-list li { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); min-width: 0; }
.line-list li span { line-height: 1.3; overflow-wrap: anywhere; }
.line-list img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.gallery .ph { margin: 0; }
.gallery .ph figcaption { position: absolute; z-index: 2; left: 12px; bottom: 12px; font-size: 0.72rem; font-weight: 800; color: var(--ink); background: rgba(255,255,255,0.92); padding: 5px 11px; border-radius: var(--r-full); }
.sponsor-logo img { width: 64px; height: 78px; }
.avail-facts { display: grid; gap: 10px; }
@media (min-width: 860px) { .avail-facts { grid-template-columns: repeat(3, 1fr); } }
.avail-facts p { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.avail-facts svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.avail-facts b { color: var(--ink); }

/* ===== v2.2 (21.09.2026) ===== */
/* Nagłówek podstron – inny niż strona główna: grafika sekcji + kropkowany wzór */
.ih2::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 22%, transparent) 1.1px, transparent 1.3px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 80%); mask-image: linear-gradient(90deg, transparent 35%, #000 80%); }
.ih2 .inner-hero-in { padding: 30px 0 34px; }
.ih-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .ih-grid { grid-template-columns: minmax(0, 1fr) 280px; } .ih2 .inner-hero-in { padding: 34px 0 38px; } }
.ih-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ih-top .back { margin: 0; }
.ih2 h1 { margin-top: 12px; }
.ih-facts { margin-top: 18px; }
.ih-art { display: none; }
@media (min-width: 900px) { .ih-art { display: block; } }
.ih-orb { position: relative; width: 250px; height: 250px; margin-left: auto; }
.ih-ring { position: absolute; border-radius: 50%; }
.ih-ring.r1 { inset: 0; border: 1.5px dashed color-mix(in srgb, var(--accent) 35%, transparent); }
.ih-ring.r2 { inset: 28px; border: 1px solid var(--accent-line); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.ih-ring.r3 { inset: 56px; background: var(--surface); box-shadow: 0 18px 40px -22px rgba(15, 34, 51, .35); }
.ih-core { position: absolute; inset: 76px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.ih-sat { position: absolute; width: 46px; height: 46px; border-radius: 15px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-strong); box-shadow: 0 10px 24px -14px rgba(15, 34, 51, .45); animation: ihFloat 6s ease-in-out infinite; }
.ih-sat.s1 { top: 14px; left: 18px; }
.ih-sat.s2 { bottom: 22px; right: 4px; animation-delay: -3s; }
.ih-dot { position: absolute; border-radius: 50%; background: var(--accent); opacity: .35; }
.ih-dot.d1 { width: 10px; height: 10px; top: 36px; right: 42px; }
.ih-dot.d2 { width: 7px; height: 7px; bottom: 58px; left: 30px; }
.ih-dot.d3 { width: 12px; height: 12px; top: 52%; right: -6px; opacity: .2; }
@keyframes ihFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .ih-sat { animation: none; } }

/* Karuzela zdjęć w kartach linii producentów */
.strain-slider .ss-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; outline: none; }
.strain-slider .ss-track::-webkit-scrollbar { display: none; }
.strain-slider .ss-track.drag { scroll-snap-type: none; cursor: grabbing; }
.strain-slider .ss-track:focus-visible { box-shadow: inset 0 0 0 3px var(--accent); }
.ss-slide { flex: 0 0 100%; height: 100%; margin: 0; position: relative; scroll-snap-align: start; }
.ss-slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.ss-slide figcaption { position: absolute; left: 12px; bottom: 14px; display: inline-flex; align-items: baseline; gap: 8px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 5px 11px; border-radius: var(--r-full); font-size: .74rem; color: var(--ink); box-shadow: 0 2px 10px rgba(15,34,51,.12); max-width: calc(100% - 24px); }
.ss-slide figcaption b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-slide figcaption span { color: var(--grey-400); font-weight: 700; font-size: .66rem; font-variant-numeric: tabular-nums; }
.ss-btn { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(15,34,51,.18); opacity: 0; transition: opacity .2s; }
.ss-prev { left: 10px; } .ss-next { right: 10px; }
.strain-slider:hover .ss-btn, .strain-slider:focus-within .ss-btn { opacity: 1; }
@media (hover: none) { .ss-btn { opacity: .85; width: 30px; height: 30px; } }
.ss-progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(15,34,51,.07); }
.ss-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .45s var(--ease); }
.line-list li[data-slide-to] { cursor: pointer; border-radius: 10px; padding: 3px; margin: -3px; transition: background .15s; }
.line-list li[data-slide-to]:hover { background: var(--surface-2); }
.line-list li[data-slide-to]:focus-visible { outline: 2px solid var(--accent); }
.line-list li.on { background: var(--accent-tint); }
.line-list li.on img { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-line); }
.line-list li.on span { color: var(--accent-strong); }
.line-list li.no-photo .ph-leaf { width: 38px; height: 38px; border-radius: 9px; border: 1px dashed var(--accent-line); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.line-list li.no-photo small { display: block; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }

/* Ekstrakty */
.ext-vis { display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(140deg, var(--accent-tint), #fff 70%); color: var(--accent-strong); border-bottom: 1px solid var(--line); }
.ext-vis.ext-vape { background: linear-gradient(140deg, #fdf3e2, #fff 70%); color: #a0621d; }
.ext-vis::after { display: none; }
.ext-art svg { width: 104px; height: 104px; display: block; }
.ext-ratio { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--ink); padding: 5px 11px; border-radius: var(--r-full); font-size: .72rem; font-weight: 800; box-shadow: 0 2px 8px rgba(15,34,51,.1); }
.ext-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pill-cbd { background: #e4f3f1; color: #0b6f64; }

/* Dostępność w aptekach na kartach */
.strain-avail { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .74rem; font-weight: 700; color: var(--grey-500); }
.av { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.av b { width: 4px; border-radius: 2px; background: var(--line); }
.av b:nth-child(1) { height: 5px; } .av b:nth-child(2) { height: 8px; } .av b:nth-child(3) { height: 12px; }
.av-3 b { background: #2f9e5f; }
.av-2 b:nth-child(-n+2) { background: #d9a916; }
.av-1 b:nth-child(1) { background: #c2603f; }

/* Pasek narzędzi katalogu: typ + postać */
.tb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-full); padding: 3px; }
.seg-b { border: 0; background: transparent; padding: 7px 13px; border-radius: var(--r-full); font: inherit; font-weight: 800; font-size: .8rem; color: var(--ink-soft); cursor: pointer; }
.seg-b small { color: var(--grey-400); font-weight: 700; margin-left: 3px; }
.seg-b.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 5px rgba(15,34,51,.14); }
.rc-note { color: var(--grey-400); }
.cat-foot { margin-top: 20px; font-size: .78rem; color: var(--grey-500); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.type-legend-mini { display: inline-flex; flex-wrap: wrap; gap: 12px; }
.type-legend-mini span { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }

/* Przewodnik po terpenach */
.terpx { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: 0 14px 34px -26px rgba(15,34,51,.4); }
.tx-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.tx-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-full); padding: 7px 12px; font: inherit; font-weight: 800; font-size: .8rem; color: var(--ink-soft); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.tx-tab em { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); }
.tx-tab small { font-size: .66rem; color: var(--grey-400); font-weight: 800; }
.tx-tab.on { background: var(--tb); border-color: var(--tc); color: var(--tc); }
.tx-tab.on small { color: var(--tc); }
.tx-panel { display: grid; gap: 16px 22px; align-items: center; padding: 16px 4px 4px; }
@media (min-width: 760px) { .tx-panel { grid-template-columns: 158px minmax(0, 1fr); } }
.tx-orb { width: 158px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0%, var(--tb) 62%); border: 2px solid var(--tc); color: var(--tc); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; padding: 14px; margin: 0 auto; }
@media (min-width: 760px) { .tx-orb { grid-row: span 2; } }
.tx-orb b { font-family: var(--serif); font-size: 1.12rem; line-height: 1.1; }
.tx-aroma { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.tx-aroma span { font-size: .62rem; font-weight: 800; background: rgba(255,255,255,.9); border-radius: var(--r-full); padding: 3px 7px; }
.tx-facts { display: grid; gap: 10px 20px; margin: 0; }
@media (min-width: 560px) { .tx-facts { grid-template-columns: 1fr 1fr; } }
.tx-facts dt { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--grey-400); }
.tx-facts dd { margin: 3px 0 0; font-size: .88rem; line-height: 1.55; color: var(--ink); }
.tx-facts dd a { font-weight: 800; color: var(--accent-strong); white-space: nowrap; }
.tx-wide { grid-column: 1 / -1; }
.tx-status { font-style: normal; letter-spacing: 0; text-transform: none; background: var(--tb); color: var(--tc); padding: 2px 8px; border-radius: var(--r-full); margin-left: 6px; font-size: .64rem; }
.tx-show { justify-self: start; }
.tx-foot { margin-top: 14px; font-size: .84rem; line-height: 1.6; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.tx-foot svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.card-fact { border-color: var(--accent-line); background: linear-gradient(160deg, var(--accent-tint), var(--surface) 65%); }
.tx-panel[hidden] { display: none !important; }
.strain-desc { flex: 0 0 auto; }
.strain-avail { margin-top: auto; padding-top: 16px; }
.strain-body > .terps + .strain-avail, .strain-body > .strain-line + .strain-avail { padding-top: 14px; }

/* ===== v2.3: termometr parowania, „Jak stosować susz” ===== */
.tx-temp { margin-top: 16px; padding: 14px 6px 4px; border-top: 1px dashed var(--line); }
.tx-temp-h { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; color: var(--ink); }
.tx-temp-h svg { color: var(--accent); }
.tx-temp-h small { font-weight: 700; color: var(--grey-400); font-size: .68rem; }
.tt-scale { position: relative; height: 92px; margin: 6px 26px 0; }
.tt-bar { position: absolute; left: 0; right: 0; top: 45px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #f7d9a3, #f0a35e 55%, #d8603a); }
.tt-end { position: absolute; top: 56px; font-size: .62rem; font-weight: 700; color: var(--grey-400); transform: translateX(-50%); }
.tt-end.l { left: 0; } .tt-end.r { left: 100%; }
.tt-m { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 1px; border: 0; background: none; padding: 0; font: inherit; line-height: 1.1; }
.tt-m i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(15,34,51,.3); }
.tt-m b { font-size: .64rem; font-weight: 800; white-space: nowrap; }
.tt-m em { font-style: normal; font-size: .6rem; font-weight: 700; color: var(--grey-400); }
.tt-terp { top: 0; flex-direction: column-reverse; cursor: pointer; color: var(--tc); height: 51px; justify-content: flex-start; }
.tt-terp i { background: var(--tc); margin-top: 2px; }
.tt-terp:not(.on) { opacity: .5; }
.tt-terp.on { opacity: 1; }
.tt-terp.on i { transform: scale(1.25); }
.tt-cann { top: 42px; color: var(--ink); }
.tt-cann i { background: var(--ink); width: 11px; height: 11px; }
.tt-cann b { margin-top: 3px; }
.tt-note { font-size: .78rem; line-height: 1.55; color: var(--ink-soft); margin-top: 2px; }
.use-steps { display: grid; gap: 14px; }
@media (min-width: 700px) { .use-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .use-steps { grid-template-columns: repeat(4, 1fr); } }
.use-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 18px; }
.use-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: .86rem; margin-bottom: 10px; }
.use-step h3 { font-size: .98rem; line-height: 1.3; }
.use-step p { margin-top: 7px; font-size: .84rem; line-height: 1.6; color: var(--ink-soft); }
.use-time { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 760px) { .use-time { grid-template-columns: 1fr 1fr; } }
.use-time > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: var(--r-lg); padding: 12px 14px; }
.use-time b { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--accent-strong); margin-right: 4px; }
.use-time span { font-size: .76rem; font-weight: 700; color: var(--ink); background: var(--surface); border-radius: var(--r-full); padding: 4px 10px; }
.tx-foot a { font-weight: 800; color: var(--accent-strong); white-space: nowrap; }
@media (max-width: 640px) {
  .tt-scale { margin: 6px 14px 0; }
  .tt-terp:not(.on) b, .tt-terp:not(.on) em { visibility: hidden; }
  .tt-end { display: none; }
}

/* ===== v2.3.1: terpeny zgodne z odmianą w karuzeli; legenda poziomów dowodów ===== */
.terp-list.tfade { animation: tFade .35s ease; }
@keyframes tFade { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.ev-legend { grid-template-columns: 1fr; }
@media (min-width: 760px) { .ev-legend { grid-template-columns: repeat(3, 1fr); } }
.ev-legend > div { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; padding: 16px 18px; border-radius: var(--r-lg); }
.ev-legend > div > span { flex: none; }
.evl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; min-width: 0; }
.ev-meter { display: inline-flex; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.ev-meter b { width: 6px; border-radius: 2px; background: currentColor; }
.ev-meter b:nth-child(1) { height: 7px; } .ev-meter b:nth-child(2) { height: 11px; } .ev-meter b:nth-child(3) { height: 15px; }
.ev-meter b.off { background: var(--line); }
.evl-4 .ev-meter { color: #15693f; } .evl-3 .ev-meter { color: #1f5f75; } .evl-2 .ev-meter { color: #b07a1c; }
.evl-4 { border-top: 3px solid #2f9e5f !important; } .evl-3 { border-top: 3px solid #328aa4 !important; } .evl-2 { border-top: 3px solid #d9a916 !important; }

/* ===== v2.3.2: termometr ze wszystkimi terpenami, blokada karuzeli przy wyszukaniu terpenu ===== */
.tt-wrap { display: grid; gap: 12px 18px; align-items: end; }
@media (min-width: 900px) { .tt-wrap { grid-template-columns: minmax(0, 1fr) 176px; } }
.tt-scale { height: calc(var(--rows) * 17px + 60px); margin: 8px 26px 0; }
.tt-bar { top: calc(var(--rows) * 17px + 14px); }
.tt-end { top: calc(var(--rows) * 17px + 26px); }
.tt-terp { top: calc(var(--row) * 17px); height: calc((var(--rows) - var(--row)) * 17px + 23px); flex-direction: column; justify-content: flex-start; gap: 0; }
.tt-terp .tt-lab { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; height: 15px; }
.tt-terp s { flex: 1; width: 1.5px; min-height: 3px; background: var(--tc); opacity: .45; }
.tt-terp i { margin-top: 0; flex-shrink: 0; }
.tt-cann { top: calc(var(--rows) * 17px + 11px); }
.tt-heavy { border: 1px dashed var(--line); border-radius: var(--r-sm); background: var(--surface-2); padding: 10px 12px; }
.tt-heavy p { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: #b5532f; margin-bottom: 6px; }
.tt-heavy div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
@media (min-width: 900px) { .tt-heavy div { flex-direction: column; } }
.tt-h { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 0; font: inherit; font-size: .74rem; font-weight: 800; color: var(--tc); cursor: pointer; opacity: .55; text-align: left; }
.tt-h i { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); flex-shrink: 0; }
.tt-h.on { opacity: 1; }
.ss-focus .ss-slide.is-match figcaption b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
