/* ===== HERO ===== */
.oprema-hero .aurora-mesh {
  background: radial-gradient(circle, var(--accent-1), var(--accent-2));
  top: -200px;
  right: -200px;
}

.oprema-hero .aurora-mesh-2 {
  background: radial-gradient(circle, var(--accent-2), #e879f9);
  bottom: -200px;
  left: -200px;
}

.oprema-shop .aurora-mesh-3 {
  background: radial-gradient(circle, #e879f9, var(--accent-1));
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.oprema-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 2rem 5rem;
  background: var(--bg-primary);
  transition: background 0.5s ease;
}

.oprema-hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.oprema-hero-content .section-title {
  font-size: 3.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.oprema-hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== SHOP ===== */
.oprema-shop {
  position: relative;
  padding: 5rem 2rem 8rem;
  background: var(--bg-secondary);
  transition: background 0.5s ease;
}

/* ===== FILTERS ===== */
.oprema-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-1);
}

.filter-btn.active {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-color: transparent;
  color: #111;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 191, 255, 0.25);
  box-shadow: 0 25px 80px var(--shadow-card), 0 0 40px rgba(0, 191, 255, 0.06);
}

/* Kada je proizvod sakriven filterom */
.product-card.is-hidden {
  display: none;
}

.product-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.08), rgba(148, 201, 74, 0.08));
}

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

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  padding: 5px 12px;
  border-radius: 20px;
}

.product-info {
  padding: 1.6rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.product-info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 9px 20px;
  border-radius: 30px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.product-btn:hover {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-color: transparent;
  color: #111;
}

.product-btn i {
  transition: transform 0.3s ease;
}

.product-btn:hover i {
  transform: translateX(3px);
}

.oprema-empty {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 3rem auto 0;
  position: relative;
  z-index: 1;
}

[data-theme="light"] .product-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}

[data-theme="light"] .product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* ===== CTA ===== */
.oprema-cta {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  text-align: center;
  transition: background 0.5s ease;
}

.oprema-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.oprema-cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.oprema-cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 14px 36px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .oprema-hero { min-height: 50vh; padding: 8rem 1.5rem 3rem; }
  .oprema-hero-content .section-title { font-size: 2.2rem; }
  .oprema-hero-content p { font-size: 1rem; }
  .oprema-shop { padding: 3rem 1.5rem 5rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
  .oprema-cta { padding: 4rem 1.5rem; }
  .oprema-cta-content h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .filter-btn { padding: 8px 18px; font-size: 0.82rem; }
}
