/* ReviewHunter Pro v2.4 - Professional Frontend Styles */

/* ===== RESET & BASE ===== */
.rh-product-review * { box-sizing: border-box; }
.rh-product-review { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.6; color: #1f2937; }

/* ===== BACK TO TOP BUTTON ===== */

/* ===== HERO SECTION ===== */
.rh-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px 20px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .rh-hero {
        border-radius: 28px;
        padding: 45px;
        margin-bottom: 35px;
        box-shadow: 0 12px 50px rgba(102, 126, 234, 0.25);
    }
}

.rh-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.rh-hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rh-stars-container {
    position: relative;
    font-size: 36px;
    display: inline-block;
}

.rh-stars-empty { color: rgba(255,255,255,0.3); }
.rh-stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #fbbf24;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
}

.rh-rating-number {
    font-size: 32px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Lead quote - subtelny cytat */
.rh-lead-quote {
    margin: 20px 0 30px;
    padding: 0;
}

.rh-lead-quote .rh-lead {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
    font-style: italic;
    font-weight: 400;
    text-align: left;
    margin: 0;
    padding: 15px 20px 15px 50px;
    border-left: 3px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    max-width: 100%;
    position: relative;
}

.rh-lead-quote .rh-lead::before {
    content: '"';
    font-size: 48px;
    line-height: 1;
    color: #cbd5e1;
    position: absolute;
    left: 15px;
    top: 5px;
    font-family: Georgia, serif;
    opacity: 0.3;
}

@media (min-width: 768px) {
    .rh-lead-quote .rh-lead {
        font-size: 15px;
        padding: 20px 25px 20px 60px;
        border-left-width: 4px;
    }
    
    .rh-lead-quote .rh-lead::before {
        left: 20px;
        font-size: 56px;
    }
}

/* ===== ZALETY I WADY - MAŁE BOKSY Z LEKKIM TŁEM ===== */
.rh-proscons-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .rh-proscons-hero { grid-template-columns: 1fr; gap: 15px; }
}

.rh-pros-box, .rh-cons-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.rh-pros-box {
    background: #ffffff;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-left: 4px solid #10b981;
}

.rh-cons-box {
    background: #ffffff;
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid #ef4444;
}

.rh-box-header {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.2px;
}

.rh-pros-header {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

.rh-cons-header {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-bottom: 2px solid rgba(239, 68, 68, 0.3);
}

.rh-box-icon { 
    font-size: 22px; 
}

.rh-pros-list, .rh-cons-list {
    padding: 12px 20px 16px;
    margin: 0;
}

.rh-pros-item, .rh-cons-item {
    padding: 10px 14px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.2s ease;
    display: block;
}

.rh-pros-item {
    background: rgba(16, 185, 129, 0.05);
    color: #047857;
}

.rh-pros-item:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(3px);
}

.rh-cons-item {
    background: rgba(239, 68, 68, 0.05);
    color: #b91c1c;
}

.rh-cons-item:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: translateX(3px);
}

.rh-pros-item:last-child, .rh-cons-item:last-child { 
    margin-bottom: 0; 
}

.rh-empty-item { 
    color: #94a3b8; 
    font-style: italic; 
    padding: 20px;
    text-align: center;
    font-size: 13px;
}

/* ===== CTA WIDGET - ESTETYCZNY BOKS Z CENAMI - ZACHĘCAJĄCY ===== */
/* Mobile First */
.rh-cta-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #667eea;
    border-radius: 16px;
    padding: 20px;
    margin: 30px 0;
    color: #1e293b;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .rh-cta-widget {
        border: 3px solid #667eea;
        border-radius: 24px;
        padding: 35px;
        margin: 45px 0;
        box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
    }
    
    .rh-cta-widget:hover {
        box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
        transform: translateY(-3px);
    }
}

.rh-cta-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102,126,234,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.rh-cta-widget::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.rh-cta-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

@media (min-width: 768px) {
    .rh-cta-header {
        gap: 24px;
        margin-bottom: 28px;
        padding-bottom: 24px;
    }
}

.rh-cta-icon {
    font-size: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 88px;
    height: 88px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    flex-shrink: 0;
}

