/* epr-przewodnik.html — style specyficzne dla tej strony (wspólne w css/common.css) */

/* ===== HERO ===== */
        .hero-epr {
            padding: 130px 24px 80px;
            position: relative; overflow: hidden;
            background: var(--color-primary-light);
        }
        .hero-epr::before {
            content: ''; position: absolute;
            top: -100px; right: -5%; width: 600px; height: 600px;
            background: none;
            pointer-events: none;
        }
        .hero-epr-inner {
            max-width: var(--max-width); margin: 0 auto;
        }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 6px 16px; border-radius: 100px;
            background: var(--color-primary-light); color: var(--color-primary-text);
            font-size: 14px; font-weight: 600; margin-bottom: 20px;
        }
        .hero-epr h1 {
            font-size: clamp(28px,4vw,45px); font-weight: 800;
            line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px;
        }
        .hero-epr h1 span { color: var(--color-primary-text); }
        .hero-epr .hero-sub {
            font-size: clamp(16px,1.8vw,16px); color: var(--color-text);
            max-width: 720px; margin: 0 0 32px; line-height: 1.7;
        }
        .hero-nav-pills {
            display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
        }
        .hero-nav-pills a {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 10px 18px; border-radius: 10px;
            background: var(--color-surface); border: 1px solid var(--color-border);
            color: var(--color-text); font-size: 16px; font-weight: 500;
            text-decoration: none; transition: all 0.2s;
        }
        .hero-nav-pills a:hover { border-color: var(--color-primary); color: var(--color-primary-text); }

/* ===== SECTIONS COMMON ===== */
        .section { padding: 80px 24px; }
        .section-alt { background: var(--color-surface); }
        .section-inner { max-width: var(--max-width); margin: 0 auto; }
        .section-header { margin-bottom: 48px; }
        .section-header .section-num {
            display: inline-flex; align-items: center; justify-content: center;
            width: 36px; height: 36px; border-radius: 10px;
            background: var(--color-primary-text); color: #fff;
            font-size: 16px; font-weight: 700; margin-bottom: 12px;
        }
        .section-header h2 {
            font-size: clamp(24px,3vw,36px); font-weight: 800;
            line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.3px;
        }
        .section-header p {
            font-size: 16px; color: var(--color-text);
            max-width: 680px;  line-height: 1.7;
        }

