/*
Theme Name: Tamara Stojkovska v2
Theme URI: https://tamarastojkovska.mk/
Author: Tamara Stojkovska
Author URI: https://tamarastojkovska.mk/
Description: DESC
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* =============================================
   TAMARA STOJKOVSKA - WEBSITE STYLES
   =============================================
   Table of Contents:
   1. Global Styles & Variables
   2. Navigation (All Pages)
   3. Home Page
   4. Product Page
   5. Cart Page
   6. Responsive Styles
   ============================================= */

/* =============================================
   1. GLOBAL STYLES & VARIABLES
   ============================================= */

:root {
  --brand-red: #c62828;
}

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

html,
body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  min-height: 100vh;
  background: #fff;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
}

/* =============================================
   2. NAVIGATION (ALL PAGES)
   ============================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  order: 1;
}

.menu {
  order: 2;
}

.header-cart {
  order: 3;
  margin-left: 24px;
}

.menu-toggle {
  order: 4;
}

.header-cart {
  position: relative;
  margin-left: auto;
  margin-right: 12px;
}

.header-cart img {
  width: 22px;
  height: 22px;
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #c62828;
  color: #fff;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

.logo {
  font-size: 12px;
  letter-spacing: 3px;
  text-decoration: none;
  color: #000;
}

.logo .red {
  color: var(--brand-red);
}

.menu a {
  font-size: 12px;
  letter-spacing: 3px;
  text-decoration: none;
  color: #222;
}

.menu .merch-link {
  color: var(--brand-red);
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-icon {
  width: 20px;
  height: auto;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #000;
  transition: all 0.3s ease;
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #d32f2f;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 50%;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
}

/* =============================================
   3. HOME PAGE
   ============================================= */

/* Hero Section */
.hero {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111;
  background-image: url("assets/images/home-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 110px 20px 60px;
}

/* Home: whole photo fills the screen, vinyl centred on screen */
.hero-vinyl {
  padding: 90px 20px;
  background-size: cover;
  background-position: 50% 50%;
}

/* Phones: show the linked hands (left of the photo's centre) above the vinyl */
@media (max-width: 768px) {
  .hero-vinyl {
    background-size: cover;
    background-position: 37% 50%;
  }
}

/* Dark filter on top of the background photo */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.62) 85%),
    rgba(0, 0, 0, 0.22);
}

/* Dark pages (home + music): light navigation */
@media (min-width: 769px) {
  .home .nav .logo,
  .home .nav .menu a,
  .music .nav .logo,
  .music .nav .menu a {
    color: #fff;
  }
}

.home .nav .logo,
.music .nav .logo {
  color: #fff;
}

.home .nav .logo .red,
.music .nav .logo .red {
  color: #ff5a4e;
}

.home .header-cart img,
.music .header-cart img {
  filter: invert(1);
}

.home .menu-toggle span,
.music .menu-toggle span {
  background: #fff;
}

/* Vinyl */
.vinyl-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}