.rh-cta-text { 
    flex: 1; 
    min-width: 200px;
}

.rh-cta-subtitle {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    color: #1e293b;
}

@media (min-width: 768px) {
    .rh-cta-subtitle {
        font-size: 26px;
    }
}

.rh-cta-rating { 
    text-align: center; 
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #fbbf24;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .rh-cta-rating {
        padding: 16px 22px;
        border-radius: 18px;
    }
}

.rh-cta-stars { 
    display: block; 
    font-size: 22px; 
    color: #fbbf24; 
    margin-bottom: 6px;
    line-height: 1;
}

.rh-cta-score { 
    font-size: 26px; 
    font-weight: 800; 
    color: #92400e;
    line-height: 1;
}

.rh-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .rh-cta-buttons {
        gap: 16px;
    }
}

.rh-cta-btn {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 10px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    min-height: 50px;
}

@media (min-width: 768px) {
    .rh-cta-btn {
        padding: 22px 30px;
        border-radius: 18px;
        font-size: 16px;
        gap: 20px;
        min-height: auto;
    }
}

.rh-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.rh-cta-btn:hover::before {
    left: 100%;
}

.rh-cta-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.rh-cta-btn-amazon { 
    background: linear-gradient(135deg, #ff9900 0%, #e68a00 100%);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.4);
    border: 2px solid #ff9900;
}

.rh-cta-btn-amazon:hover {
    box-shadow: 0 15px 40px rgba(255, 153, 0, 0.5);
    background: linear-gradient(135deg, #ffaa11 0%, #f59e00 100%);
    transform: translateY(-4px) scale(1.02);
}

.rh-cta-btn-ceneo { 
    background: linear-gradient(135deg, #e52320 0%, #b91c1c 100%);
    box-shadow: 0 10px 30px rgba(229, 35, 32, 0.4);
    border: 2px solid #e52320;
}

.rh-cta-btn-ceneo:hover {
    box-shadow: 0 15px 40px rgba(229, 35, 32, 0.5);
    background: linear-gradient(135deg, #f53330 0%, #c92c2c 100%);
    transform: translateY(-4px) scale(1.02);
}

.rh-cta-btn-icon { 
    font-size: 20px; 
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.rh-cta-btn-icon-amazon {
    width: 36px;
    height: 36px;
}

.rh-cta-btn-icon-amazon svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 768px) {
    .rh-cta-btn-icon {
        font-size: 36px;
    }
    
    .rh-cta-btn-icon-amazon {
        width: 48px;
        height: 48px;
    }
}

.rh-cta-btn-content { 
    flex: 1; 
    min-width: 0;
}

.rh-cta-btn-label { 
    display: block; 
    font-size: 15px; 
    font-weight: 700; 
    line-height: 1.3;
    margin-bottom: 2px;
}

@media (min-width: 768px) {
    .rh-cta-btn-label {
        font-size: 19px;
        margin-bottom: 4px;
    }
}

.rh-cta-btn-sub { 
    display: block; 
    font-size: 12px; 
    opacity: 0.9; 
    font-weight: 500;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .rh-cta-btn-sub {
        font-size: 14px;
    }
}

.rh-cta-price {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.3);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .rh-cta-price {
        padding: 12px 20px;
        border-radius: 14px;
        font-size: 22px;
    }
}

.rh-cta-btn-arrow { 
    font-size: 20px; 
    opacity: 0.85;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .rh-cta-btn-arrow {
        font-size: 30px;
    }
}

.rh-cta-btn:hover .rh-cta-btn-arrow {
    transform: translateX(8px);
}

.rh-cta-disclaimer { 
    text-align: center; 
    font-size: 12px; 
    color: #94a3b8;
    margin: 24px 0 0 0;
    position: relative;
    z-index: 1;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-style: italic;
}

/* ===== INFO BOXES - ESTETYCZNE ===== */
.rh-info-box {
    display: flex;
    gap: 24px;
    background: #ffffff;
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-left: 4px solid #fbbf24;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.rh-info-box:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
    transform: translateY(-2px);
}

.rh-info-icon { 
    font-size: 44px; 
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.rh-info-content { 
    flex: 1; 
}

.rh-info-content strong { 
    display: block; 
    font-size: 19px; 
    margin-bottom: 14px; 
    color: #92400e; 
    font-weight: 700;
}

.rh-info-content ul { 
    margin: 0; 
    padding-left: 24px; 
    color: #78350f; 
}

.rh-info-content li { 
    margin-bottom: 10px; 
    line-height: 1.7;
}

.rh-warning-box {
    display: flex;
    gap: 24px;
    background: #ffffff;
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid #ef4444;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
    transition: all 0.3s ease;
}

.rh-warning-box:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

.rh-warning-icon { 
    font-size: 44px; 
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.3));
}

.rh-warning-content { 
    flex: 1; 
}

.rh-warning-content strong { 
    display: block; 
    font-size: 19px; 
    margin-bottom: 14px; 
    color: #991b1b; 
    font-weight: 700;
}

.rh-warning-content ul { 
    margin: 0; 
    padding-left: 24px; 
    color: #7f1d1d; 
}

.rh-warning-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* ===== SHORTCODE BOXES (rh-box-info, rh-box-warning, rh-box-tip) ===== */
.rh-box {
    display: flex;
    gap: 20px;
    border-radius: 20px;
    padding: 24px 28px;
    margin: 30px 0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.rh-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.rh-box-icon {
    font-size: 36px;
    flex-shrink: 0;
    line-height: 1;
}

.rh-box-content {
    flex: 1;
    line-height: 1.7;
    font-size: 16px;
}

.rh-box-info {
    background: #ffffff;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-left: 4px solid #3b82f6;
}

.rh-box-warning {
    background: #ffffff;
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid #ef4444;
}

.rh-box-tip {
    background: #ffffff;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-left: 4px solid #10b981;
}

/* ===== AUDIENCE ===== */
.rh-audience-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 35px 0;
}

@media (max-width: 768px) {
    .rh-audience-section { grid-template-columns: 1fr; }
}

.rh-audience-box { 
    border-radius: 16px; 
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid;
}

.rh-audience-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.rh-audience-yes { 
    background: #ffffff;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-left: 4px solid #10b981;
}

.rh-audience-no { 
    background: #ffffff;
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid #ef4444;
}

.rh-audience-box h3 { margin: 0 0 20px 0; font-size: 20px; }
.rh-audience-box ul { 
    list-style: none !important; 
    padding: 0 !important; 
    margin: 0 !important; 
}

.rh-audience-box ul li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
}

.rh-audience-box li { 
    padding: 12px 0; 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 15px;
    list-style: none !important;
    list-style-type: none !important;
}

.rh-audience-box li::before {
    display: none !important;
    content: none !important;
}

.rh-audience-box li:last-child { border-bottom: none; }

.rh-audience-check, .rh-audience-cross {
    flex-shrink: 0;
    font-size: 18px;
    margin-top: 2px;
    display: inline-block;
}

/* ===== DESCRIPTION ===== */
.rh-description-section { margin: 45px 0; }

.rh-description-section h2 { 
    font-size: 28px; 
    margin-bottom: 25px; 
    padding-bottom: 15px; 
    border-bottom: 3px solid #667eea;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rh-description { 
    line-height: 1.9; 
    color: #374151;
    font-size: 16px;
}

.rh-description h3 { 
    font-size: 22px; 
    margin: 40px 0 20px; 
    color: #1f2937;
    padding-left: 15px;
    border-left: 4px solid #667eea;
}

.rh-description p { margin-bottom: 18px; }

/* ===== SPECS TABLE ===== */
.rh-specs-section { margin: 45px 0; }

.rh-specs-table, .rh-description table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 25px 0;
}