/* ===== CATEGORY CARDS ===== */
        .cat-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        .cat-card {
            background: var(--color-surface); border: 1px solid var(--color-border);
            border-radius: var(--radius-lg); padding: 28px 24px;
            transition: all 0.2s;
        }
        .cat-card:hover { border-color: transparent; }
        .cat-icon { display: none; }
        .cat-icon-pack { background: #DBEAFE; }
        .cat-icon-weee { background: #FEF3C7; }
        .cat-icon-bat { background: #E0E7FF; }
        .cat-icon-other { background: #F3E8FF; }
        .cat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
        .cat-card p { font-size: 16px; color: var(--color-text); line-height: 1.6; }
        .cat-card .cat-example {
            margin-top: 12px; padding: 10px 14px; border-radius: 8px;
            background: var(--color-bg); font-size: 16px; color: var(--color-text);
        }
        .cat-card .cat-example strong { color: var(--color-text); font-weight: 600; }

/* ===== INFO BOXES ===== */
        .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
        @media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
        .info-box {
            background: var(--color-surface); border: 1px solid var(--color-border);
            border-radius: var(--radius-lg); padding: 28px 24px;
            transition: all 0.2s;
        }
        .info-box:hover { border-color: transparent; }
        .info-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
        .info-box h3 .ib-icon {
            width: 32px; height: 32px; border-radius: 8px;
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 16px; flex-shrink: 0;
        }
        .info-box p, .info-box li { font-size: 16px; color: var(--color-text); line-height: 1.7; }
        .info-box ul { list-style: none; margin-top: 10px; }
        .info-box ul li { padding: 6px 0; padding-left: 20px; position: relative; }
        .info-box ul li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary-light); border: 2px solid var(--color-primary); }

/* ===== ALERT BOX ===== */
        .alert-box {
            border-radius: var(--radius); padding: 20px 24px; margin-top: 32px;
            display: flex; align-items: flex-start; gap: 14px;
            font-size: 16px; line-height: 1.7;
        }
        .alert-box-warn { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
        .alert-box-info { background: var(--color-primary-light); border: 1px solid #BFDBFE; color: #1E40AF; }
        .alert-box-success { background: var(--color-secondary-light); border: 1px solid #A7F3D0; color: #065F46; }
        .alert-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
        .alert-box strong { font-weight: 700; }

/* ===== THRESHOLD TABLE ===== */
        .threshold-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px; margin-top: 24px;
        }
        .threshold-card {
            background: var(--color-surface); border: 1px solid var(--color-border);
            border-radius: var(--radius); padding: 16px;
            transition: all 0.2s;
        }
        .threshold-country { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
        .threshold-value { font-size: 16px; color: var(--color-text); }
        .threshold-tag {
            display: inline-block; margin-top: 8px; padding: 2px 10px;
            border-radius: 100px; font-size: 14px; font-weight: 600;
        }
        .threshold-tag-red { background: #FEE2E2; color: #991B1B; }
        .threshold-tag-green { background: #D1FAE5; color: #065F46; }
        .threshold-tag-yellow { background: #FEF3C7; color: #92400E; }

/* ===== LABELING SECTION ===== */
        .label-examples {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px; margin-top: 24px;
        }
        .label-card {
            background: var(--color-surface); border: 1px solid var(--color-border);
            border-radius: var(--radius-lg); overflow: hidden; transition: all 0.2s;
        }
        .label-card:hover { border-color: transparent; }
        .label-card-top {
            padding: 24px; background: #1A1A2E;
            color: #fff; min-height: 100px;
            display: flex; align-items: center; justify-content: center; flex-direction: column;
        }
        .label-card-top .label-symbol { font-size: 36px; margin-bottom: 8px; }
        .label-card-top .label-name { font-size: 14px; font-weight: 600; opacity: 0.9; }
        .label-card-body { padding: 20px; }
        .label-card-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
        .label-card-body p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; }
        .label-card-body .label-penalty {
            margin-top: 10px; padding: 8px 12px; border-radius: 8px;
            background: #FEE2E2; font-size: 14px; color: #991B1B; font-weight: 600;
        }

/* ===== COUNTRY TABLE ===== */
        .table-controls {
            display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
            margin-bottom: 16px;
        }
        .table-controls input[type="text"] {
            flex: 1 1 260px; padding: 10px 16px; border: 1px solid var(--color-border);
            border-radius: var(--radius); font-size: 16px; font-family: inherit;
            outline: none; background: var(--color-surface);
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .table-controls input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(59,139,219,.12); }
        .table-controls select {
            padding: 10px 16px; border: 1px solid var(--color-border);
            border-radius: var(--radius); font-size: 16px; font-family: inherit;
            background: var(--color-surface); cursor: pointer;
        }
        .table-badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
        .table-badge {
            display: inline-flex; align-items: center; gap: 4px;
            padding: 4px 12px; border-radius: 100px; font-size: 14px; font-weight: 600;
        }
        .table-badge-eu { background: var(--color-primary-light); color: var(--color-primary-text); }
        .table-badge-eog { background: var(--color-secondary-light); color: #0F766E; }
        .table-badge-uk { background: #FEF3C7; color: #92400E; }
        .count-badge {
            margin-left: auto; font-size: 14px; color: var(--color-text-muted);
            padding: 4px 14px; background: var(--color-bg); border-radius: 100px;
        }

        .table-wrap {
            background: var(--color-surface); border-radius: var(--radius-lg);
            overflow: hidden; border: 1px solid var(--color-border);
        }
        .table-wrap table { width: 100%; border-collapse: collapse; }
        .table-wrap thead { background: #1A1A2E; color: #fff; }
        .table-wrap thead th {
            padding: 14px 16px; text-align: left; font-weight: 600;
            font-size: 14px; text-transform: none; letter-spacing: 0;
            cursor: pointer; user-select: none; white-space: nowrap;
            transition: background 0.15s;
        }
        .table-wrap thead th:hover { background: #2D3748; }
        .table-wrap thead th .sort-arrow { margin-left: 4px; opacity: 0.4; font-size: 14px; }
        .table-wrap thead th.sorted .sort-arrow { opacity: 1; }
        .table-wrap tbody tr { transition: background 0.15s; }
        .table-wrap tbody tr:hover { background: #F7FAFC; }
        .table-wrap tbody tr:nth-child(even) { background: #FAFBFC; }
        .table-wrap tbody tr:nth-child(even):hover { background: #F0F4F8; }
        .table-wrap tbody td {
            padding: 12px 16px; font-size: 16px; border-bottom: 1px solid #EDF2F7;
            vertical-align: top; line-height: 1.6;
        }
        .table-wrap tbody td:first-child { font-weight: 600; white-space: nowrap; }
        .table-wrap a.site-link {
            color: var(--color-primary-text); text-decoration: none; font-weight: 500;
            word-break: break-all; font-size: 16px;
        }
        .table-wrap a.site-link:hover { text-decoration: underline; }
        .region-tag {
            display: inline-block; padding: 2px 8px; border-radius: 4px;
            font-size: 14px; font-weight: 600;
        }
        .region-tag-eu { background: var(--color-primary-light); color: var(--color-primary-text); }
        .region-tag-eog { background: var(--color-secondary-light); color: #0F766E; }
        .region-tag-uk { background: #FEF3C7; color: #92400E; }
        .no-results { text-align: center; padding: 48px 24px; color: var(--color-text); font-size: 16px; }
        @media (max-width: 860px) {
            .table-wrap { overflow-x: auto; }
            .table-wrap table { min-width: 900px; }
        }

/* ===== FAQ ===== */
        .faq-list { max-width: 780px; margin: 0 auto; }
        .faq-item {
            border: 1px solid var(--color-border); border-radius: var(--radius);
            margin-bottom: 12px; overflow: hidden; background: var(--color-surface);
            transition: box-shadow 0.2s;
        }
        .faq-q {
            padding: 18px 24px; font-size: 16px; font-weight: 600;
            cursor: pointer; display: flex; align-items: center; justify-content: space-between;
            gap: 16px; user-select: none; transition: background 0.15s;
        }
        .faq-q:hover { background: var(--color-bg); }
        .faq-q::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--color-text); transition: transform 0.2s; flex-shrink: 0; }
        .faq-item.open .faq-q::after { content: '\2212'; }
        .faq-a {
            max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
        }
        .faq-a-inner {
            padding: 0 24px 18px; font-size: 16px; color: var(--color-text); line-height: 1.7;
        }

/* ===== FOOTER — fragment specyficzny dla strony ===== */
@media (max-width: 860px) {
            .hero-epr { padding: 110px 20px 60px; }
        }
        @media (max-width: 640px) {
            .hero-epr { padding: 100px 16px 48px; }
            .hero-epr h1 { font-size: 24px; }
            .hero-nav-pills a { font-size: 14px; padding: 8px 14px; }
            .section { padding: 56px 16px; }
            .cat-card { padding: 22px 18px; }
            .step-item { gap: 14px; }
            .faq-q { padding: 14px 18px; font-size: 16px; }
            .faq-a-inner { padding: 0 18px 14px; }
            .info-box { padding: 22px 18px; }
            .btn-primary { width: 100%; justify-content: center; }
        }

/* ===== BREADCRUMB ===== */
        .breadcrumb {
            max-width: var(--max-width); margin: 0 auto;
            padding: 0 0 20px; font-size: 14px; color: var(--color-text-muted);
        }
        .breadcrumb a { color: var(--color-text-secondary); text-decoration: none; }
        .breadcrumb a:hover { color: var(--color-primary-text); }

/* ===== TOC SIDEBAR ===== */
        .content-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; max-width: var(--max-width); margin: 0 auto; }
        .content-layout > * { min-width: 0; }
        .toc-sidebar { position: sticky; top: 88px; align-self: start; }
        .toc-sidebar h2 { font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--color-text-muted); margin-bottom: 12px; font-weight: 600; }
        .toc-sidebar a {
            display: block; padding: 8px 14px; font-size: 14px; font-weight: 500;
            color: var(--color-text-secondary); text-decoration: none;
            border-left: 2px solid transparent; border-radius: 0 6px 6px 0;
            transition: all 0.15s; margin-bottom: 2px;
        }
        .toc-sidebar a:hover { color: var(--color-primary-text); background: var(--color-primary-light); }
        .toc-sidebar a.active { color: var(--color-primary-text); border-left-color: var(--color-primary); background: var(--color-primary-light); font-weight: 600; }
        @media (max-width: 1060px) {
            .content-layout { grid-template-columns: minmax(0, 1fr); }
            .toc-sidebar { display: none; }
        }

/* ===== PROCESS STEPS ===== */
        .steps { counter-reset: step; margin-top: 32px; }
        .step-item {
            display: flex; gap: 20px; padding: 24px 0;
            border-bottom: 1px solid var(--color-border);
        }
        .step-item:last-child { border-bottom: none; }
        .step-num {
            counter-increment: step;
            width: 40px; height: 40px; border-radius: 12px;
            background: var(--color-primary-light); color: var(--color-primary-text);
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 16px; flex-shrink: 0;
        }
        .step-num::before { content: counter(step); }
        .step-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
        .step-content p { font-size: 16px; color: var(--color-text); line-height: 1.7; }

/* ===== MISC ===== */
        .text-accent { color: var(--color-accent-text); }
        .text-primary { color: var(--color-primary-text); }
        .fw-700 { font-weight: 700; }
