/* ================================================== PRICE CHANGES PAGE - Spadki / Wzrosty cen ================================================== */.price-changes-page{padding:40px 0 80px;min-height:60vh}/* Page Header */.page-header{margin-bottom:32px}.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:20px}.breadcrumb a{color:var(--text-light);text-decoration:none;transition:color 0.15s ease}.breadcrumb a:hover{color:var(--primary-color)}.breadcrumb .separator{color:var(--text-light);opacity:0.5}.breadcrumb .current{color:var(--secondary-color);font-weight:500}/* Title Row */.page-title-row{display:flex;align-items:center;gap:16px;margin-bottom:24px}.page-title-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;flex-shrink:0}.page-title-icon.drops{background:linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);color:#047857}.page-title-icon.increases{background:linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);color:#dc2626}.page-title{font-size:28px;font-weight:700;color:var(--secondary-color);margin:0;line-height:1.2}.page-subtitle{font-size:14px;color:var(--text-light);margin:4px 0 0 0}.page-count{margin-left:auto;background:var(--gray-color);padding:8px 16px;border-radius:20px;font-size:13px;font-weight:600;color:var(--text-light);white-space:nowrap}/* Type Switcher */.type-switcher{display:flex;gap:12px;padding:6px;background:var(--gray-color);border-radius:12px;width:fit-content}.type-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;color:var(--text-light);text-decoration:none;transition:all 0.2s ease}.type-btn:hover{background:white;color:var(--secondary-color)}.type-btn.active{background:white;color:var(--secondary-color);box-shadow:0 2px 8px rgba(0, 0, 0, 0.08)}.type-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px}.type-icon.drops{background:linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);color:#047857}.type-icon.increases{background:linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);color:#dc2626}/* Products List */.price-changes-list{background:white;border-radius:16px;border:1px solid var(--border-color);overflow:hidden}/* Single Item */.price-change-item{display:grid;grid-template-columns:70px 1fr 160px 100px;gap:16px;align-items:center;padding:14px 20px;text-decoration:none;border-bottom:1px solid var(--border-color);transition:background 0.15s ease}.price-change-item:last-child{border-bottom:none}.price-change-item:hover{background:var(--gray-color)}/* Image */.pci-image{width:70px;height:70px;background:var(--gray-color);border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center}.pci-thumb{max-width:100%;max-height:100%;object-fit:contain}.pci-placeholder{width:100%;height:100%;background:linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%)}/* Info */.pci-info{min-width:0}.pci-name{font-size:14px;font-weight:600;color:var(--secondary-color);margin:0 0 6px 0;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pci-meta{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;color:var(--text-light)}.pci-meta span:not(:last-child)::after{content:"•";margin-left:6px;opacity:0.4}.pci-brand{font-weight:500}/* Mobile prices - hidden by default */.pci-mobile-prices{display:none;align-items:center;gap:6px;margin-top:6px;font-size:13px}.pci-mobile-old{color:var(--text-light);text-decoration:line-through}.pci-mobile-arrow{color:var(--text-light);font-size:11px}.pci-mobile-new{font-weight:700;color:var(--secondary-color)}/* Prices */.pci-prices{display:flex;align-items:center;gap:8px;justify-content:center}.pci-old{font-size:13px;color:var(--text-light);text-decoration:line-through}.pci-arrow{font-size:14px;font-weight:600}.pci-arrow.drops{color:#10b981}.pci-arrow.increases{color:#dc2626}.pci-new{font-size:16px;font-weight:700;color:var(--secondary-color)}/* Change Badge */.pci-change{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.pci-percent{font-size:15px;font-weight:700;padding:4px 10px;border-radius:6px}.pci-change.drops .pci-percent{background:linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);color:#047857}.pci-change.increases .pci-percent{background:linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);color:#dc2626}.pci-amount{font-size:11px;font-weight:600}.pci-change.drops .pci-amount{color:#10b981}.pci-change.increases .pci-amount{color:#dc2626}/* Load More */.load-more-container{margin-top:32px;text-align:center}.load-more-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;background:var(--primary-color);border:none;border-radius:10px;font-size:15px;font-weight:600;color:white;cursor:pointer;transition:all 0.2s ease;font-family:var(--font-primary)}.load-more-btn:hover{background:var(--secondary-color);transform:translateY(-2px);box-shadow:0 4px 12px rgba(12, 222, 208, 0.3)}.load-more-btn.loading{opacity:0.7;pointer-events:none}.load-more-count{opacity:0.8}.load-more-progress{margin-top:16px;display:flex;flex-direction:column;align-items:center;gap:8px}.progress-bar{width:200px;height:6px;background:var(--gray-color);border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg, var(--primary-color) 0%, #0cded0 100%);border-radius:3px;transition:width 0.3s ease}.progress-text{font-size:12px;color:var(--text-light)}/* Empty State */.empty-state{text-align:center;padding:80px 20px;background:white;border-radius:16px;border:1px solid var(--border-color)}.empty-icon{margin-bottom:20px;color:var(--text-light);opacity:0.4}.empty-state h2{font-size:22px;color:var(--secondary-color);margin:0 0 12px 0}.empty-state p{font-size:14px;color:var(--text-light);margin:0 0 24px 0}.btn-primary{display:inline-block;padding:12px 24px;background:var(--primary-color);color:white;text-decoration:none;border-radius:8px;font-weight:600;transition:all 0.2s ease}.btn-primary:hover{background:var(--secondary-color)}/* ================================================== SUMMARY SECTION ================================================== */.price-summary{margin-bottom:32px}.summary-title{font-size:22px;font-weight:700;color:var(--secondary-color);margin:0 0 24px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.summary-period{font-size:13px;font-weight:500;color:var(--text-light);background:var(--gray-color);padding:4px 12px;border-radius:20px}/* Stats Grid */.summary-stats{display:grid;grid-template-columns:repeat(4, 1fr);gap:16px;margin-bottom:32px}.stat-card{background:white;border:1px solid var(--border-color);border-radius:12px;padding:20px;display:flex;align-items:center;gap:16px}.stat-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;flex-shrink:0}.stat-icon.drops{background:linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);color:#047857}.stat-icon.increases{background:linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);color:#dc2626}.stat-icon.neutral{background:linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);color:#4f46e5}.stat-icon.highlight{background:linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);color:#d97706}.stat-icon.brands{background:linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);color:#9333ea}.stat-content{display:flex;flex-direction:column;gap:2px}.stat-value{font-size:24px;font-weight:700;color:var(--secondary-color);line-height:1.2}.stat-label{font-size:13px;color:var(--text-light)}/* Details Grid */.summary-details{display:grid;grid-template-columns:repeat(3, 1fr);gap:20px;margin-bottom:32px}.detail-box{background:white;border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.detail-header{padding:12px 16px;background:var(--gray-color);border-bottom:1px solid var(--border-color)}.detail-badge{font-size:12px;font-weight:600;color:var(--text-light);text-transform:uppercase;letter-spacing:0.5px}.detail-content{padding:16px}/* Record Box */.record-box.drops{border-color:#a7f3d0}.record-box.drops .detail-header{background:linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%)}.record-box.increases{border-color:#fecaca}.record-box.increases .detail-header{background:linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%)}.record-product{display:block;text-decoration:none;margin-bottom:12px}.record-name{display:block;font-size:14px;font-weight:600;color:var(--secondary-color);line-height:1.4;margin-bottom:4px}.record-product:hover .record-name{color:var(--primary-color)}.record-brand{font-size:12px;color:var(--text-light)}.record-change{display:flex;align-items:center;gap:12px}.record-percent{font-size:20px;font-weight:700;padding:6px 12px;border-radius:8px}.record-box.drops .record-percent{background:linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);color:#047857}.record-box.increases .record-percent{background:linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);color:#dc2626}.record-prices{font-size:13px;color:var(--text-light)}/* Distribution Box */.distribution-bars{padding:16px}.dist-row{display:grid;grid-template-columns:60px 1fr 40px;gap:12px;align-items:center;margin-bottom:10px}.dist-row:last-child{margin-bottom:0}.dist-label{font-size:12px;font-weight:500;color:var(--text-light)}.dist-bar-wrap{height:8px;background:var(--gray-color);border-radius:4px;overflow:hidden}.dist-bar{height:100%;border-radius:4px;transition:width 0.3s ease}.dist-bar.drops{background:linear-gradient(90deg, #10b981 0%, #34d399 100%)}.dist-bar.increases{background:linear-gradient(90deg, #dc2626 0%, #f87171 100%)}.dist-count{font-size:12px;font-weight:600;color:var(--secondary-color);text-align:right}/* Brands Box */.brands-list{padding:12px 16px}.brand-row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--border-color)}.brand-row:last-child{border-bottom:none}.brand-rank{width:24px;height:24px;background:var(--gray-color);border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--text-light)}.brand-name{flex:1;font-size:13px;font-weight:600;color:var(--secondary-color)}.brand-count{font-size:12px;color:var(--text-light)}/* Comparison */.summary-comparison{background:var(--gray-color);border-radius:12px;padding:20px 24px;text-align:center}.comparison-text{font-size:14px;color:var(--text-light);line-height:1.6}.comparison-text strong{color:var(--secondary-color);font-weight:700}.comparison-text a{color:var(--primary-color);text-decoration:none;font-weight:600}.comparison-text a:hover{text-decoration:underline}/* Summary Responsive */@media (max-width:968px){.summary-stats{grid-template-columns:repeat(2, 1fr)}.summary-details{grid-template-columns:1fr}.stat-card{padding:16px}.stat-icon{width:40px;height:40px}.stat-value{font-size:20px}}@media (max-width:640px){.price-summary{margin-bottom:24px}.summary-title{font-size:18px;flex-direction:column;align-items:flex-start;gap:8px}.summary-stats{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:14px;flex-direction:column;text-align:center;gap:10px}.stat-icon{width:36px;height:36px}.stat-icon svg{width:18px;height:18px}.stat-value{font-size:18px}.stat-label{font-size:11px}.record-change{flex-direction:column;align-items:flex-start;gap:8px}.dist-row{grid-template-columns:50px 1fr 30px;gap:8px}}/* Responsive */@media (max-width:968px){.page-title-row{flex-wrap:wrap}.page-count{margin-left:0;order:3;width:100%;text-align:center;margin-top:12px}.price-change-item{grid-template-columns:60px 1fr auto auto;gap:10px;padding:12px 16px}.pci-image{width:60px;height:60px}.pci-prices{flex-direction:column;gap:2px;align-items:flex-end}.pci-arrow{display:none}.pci-change{align-items:center}.pci-amount{display:none}}@media (max-width:640px){.price-changes-page{padding:24px 0 60px}.page-title-icon{width:48px;height:48px}.page-title{font-size:22px}.type-switcher{width:100%}.type-btn{flex:1;justify-content:center;padding:10px 12px;font-size:13px}.price-change-item{grid-template-columns:50px 1fr auto;gap:10px;padding:10px 12px}.pci-image{width:50px;height:50px}.pci-name{font-size:13px;-webkit-line-clamp:2}.pci-meta{font-size:11px}.pci-prices{display:none}.pci-mobile-prices{display:flex}.pci-change{flex-direction:column;gap:4px}.pci-percent{font-size:13px;padding:3px 8px}.pci-amount{display:block;font-size:10px}.load-more-btn{width:100%;justify-content:center}}