/* --- 1. Global Reset & CSS Variables --- */
:root {
  --bg-color: #080808;
  --card-bg: #121212;
  --accent-color: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.15);
  --text-primary: #f4f4f5;
  --text-muted: #a1a1aa;
  --border-color: #27272a;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- 2. Global Link Fixes --- */
a, a:visited, a:link {
  color: inherit;
  text-decoration: none;
}

.link-accent, 
.link-accent:visited {
  color: var(--text-muted) !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  display: inline-block;
  margin-top: 1rem;
}

.link-accent:hover {
  color: #fff !important;
  border-bottom: 1px solid #fff;
}

/* --- 3. Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-1 { margin-bottom: 1rem; }

/* --- 4. Header & Navigation --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  margin-bottom: 2.5rem;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 1.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
}

nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-color);
}

.btn-nav-apply,
.btn-nav-apply:visited,
.btn-nav-apply:link {
  background: var(--accent-color) !important;
  color: #000000 !important;
  padding: 0.45rem 1.15rem;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 0 15px var(--accent-glow);
}

.btn-nav-apply:hover {
  background: #e0e0e0 !important;
  color: #000000 !important;
}

@media (max-width: 768px) {
  .nav-wrapper {
    flex-wrap: wrap;
  }

  .nav-toggle-btn {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 0.5rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
  }

  nav.mobile-active {
    display: flex !important;
  }
}

/* --- 5. Typography --- */
h1, h2, h3 {
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #fff;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 1rem; text-transform: uppercase; }
h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); }

/* --- 6. Form Styling --- */
input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #fff;
}

/* --- 7. Responsive Desktop Grid & Generic Cards --- */
.grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    align-items: stretch;
  }
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  height: 100%;
}

.card:hover {
  border-color: #52525b;
  transform: translateY(-4px);
}

.card img,
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* --- 8. Compact Member Cards (Desktop & Global) --- */
.member-card {
  min-height: auto !important;
  padding: 1.25rem 1rem !important;
  text-align: center;
  align-items: center;
}

.member-card .profile-pic {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #222;
  margin: 0 auto 0.75rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.member-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.member-card .role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.member-card .bio {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* --- 9. Compact Mobile Grid Override (< 768px) --- */
@media (max-width: 767px) {
  /* Scoped specifically to members page so homepage remains 1-column */
  .members-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .member-card {
    padding: 0.75rem !important;
    min-height: auto !important;
  }

  .member-card .profile-pic {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover; /* Ensures image fills the circle without stretching */
  margin: 0 auto 0.75rem auto;
  display: block;
}


  .member-card h3 {
    font-size: 0.95rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.15rem !important;
  }

  .member-card .role {
    font-size: 0.7rem !important;
    margin-bottom: 0.25rem !important;
  }

  .member-card .bio {
    display: none !important;
  }

  .member-card .btn-profile {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.5rem !important;
    margin-top: 0.5rem !important;
    letter-spacing: 0.02em !important;
  }
}

/* --- 10. Buttons (Shop, Subscribe, Member Profiles) --- */
.price-tag {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0.75rem 0;
}

.btn-buy,
.btn-buy:visited,
.btn-buy:link,
a.btn-buy,
a.btn-buy:visited,
.btn-profile,
.btn-profile:visited,
.btn-profile:link,
.btn-subscribe {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: none;
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
}

.btn-buy:hover,
.btn-profile:hover,
.btn-subscribe:hover {
  background-color: #e0e0e0 !important;
}

/* --- 10b. Streaming & Music Platform Buttons --- */
.btn-stream {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem !important;
  font-size: 0.825rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
  width: auto !important;
  margin-top: 0 !important;
}

.btn-stream svg {
  flex-shrink: 0;
}

.btn-stream.btn-spotify {
  background: rgba(29, 185, 84, 0.12) !important;
  color: #1ed760 !important;
  border: 1px solid rgba(29, 185, 84, 0.35) !important;
}

.btn-stream.btn-spotify:hover {
  background: #1db954 !important;
  color: #000000 !important;
  border-color: #1db954 !important;
  box-shadow: 0 0 15px rgba(29, 185, 84, 0.4);
}

.btn-stream.btn-apple {
  background: rgba(252, 60, 68, 0.12) !important;
  color: #fa243c !important;
  border: 1px solid rgba(252, 60, 68, 0.35) !important;
}

.btn-stream.btn-apple:hover {
  background: #fc3c44 !important;
  color: #ffffff !important;
  border-color: #fc3c44 !important;
  box-shadow: 0 0 15px rgba(252, 60, 68, 0.4);
}

/* --- 11. Custom Audio Player, Spotify & Apple Music Embed Styling --- */
audio {
  width: 100%;
  height: 40px;
  margin: 0.75rem 0;
  border-radius: 6px;
}

audio::-webkit-media-controls-panel {
  background-color: #1a1a1a;
  color: #fff;
}

.spotify-embed-container {
  width: 100%;
  margin: 0.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: #121212;
}

.spotify-embed-container iframe {
  width: 100%;
  height: 80px;
  border: none;
  border-radius: 12px;
}

.apple-music-embed-container {
  width: 100%;
  margin: 0.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: #121212;
}

.apple-music-embed-container iframe {
  width: 100%;
  height: 175px;
  border: none;
  border-radius: 12px;
}

/* --- 12. Centered Footer --- */
footer {
  margin-top: auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
  text-align: center;
}

footer a, 
footer a:visited {
  color: var(--text-muted) !important;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #fff !important;
}

footer .copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  width: 100%;
}
/* --- 13. Profile Page Styling --- */
.profile-page {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.back-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #fff;
}

.profile-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Image renders in full native aspect ratio without cropping */
.profile-header-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #000;
  display: block;
}