.rh-specs-table thead, .rh-description table thead { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
}

.rh-specs-table th, .rh-description table th { 
    padding: 18px 24px; 
    text-align: left; 
    font-weight: 600;
    font-size: 15px;
}

.rh-specs-table td, .rh-description table td { 
    padding: 16px 24px; 
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}

.rh-specs-table tbody tr:nth-child(even), .rh-description table tbody tr:nth-child(even) { background: #f9fafb; }
.rh-specs-table tbody tr:hover, .rh-description table tbody tr:hover { background: #f3f4f6; }

.rh-disclaimer { 
    font-size: 13px; 
    color: #6b7280; 
    font-style: italic; 
    margin-top: 15px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 10px;
}

.rh-specs-disclaimer {
    margin-top: 15px;
    padding: 12px 16px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    font-size: 13px;
    color: #856404;
    text-align: center;
}

.rh-specs-disclaimer small {
    display: block;
    font-size: 12px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .rh-specs-disclaimer {
        text-align: left;
    }
    
    .rh-specs-disclaimer small {
        font-size: 13px;
    }
}

.rh-fun-facts-box {
    display: flex;
    gap: 18px;
    background: #ffffff;
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-left: 4px solid #fbbf24;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
}

.rh-fun-facts-icon {
    font-size: 40px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.2));
}

