/* ========================
   Store — Dark Amber Theme
   ======================== */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --bg:          #0f0f11;
  --bg-card:     #18181c;
  --bg-card-hover: #1e1e24;

  --text:        #f0f0f0;
  --text-muted:  #888;

  --amber:       #e8a44a;
  --amber-light: #f5c06e;
  --amber-dim:   rgba(232, 164, 74, 0.12);

  --border:       rgba(255, 255, 255, 0.07);
  --border-amber: rgba(232, 164, 74, 0.25);

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;

  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-amber: 0 4px 20px rgba(232, 164, 74, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========================
   Hero
   ======================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 2rem;
}

.hero-glow {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 164, 74, 0.1) 0%, transparent 65%);
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-glow-left {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 164, 74, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid var(--border-amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--amber);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================
   Buttons
   ======================== */
.btn-primary {
  background: var(--amber);
  color: #0f0f11;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-amber);
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 164, 74, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--amber);
  padding: 0.8rem 2.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border-amber);
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background: var(--amber-dim);
  transform: translateY(-1px);
}

/* ========================
   Value Props Strip
   ======================== */
.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.prop {
  padding: 2.25rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.prop:last-child {
  border-right: none;
}

.prop-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.prop h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.prop p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================
   Featured Section
   ======================== */
.featured-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

/* ========================
   Product Grid & Cards
   ======================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.product {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product:hover {
  transform: translateY(-6px);
  border-color: var(--border-amber);
  box-shadow: var(--shadow-card);
}

.thumb-link {
  display: block;
}

.product .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

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

.product:hover .thumb img {
  transform: scale(1.05);
}

.product-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.product h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.product h3 a:hover {
  color: var(--amber);
}

.product .description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.84rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.product .price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.product button {
  background: var(--amber);
  color: #0f0f11;
  padding: 0.7rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.product button:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

/* ========================
   See All
   ======================== */
.see-all {
  text-align: center;
}

/* ========================
   Spinner & Toast
   ======================== */
.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(232, 164, 74, 0.12);
  border-top: 3px solid var(--amber);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-amber);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
}

.toast::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 900px) {
  .value-props {
    grid-template-columns: 1fr;
  }

  .prop {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .prop:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
    padding: 3.5rem 1.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

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

  .featured-section {
    padding: 3.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    text-align: center;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
