/* ==========================================================
   WAGWANSPARK — SONIC KINETICS
   Electric Citadel × Dark Editorial redesign layer.

   Loaded LAST on index.html, samples.html and studio-tools.html
   (after styles.css, cart.css and store-pages.css) so it can
   restyle the storefront without touching the Cloudflare Worker
   API, the cart logic, the Paystack checkout or audio playback.
   ========================================================== */

/* ==========================================================
   1. BASE & TYPOGRAPHY
   ========================================================== */
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(204, 255, 0, 0.045), transparent 60%),
    var(--secondary-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4,
.navbar-logo,
.hero-title {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

::selection {
  background: var(--primary-color);
  color: var(--primary-ink);
}

/* thin "signal" rules under section headings */
.section-header h2 span,
.store-section .section-heading h2 span {
  color: var(--primary-color);
}

/* ==========================================================
   2. NAVIGATION (structure preserved, chrome only)
   ========================================================== */
.navbar {
  padding: 0.85rem 0;
  background: rgba(10, 10, 10, 0.86);
  border-bottom: 1px solid var(--border-color);
}

.navbar-logo {
  letter-spacing: -0.035em;
}

.nav-menu .nav-link {
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.cart-toggle {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}

.cart-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.cart-count {
  background: var(--primary-color);
  color: var(--primary-ink);
}

/* mobile drawer accents */
@media (max-width: 860px) {
  .nav-menu {
    background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(204, 255, 0, 0.06);
    color: var(--primary-color);
  }

  .nav-menu .nav-link.active {
    box-shadow: inset 3px 0 0 var(--primary-color);
  }

  .nav-drawer-cart {
    background: var(--gradient);
    color: var(--primary-ink);
    box-shadow: 0 6px 20px rgba(204, 255, 0, 0.18);
  }
}

/* ==========================================================
   3. BUTTONS — lime only where it matters
   ========================================================== */
.btn.btn-primary,
.cta-button,
.buy-btn,
.add-to-cart-btn {
  background: var(--gradient);
  color: var(--primary-ink);
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(204, 255, 0, 0.16);
}

.btn.btn-primary:hover,
.cta-button:hover {
  box-shadow: 0 12px 32px rgba(204, 255, 0, 0.26);
}

/* ==========================================================
   4. HOMEPAGE HERO — COHESIVE EMBLEM COMPOSITION
   ========================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(440px, 72vh, 680px);
  padding: clamp(3rem, 6vw, 5rem) 24px;
  overflow: hidden;
  background: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
}

/* Bottom gradient blending into the beats section */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 2;
  background: linear-gradient(180deg, transparent, var(--secondary-color));
  pointer-events: none;
}

.hero::before {
  display: none;
}

/* Static fallback gradient — visible when WebGL canvas is hidden */
.hero-shader-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 55% at 30% 25%, rgba(204, 255, 0, 0.08), transparent 60%),
    radial-gradient(50% 45% at 75% 70%, rgba(77, 238, 234, 0.06), transparent 65%),
    radial-gradient(55% 50% at 50% 50%, rgba(118, 75, 162, 0.08), transparent 70%);
}

/* Animated WebGL shader gradient: ambient atmosphere across the hero */
.hero-shader {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

/* Large subtle chrome emblem as a backdrop visual */
.hero-emblem-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: emblemGlow 6s ease-in-out infinite;
}

@keyframes emblemGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.78; }
}

.hero-emblem-large {
  width: clamp(300px, 42vw, 560px);
  height: auto;
  max-height: 90%;
  opacity: 0.15;
  filter: blur(0.5px) drop-shadow(0 0 40px rgba(204, 255, 0, 0.04));
}

/* Hero content layered over the emblem */
.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle dark scrim behind the text for readability over the emblem */
.hero-inner::before {
  content: "";
  position: absolute;
  inset: -20% -30%;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 55% at center, rgba(8, 8, 8, 0.72), transparent 72%),
    radial-gradient(ellipse 70% 40% at 50% 60%, rgba(8, 8, 8, 0.4), transparent 80%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--primary-color);
}

.hero-title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
}

.hero-title em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lede {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}

/* --- search core --- */
.hero-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(560px, 100%);
  padding: 0.45rem 0.5rem 0.45rem 1.05rem;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(22, 22, 22, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-search:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.12);
}

.hero-search > i {
  flex: 0 0 auto;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hero-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.hero-search input::placeholder {
  color: #6f6f6f;
}

.hero-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.hero-search-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 46px;
  padding: 0 1.25rem;
  border-radius: 9px;
  background: var(--gradient);
  color: var(--primary-ink);
  font-size: 0.95rem;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(204, 255, 0, 0.18);
}

.hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(204, 255, 0, 0.28);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin: 1.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-color);
}

/* ==========================================================
   5. STORE PAGES HERO (samples / studio tools)
   ========================================================== */
.store-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(70% 60% at 50% -10%, rgba(204, 255, 0, 0.10), transparent 65%),
    radial-gradient(50% 50% at 88% 15%, rgba(118, 75, 162, 0.16), transparent 70%),
    var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
}

.store-hero::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

.store-hero h1 {
  font-size: clamp(2.2rem, 7.5vw, 3.8rem);
  letter-spacing: -0.035em;
}

.store-hero .section-eyebrow,
.store-section .section-eyebrow,
.store-cta .section-eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
}

.store-hero .btn {
  color: var(--primary-ink);
  box-shadow: 0 12px 34px rgba(204, 255, 0, 0.22);
}

.store-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}

.store-cta .container {
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(204, 255, 0, 0.12), transparent 62%),
    linear-gradient(160deg, #151515, #0d0d0d);
  border: 1px solid rgba(204, 255, 0, 0.22);
}

/* ==========================================================
   6. CATALOGUE — controls & dense grid
   ========================================================== */
.beats-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: transparent;
}

.beats-controls {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 1.75rem;
}

.search-container {
  flex: 1 1 auto;
  width: auto;
  max-width: 440px;
  min-height: 48px;
  padding: 0 1.1rem;
  border-color: var(--border-strong);
  border-radius: 10px;
  background: var(--light-bg);
}

.search-container:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1);
}

.filter-container {
  flex: 0 0 auto;
  width: auto;
  max-width: 220px;
}

#genreFilter {
  min-height: 48px;
  padding: 0 2.4rem 0 1rem;
  border-color: var(--border-strong);
  border-radius: 10px;
  background: var(--light-bg);
}

.catalogue-toolbar {
  margin: 22px 0 26px;
}

.catalogue-toolbar .search-box {
  height: 50px;
  border-radius: 10px;
  border-color: var(--border-strong);
  background: var(--light-bg);
}

.catalogue-toolbar .search-box:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1);
}

/* --- the grid: more products, less air --- */
.beats-grid,
.store-section .product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .beats-grid,
  .store-section .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1040px) {
  .beats-grid,
  .store-section .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

/* --- the card --- */
.beats-grid .product-card,
.store-section .product-grid .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: linear-gradient(180deg, #171717, #121212);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease,
    background 0.25s ease, box-shadow 0.25s ease;
}

.beats-grid .product-card:focus-within,
.store-section .product-grid .product-card:focus-within {
  border-color: rgba(204, 255, 0, 0.45);
}

@media (hover: hover) {
  .beats-grid .product-card:hover,
  .store-section .product-grid .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(204, 255, 0, 0.45);
    background:
      linear-gradient(180deg, rgba(204, 255, 0, 0.05), rgba(204, 255, 0, 0.01) 42%),
      linear-gradient(180deg, #1a1a1a, #131313);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(204, 255, 0, 0.06);
  }

  .beats-grid .product-card:hover .product-artwork img,
  .store-section .product-grid .product-card:hover .product-artwork img {
    transform: scale(1.05);
  }
}

/* artwork: clean square with a chrome inner stroke */
.beats-grid .product-card .product-artwork,
.store-section .product-grid .product-artwork {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0f0f0f;
  border-bottom: 1px solid var(--border-color);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.beats-grid .product-card .product-artwork img,
.store-section .product-grid .product-artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* drop the old bottom fade — keep the artwork clean */
.store-section .product-grid .product-artwork::after {
  content: none;
}

.store-section .product-grid .product-artwork.artwork-placeholder {
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(204, 255, 0, 0.16), transparent 70%),
    var(--lighter-bg);
}

.store-section .product-grid .product-artwork.artwork-placeholder::before {
  color: rgba(204, 255, 0, 0.65);
}

.beats-grid .product-card .product-category-label,
.store-section .product-grid .product-category-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  background: rgba(8, 8, 8, 0.62);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--chrome);
}

/* integrated play control — always visible, lime */
.beats-grid .product-card .artwork-play-overlay,
.store-section .product-grid .artwork-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 10px;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.55));
  opacity: 1;
}

.beats-grid .product-card .artwork-play-icon,
.store-section .product-grid .artwork-play-icon {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--primary-ink);
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .beats-grid .product-card:hover .artwork-play-icon,
  .store-section .product-grid .product-card:hover .artwork-play-icon {
    transform: scale(1.06);
  }
}

