/* Tabs */
.tabs-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.tabs-inner { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .tabs-inner { padding: 0 1.5rem; } }
.tabs-scroll {
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-scroll::-webkit-scrollbar { display: none; }

.tab-btn {
  white-space: nowrap;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.825rem;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  background: var(--bg-muted);
  color: #4b5563;
  font-family: 'DM Sans', sans-serif;
}
.tab-btn:hover { background: rgba(13,31,110,0.08); color: var(--primary); }
.tab-btn.active { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(13,31,110,0.25); }

/* Section */
.products-section { padding: 3rem 0 5rem; background: #f9fafb; min-height: 70vh; }
.cat-heading { margin-bottom: 2rem; }
.cat-heading h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--primary); }
.cat-heading p { color: var(--text-muted); margin-top: 0.25rem; font-size: 0.9rem; }

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  transition: opacity 0.25s ease;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

/* Card */
.product-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeUp 0.45s ease both;
}

.card-header {
  background: var(--primary);
  padding: 1rem 1.25rem;
}
.card-header h3 {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 1rem; }

.comp-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #374151;
  margin-bottom: 0.25rem;
}
.comp-text { font-size: 0.875rem; color: #374151; font-weight: 500; line-height: 1.5; }
.form-badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--bg-muted);
  color: var(--primary);
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
}

.card-divider { border: none; border-top: 1px solid var(--border); margin: 0.5rem 0; }
.variants-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.variants-list { list-style: none; display: flex; flex-direction: column; gap: 0.375rem; }
.variants-list li {
  font-size: 0.75rem;
  color: #4b5563;
  background: var(--bg-muted);
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
}

.card-footer { padding: 0 1.25rem 1.25rem; }
.toggle-btn {
  width: 100%;
  padding: 0.625rem;
  border-radius: 0.75rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 0.825rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.toggle-btn:hover { background: var(--primary); color: #fff; }
.toggle-icon { width: 1rem; height: 1rem; }
