/* ========================================
   UNIVERSAL PRODUCT DESCRIPTION CSS
   Wersja: 3.0 - UNIWERSALNA
   Data: 04.02.2026
   
   Dla WSZYSTKICH produktów w sklepie:
   - MiiR (karafki, drippery, filtry)
   - Pourigami (V1, V2, zestawy)
   - Inne marki i kategorie
   ======================================== */

/* ==========================================
   SEKCJA 1: PODSTAWY I TYPOGRAFIA
   ========================================== */

/* Główny kontener produktu */
.product-desc {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 10px;
}

/* Nagłówki */
.product-desc h1 { 
    font-size: 2.2em; 
    margin: 0.67em 0; 
    color: #1a1a1a;
    font-weight: 700;
}

.product-desc h2 { 
    font-size: 1.75em; 
    margin: 1.2em 0 0.6em; 
    color: #2a2a2a; 
    border-bottom: 3px solid #667eea; 
    padding-bottom: 0.4em;
    font-weight: 600;
}

.product-desc h3 { 
    font-size: 1.4em; 
    margin: 1em 0 0.5em; 
    color: #333;
    font-weight: 600;
}

.product-desc h4 {
    font-size: 1.2em;
    margin: 0.8em 0 0.4em;
    color: #444;
    font-weight: 600;
}

/* Paragrafy i listy */
.product-desc p { 
    margin: 1em 0; 
    line-height: 1.7;
}

.product-desc ul, 
.product-desc ol { 
    margin: 1em 0; 
    padding-left: 2em; 
    line-height: 1.9;
}

.product-desc li {
    margin: 0.5em 0;
}

.product-desc strong { 
    font-weight: 600; 
    color: #1a1a1a;
}

.product-desc em {
    font-style: italic;
    color: #555;
}

/* Lead paragraph - większy, wyróżniony tekst */
.lead {
    font-size: 1.25em;
    line-height: 1.6;
    color: #2a2a2a;
    margin: 1.2em 0;
}

/* ==========================================
   SEKCJA 2: SEKCJE BOHATERÓW (HERO)
   ========================================== */

/* Główna sekcja hero z gradientem */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 45px 35px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hero-section h2 { 
    color: white; 
    border: none; 
    padding: 0; 
    margin-bottom: 20px; 
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
}

/* Jasny box wewnątrz hero */
.hero-light-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    backdrop-filter: blur(10px);
}

.hero-light-box h3 {
    color: white;
    margin-top: 0;
}

/* Warianty kolorystyczne hero */
.hero-success {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.hero-warning {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.hero-info {
    background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
}

/* ==========================================
   SEKCJA 3: KARTY I KONTENERY
   ========================================== */

/* Podstawowa karta */
.card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card h3 {
    margin-top: 0;
    color: #667eea;
}

/* Warianty kart */
.card-highlight {
    background: #e8f5e9;
    border-color: #4CAF50;
    border-width: 2px;
}

.card-highlight h3 {
    color: #2E7D32;
}

.card-warning {
    background: #fff3e0;
    border-color: #FF9800;
    border-width: 2px;
}

.card-warning h3 {
    color: #F57C00;
}

.card-info {
    background: #e3f2fd;
    border-color: #2196F3;
    border-width: 2px;
}

.card-info h3 {
    color: #1565C0;
}

.card-danger {
    background: #ffebee;
    border-color: #f44336;
    border-width: 2px;
}

.card-danger h3 {
    color: #C62828;
}

/* Karta z cieniem (premium look) */
.card-shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: none;
}

/* ==========================================
   SEKCJA 4: GRIDY I LAYOUTY
   ========================================== */

/* Grid 2 kolumny */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 25px 0;
}

/* Grid 3 kolumny */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

/* Grid 4 kolumny */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0;
}

/* Grid automatyczny (responsive) */
.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

/* Grid dla małych kart (np. ikony) */
.grid-auto-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

/* ==========================================
   SEKCJA 5: TABELE
   ========================================== */

/* Podstawowa tabela */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 14px 16px;
    text-align: left;
    border: 1px solid #ddd;
}

.table th {
    background: #667eea;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.table tr:nth-child(even) { 
    background: #f9f9f9; 
}

.table tr:hover { 
    background: #f0f0f0;
    transition: background 0.2s ease;
}

/* Wyróżniony wiersz w tabeli */
.table-row-highlight {
    background: #e8f5e9 !important;
    font-weight: 600;
}

/* Separator w tabeli */
.table-separator {
    border-top: 3px solid #667eea !important;
    font-weight: 600;
    background: #f5f5f5 !important;
}

/* Warianty kolorystyczne nagłówków tabel */
.table-success th {
    background: #4CAF50;
}

.table-warning th {
    background: #FF9800;
}

.table-info th {
    background: #2196F3;
}

/* Kompaktowa tabela (mniej paddingu) */
.table-compact th,
.table-compact td {
    padding: 10px 12px;
    font-size: 0.95em;
}