.vinyl {
  --size: min(340px, 70vw, 38vh);
  position: relative;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  margin-bottom: 26px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.vinyl-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-radial-gradient(circle at center,
      #111 0,
      #111 2px,
      #1c1c1c 3px,
      #111 4px),
    #111;
  animation: vinyl-spin 2.4s linear infinite;
  animation-play-state: paused;
}

.vinyl.is-playing .vinyl-disc {
  animation-play-state: running;
}

/* Smooth, groove-free ring around the label */
.vinyl-disc::before {
  content: "";
  position: absolute;
  width: 52%;
  height: 52%;
  border-radius: 50%;
  background: #0b0b0b;
}

.vinyl-label {
  position: relative;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  object-fit: cover;
}

.vinyl-hole {
  position: absolute;
  width: 3.2%;
  height: 3.2%;
  border-radius: 50%;
  background: #0b0b0b;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

/* Light reflection stays still while the record turns */
.vinyl-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 30deg,
      transparent 0deg,
      rgba(255, 255, 255, 0.10) 30deg,
      transparent 70deg,
      transparent 180deg,
      rgba(255, 255, 255, 0.08) 210deg,
      transparent 250deg);
  -webkit-mask: radial-gradient(circle, transparent 26%, #000 26.5%);
  mask: radial-gradient(circle, transparent 26%, #000 26.5%);
}

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

@media (prefers-reduced-motion: reduce) {
  .vinyl-disc {
    animation-duration: 8s;
  }
}

/* Play button + song name */
.vinyl-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vinyl-play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.vinyl-play:hover {
  transform: scale(1.06);
  background: var(--brand-red);
  color: #fff;
}

.vinyl-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.vinyl-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.vinyl-artist {
  font-size: 11px;
  letter-spacing: 3px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.vinyl-title {
  white-space: nowrap;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.time-remaining {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

.vinyl-listen {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.vinyl-listen:hover {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 480px) {
  .vinyl-play {
    width: 50px;
    height: 50px;
  }

  .vinyl-title {
    font-size: 17px;
    letter-spacing: 3px;
  }
}

/* Merch Section */
.merch {
  position: relative;
  padding: 140px 40px 140px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(800px 600px at 92% 0%, rgba(198, 40, 40, 0.30), transparent 65%),
    radial-gradient(800px 700px at 0% 70%, rgba(255, 90, 78, 0.10), transparent 65%),
    #0b0a0a;
}

/* Film grain */
.merch::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.merch > * {
  position: relative;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.merch-head {
  margin-bottom: 64px;
}

.merch-title {
  font-size: clamp(64px, 12vw, 168px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.02em;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 32px;
}

/* Product Cards */
.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-image {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  background: #151414;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.product-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.8s ease;
}

.img-front {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
}

.product-card:hover .img-front {
  opacity: 1;
}

.product-card:hover .img-back {
  opacity: 0;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11, 10, 10, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.product-info h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.product-info .price {
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
}

.product-info .price del {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.product-info .price span {
  color: #ff5a4e;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
}

@media (max-width: 1024px) {
  .merch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .merch {
    padding: 90px 20px 90px;
  }

  .merch-head {
    margin-bottom: 40px;
  }

  .merch-grid {
    gap: 36px 16px;
  }

  .product-badge {
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    font-size: 9px;
  }

  .product-info h3 {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .product-info .price del {
    display: block;
    margin: 0 0 4px;
  }
}

/* =============================================
   4. PRODUCT PAGE
   ============================================= */

.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Product Image Gallery */
.product-image-wrapper {
  position: relative;
}

.product-image-wrapper img {
  width: 100%;
  display: block;
}

.image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 32px;
  cursor: pointer;
  padding: 10px 14px;
}

.image-nav.left {
  left: 10px;
}

.image-nav.right {
  right: 10px;
}

/* Product Details */
.product-description {
  margin-top: 30px;
  color: #333;
  line-height: 1.5;
}

.size-chart {
  margin-top: 20px;
}

.size-chart img {
  max-width: 100%;
  border: 1px solid #eee;
}

/* Size Selection */
#sizes,
.sizes {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#sizes button,
.sizes button,
.size-btn {
  padding: 10px 14px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
}

#sizes button.active,
.sizes button.active,
.size-btn.active {
  background: #111;
  color: #fff;
}

/* Quantity Control */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.quantity-control button {
  width: 36px;
  height: 36px;
  border: 1px solid #000;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-value {
  width: 36px;
  height: 36px;
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

/* Price & Add to Cart */
.price-price-inline {
  margin: 16px 0;
  font-size: 16px;
  font-weight: 500;
}

#add-to-cart {
  margin-top: 16px;
  padding: 14px 28px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#add-to-cart:hover {
  background: #fff;
  color: #000;
}

#add-to-cart:active {
  transform: scale(0.98);
}

.add-to-cart-message {
  margin-top: 10px;
  font-size: 14px;
}

.add-to-cart-message.success {
  color: #1a7f37;
}

.add-to-cart-message.error {
  color: #c62828;
}

/* =============================================
   5. MUSIC PAGE
   ============================================= */

.music {
  background: #0b0a0a;
}

.music .nav {
  background: linear-gradient(rgba(11, 10, 10, 0.85), rgba(11, 10, 10, 0));
}

.music-page {
  position: relative;
  min-height: 100vh;
  padding: 150px 40px 120px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 8% -5%, rgba(198, 40, 40, 0.35), transparent 65%),
    radial-gradient(700px 600px at 100% 35%, rgba(255, 90, 78, 0.12), transparent 65%),
    radial-gradient(900px 700px at 20% 105%, rgba(198, 40, 40, 0.14), transparent 60%),
    #0b0a0a;
}

/* Film grain */
.music-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.music-page > * {
  position: relative;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

/* Page heading */
.music-head {
  margin-bottom: 64px;
}

.catalog-title {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ff5a4e;
}

.music-title {
  white-space: nowrap;
  font-size: clamp(36px, 6.5vw, 96px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
}

/* Record (shared by feature + cards) */
.record {
  position: absolute;
  top: 6%;
  right: 4%;
  height: 88%;
  aspect-ratio: 1 / 1;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.record-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-radial-gradient(circle at center, #111 0, #111 2px, #1d1d1d 3px, #111 4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: vinyl-spin 3s linear infinite;
  animation-play-state: paused;
}

.record-disc::after {
  content: "";
  position: absolute;
  width: 3%;
  height: 3%;
  border-radius: 50%;
  background: #0b0a0a;
}

/* Soft light on the grooves (stays still while the disc turns) */
.record::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 20deg,
      transparent 0deg, rgba(255, 255, 255, 0.12) 35deg, transparent 80deg,
      transparent 190deg, rgba(255, 255, 255, 0.09) 220deg, transparent 260deg);
  -webkit-mask: radial-gradient(circle, transparent 24%, #000 25%);
  mask: radial-gradient(circle, transparent 24%, #000 25%);
}

.record-label {
  width: 40%;
  height: 40%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 5px #0b0b0b;
}

/* Featured latest release */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.feature-art {
  position: relative;
  display: block;
  margin-right: 26%;
}

.feature-art .record {
  transform: translateX(30%);
}

.feature-art .record-disc {
  animation-play-state: running;
  animation-duration: 6s;
}

.feature-art:hover .record {
  transform: translateX(66%);
}

.feature-art:hover .record-disc {
  animation-duration: 2.4s;
}

.feature-image {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.feature-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.feature-art:hover .feature-image img {
  transform: scale(1.04);
}

.feature-title {
  white-space: nowrap;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}

.feature-artist {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
}

.feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 12px;
  letter-spacing: 3px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.feature-btn:hover {
  background: #e53935;
  transform: translateY(-2px);
}

/* Catalog grid */
.catalog-title {
  padding-bottom: 18px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 44px;
}

.song-card {
  position: relative;
  z-index: 0;
  display: block;
  color: #fff;
  text-decoration: none;
}

.song-art {
  position: relative;
  display: block;
}

.song-image {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #151414;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.song-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(0.55) brightness(0.8);
  transition: filter 0.5s ease, transform 0.7s ease;
}

.song-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.song-meta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
}

.song-no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ff5a4e;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.song-text {
  flex: 1;
  min-width: 0;
}

.song-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

.song-sub {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.song-arrow {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover: the record slides out and spins, the video comes to life */
@media (hover: hover) {
  .song-card:hover {
    z-index: 2;
  }

  .song-card:hover .record {
    transform: translateX(46%);
  }

  .song-card:hover .record-disc {
    animation-play-state: running;
  }

  .song-card:hover .song-image img {
    filter: none;
    transform: scale(1.05);
  }

  .song-card:hover .song-play {
    opacity: 1;
    transform: scale(1);
    background: var(--brand-red);
    color: #fff;
  }

  .song-card:hover .song-arrow {
    color: #fff;
    transform: translate(3px, -3px);
  }
}

/* Touch screens: show the play button, keep full colour */
@media (hover: none) {
  .song-image img {
    filter: none;
  }

  .song-play {
    left: auto;
    top: auto;
    right: 12px;
    bottom: 12px;
    margin: 0;
    width: 44px;
    height: 44px;
    opacity: 0.95;
    transform: none;
  }
}

.song-card:focus-visible {
  outline: 2px solid #ff5a4e;
  outline-offset: 8px;
  border-radius: 6px;
}

/* Dark footer on the music page */
.home .site-footer,
.music .site-footer {
  background: #0b0a0a;
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.home .footer-center a,
.home .footer-social a,
.music .footer-center a,
.music .footer-social a {
  color: rgba(255, 255, 255, 0.75);
}

.home .social-icon,
.music .social-icon {
  fill: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
  .music-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .music-page {
    padding: 120px 20px 80px;
  }

  .music-head {
    margin-bottom: 40px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 80px;
  }

  .feature-art {
    margin-right: 28%;
  }

  .feature-artist {
    margin-bottom: 26px;
  }

  .music-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =============================================
   6. CART PAGE
   ============================================= */

.cart-page {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 60px auto;
  padding-top: 60px;
  padding-bottom: 220px;
  align-items: flex-start;
}

.cart-left h2 {
  margin-bottom: 30px;
}

/* Cart Items */
#cart-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid #eaeaea;
}

.cart-item img {
  width: 90px;
  height: auto;
}

.cart-info h3 {
  margin: 0;
  font-size: 16px;
}

.cart-info p {
  margin: 4px 0;
  font-size: 14px;
}

.cart-total {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
}

/* Cart Form */
.cart-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-form h2 {
  margin-bottom: 12px;
}

#order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#order-form input,
.cart-form input {
  padding: 14px;
  font-size: 14px;
  border: 1px solid #ccc;
}

.reserve-btn {
  margin-top: 20px;
  padding: 16px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
}

.reserve-btn:hover {
  opacity: 0.85;
}

.order-message {
  margin: 12px 0;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 4px;
}

.order-message.error {
  background: #ffe5e5;
  color: #b00020;
  border: 1px solid #ffb3b3;
}

.order-message.success {
  background: #e6f7ea;
  color: #1b7a3a;
  border: 1px solid #9ddbb2;
}

/* =============================================
   7. RESPONSIVE STYLES
   ============================================= */

/* Tablet & Mobile (768px and below) */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav {
    padding: 20px;
  }

  .logo {
    order: 1;
  }

  .header-cart {
    order: 2;
    margin-left: auto;
    margin-right: 12px;
  }

  .menu-toggle {
    order: 3;
  }

  .menu {
    order: 4; /* hidden until opened anyway */
  }

  .menu-toggle {
    display: flex;
    order: 3;
    z-index: 101;
  }

  .menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none !important;
    z-index: 100;
  }

  .menu .cart-link {
    display: none;
  }


  .menu.active {
    display: flex !important;
  }

  .menu a {
    margin: 10px 0;
    margin-left: 0;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .menu .cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: auto;
  }

  .menu .cart-link #cart-count {
    position: relative;
    top: auto;
    right: auto;
    margin-left: 8px;
  }

  .menu a:last-child {
    border-bottom: none;
  }

  .cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
  }

  /* Hamburger animation when active */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Audio Player Mobile */
  .audio-player-mini {
    bottom: 15px;
    left: 15px;
    gap: 8px;
    padding: 10px 12px;
    max-width: calc(100vw - 30px);
  }

  .song-title-mini {
    font-size: 11px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .volume-slider-mini {
    width: 40px;
  }


  .product-link {
    width: 100%;
  }

  .product-link img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Product Page */
  .product-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 16px;
    padding-top: 100px;
  }

  .product-image-wrapper {
    width: 100%;
    position: relative;
  }

  #product-image {
    width: 100%;
    height: auto;
    display: block;
  }

  .product-info {
    width: 100%;
  }

  .image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 22px;
    cursor: pointer;
  }

  .image-nav.left {
    left: 8px;
  }

  .image-nav.right {
    right: 8px;
  }

  .sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sizes button {
    min-width: 48px;
    height: 44px;
  }

  .quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
  }

  #add-to-cart {
    width: 100%;
    height: 48px;
    font-size: 16px;
  }

  .price-price-inline {
    font-size: 18px;
    margin: 12px 0;
  }

  /* Cart Page */
  .cart-page {
    grid-template-columns: 1fr;
    padding-top: 30px;
	padding: 0 16px;
  }

  .cart-form {
    order: 2;
    margin-top: 32px;
  }

}


/* FOOTER */
.site-footer {
  border-top: 1px solid #eaeaea;
  padding: 24px 0;
  font-size: 14px;
  background: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-left {
  text-align: left;
}

.footer-center {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer-center a {
  color: #000;
  text-decoration: none;
}

.footer-center a:hover {
  text-decoration: underline;
}

.footer-right {
  text-align: right;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.footer-social a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.footer-social a:hover {
  text-decoration: underline;
}

/* Mobile footer */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;              /* THIS pushes footer down */
  width: 100%;
}

.site-footer {
  margin-top: auto;     /* safety net */
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: #000;
  transition: opacity 0.2s ease;
}

.footer-social a:hover .social-icon {
  opacity: 0.6;
}

.footer-social a[aria-label="Spotify"]:hover .social-icon {
  fill: #1DB954;
}

/* YouTube hover */
.footer-social a[aria-label="YouTube"]:hover .social-icon {
  fill: #FF0000;
}

/* Instagram hover (gradient effect) */
.footer-social a[aria-label="Instagram"]:hover .social-icon {
  fill: url(#instagram-gradient);
}


.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
  font-size: 16px;
  line-height: 1.6;
}

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 30px;
}

.legal-page h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 15px;
}

.legal-page p {
  margin-bottom: 16px;
}

.legal-page ul {
  margin: 10px 0 20px 20px;
}

.legal-page li {
  margin-bottom: 8px;
}

@media (min-width: 769px) {
  .nav {
    display: flex;
    align-items: center;
    padding: 20 32 20px;
  }

  .logo {
    order: 1;
    margin-right: auto; /* pushes everything else right */
    white-space: nowrap;
  }

   .menu {
    display: flex;
    justify-content: flex-end; /* IMPORTANT */
    gap: 24px;               /* CONTROL spacing here */
    flex: 0;                 /* REMOVE flex-grow */
  }

  .header-cart {
    margin-left: 16px;
    display: flex;
    align-items: center;
  }

  .menu-toggle {
    display: none;
  }
}

#add-to-cart.sold-out,
#add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.no-sizes {
    font-style: italic;
    opacity: 0.7;
}