/* RESET I PODSTAWOWE STYLE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0b0b0c;
  color: #efeff1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0b0c;
}
::-webkit-scrollbar-thumb {
  background: #232326;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2f2f33;
}

/* NAVBAR (GÓRNY PASEK) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background-color: rgba(11, 11, 12, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #19191b;
  z-index: 1000;
}

.nav-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* LOGO - ArchiveRepss (ciemny złoty) */
.brand-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 1px;
}

.logo-archive {
  color: #ffffff;
}

.logo-repss {
  color: #c9a84c;
  background: linear-gradient(135deg, #c9a84c, #a8892a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #c9a84c;
  border-radius: 50%;
  margin-left: 4px;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.nav-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-box input {
  background-color: #141416;
  border: 1px solid #232326;
  border-radius: 8px;
  padding: 8px 12px 8px 36px;
  color: #ffffff;
  font-size: 13px;
  width: 200px;
  transition: all 0.2s ease;
}

.nav-search-box input:focus {
  outline: none;
  border-color: #3e3e43;
  width: 260px;
}

.nav-search-box .search-icon {
  position: absolute;
  left: 12px;
  width: 14px;
  height: 14px;
  color: #71717a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
  background-color: #141416;
}

.nav-link.active {
  color: #ffffff;
  background-color: #19191b;
}

.nav-right-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  background: none;
  border: none;
  color: #a1a1aa;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.icon-btn:hover {
  background-color: #141416;
  color: #ffffff;
}

/* GŁÓWNY KONTENER KONTENTU */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 24px 60px 24px;
}

.hero-section {
  text-align: center;
  margin-bottom: 48px;
}

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #efeff1;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 8px;
}

.hero-section p {
  font-size: 16px;
  color: #71717a;
}

/* PASEK WYSZUKIWANIA I FILTRÓW */
.filter-controls-section {
  margin-bottom: 32px;
}