.profile-title {
  font-size: 2.25rem;
  margin-bottom: 0.2rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.profile-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.profile-lead {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.profile-bio p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.socials-container {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.socials-container h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  padding: 0.5rem 1rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background-color: #fff;
  color: #000 !important;
  border-color: #fff;
}
/* --- 14. Shop Categories & Filter Buttons --- */
.shop-categories {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.shop-categories a {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shop-categories a.active,
.shop-categories a:hover {
  color: #fff;
}

.filter-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--card-bg);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto !important;
  display: inline-block !important;
}

.filter-btn.active,
.filter-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}


/* --- 14b. Beat License Tier Selector --- */
.license-selector {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.75rem 0 0.5rem 0;
}

.license-btn {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.3rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
  text-align: center;
  width: auto !important;
  margin-top: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.license-btn .lic-name {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.license-btn .lic-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: inherit;
}

/* Tier colours */
.license-btn[data-tier="free"]      { border-color: #3f3f46; }
.license-btn[data-tier="basic"]     { border-color: #1d4ed8; }
.license-btn[data-tier="platinum"]  { border-color: #7c3aed; }
.license-btn[data-tier="exclusive"] { border-color: #b45309; }

.license-btn[data-tier="free"].selected,
.license-btn[data-tier="free"]:hover {
  background: rgba(255,255,255,0.08);
  border-color: #a1a1aa;
  color: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.08);
}

.license-btn[data-tier="basic"].selected,
.license-btn[data-tier="basic"]:hover {
  background: rgba(29,78,216,0.18);
  border-color: #3b82f6;
  color: #60a5fa;
  box-shadow: 0 0 10px rgba(59,130,246,0.3);
}

.license-btn[data-tier="platinum"].selected,
.license-btn[data-tier="platinum"]:hover {
  background: rgba(124,58,237,0.18);
  border-color: #a78bfa;
  color: #c4b5fd;
  box-shadow: 0 0 10px rgba(167,139,250,0.3);
}

.license-btn[data-tier="exclusive"].selected,
.license-btn[data-tier="exclusive"]:hover {
  background: rgba(180,83,9,0.2);
  border-color: #f59e0b;
  color: #fbbf24;
  box-shadow: 0 0 12px rgba(245,158,11,0.35);
}

.license-info {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.3rem 0 0.75rem 0;
  min-height: 1.2em;
  transition: color 0.2s ease;
}

.license-price-display {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0.5rem 0 0.75rem 0;
  letter-spacing: -0.02em;
  transition: all 0.2s ease;
}

.license-price-display.is-free {
  color: #a1a1aa;
}

/* --- 15. Slide-Out Cart Drawer --- */
.cart-icon-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 998;
}

.cart-overlay.active {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -350px;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  background: #111;
  border-left: 1px solid var(--border-color);
  z-index: 999;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.close-cart {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cart-item-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.remove-item-btn {
  background: transparent;
  border: none;
  color: #ff4d4d;
  font-size: 0.75rem;
  cursor: pointer;
}

.cart-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* --- 16. Careers Page Styling --- */
.careers-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  text-align: left;
}

.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: 10px;
}

.benefit-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

.role-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.role-card:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.role-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.role-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-box {
  margin: 3.5rem 0 2rem 0;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.cta-box h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.btn-primary-lg {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
}

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

/* --- 17. Application Form Styling --- */
.form-page-container {
  max-width: 750px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: 12px;
}

.form-section h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #000;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  background: #fff;
  color: #000;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  width: 100%;
}

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

.btn-submit:active {
  transform: scale(0.99);
}


/* ==========================================
   CART DRAWER & OVERLAY FIX
   ========================================== */

/* Darkened screen overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999; /* Sits under the drawer, above page content */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
  display: block !important;
}

/* Slide-out Cart Sidebar Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%; /* Keeps drawer off-screen until active */
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: #121212 !important; /* Solid dark background */
  color: #ffffff !important;
  z-index: 1000 !important; /* HIGHER THAN OVERLAY so it sits on top */
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.8);
  transition: right 0.3s ease-in-out;
  display: flex !important;
  flex-direction: column;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow-y: auto;
}

/* When drawer is open */
.cart-drawer.active {
  right: 0 !important; /* Slides drawer onto the screen */
}

/* Drawer Header & Content Styling */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
}

.close-cart {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
}

.cart-footer {
  border-top: 1px solid #333;
  padding-top: 1rem;
  margin-top: 1rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Product Card Artwork */
.product-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 1.25rem auto;
  display: block;
}

/* Cart Drawer Item Thumbnail */
.cart-item-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 0.75rem;
  flex-shrink: 0;
}
.product-img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 1.25rem auto;
  display: block;
  background-color: #1a1a1a;
}

/* --- Hero Banner & Homepage Enhancement Styles --- */
.hero-banner {
  padding: 3.5rem 1.5rem;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(8, 8, 8, 0) 70%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 3.5rem;
  text-align: center;
}

.hero-banner h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-banner p {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 2rem auto;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-secondary-lg {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.btn-secondary-lg:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.section-title-wrap h2 {
  font-size: 1.5rem;
  margin: 0;
  text-transform: uppercase;
}

.view-all-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.view-all-link:hover {
  color: #fff;
}