/* playing = selected state, inverted lime */
.beats-grid .product-card.is-preview-playing .artwork-play-icon,
.store-section .product-grid .product-card.is-preview-playing .artwork-play-icon {
  background: var(--primary-ink);
  color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color), 0 0 22px rgba(204, 255, 0, 0.4);
}

/* --- card text layer --- */
.beats-grid .product-card .product-info,
.store-section .product-grid .product-card .product-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 12px 13px 14px;
}

.beat-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.beat-title-row h3,
.store-section .beat-title-row h3 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  overflow-wrap: anywhere;
}

.product-price,
.store-section .product-price {
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary-color);
  white-space: nowrap;
}

/* monospace metadata "status row" */
.product-meta,
.store-section .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.product-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.product-meta > span i {
  color: var(--primary-color);
  font-size: 0.68rem;
  opacity: 1;
}

.product-description,
.store-section .product-description {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 9px 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #7d7d7d;
}

.product-format,
.store-section .product-format {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- actions --- */
.product-actions,
.store-section .product-actions {
  margin-top: auto !important;
  padding-top: 12px;
}

.beats-grid .product-card .product-actions .btn,
.store-section .product-grid .product-actions .btn {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  box-shadow: none;
}

.beats-grid .product-card .product-actions .btn:hover,
.store-section .product-grid .product-actions .btn:hover {
  background: rgba(204, 255, 0, 0.08);
  border-color: rgba(204, 255, 0, 0.5);
  color: var(--primary-color);
  transform: none;
  box-shadow: none;
}

/* selected state: item already in the cart */
.beats-grid .product-card .product-actions .btn:has(.fa-check),
.store-section .product-grid .product-actions .btn:has(.fa-check) {
  background: var(--primary-color);
  border-color: transparent;
  color: var(--primary-ink);
}

/* ==========================================================
   7. CART DRAWER
   ========================================================== */
.cart-drawer {
  background: #101010;
  border-left: 1px solid var(--border-color);
}

.cart-header,
.cart-summary,
.cart-drawer .cart-summary {
  background: #161616;
  border-color: var(--border-color);
}

.cart-drawer .cart-header .section-eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
}

.cart-item-image,
.cart-item-artwork {
  border-color: var(--border-color);
}

.cart-drawer .cart-item-info strong,
.cart-item-price {
  color: var(--primary-color);
}

.cart-item-remove,
.cart-drawer .cart-item-remove,
.cart-remove-btn {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.cart-item-remove:hover,
.cart-drawer .cart-item-remove:hover {
  border-color: #ff5f56;
  background: rgba(255, 95, 86, 0.12);
  color: #ff7a72;
}

.checkout-btn,
.cart-checkout-btn,
#checkoutBtn {
  background: var(--primary-color);
  color: var(--primary-ink);
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(204, 255, 0, 0.2);
}

.checkout-btn:hover:not(:disabled),
.cart-checkout-btn:hover:not(:disabled),
#checkoutBtn:hover:not(:disabled) {
  box-shadow: 0 10px 28px rgba(204, 255, 0, 0.3);
}

.cart-drawer .cart-summary .btn-secondary,
.cart-continue-shopping,
.cart-continue-btn {
  border-color: var(--border-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text-primary);
}

.cart-drawer .cart-summary .btn-secondary:hover,
.cart-continue-shopping:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ==========================================================
   8. AUDIO PLAYER
   ========================================================== */
.player-content {
  background: rgba(16, 16, 16, 0.97);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
}

#playPauseBtn {
  background: var(--primary-color);
  color: var(--primary-ink);
}

#playPauseBtn:hover {
  box-shadow: 0 4px 14px rgba(204, 255, 0, 0.35);
}

#progressBar::-webkit-slider-thumb,
#progressBar::-moz-range-thumb {
  background: var(--primary-color);
  box-shadow: 0 2px 6px rgba(204, 255, 0, 0.45);
}

.player-close:hover,
.close-cart:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--primary-ink);
}

/* ==========================================================
   9. FOOTER
   ========================================================== */