.rh-fun-facts-content {
    flex: 1;
}

.rh-fun-facts-content strong {
    display: block;
    font-size: 18px;
    margin-bottom: 12px;
    color: #92400e;
    font-weight: 700;
}

.rh-fun-facts-content ul {
    margin: 0;
    padding-left: 22px;
    color: #78350f;
}

.rh-fun-facts-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* ===== VERDICT ===== */
.rh-verdict-section { margin: 45px 0; }

.rh-verdict-box {
    background: linear-gradient(135deg, #667eea15 0%, #764ba220 100%);
    border: 3px solid #667eea;
    border-radius: 24px;
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
}

.rh-verdict-rating { 
    font-size: 56px; 
    font-weight: 800; 
    color: #667eea; 
    line-height: 1;
    text-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.rh-verdict-rating span { font-size: 28px; font-weight: 400; color: #94a3b8; }
.rh-verdict-text { flex: 1; font-size: 17px; line-height: 1.8; color: #374151; }

/* ===== RELATED ===== */
.rh-related { 
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); 
    border-radius: 24px; 
    padding: 35px; 
    margin: 45px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.rh-related h3 { margin: 0 0 25px 0; font-size: 22px; }

.rh-related-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
}

.rh-related-item {
    display: block;
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    color: #1f2937;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid transparent;
}

.rh-related-item:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); 
    color: #667eea;
    border-color: #667eea;
}

.rh-related-title { display: block; font-weight: 700; margin-bottom: 10px; font-size: 16px; }
.rh-related-rating { color: #fbbf24; font-size: 14px; }

/* ===== INTERNAL LINKS ===== */
.rh-internal-link { 
    color: #667eea; 
    text-decoration: none; 
    border-bottom: 2px dotted #667eea;
    transition: all 0.2s ease;
}
.rh-internal-link:hover { 
    border-bottom-style: solid;
    color: #764ba2;
}

/* ===== PRODUCTS ARCHIVE ===== */
.rh-products-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.rh-archive-header {
    margin-bottom: 40px;
    text-align: center;
}

.rh-archive-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #1e293b;
}

.rh-archive-category {
    font-size: 18px;
    color: #64748b;
}

.rh-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.rh-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.rh-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.rh-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.rh-product-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.rh-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Featured image na stronie produktu */
.single-rh_product .post-thumbnail,
.single-rh_product .wp-post-image,
.single-rh_product img.attachment-post-thumbnail {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 30px;
}

.single-rh_product .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.rh-product-title {
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.rh-product-rating {
    padding: 0 20px 15px;
    color: #fbbf24;
    font-size: 16px;
}

.rh-product-rating span {
    color: #64748b;
    margin-left: 5px;
}

.rh-product-excerpt {
    padding: 0 20px 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.rh-pagination {
    text-align: center;
    margin-top: 40px;
}

.rh-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s ease;
}

.rh-pagination .page-numbers:hover,
.rh-pagination .page-numbers.current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.rh-no-products {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    font-size: 18px;
}

/* ===== WIDGETS - SIDEBAR ===== */
.rh-widget-products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rh-widget-product-item {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
}

.rh-widget-product-item:last-child {
    border-bottom: none;
}

.rh-widget-product-item:hover {
    padding-left: 8px;
}

.rh-widget-product-item a {
    text-decoration: none;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s ease;
    position: relative;
}

.rh-widget-product-item a::before,
.rh-widget-product-item a::after {
    display: none !important;
}

.rh-widget-product-item a:hover {
    color: #667eea;
}

.rh-widget-product-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.rh-widget-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-widget-product-content {
    flex: 1;
    min-width: 0;
}

.rh-widget-product-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
}

.rh-widget-product-rating {
    display: inline-block;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 600;
}

/* Widget wrapper */
.rh-widget-wrapper {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    border-left: none;
    --rh-widget-accent: #667eea;
}

 .rh-widget-wrapper::before {
     content: '';
     position: absolute;
     top: 0;
     bottom: 0;
     left: 0;
     width: 4px;
     background: var(--rh-widget-accent);
     border-top-left-radius: inherit;
     border-bottom-left-radius: inherit;
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
     pointer-events: none;
 }

.rh-widget-wrapper .widget-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

/* Category label - prawy dolny róg */
.rh-widget-product-item {
    position: relative;
}

.rh-widget-product-content {
    position: relative;
    flex: 1;
    min-width: 0;
}

.rh-widget-category-label {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 768px) {
    .rh-widget-category-label {
        bottom: -2px;
        right: -2px;
        font-size: 9px;
        padding: 2px 6px;
    }
}

/* Search widget */
.rh-search-widget {
    position: relative;
    z-index: 20;
    overflow: visible;
}

.rh-search-container {
    position: relative;
    display: flex;
    gap: 8px;
}

.rh-search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.rh-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.rh-search-button {
    padding: 12px 20px;
    background: #667eea;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    position: relative;
}

.rh-search-button::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.rh-search-button:hover {
    background: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.rh-search-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .rh-search-button {
        padding: 10px 16px;
        min-width: 45px;
    }
    
    .rh-search-button::before {
        width: 18px;
        height: 18px;
    }
    
    .rh-widget-wrapper {
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 15px;
    }
    
    .rh-widget-wrapper .widget-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .rh-search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .rh-search-input {
        width: 100%;
    }
    
    .rh-search-button {
        width: 100%;
        min-width: auto;
    }
    
    .rh-widget-product-item {
        padding: 10px 0;
    }
    
    .rh-widget-product-thumb {
        width: 50px;
        height: 50px;
    }
    
    .rh-widget-category-label {
        bottom: -2px;
        right: -2px;
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .rh-search-results {
        max-height: 300px;
        margin-top: 10px;
    }
    
    .rh-back-to-top {
        width: 45px;
        height: 45px;
        bottom: 90px;
        right: 15px;
    }
    
    .rh-back-to-top::before {
        border-left-width: 9px;
        border-right-width: 9px;
        border-bottom-width: 14px;
    }
    
    .rh-amazon-floating-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .rh-amazon-floating-btn::before {
        font-size: 16px;
    }
}

.rh-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 2000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

 .rh-search-results-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: auto;
     z-index: 2147483647;
 }

.rh-search-results.active {
    display: block;
}

.rh-search-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rh-search-results li {
    padding: 0;
    border-bottom: 1px solid #f1f5f9;
}

.rh-search-results li:last-child {
    border-bottom: none;
}

.rh-search-results a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.2s ease;
}