.search-filter-wrapper {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.product-search-input {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.product-search-input input {
  width: 100%;
  background-color: #141416;
  border: 1px solid #19191b;
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  color: #ffffff;
  font-size: 14px;
  transition: border-color 0.2s;
}

.product-search-input input:focus {
  outline: none;
  border-color: #2f2f33;
}

.search-icon-inner {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: #52525b;
}

.filter-toggle-btn {
  background-color: #141416;
  border: 1px solid #19191b;
  border-radius: 12px;
  padding: 0 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.filter-toggle-btn:hover {
  background-color: #19191b;
}

.advanced-filters-panel {
  display: none;
  background-color: #141416;
  border: 1px solid #19191b;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  gap: 24px;
  align-items: flex-end;
}

.advanced-filters-panel.active {
  display: flex;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select, .price-inputs input {
  background-color: #0b0b0c;
  border: 1px solid #19191b;
  border-radius: 8px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 14px;
}

.price-inputs {
  display: flex;
  gap: 8px;
}

.price-inputs input {
  width: 90px;
}

.clear-filters-btn {
  background-color: #232326;
  border: none;
  color: #efeff1;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.clear-filters-btn:hover {
  background-color: #2f2f33;
}

/* KATEGORIE I LICZNIK */
.categories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.categories-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.category-chip {
  background-color: #141416;
  border: 1px solid #19191b;
  color: #a1a1aa;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.category-chip:hover {
  background-color: #19191b;
  color: #ffffff;
}

.category-chip.active {
  background-color: #c9a84c;
  color: #0b0b0c;
  border-color: #c9a84c;
}

.category-chip .item-count {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 8px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 400;
}

.category-chip.active .item-count {
  background: rgba(0, 0, 0, 0.15);
}

#itemCount {
  font-size: 13px;
  color: #71717a;
  white-space: nowrap;
  padding-left: 12px;
}

/* ====== SIATKA PRODUKTÓW - WIĘKSZE ZDJĘCIA ====== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* ====== KARTA PRODUKTU - WIĘKSZA ====== */
.product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #141416;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* ====== TAG NA ZDJĘCIU ====== */
.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: rgba(201, 168, 76, 0.92);
  color: #0b0b0c;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.3);
}

.product-tag.best {
  background: rgba(201, 168, 76, 0.92);
  color: #0b0b0c;
}

.product-tag.budget {
  background: rgba(120, 120, 130, 0.9);
  color: #ffffff;
}

.product-tag.new {
  background: rgba(0, 200, 150, 0.9);
  color: #ffffff;
}

/* ====== OVERLAY ====== */
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.product-info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.product-meta-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-title {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.product-category-label {
  font-size: 12px;
  font-weight: 400;
  color: #a1a1aa;
}

.product-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.product-price-usd {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.product-price-pln {
  font-size: 11px;
  font-weight: 400;
  color: #a1a1aa;
}

/* SPRZEDAWCY */
.seller-card .product-title {
  font-size: 15px;
  max-width: 180px;
}

.seller-card .product-category-label {
  font-size: 11px;
}

.seller-rating .rating-stars {
  color: #c9a84c;
}

/* POPUPY */
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 5, 6, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* POPUP JĘZYKA */
.language-modal-card {
  position: relative;
  background-color: #121214;
  border: 1px solid #1e1e22;
  border-radius: 20px;
  padding: 32px 28px 28px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.popup-overlay.active .language-modal-card {
  transform: scale(1);
}

.language-modal-header {
  margin-bottom: 24px;
}

.language-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.language-modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.language-modal-header p {
  font-size: 14px;
  color: #71717a;
}

.language-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.language-btn {
  width: 100%;
  background-color: #18181c;
  border: 2px solid #222226;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #efeff1;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  font-weight: 500;
}

.language-btn:hover {
  background-color: #1e1e24;
  border-color: #33333a;
}

.language-btn.active {
  border-color: #c9a84c;
  background-color: #1e1e24;
}

.lang-flag {
  font-size: 24px;
}

.lang-name {
  font-size: 15px;
  font-weight: 600;
}

.language-confirm-btn {
  width: 100%;
  padding: 14px;
  background-color: #c9a84c;
  color: #0b0b0c;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-confirm-btn:hover {
  background-color: #b8963a;
  transform: translateY(-1px);
}

/* POPUP AGENTA */
.agent-modal-card {
  position: relative;
  background-color: #121214;
  border: 1px solid #1e1e22;
  border-radius: 20px;
  padding: 32px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active .agent-modal-card {
  transform: scale(1);
}

.modal-close-x {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #71717a;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-x:hover {
  background-color: #1a1a1e;
  color: #ffffff;
}

.modal-header {
  text-align: left;
  margin-bottom: 24px;
  padding-right: 24px;
}

.modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 14px;
  color: #71717a;
  line-height: 1.4;
}

.agent-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agent-select-btn {
  width: 100%;
  background-color: #18181c;
  border: 1px solid #222226;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #efeff1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.agent-select-btn:hover {
  background-color: #1e1e24;
  border-color: #33333a;
  transform: translateY(-1px);
}

.agent-btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.kakobuy-dot { 
  background: #c9a84c; 
}

.usfans-dot { 
  background: #0066ff; 
}

.agent-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.agent-select-btn .arrow-icon {
  color: #52525b;
  transform: translateX(0);
  transition: all 0.2s ease;
}

.agent-select-btn:hover .arrow-icon {
  color: #ffffff;
  transform: translateX(3px);
}

/* POPUP REJESTRACYJNY */
.popup-card {
  position: relative;
  background-color: #121214;
  border: 1px solid #1e1e22;
  border-radius: 20px;
  padding: 32px 28px 28px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.popup-overlay.active .popup-card {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #71717a;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.popup-close:hover {
  background-color: #1a1a1e;
  color: #ffffff;
}

.popup-agent-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background-color: #0b0b0c;
  border: 1px solid #1e1e22;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.popup-agent-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.popup-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.popup-card p {
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.5;
  margin-bottom: 20px;
}

.popup-card p strong {
  color: #ffffff;
}

.popup-code-section {
  background-color: #0b0b0c;
  border: 1px solid #1a1a1e;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.code-label {
  font-size: 12px;
  font-weight: 500;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.code-value-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-value {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.copy-code-btn {
  background-color: #1a1a1e;
  border: none;
  color: #a1a1aa;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.copy-code-btn:hover {
  background-color: #232326;
  color: #ffffff;
}

.popup-discount {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid #1a1a1e;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: #a1a1aa;
  margin-bottom: 20px;
}

.popup-discount strong {
  color: #ffffff;
}

.popup-btn {
  display: inline-block;
  width: 100%;
  padding: 14px;
  background-color: #c9a84c;
  color: #0b0b0c;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.popup-btn:hover {
  background-color: #b8963a;
  transform: translateY(-1px);
}

.popup-footer {
  font-size: 11px;
  color: #52525b;
  margin-top: 12px;
}

/* SCROLL TO TOP */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: #c9a84c;
  color: #0b0b0c;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: #b8963a;
  transform: translateY(-2px);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-section h1 {
    font-size: 36px;
  }
  .popup-card {
    padding: 24px 16px 20px;
  }
  .agent-modal-card {
    padding: 24px 16px 20px;
  }
  .language-modal-card {
    padding: 24px 16px 20px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
  
  .product-title {
    font-size: 15px;
    max-width: 150px;
  }
  
  .product-price-usd {
    font-size: 15px;
  }
  
  .product-tag {
    font-size: 9px;
    padding: 3px 10px;
    top: 10px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
  }
  
  .product-title {
    font-size: 13px;
    max-width: 120px;
  }
  
  .product-price-usd {
    font-size: 13px;
  }
  
  .product-price-pln {
    font-size: 10px;
  }
  
  .product-tag {
    font-size: 8px;
    padding: 2px 8px;
    top: 8px;
    left: 8px;
  }
  
  .product-overlay {
    padding: 14px;
  }
}

/* ====== LIGHTBOX - POWIĘKSZANIE ZDJĘĆ ====== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 40px;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* ====== IKONA LUPY NA ZDJĘCIU ====== */
.product-card .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 6;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.product-card:hover .zoom-icon {
  transform: translate(-50%, -50%) scale(1);
}

.product-card .zoom-icon svg {
  width: 24px;
  height: 24px;
  color: #0b0b0c;
  stroke: #0b0b0c;
}

.product-card .zoom-icon svg circle {
  stroke: #0b0b0c;
}

.product-card .zoom-icon svg path {
  stroke: #0b0b0c;
}

/* RESPONSYWNOŚĆ LIGHTBOXA */
@media (max-width: 768px) {
  .lightbox-overlay {
    padding: 20px;
  }
  
  .lightbox-content img {
    max-width: 95vw;
    max-height: 80vh;
  }
  
  .lightbox-close {
    top: -40px;
    right: 0;
  }
  
  .lightbox-close svg {
    width: 24px;
    height: 24px;
  }
  
  .product-card .zoom-icon {
    width: 36px;
    height: 36px;
  }
  
  .product-card .zoom-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .product-card .zoom-icon {
    width: 30px;
    height: 30px;
  }
  
  .product-card .zoom-icon svg {
    width: 14px;
    height: 14px;
  }
}

/* ====== IKONA LUPY - ZAWSZE WIDOCZNA ====== */
.product-card .zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
  backdrop-filter: blur(4px);
}

.product-card .zoom-icon:hover {
  transform: scale(1.15);
  background: rgba(201, 168, 76, 1);
}

.product-card .zoom-icon svg {
  width: 18px;
  height: 18px;
  color: #0b0b0c;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .product-card .zoom-icon {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
  }
  
  .product-card .zoom-icon svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .product-card .zoom-icon {
    width: 24px;
    height: 24px;
    top: 8px;
    right: 8px;
  }
  
  .product-card .zoom-icon svg {
    width: 12px;
    height: 12px;
  }
}

/* ============================================
   SPRZEDAWCY - STYLE
   ============================================ */

/* Hero sekcja sprzedawców */
.sellers-hero {
  text-align: center;
  margin-bottom: 40px;
}

.sellers-hero h2 {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.sellers-hero p {
  font-size: 16px;
  color: #71717a;
}

/* Pasek filtrowania sprzedawców */
.sellers-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.sellers-search-input {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.sellers-search-input input {
  width: 100%;
  background-color: #141416;
  border: 1px solid #19191b;
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  color: #ffffff;
  font-size: 14px;
  transition: border-color 0.2s;
}

.sellers-search-input input:focus {
  outline: none;
  border-color: #2f2f33;
}

.sellers-search-input .search-icon-inner {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: #52525b;
}

.sellers-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-filter-chip {
  background-color: #141416;
  border: 1px solid #19191b;
  color: #a1a1aa;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seller-filter-chip:hover {
  background-color: #19191b;
  color: #ffffff;
}

.seller-filter-chip.active {
  background-color: #c9a84c;
  color: #0b0b0c;
  border-color: #c9a84c;
}

/* Siatka sprzedawców */
.sellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* Karta sprzedawcy */
.seller-card {
  background-color: #141416;
  border: 1px solid #19191b;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.seller-card:hover {
  border-color: #c9a84c;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.1);
}

.seller-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.seller-card-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.seller-card-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(201, 168, 76, 0.15);
  color: #c9a84c;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.seller-card-badge.best {
  background: rgba(201, 168, 76, 0.2);
  color: #c9a84c;
}

.seller-card-desc {
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.5;
  margin: 8px 0 16px 0;
}

.seller-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seller-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #a1a1aa;
}

.seller-card-rating .stars {
  color: #c9a84c;
  letter-spacing: 1px;
}

.seller-card-btn {
  background: none;
  border: 1px solid #c9a84c;
  color: #c9a84c;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.seller-card-btn:hover {
  background: #c9a84c;
  color: #0b0b0c;
}

/* Responsywność sprzedawców */
@media (max-width: 768px) {
  .sellers-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
  
  .sellers-hero h2 {
    font-size: 28px;
  }
  
  .seller-card-name {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .sellers-grid {
    grid-template-columns: 1fr;
  }
  
  .seller-card {
    padding: 18px;
  }
}

/* ====== DODAJ NA KONIEC PLIKU ====== */

/* SEKCJA POPULARNE */
.featured-section {
  margin-bottom: 48px;
}

.featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid #19191b;
  padding-bottom: 12px;
}

.featured-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-icon {
  font-size: 20px;
}

.featured-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.featured-view-all {
  font-size: 13px;
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.featured-view-all:hover {
  color: #c9a84c;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.featured-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #141416;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.featured-card .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .product-image {
  transform: scale(1.05);
}

.featured-card .product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(201, 168, 76, 0.92);
  color: #0b0b0c;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.featured-card .product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 14px;
}

.featured-card .product-info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}

.featured-card .product-meta-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.featured-card .product-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.featured-card .product-category-label {
  font-size: 10px;
  font-weight: 400;
  color: #a1a1aa;
}

.featured-card .product-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.featured-card .product-price-usd {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.featured-card .product-price-pln {
  font-size: 9px;
  font-weight: 400;
  color: #a1a1aa;
}

.featured-card .zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: rgba(201, 168, 76, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.featured-card:hover .zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.featured-card .zoom-icon:hover {
  transform: scale(1.15);
  background: rgba(201, 168, 76, 1);
}

.featured-card .zoom-icon svg {
  width: 14px;
  height: 14px;
  color: #0b0b0c;
}

.featured-card .product-views {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 4px;
}

.featured-card .product-views svg {
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsywność */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
  .featured-title {
    font-size: 15px;
  }
  .featured-card .product-title {
    font-size: 12px;
    max-width: 110px;
  }
  .featured-card .product-price-usd {
    font-size: 12px;
  }
  .featured-card .zoom-icon {
    width: 24px;
    height: 24px;
  }
  .featured-card .zoom-icon svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  .featured-card .product-title {
    font-size: 11px;
    max-width: 90px;
  }
  .featured-card .product-price-usd {
    font-size: 11px;
  }
  .featured-card .product-price-pln {
    font-size: 8px;
  }
}

/* ====== LAST FINDS - SLIDER ====== */

.lastfinds-slider-section {
  position: relative;
  padding: 10px 0;
}

.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-wrapper {
  overflow: hidden;
  flex: 1;
  border-radius: 12px;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 16px;
  will-change: transform;
}

/* KARTY - DUŻE */
.slider-item {
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background-color: #141416;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

.slider-item:hover {
  transform: scale(1.03);
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-item .product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: rgba(201, 168, 76, 0.92);
  color: #0b0b0c;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slider-item .product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px 20px 20px;
}

.slider-item .product-info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  min-height: 65px;
}

.slider-item .product-meta-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.slider-item .product-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.slider-item .product-category-label {
  font-size: 12px;
  font-weight: 400;
  color: #a1a1aa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-item .product-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.slider-item .product-price-usd {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.slider-item .product-price-pln {
  font-size: 12px;
  font-weight: 400;
  color: #a1a1aa;
  line-height: 1.2;
}

/* LUPA */
.slider-item .zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.slider-item:hover .zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.slider-item .zoom-icon:hover {
  transform: scale(1.15);
  background: rgba(201, 168, 76, 1);
}

.slider-item .zoom-icon svg {
  width: 18px;
  height: 18px;
  color: #0b0b0c;
}

/* STRZAŁKI */
.slider-arrow {
  width: 44px;
  height: 44px;
  background-color: rgba(20, 20, 22, 0.85);
  border: 1px solid #232326;
  border-radius: 50%;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background-color: #232326;
  border-color: #c9a84c;
  color: #c9a84c;
}

.slider-arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

/* KROPKI */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #232326;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background-color: #c9a84c;
  width: 30px;
  border-radius: 5px;
}

.slider-dot:hover {
  background-color: #3e3e43;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1200px) {
  .slider-item {
    min-width: 240px;
    max-width: 240px;
  }
  .slider-item .product-title {
    max-width: 130px;
    font-size: 15px;
  }
  .slider-item .product-price-usd {
    font-size: 15px;
  }
}

@media (max-width: 992px) {
  .slider-item {
    min-width: 210px;
    max-width: 210px;
  }
  .slider-item .product-title {
    max-width: 110px;
    font-size: 14px;
  }
  .slider-item .product-price-usd {
    font-size: 14px;
  }
  .slider-item .product-tag {
    font-size: 11px;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .slider-item {
    min-width: 180px;
    max-width: 180px;
  }
  .slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .slider-item .product-title {
    font-size: 13px;
    max-width: 90px;
  }
  .slider-item .product-price-usd {
    font-size: 13px;
  }
  .slider-item .product-price-pln {
    font-size: 10px;
  }
  .slider-item .product-tag {
    font-size: 10px;
    padding: 3px 10px;
  }
  .slider-item .product-overlay {
    padding: 14px 16px 16px 16px;
  }
  .slider-item .product-info-bottom {
    min-height: 55px;
  }
}

@media (max-width: 480px) {
  .slider-item {
    min-width: 155px;
    max-width: 155px;
  }
  .slider-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .slider-item .product-title {
    font-size: 12px;
    max-width: 80px;
  }
  .slider-item .product-price-usd {
    font-size: 12px;
  }
  .slider-item .product-price-pln {
    font-size: 9px;
  }
  .slider-item .product-tag {
    font-size: 8px;
    padding: 2px 8px;
  }
  .slider-item .product-overlay {
    padding: 10px 12px 12px 12px;
  }
  .slider-item .product-info-bottom {
    min-height: 45px;
  }
}