/* ========== Base ========== */
:root {
  --bg: #0e0f12;
  --bg-soft: #14161b;
  --card: #191c22;
  --card-hover: #1f232b;
  --line: #262a33;
  --text: #f3f4f6;
  --muted: #9aa1ad;
  --accent: #ff7a18;
  --accent-2: #ffb347;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; }

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.logo span { color: var(--accent); }

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.cart-btn:hover {
  border-color: rgba(255, 122, 24, 0.5);
  background: rgba(255, 122, 24, 0.08);
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #14100a;
  font-size: 0.72rem;
  font-weight: 800;
}

/* ========== Hero ========== */
.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(255, 122, 24, 0.14), transparent 70%),
    radial-gradient(500px 250px at 90% 10%, rgba(255, 179, 71, 0.08), transparent 70%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-sub {
  max-width: 560px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, opacity 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #14100a;
}

.btn-primary:hover { opacity: 0.9; }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover { background: var(--card); }

/* ========== Product sections ========== */
.product-section {
  padding: 44px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  letter-spacing: -0.01em;
  font-weight: 800;
}

.section-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}

.scroll-btn:hover {
  background: var(--card-hover);
  border-color: rgba(255, 122, 24, 0.4);
}

.scroll-btn:active { transform: scale(0.94); }

.view-all {
  margin-left: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 24, 0.35);
  background: rgba(255, 122, 24, 0.08);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.view-all:hover { background: rgba(255, 122, 24, 0.16); }

/* ========== Horizontal scroller ========== */
.scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.scroller::-webkit-scrollbar { display: none; }

/* ========== Product card ========== */
.card {
  flex: 0 0 auto;
  width: clamp(160px, 44vw, 220px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: rgba(255, 122, 24, 0.35);
  box-shadow: var(--shadow);
}

.card-img {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 122, 24, 0.18), transparent 65%),
    #101216;
  color: rgba(255, 122, 24, 0.55);
}

.card-icon {
  width: 56px;
  height: 56px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 12px 14px 16px;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.card-price {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}

.add-to-cart {
  margin-top: auto;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #101216;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.add-to-cart:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #14100a;
}

/* ========== Browse all band ========== */
.browse-all {
  margin-top: 20px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(255, 122, 24, 0.1), transparent 70%),
    var(--bg-soft);
  text-align: center;
}

.browse-inner h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.browse-inner .section-sub { margin-bottom: 24px; }

/* ========== Footer ========== */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 24, 0.4);
  background: #1f232b;
  color: var(--text);
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.25s, transform 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

  .hero { padding: 52px 0 36px; }

  .product-section { padding: 36px 0; }

  .section-head { align-items: flex-start; }

  .scroll-btn { display: none; }

  .browse-all { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}