/* Stylesheet for Example 02: Modern Product Catalog & Storefront */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #090d16;
  --surface-dark: #111827;
  --surface-card: #1f2937;
  --primary-neon: #06b6d4;
  --accent-neon: #a855f7;
  --warning-neon: #f59e0b;
  --text-white: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

body {
  background: var(--bg-dark);
  color: var(--text-white);
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Store Header */
.store-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.store-logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #06b6d4, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.store-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.store-link {
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.store-link:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.cart-pill {
  background: linear-gradient(135deg, #06b6d4, #a855f7);
  color: #fff;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
}

/* Main Container */
.main-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

.hero-banner {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-neon);
  box-shadow: 0 25px 35px -10px rgba(6, 182, 212, 0.15);
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.product-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-neon);
}

.product-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
}

.btn-buy {
  background: var(--primary-neon);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-buy:hover {
  background: #22d3ee;
  transform: scale(1.03);
}

/* Review Cards */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.75rem;
}

.review-stars {
  color: var(--warning-neon);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-author {
  font-weight: 700;
  color: var(--text-white);
}

/* Footer */
.store-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