.rh-search-results a:hover {
    background: #f8fafc;
}

.rh-search-results .rh-search-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
}

.rh-search-results .rh-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-search-results .rh-search-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rh-search-results .rh-search-category {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.rh-search-results .rh-search-title {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rh-search-results .rh-search-rating {
    color: #fbbf24;
    font-size: 11px;
    font-weight: 600;
}

.rh-search-no-results {
    padding: 20px 15px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.rh-search-loading {
    padding: 20px 15px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* ===== AUTHOR BOX ===== */
.rh-author-box {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-left: 4px solid #667eea;
    border-radius: 16px;
    padding: 24px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08);
}

@media (max-width: 768px) {
    .rh-author-box {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
}

.rh-author-avatar {
    flex-shrink: 0;
}

.rh-author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .rh-author-avatar {
        text-align: center;
    }
    
    .rh-author-avatar img {
        width: 60px;
        height: 60px;
    }
}

.rh-author-content {
    flex: 1;
}

.rh-author-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

@media (max-width: 768px) {
    .rh-author-name {
        font-size: 18px;
        text-align: center;
    }
}

.rh-author-bio {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

@media (min-width: 768px) {
    .rh-author-bio {
        font-size: 16px;
    }
}

/* ===== PRODUCT AUTHOR HEADER (UNDER TITLE) ===== */
.rh-product-author-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    margin: 20px 0 30px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .rh-product-author-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px 0;
        margin: 16px 0 24px 0;
    }
}

.rh-product-author-avatar {
    flex-shrink: 0;
}

.rh-product-author-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .rh-product-author-avatar img {
        width: 50px;
        height: 50px;
    }
}

.rh-product-author-info {
    flex: 1;
}

.rh-product-author-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .rh-product-author-name {
        font-size: 15px;
    }
}