/* ==========================================
   SEKCJA 6: KORZYŚCI I CECHY
   ========================================== */

/* Box korzyści z lewym borderem */
.benefit-box {
    background: #fff;
    padding: 20px 25px;
    border-left: 5px solid #667eea;
    margin: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    border-radius: 4px;
}

.benefit-box h3 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 12px;
}

/* Warianty benefit-box */
.benefit-success {
    border-left-color: #4CAF50;
}

.benefit-success h3 {
    color: #4CAF50;
}

.benefit-warning {
    border-left-color: #FF9800;
}

.benefit-warning h3 {
    color: #FF9800;
}

/* Lista cech z ikonami */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.3em;
}

/* ==========================================
   SEKCJA 7: PORÓWNANIA
   ========================================== */

/* Box dla pozytywnego porównania */
.compare-good {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #4CAF50;
}

.compare-good h3::before {
    content: "✓ ";
    color: #4CAF50;
    font-weight: bold;
}

/* Box dla negatywnego porównania */
.compare-bad {
    background: #ffebee;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #f44336;
}

.compare-bad h3::before {
    content: "✗ ";
    color: #f44336;
    font-weight: bold;
}

/* Neutralny box porównania */
.compare-neutral {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #9E9E9E;
}

/* ==========================================
   SEKCJA 8: CALLOUTS I ALERTY
   ========================================== */

/* Podstawowy callout */
.callout {
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    border-left: 5px solid #667eea;
    background: #f5f5f5;
}

.callout h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

/* Warianty callout */
.callout-success {
    background: #e8f5e9;
    border-color: #4CAF50;
}

.callout-success h3 {
    color: #2E7D32;
}

.callout-warning {
    background: #fff3e0;
    border-color: #FF9800;
}

.callout-warning h3 {
    color: #F57C00;
}

.callout-info {
    background: #e3f2fd;
    border-color: #2196F3;
}

.callout-info h3 {
    color: #1565C0;
}

.callout-danger {
    background: #ffebee;
    border-color: #f44336;
}

.callout-danger h3 {
    color: #C62828;
}

/* Callout z ikoną */
.callout-icon {
    padding-left: 60px;
    position: relative;
}

.callout-icon::before {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 2em;
}

/* ==========================================
   SEKCJA 9: CENY I OSZCZĘDNOŚCI
   ========================================== */

/* Box z ceną */
.price-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    margin: 25px 0;
}

/* Stara cena (przekreślona) */
.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
}

/* Nowa/aktualna cena */
.price-new {
    font-size: 2.5em;
    color: #4CAF50;
    font-weight: bold;
    margin: 15px 0;
    display: block;
}

/* Cena neutralna (bez koloru) */
.price-current {
    font-size: 2.2em;
    color: #333;
    font-weight: bold;
    margin: 15px 0;
    display: block;
}

/* Badge oszczędności */
.savings-badge {
    background: #FFC107;
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
}

/* Tabela porównania cen */
.price-comparison {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* ==========================================
   SEKCJA 10: KROKI I TIMELINE
   ========================================== */

/* Container dla kroków */
.steps-container {
    counter-reset: step-counter;
    margin: 30px 0;
}

/* Pojedynczy krok */
.step-item {
    counter-increment: step-counter;
    position: relative;
    padding-left: 70px;
    margin-bottom: 35px;
    min-height: 50px;
}

/* Numerek kroku */
.step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4em;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.step-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Warianty kolorystyczne kroków */
.steps-success .step-item::before {
    background: #4CAF50;
}

.steps-warning .step-item::before {
    background: #FF9800;
}

.steps-info .step-item::before {
    background: #2196F3;
}

/* ==========================================
   SEKCJA 11: FAQ
   ========================================== */

/* Pojedynczy element FAQ */
.faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.faq-item h3 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.faq-item p {
    margin-bottom: 0;
    line-height: 1.7;
}

/* FAQ z ikoną pytania */
.faq-item-icon h3::before {
    content: "❓ ";
    margin-right: 8px;
}

/* ==========================================
   SEKCJA 12: BUTTONY I CTA
   ========================================== */

/* Podstawowy button */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Primary button */
.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
}

/* Success button */
.btn-success {
    background: #4CAF50;
    color: white;
}

.btn-success:hover {
    background: #43A047;
}

/* Warning button */
.btn-warning {
    background: #FF9800;
    color: white;
}

.btn-warning:hover {
    background: #F57C00;
}

/* Outline button */
.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Duży button */
.btn-large {
    padding: 18px 40px;
    font-size: 1.15em;
}

/* Mały button */
.btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* ==========================================
   SEKCJA 13: BADGES I ETYKIETY
   ========================================== */

/* Podstawowy badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin: 0 5px 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Warianty badges */
.badge-new { 
    background: #4CAF50; 
    color: white; 
}