.footer,
.store-page .site-footer {
  background: #0c0c0c;
  border-top: 1px solid var(--border-color);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-social-links a:hover {
  border-color: var(--primary-color);
  background: rgba(204, 255, 0, 0.10);
  color: var(--primary-color);
}

/* ==========================================================
   10. RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .hero-emblem-large {
    width: clamp(240px, 48vw, 380px);
    opacity: 0.13;
    filter: blur(0.5px) drop-shadow(0 0 30px rgba(204, 255, 0, 0.03));
  }
}

@media (max-width: 560px) {
  .hero-search {
    flex-wrap: wrap;
    padding: 0.75rem;
    gap: 0.6rem;
  }

  .hero-search > i {
    display: none;
  }

  .hero-search input {
    flex: 1 1 100%;
    height: 42px;
    padding: 0 0.25rem;
  }

  .hero-search-btn {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  .beats-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container,
  .filter-container {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .beats-grid,
  .store-section .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   11. REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .beats-grid .product-card,
  .store-section .product-grid .product-card,
  .beats-grid .product-card .product-artwork img,
  .store-section .product-grid .product-artwork img {
    transition: none;
  }

  .beats-grid .product-card:hover,
  .store-section .product-grid .product-card:hover,
  .beats-grid .product-card:hover .product-artwork img,
  .store-section .product-grid .product-card:hover .product-artwork img {
    transform: none;
  }

  .hero-inner,
  .hero-emblem-bg {
    animation: none;
  }
}

/* ==========================================================
   COMPACT PRODUCT CARDS ON PHONES  (BeatStars-style 2 columns)
   Beats, Sample Packs and Studio Tools share these rules.
   Paste at the very bottom of theme.css (it must load last).
   ========================================================== */
@media (max-width: 699px) {
  /* Two columns on every phone width. This replaces the old
     single-column rule at 420px, which made each square image
     as wide as the whole screen. */
  .beats-grid,
  .store-section .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .beats-grid .product-card,
  .store-section .product-grid .product-card {
    border-radius: 12px;
  }

  /* Same square crop everywhere, contained inside the card */
  .beats-grid .product-card .product-artwork,
  .store-section .product-grid .product-artwork {
    aspect-ratio: 1 / 1;
  }

  .beats-grid .product-card .product-artwork img,
  .store-section .product-grid .product-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Smaller preview button and tag so they don't cover the artwork */
  .beats-grid .product-card .artwork-play-overlay,
  .store-section .product-grid .artwork-play-overlay {
    padding: 8px;
  }

  .beats-grid .product-card .artwork-play-icon,
  .store-section .product-grid .artwork-play-icon {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .beats-grid .product-card .product-category-label,
  .store-section .product-grid .product-category-label {
    top: 8px;
    left: 8px;
    padding: 3px 7px;
    font-size: 0.5rem;
  }

  /* Card text: title on top, price underneath, compact tags */
  .beats-grid .product-card .product-info,
  .store-section .product-grid .product-card .product-info {
    padding: 10px 10px 12px;
  }

  .beat-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .beat-title-row h3,
  .store-section .beat-title-row h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
  }

  .product-price,
  .store-section .product-price {
    font-size: 0.95rem;
  }

  .product-meta,
  .store-section .product-meta {
    gap: 4px;
    margin-top: 7px;
    font-size: 0.56rem;
  }

  .product-meta > span {
    gap: 4px;
    padding: 3px 5px;
  }

  .product-meta > span i {
    font-size: 0.6rem;
  }

  .product-format,
  .store-section .product-format {
    margin-top: 8px;
    font-size: 0.56rem;
  }

  /* The one-line description is dropped on phones to keep cards short */
  .product-description,
  .store-section .product-description {
    display: none;
  }

  .product-actions,
  .store-section .product-actions {
    padding-top: 10px;
  }

  .beats-grid .product-card .product-actions .btn,
  .store-section .product-grid .product-actions .btn {
    min-height: 40px;
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================
   HERO POLISH
   Paste at the very bottom of theme.css (it must load last).
   Parts 1 and 2 are the fixes you asked for.
   Parts 3 and 4 are optional: delete them if you like the
   brightness as it is.
   ========================================================== */

/* 1. EYEBROW — the same short line on BOTH sides of the text */
.hero-eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  margin-left: -0.22em; /* cancels the trailing letter-spacing so both gaps match */
  background: var(--primary-color);
}

/* 2. HEADLINE — letters stop touching, edges get crisper
      (slightly lighter weight, looser spacing, flat colour
      instead of a gradient on the text) */
.hero-title {
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
}

.hero-title em {
  background: none;
  -webkit-text-fill-color: #c9f31d;
  color: #c9f31d;
}

/* 3. OPTIONAL — calmer lime everywhere (buttons, logo, badges).
      Same electric feel, less glare. One line changes the whole site. */
:root {
  --gradient: linear-gradient(135deg, #d4ff33 0%, #c3f000 100%);
}

/* 4. OPTIONAL — white logo text with only the music note in lime,
      so the lime is saved for buttons, prices and the headline accent */
.navbar-logo {
  background: none;
  -webkit-text-fill-color: #f4f4f4;
  color: #f4f4f4;
}

.navbar-logo i {
  -webkit-text-fill-color: var(--primary-color);
  color: var(--primary-color);
}