.rh-product-author-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

@media (max-width: 768px) {
    .rh-product-author-bio {
        font-size: 13px;
    }
}

/* ===== FLOATING BUTTONS ===== */
/* Wspólne style dla wszystkich floating buttonów */
.rh-back-to-top,
.rh-amazon-floating-btn {
    position: fixed;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.rh-back-to-top.visible,
.rh-amazon-floating-btn.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.rh-back-to-top:hover,
.rh-amazon-floating-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.rh-back-to-top:active,
.rh-amazon-floating-btn:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

/* Back to Top Button - zawsze po prawej stronie */
.rh-back-to-top {
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: #ffffff;
}

.rh-back-to-top::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #ffffff;
    margin-top: -2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.rh-back-to-top:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* Amazon Floating Button - po lewej stronie gdy obecny */
.rh-amazon-floating-btn {
    bottom: 24px;
    right: calc(24px + 56px + 12px);
    left: auto;
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: #ffffff;
    border-radius: 28px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    gap: 10px;
    letter-spacing: 0.3px;
    min-height: 56px;
}

.rh-amazon-floating-btn::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2%202h3l2.4%2012.4a2%202%200%200%200%202%201.6h9.5a2%202%200%200%200%202-1.6L23%206H6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.rh-amazon-floating-btn:hover {
    background: linear-gradient(135deg, #ffaa11 0%, #ff7700 100%);
    box-shadow: 0 8px 24px rgba(255, 153, 0, 0.5);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .rh-back-to-top {
        right: 16px;
        width: 52px;
        height: 52px;
        bottom: 16px;
    }
    
    .rh-back-to-top::before {
        border-left-width: 7px;
        border-right-width: 7px;
        border-bottom-width: 11px;
    }
    
    .rh-amazon-floating-btn {
        bottom: 16px;
        right: calc(16px + 52px + 10px);
        left: auto;
        padding: 12px 18px;
        font-size: 13px;
        min-height: 52px;
        border-radius: 26px;
    }
    
    .rh-amazon-floating-btn::before {
        width: 18px;
        height: 18px;
    }
    
}

/* ===== MENU CATEGORY BADGES ===== */
.rh-menu-badge {
    display: inline-block;
    background: #667eea;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    line-height: 1.4;
    vertical-align: middle;
    min-width: 20px;
    text-align: center;
}

.rh-menu-badge-new {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
    line-height: 1.4;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Style dla menu WordPress */
.menu-item .rh-menu-badge,
.widget .rh-menu-badge {
    font-size: 10px;
    padding: 1px 5px;
}

.menu-item .rh-menu-badge-new,
.widget .rh-menu-badge-new {
    font-size: 9px;
    padding: 1px 5px;
}

@media (max-width: 768px) {
    .rh-menu-badge {
        font-size: 10px;
        padding: 1px 5px;
    }
    
    .rh-menu-badge-new {
        font-size: 9px;
        padding: 1px 4px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .rh-hero { padding: 25px; }
    .rh-verdict-box { flex-direction: column; text-align: center; }
    .rh-cta-widget { padding: 20px; }
    .rh-cta-header { flex-direction: column; text-align: center; }
    .rh-cta-icon { margin: 0 auto; }
    .rh-cta-btn { padding: 18px; flex-wrap: wrap; }
    .rh-cta-btn-content { min-width: 100%; text-align: center; margin-bottom: 10px; }
    .rh-products-grid { grid-template-columns: 1fr; }
}