.badge-hot { 
    background: #f44336; 
    color: white; 
}

.badge-sale { 
    background: #FFC107; 
    color: #000; 
}

.badge-eco { 
    background: #8BC34A; 
    color: white; 
}

.badge-premium { 
    background: #9C27B0; 
    color: white; 
}

.badge-limited { 
    background: #FF5722; 
    color: white; 
}

/* ==========================================
   SEKCJA 14: IKONY I SYMBOLE
   ========================================== */

/* Checkmark (✓) */
.icon-check::before { 
    content: "✓ "; 
    color: #4CAF50; 
    font-weight: bold; 
    margin-right: 5px;
}

/* Cross (✗) */
.icon-cross::before { 
    content: "✗ "; 
    color: #f44336; 
    font-weight: bold; 
    margin-right: 5px;
}

/* Star (★) */
.icon-star::before { 
    content: "★ "; 
    color: #FFC107; 
    margin-right: 5px;
}

/* Info (ℹ) */
.icon-info::before { 
    content: "ℹ "; 
    color: #2196F3; 
    font-weight: bold; 
    margin-right: 5px;
}

/* Warning (⚠) */
.icon-warning::before { 
    content: "⚠ "; 
    color: #FF9800; 
    margin-right: 5px;
}

/* Heart (♥) */
.icon-heart::before { 
    content: "♥ "; 
    color: #f44336; 
    margin-right: 5px;
}

/* ==========================================
   SEKCJA 15: SPECJALNE KOMPONENTY
   ========================================== */

/* Highlight box - wyróżniony tekst */
.highlight-box {
    background: linear-gradient(135deg, #FFF9C4 0%, #FFF59D 100%);
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 5px solid #FBC02D;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(251, 192, 45, 0.2);
}

/* Statystyka/liczba */
.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #667eea;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quote/cytat */
.quote-box {
    border-left: 5px solid #667eea;
    padding: 20px 25px;
    margin: 25px 0;
    background: #f9f9f9;
    font-style: italic;
    font-size: 1.1em;
    color: #555;
}

.quote-author {
    text-align: right;
    margin-top: 15px;
    font-weight: 600;
    font-style: normal;
    color: #333;
}

.quote-author::before {
    content: "— ";
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: width 0.5s ease;
}

/* Divider ozdobny */
.divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #667eea 50%, transparent 100%);
    margin: 40px 0;
    border: none;
}

/* ==========================================
   SEKCJA 16: RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-desc {
        padding: 15px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 30px 20px;
    }
    
    .table {
        font-size: 14px;
    }
    
    .table th,
    .table td {
        padding: 10px 12px;
    }
    
    .step-item {
        padding-left: 60px;
    }
    
    .step-item::before {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }
    
    .price-new {
        font-size: 2em;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .product-desc h1 {
        font-size: 1.8em;
    }
    
    .product-desc h2 {
        font-size: 1.5em;
    }
    
    .lead {
        font-size: 1.1em;
    }
    
    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
   SEKCJA 17: UTILITY CLASSES
   ========================================== */

/* Marginesy */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.my-1 { margin-top: 10px; margin-bottom: 10px; }
.my-2 { margin-top: 20px; margin-bottom: 20px; }
.my-3 { margin-top: 30px; margin-bottom: 30px; }

/* Paddingi */
.p-0 { padding: 0 !important; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 20px; }
.pt-3 { padding-top: 30px; }
.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 30px; }

/* Tekst */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-bold { font-weight: 600; }
.text-semibold { font-weight: 500; }
.text-normal { font-weight: 400; }
.text-large { font-size: 1.2em; }
.text-small { font-size: 0.9em; }
.text-uppercase { text-transform: uppercase; }
.text-muted { color: #999; }

/* Kolory tekstu */
.text-primary { color: #667eea; }
.text-success { color: #4CAF50; }
.text-warning { color: #FF9800; }
.text-danger { color: #f44336; }
.text-info { color: #2196F3; }

/* Tła */
.bg-light { background: #f9f9f9; }
.bg-white { background: white; }
.bg-primary { background: #667eea; color: white; }
.bg-success { background: #4CAF50; color: white; }
.bg-warning { background: #FF9800; color: white; }
.bg-danger { background: #f44336; color: white; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

/* Flex */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

/* Border radius */
.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-full { border-radius: 9999px; }

/* Shadow */
.shadow-sm { box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.shadow { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }

/* ==========================================
   SEKCJA 18: UKRYWANIE ELEMENTÓW
   ========================================== */

/* SEO keywords - zawsze ukryte */
.seo-keywords,
.keywords-hidden {
    display: none !important;
    visibility: hidden !important;
}

/* Print styles */
@media print {
    .hero-section {
        background: white;
        color: black;
        border: 2px solid #667eea;
    }
    
    .btn,
    .seo-keywords {
        display: none;
    }
}

/* ==========================================
   KONIEC CSS
   ========================================== */