/* WORKING SKIN - Complete */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #2563eb;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --text: #111827;
    --light: #6b7280;
    --border: #e5e7eb;
    --bg: #f9fafb;
}
body { font-family: system-ui, sans-serif; line-height: 1.6; color: var(--text); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }
header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-content { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; }
.logo img { height: 100px; width: auto; max-width: 300px; }
.main-nav { display: flex; gap: 1.5rem; align-items: center; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover { color: var(--primary); }
.nav-dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 0.25rem; cursor: pointer; }
.dropdown-toggle .arrow { font-size: 0.7em; transition: transform 0.2s; }
.nav-dropdown:hover .dropdown-toggle .arrow { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 150px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-radius: 4px; padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.2s; z-index: 9999; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: block; padding: 0.75rem 1.5rem; color: var(--text); text-decoration: none; transition: background 0.2s; white-space: nowrap; }
.dropdown-item:hover { background: var(--bg); color: var(--primary); }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; cursor: pointer; }
.mobile-menu-toggle span { width: 25px; height: 3px; background: var(--text); }
.products-grid, .articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; margin: 2rem 0; }
.product-card, .article-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.product-card:hover, .article-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.product-card .product-image, .article-card .article-image { position: relative; display: block; }
.product-card img, .article-card img { width: 100%; height: 250px; object-fit: cover; }
.product-info, .article-content { padding: 1.5rem; }
.product-card h3, .article-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.product-card h3 a, .article-card h3 a { color: var(--text); text-decoration: none; }
.product-card h3 a:hover, .article-card h3 a:hover { color: var(--primary); }
.article-content p { color: var(--light); margin: 0.5rem 0; }
.rating { margin: 0.5rem 0; font-size: 0.9rem; color: var(--warning); }
.price { display: flex; gap: 0.5rem; align-items: center; margin: 1rem 0; }
.price .old { text-decoration: line-through; color: var(--light); }
.price .current { font-size: 1.5rem; font-weight: bold; color: var(--success); }
.badge { position: absolute; top: 10px; right: 10px; background: var(--danger); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; }
.btn { display: block; padding: 12px; background: var(--primary); color: #fff; text-align: center; text-decoration: none; border-radius: 4px; font-weight: 600; transition: background 0.2s; border: none; cursor: pointer; }
.btn:hover { background: #1d4ed8; }
.read-more { display: inline-block; color: var(--primary); text-decoration: none; font-weight: 500; }
.read-more:hover { text-decoration: underline; }
.product-page{max-width:1200px;margin:0 auto;padding-bottom:3rem}
.product-hero{display:grid;grid-template-columns:1fr 1fr;gap:3rem;margin-bottom:3rem}
.product-images{position:relative}
.product-images img{width:100%;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.1)}
.sale-badge{position:absolute;top:15px;right:15px;background:#dc2626;color:#fff;padding:.75rem 1.5rem;border-radius:8px;font-weight:700;font-size:1.1rem;z-index:10}
.trust-badges{margin-top:1rem;display:flex;gap:.5rem;flex-wrap:wrap}
.trust-badge{background:#f3f4f6;padding:.5rem 1rem;border-radius:6px;font-size:.875rem}
.product-info h1{font-size:2.5rem;margin-bottom:1rem;line-height:1.2}
.rating{margin-bottom:1.5rem}
.stars{color:#fbbf24;font-size:1.5rem}
.rating-text{color:#6b7280;margin-left:.5rem}
.price-box{margin:2rem 0;padding:1.5rem;background:#f9fafb;border-radius:12px}
.current-price{font-size:3rem;font-weight:700;color:#16a34a;display:block}
.old-price{text-decoration:line-through;color:#9ca3af;font-size:1.75rem;display:block;margin-bottom:.5rem}
.discount-badge{background:#dc2626;color:#fff;padding:.5rem 1rem;border-radius:6px;display:inline-block;margin-top:.5rem}
.warning-box{background:#fef3c7;padding:1.25rem;border-radius:8px;margin:1.5rem 0;border-left:4px solid #f59e0b;font-weight:600}
.cta-button{display:block;background:#2563eb;color:#fff;padding:1.25rem 2rem;text-align:center;border-radius:12px;text-decoration:none;font-weight:700;font-size:1.5rem;transition:all .3s;box-shadow:0 4px 12px rgba(37,99,235,.3)}
.cta-button:hover{background:#1d4ed8;transform:translateY(-2px);box-shadow:0 6px 16px rgba(37,99,235,.4)}
.product-sections{margin-top:4rem}
.content-section{margin-bottom:2rem;padding:2rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.05);position:relative}
.content-section h2{font-size:2rem;margin-bottom:1.5rem;color:#111827;border-bottom:3px solid #2563eb;padding-bottom:.5rem}
.content-section h3{font-size:1.5rem;margin:1.5rem 0 1rem 0;color:#1e293b}
.content-section p{line-height:1.8;margin-bottom:1rem;color:#475569}
.content-section ul{margin:1rem 0;padding-left:1.5rem}
.content-section ul li{margin-bottom:.75rem;line-height:1.7;color:#475569}
.cta-section.cta-mid{text-align:center;margin:3rem auto;padding:2.5rem 2rem;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border-radius:16px;border:3px solid #3b82f6;box-shadow:0 4px 16px rgba(59,130,246,.2);max-width:900px}
.cta-section .cta-text{font-size:1.35rem;font-weight:700;color:#1e40af;margin-bottom:1.5rem;line-height:1.5}
.cta-section .cta-button{display:inline-block;margin:0 auto;font-size:1.35rem;padding:1.25rem 3rem;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%)}
.cta-section .cta-button:hover{background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);transform:translateY(-3px)}
.final-cta{text-align:center;padding:4rem 2rem;background:linear-gradient(135deg,#1e3a8a 0%,#1e40af 100%);color:#fff;border-radius:20px;margin-top:5rem;box-shadow:0 12px 40px rgba(30,58,138,.4);position:relative;overflow:hidden}
.final-cta::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:pulse 3s ease-in-out infinite}
.final-cta h2{color:#fff;font-size:2.75rem;margin-bottom:1.25rem;border:none;padding:0;position:relative;z-index:1}
.final-cta p{font-size:1.35rem;margin-bottom:2.5rem;opacity:.95;position:relative;z-index:1;max-width:700px;margin-left:auto;margin-right:auto}
.final-cta .cta-final-btn{background:#fff;color:#1e40af;font-size:1.85rem;padding:1.75rem 4rem;display:inline-block;margin-bottom:1.5rem;box-shadow:0 6px 20px rgba(255,255,255,.4);position:relative;z-index:1;border-radius:16px;text-decoration:none}
.final-cta .cta-final-btn:hover{background:#f1f5f9;transform:translateY(-5px);box-shadow:0 10px 30px rgba(255,255,255,.5)}
.urgency-text{font-size:1.15rem;margin-top:1.75rem;font-weight:700;color:#fde68a;text-transform:uppercase;letter-spacing:1.5px;position:relative;z-index:1;animation:blink 2s ease-in-out infinite}
@keyframes pulse{0%,100%{transform:scale(1) rotate(0deg)}50%{transform:scale(1.1) rotate(5deg)}}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.7}}
.article-page { max-width: 800px; margin: 2rem auto; }
.article-page h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.article-page .meta { color: var(--light); margin-bottom: 2rem; display: flex; gap: 1rem; }
.article-page .hero-image { margin: 2rem 0; border-radius: 8px; overflow: hidden; }
.article-page .excerpt { font-size: 1.2rem; font-style: italic; color: var(--light); margin: 2rem 0; padding-left: 1rem; border-left: 4px solid var(--primary); }
.article-page .content { font-size: 1.1rem; line-height: 1.8; }
.article-page .content h2 { margin: 2rem 0 1rem; }
.article-page .content p { margin: 1rem 0; }
.author-box { display: flex; gap: 1.5rem; margin: 3rem 0; padding: 2rem; background: var(--bg); border-radius: 8px; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; }
.cat-header { text-align: center; margin: 2rem 0 3rem; }
.cat-header h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.cat-header p { font-size: 1.2rem; color: var(--light); }
.cat-header .count { font-size: 1rem; margin-top: 0.5rem; }
section { margin: 3rem 0; }
section h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.error-page { text-align: center; padding: 4rem 0; }
.error-page h1 { font-size: 8rem; color: var(--primary); }
.error-page h2 { font-size: 2rem; margin: 1rem 0; }
.error-page .btn { display: inline-block; margin-top: 2rem; }
.page-content { max-width: 800px; margin: 2rem auto; }
.page-content h1 { margin-bottom: 2rem; }
.links-list { list-style: none; max-width: 600px; margin: 2rem auto; }
.links-list li { margin: 1rem 0; padding: 1rem; background: var(--bg); border-radius: 4px; }
.links-list a { color: var(--text); text-decoration: none; font-weight: 500; }
.links-list a:hover { color: var(--primary); }
footer { background: #2c3e50; color: #fff; margin-top: 4rem; padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin: 0.5rem 0; }
.footer-col a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,0.7); }
/* FAQ */
.faq-list { margin-top: 1.5rem; }
.faq-item { margin-bottom: 1.5rem; padding: 1.5rem; background: #f9fafb; border-radius: 8px; border-left: 4px solid #3b82f6; }
.faq-question { font-size: 1.25rem; font-weight: 600; color: #1e293b; margin-bottom: 0.75rem; }
.faq-question::before { content: "Q: "; color: var(--primary); font-weight: bold; }
.faq-answer { color: #475569; line-height: 1.8; }
.faq-answer::before { content: "A: "; color: var(--success); font-weight: bold; }

@media (max-width: 768px) {
    .logo img { height: 70px; }
    .mobile-menu-toggle { display: flex; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #fff; flex-direction: column; align-items: flex-start; padding: 5rem 2rem; box-shadow: -2px 0 8px rgba(0,0,0,0.1); transition: right 0.3s; overflow-y: auto; }
    .main-nav.active { right: 0; }
    .product-hero { grid-template-columns: 1fr; }
    .products-grid, .articles-grid { grid-template-columns: 1fr; }
    .product-info h1{font-size:2rem}
    .current-price{font-size:2.25rem}
    .content-section{padding:1.5rem}
    .content-section h2{font-size:1.75rem}
    .cta-section.cta-mid{padding:1.75rem 1.5rem;margin:2rem auto}
    .cta-section .cta-text{font-size:1.15rem}
    .cta-section .cta-button{font-size:1.15rem;padding:1rem 2rem}
    .final-cta{padding:2.5rem 1.5rem;margin-top:3rem}
    .final-cta h2{font-size:1.85rem}
    .final-cta p{font-size:1.1rem}
    .final-cta .cta-final-btn{font-size:1.35rem;padding:1.35rem 2.5rem}
    .urgency-text{font-size:1rem}
}

/* Related Products */
.related-products { margin: 4rem 0; padding: 3rem 0; background: #f9fafb; }
.related-products h2 { text-align: center; margin-bottom: 2rem; font-size: 2rem; }
/* ============================================
   ACCESSIBILITY PATCH - Dodaj na końcu CSS
   Naprawia problemy PageSpeed
   ============================================ */

/* FIX 1: Gwiazdki - lepszy kontrast */
.stars {
  color: #d97706 !important; /* Ciemniejszy pomarańczowy zamiast #fbbf24 */
  filter: brightness(0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* FIX 2: Rating text - lepszy kontrast */
.rating-text {
  color: #374151 !important; /* Ciemniejszy zamiast #6b7280 */
}

/* FIX 3: Mobile menu - lepszy kontrast i accessibility */
.mobile-menu-toggle {
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
  padding: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.mobile-menu-toggle:hover {
  background: rgba(0,0,0,0.05);
}

.mobile-menu-toggle span {
  background: var(--text); /* Zapewnia kontrast */
}

/* FIX 4: Wszystkie ceny - maksymalny kontrast */
.price .current,
.current-price {
  color: #15803d !important; /* Ciemniejszy zielony zamiast #16a34a */
}

.price .old,
.old-price {
  color: #6b7280 !important; /* Wystarczający kontrast */
}

/* FIX 5: Linki - lepszy kontrast */
.product-card h3 a,
.article-card h3 a {
  color: #111827 !important; /* Czarny zamiast var(--text) */
}

.product-card h3 a:hover,
.article-card h3 a:hover {
  color: #1d4ed8 !important; /* Ciemniejszy niebieski */
}

/* FIX 6: Article content - lepszy kontrast */
.article-content p {
  color: #374151 !important; /* Ciemniejszy zamiast var(--light) */
}

/* FIX 7: Footer links - lepszy kontrast */
.footer-col a {
  color: rgba(255,255,255,0.95) !important; /* Jaśniejszy na ciemnym tle */
}

.footer-col a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* FIX 8: Focus styles - keyboard navigation */
a:focus,
button:focus,
.btn:focus,
.cta-button:focus {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

/* FIX 9: Content sections - lepszy kontrast tekstu */
.content-section p,
.content-section ul li {
  color: #1f2937 !important; /* Ciemniejszy zamiast #475569 */
}

/* FIX 10: Meta info - lepszy kontrast */
.article-page .meta {
  color: #374151 !important;
}

/* FIX 11: Error page - lepszy kontrast */
.error-page h2 {
  color: #111827;
}

/* FIX 12: FAQ - lepszy kontrast */
.faq-answer {
  color: #1f2937 !important;
}

/* FIX 13: Trust badges - lepszy kontrast */
.trust-badge {
  background: #e5e7eb;
  color: #111827;
}

/* FIX 14: Warning box - lepszy kontrast */
.warning-box {
  color: #78350f; /* Ciemny brązowy na żółtym tle */
}

/* FIX 15: Breadcrumbs (jeśli masz) */
.breadcrumbs a {
  color: #1d4ed8;
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: #2563eb;
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 700;
}

.skip-to-main:focus {
  top: 0;
}