/* Shop specific styles */

.nav-balance {
  display: flex;
  gap: 8px;
}

.balance-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid;
}

.balance-chip.time {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: #6366F1;
}

.balance-chip.point {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #F59E0B;
}

.balance-chip.gems {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10B981;
}

.chip-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* Shop Sections */
.shop-section {
  margin-bottom: 64px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.products-grid.wide {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-card.featured {
  border-color: var(--forest-600);
  background: var(--forest-100);
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--forest-600);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
}

.product-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
  color: var(--forest-600);
}

.product-icon.food-a {
  background: rgba(99, 102, 241, 0.1);
}

.product-icon.food-a svg {
  color: #6366F1;
}

.product-icon.food-b {
  background: rgba(245, 158, 11, 0.1);
}

.product-icon.food-b svg {
  color: #F59E0B;
}

.product-icon.food-y {
  background: rgba(16, 185, 129, 0.1);
}

.product-icon.food-y svg {
  color: #10B981;
}

.product-card h3 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 20px;
  min-height: 36px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-currency.time {
  color: #6366F1;
}

.price-currency.point {
  color: #F59E0B;
}

.price-currency.gems {
  color: #10B981;
}

.price-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-period {
  font-size: 12px;
  color: var(--text-tertiary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Dino Cards */
.product-card.dino .product-icon {
  display: none;
}

.dino-preview {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.dino-silhouette {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dino-silhouette.carnivore {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
}

.dino-silhouette.herbivore {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.1));
}

.dino-silhouette svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

.dino-silhouette.carnivore svg {
  color: #DC2626;
}

.dino-silhouette.herbivore svg {
  color: #16A34A;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-balance {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-grid.wide {
    grid-template-columns: 1fr;
  }
}
