/* ==========================================================================
   WEAR HUMAN - EDITORIAL DESIGN SYSTEM (GSAP & INSTRUMENT SERIF ALIGNMENT)
   ========================================================================== */

/* --- Fonts Loading --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Instrument+Serif:ital@0;1&family=Outfit:wght@300;400;600;800&family=Syne:wght@400;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Colors - Light Theme (Cream Paper Vibe) */
  --bg-cream: #FAF9F6;
  --bg-cream-darker: #F3F1EA;
  --text-dark: #111111;
  --text-gray: #555555;
  --border-light: #E8E6DE;
  --accent-red: #D23B38;
  
  /* Colors - Dark Theme (Black Set/Collection Vibe) */
  --bg-dark: #0A0A0A;
  --bg-dark-card: #121212;
  --text-light: #FAF9F6;
  --text-light-gray: #888888;
  --border-dark: #222222;
  
  /* Fonts */
  --font-serif: "Instrument Serif", serif;
  --font-sans: "Instrument Sans", sans-serif;
  --font-display: "Syne", sans-serif;
  --font-accent: "Outfit", sans-serif;
  
  /* Spacing - Confined Negative Space */
  --space-unit: 1.25rem;
  --space-xs: calc(var(--space-unit) * 0.5);   /* 10px */
  --space-sm: calc(var(--space-unit) * 1);     /* 20px */
  --space-md: calc(var(--space-unit) * 2);     /* 40px */
  --space-lg: calc(var(--space-unit) * 4);     /* 80px */
  --space-xl: calc(var(--space-unit) * 8);     /* 160px */
  --space-xxl: calc(var(--space-unit) * 12);   /* 240px */
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1440px;
  
  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-cream);
  font-family: var(--font-sans);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  width: 100%;
  background-color: var(--bg-cream);
  opacity: 0; /* Dynamic load flash shield */
  transition: opacity 0.45s ease-in-out, background-color 0.8s var(--ease-out-expo), color 0.8s var(--ease-out-expo);
}

body.loaded {
  opacity: 1; /* Revealed dynamically by JS */
}

/* Canvas Background */
#storytelling-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background-color: transparent;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.05;
  text-transform: none;
}

.font-editorial {
  font-family: var(--font-serif);
  font-style: italic;
}

.title-xl {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.title-lg {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.title-md {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.text-meta {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-gray);
  display: block;
  margin-bottom: var(--space-xs);
}

.text-body {
  font-size: clamp(0.95rem, 1.15vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-gray);
}

/* --- Links & Buttons --- */
a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

.btn-primary {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  background-color: var(--text-dark);
  color: var(--bg-cream);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--text-dark);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  text-align: center;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-dark);
  opacity: 1;
}

.btn-secondary {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  background-color: transparent;
  color: var(--text-dark);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--bg-cream);
  border-color: var(--text-dark);
  opacity: 1;
}

/* --- Theme Dark Override --- */
.theme-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-top-color: var(--border-dark);
  border-bottom-color: var(--border-dark);
}

.theme-dark .text-meta {
  color: var(--text-light-gray);
}

.theme-dark .text-body {
  color: var(--text-light-gray);
}

.theme-dark .btn-primary {
  background-color: var(--text-light);
  color: var(--bg-dark);
  border-color: var(--text-light);
}

.theme-dark .btn-primary:hover {
  background-color: transparent;
  color: var(--text-light);
}

.theme-dark .btn-secondary {
  color: var(--text-light);
  border-color: var(--border-dark);
}

.theme-dark .btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--bg-dark);
  border-color: var(--text-light);
}

/* ==========================================================================
   LAYOUT SECTIONS
   ========================================================================== */

.section-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

/* Header Navigation (Sticky BELOW the Hero Carousel) */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-md);
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(10px);
  transition: background-color 0.8s var(--ease-out-expo), border-color 0.8s var(--ease-out-expo);
}

body.theme-dark-active .main-header {
  background-color: rgba(10, 10, 10, 0.85);
  border-bottom-color: var(--border-dark);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Brand Logo Styled HTML block typography overrides */
.brand-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  transition: color 0.8s var(--ease-out-expo);
}

.logo-sub {
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--text-gray);
  margin-top: 1px;
}

body.theme-dark-active .logo-main {
  color: var(--text-light);
}

body.theme-dark-active .logo-sub {
  color: var(--text-light-gray);
}

.header-right {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.header-right a {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.cart-count {
  background: var(--accent-red);
  color: white;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
}

/* Hamburger mobile trigger element */
.mobile-menu-trigger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-line {
  width: 100%;
  height: 1.5px;
  background-color: var(--text-dark);
  transform-origin: center center;
  transition: background-color 0.8s var(--ease-out-expo);
}

body.theme-dark-active .hamburger-line {
  background-color: var(--text-light);
}

/* Modern app-style layout overrides for mobile screens (<= 768px) */
@media (max-width: 768px) {
  .main-header {
    height: 60px;
    padding: 0 var(--space-sm);
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Centered Logo grid track */
    align-items: center;
    background-color: rgba(250, 249, 246, 0.95);
    border-bottom: 1px solid var(--border-light);
  }

  body.theme-dark-active .main-header {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom-color: var(--border-dark);
  }

  .mobile-menu-trigger {
    display: flex; /* Show hamburger only on mobile */
  }

  .nav-links {
    display: none !important; /* Hide standard nav list */
  }

  .header-right a {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 12px 6px; /* Comfortable 44px touch limits */
    display: block;
    white-space: nowrap;
  }

  .brand-logo-wrap .logo-main {
    font-size: 1.25rem;
  }
}

/* Homepage sticky bottom desktop position override (GSAP controlled translation) */
@media (min-width: 769px) {
  body.home-page-active .main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.8s var(--ease-out-expo), border-color 0.8s var(--ease-out-expo);
  }

  /* Native CSS positioning states for homepage double sticky header */
  body.home-page-active .main-header.sticky-bottom {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
  }

  body.home-page-active .main-header.scroll-natural {
    position: absolute !important;
    bottom: auto !important;
    transform: none !important;
  }

  body.home-page-active .main-header.sticky-top {
    position: fixed !important;
    top: 0 !important;
    bottom: auto !important;
    transform: none !important;
  }
}

/* ==========================================================================
   EDITORIAL MOBILE NAVIGATION MENU OVERLAY (MAGAZINE STYLE OVERLAY)
   ========================================================================== */
#mobile-menu-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-cream); /* Premium paper look */
  z-index: 99; /* Below header, covers page body flow */
  transform: translateY(100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

body.theme-dark-active #mobile-menu-overlay {
  background-color: var(--bg-dark);
}

.mobile-menu-inner {
  width: 100%;
  height: 100%;
  padding: 120px 40px 60px 40px; /* Buffer room for top sticky menu bar */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: auto 0;
}

.mobile-menu-primary .menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-menu-primary .menu-list a {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 3.8rem); /* Large editorial display titles */
  font-style: italic;
  color: var(--text-dark);
  display: inline-block;
  line-height: 1.1;
  transition: opacity 0.3s ease;
}

body.theme-dark-active .mobile-menu-primary .menu-list a {
  color: var(--text-light);
}

.mobile-menu-secondary .menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu-secondary .menu-list a {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em; /* Intentional uppercase letter spacing */
  color: var(--text-gray);
  display: inline-block;
  transition: opacity 0.3s ease;
}

body.theme-dark-active .mobile-menu-secondary .menu-list a {
  color: var(--text-light-gray);
}

.mobile-menu-social .menu-list {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-sm);
}

.mobile-menu-social .menu-list a {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light-gray);
  display: inline-block;
}

/* ==========================================================================
   HOMEPAGE - FIRST FOLD CAROUSEL (COMBINED / INFINITE TICKER)
   ========================================================================== */

/* Hero Carousel - Combined Edge-to-Edge with no padding */
.hero-carousel-section {
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 550px;
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: var(--bg-cream);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .hero-carousel-section {
    height: auto;
    min-height: auto;
  }
}

.carousel-track-wrapper {
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 0;
  height: 100%;
  will-change: transform;
}

.carousel-card {
  flex: 0 0 33.333vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: center;
  position: relative;
}

@media (max-width: 1024px) {
  .carousel-card {
    flex: 0 0 50vw;
  }
}

@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 100vw;
  }
}

.carousel-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: var(--space-sm);
  background-color: var(--bg-cream-darker);
  flex-grow: 1;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.carousel-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.0;
  margin-bottom: 2px;
}

.carousel-meta {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: var(--space-sm);
}

/* ==========================================================================
   ARTISTS PREVIEW SECTION - ESCALATOR ROTATOR (EDGE-TO-EDGE TICKER)
   ========================================================================== */
.artists-preview-section {
  width: 100%;
  border-bottom: 1px solid var(--border-light);
  padding-top: var(--space-xxl); /* Increased for luxury gaps top & bottom */
  padding-bottom: var(--space-xxl); /* Increased for luxury gaps top & bottom */
  overflow: visible; /* Ensure cards never get cropped by corners */
  position: relative;
}

.product-artists-section {
  width: 100%;
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-xxl); /* Increased for luxury gaps top & bottom */
  padding-bottom: var(--space-xxl); /* Increased for luxury gaps top & bottom */
  overflow: visible;
  position: relative;
}

/* Absolute Header Overlay to overlay top-left of the slider container */
.artists-header-overlay {
  position: absolute;
  top: 10px;
  left: calc((100% - var(--max-width)) / 2 + var(--space-md));
  z-index: 10;
  display: flex;
  gap: var(--space-md);
  align-items: baseline;
  pointer-events: none; /* Clicks pass straight to cards underneath */
}

@media (max-width: 1440px) {
  .artists-header-overlay {
    left: var(--space-md);
  }
}

@media (max-width: 768px) {
  .artists-header-overlay {
    position: relative;
    top: 0;
    left: 0;
    padding: var(--space-md) var(--space-md) var(--space-sm) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }
}

/* Desktop Pagination wrap at bottom right */
.slider-pagination-wrap {
  position: absolute;
  bottom: 20px;
  right: calc((100% - var(--max-width)) / 2 + var(--space-md));
  z-index: 10;
  display: flex;
  gap: 12px;
}

@media (max-width: 1440px) {
  .slider-pagination-wrap {
    right: var(--space-md);
  }
}

.slider-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--text-dark);
  background-color: var(--bg-cream);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  color: var(--text-dark);
  padding: 0;
}

body.theme-dark-active .slider-nav-btn {
  border-color: var(--text-light);
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.slider-nav-btn svg {
  width: 20px;
  height: 20px;
}

.slider-nav-btn.next-btn {
  background-color: var(--text-dark);
  color: var(--bg-cream);
}

body.theme-dark-active .slider-nav-btn.next-btn {
  background-color: var(--text-light);
  color: var(--bg-dark);
}

.slider-nav-btn:hover {
  background-color: var(--text-dark);
  color: var(--bg-cream);
}

body.theme-dark-active .slider-nav-btn:hover {
  background-color: var(--text-light);
  color: var(--bg-dark);
}

.slider-nav-btn.next-btn:hover {
  background-color: var(--bg-cream);
  color: var(--text-dark);
}

body.theme-dark-active .slider-nav-btn.next-btn:hover {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.artists-slider-wrapper {
  width: 100%;
  height: 780px; /* Made taller to comfortably fit larger cards */
  position: relative;
  overflow: visible; /* Prevent overflow cropping */
  display: flex;
  justify-content: center;
  align-items: center;
}

.artists-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.artist-card-preview {
  position: absolute;
  width: 340px; /* Significantly scaled up cards */
  height: 450px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform-origin: center center;
  will-change: transform, opacity;
  background-color: transparent;
}

@media (max-width: 1024px) {
  .artist-card-preview {
    width: 260px;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .slider-pagination-wrap {
    display: none !important; /* Hide arrows on mobile */
  }

  .artists-slider-wrapper {
    height: auto !important;
    display: block !important;
    overflow: hidden !important;
    padding-bottom: 20px;
  }

  .artists-slider {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: var(--space-sm) !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding: 20px var(--space-md) 40px var(--space-md) !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth;
    scrollbar-width: none;  /* Firefox */
  }

  .artists-slider::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
  }

  .artist-card-preview {
    position: relative !important;
    width: 75vw !important; /* 1 shown, next is ~20% visible */
    height: auto !important;
    flex-shrink: 0 !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    scroll-snap-align: center !important;
    opacity: 1 !important;
    margin: 0 !important;
  }
}

.artist-img-wrapper {
  width: 100%;
  aspect-ratio: 1/1; /* Square crop */
  overflow: hidden;
  margin-bottom: var(--space-xs);
  background-color: var(--bg-cream-darker);
}

.artist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity;
}

.artist-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.1;
  margin-top: 14px;
  text-align: left; /* Aligned left as per reference screenshot */
  color: var(--text-dark);
}

.artist-role {
  font-family: var(--font-accent);
  font-size: clamp(0.6rem, 1vw, 0.7rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-top: 4px;
  text-align: left; /* Aligned left as per reference screenshot */
}

/* ==========================================================================
   3-COLUMN ASYMMETRIC GRID SYSTEM (PIXEL ACCURATE COMPOSITION)
   ========================================================================== */
.editorial-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

@media (max-width: 900px) {
  .editorial-columns-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.grid-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Column vertical offset rhythm */
.grid-column.col-2 {
  margin-top: 150px;
}

@media (max-width: 900px) {
  .grid-column.col-2 {
    margin-top: 0;
  }
}

/* Title block in Column 3 */
.grid-title-card {
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-xs);
  text-align: left;
}

.grid-title-card .title-lg {
  margin-top: var(--space-xs);
}

/* Product card inside columns */
.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--bg-cream-darker);
  margin-bottom: var(--space-xs);
}

.theme-dark .card-img-wrapper {
  background-color: var(--bg-dark-card);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.parallax-img {
  transform: scale(1.18) translateY(-10%); /* Default starting offsets to prevent load jump flashes! */
}

.card-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: var(--space-xs);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.1;
}

.card-artist {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-top: 4px;
}

.theme-dark .card-artist {
  color: var(--text-light-gray);
}

.card-price {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ==========================================================================
   VIEW 2: ARTIST PAGE
   ========================================================================== */

.artist-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (max-width: 768px) {
  .artist-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.artist-hero-img-col {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--bg-cream-darker);
}

.artist-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-hero-details-col {
  display: flex;
  flex-direction: column;
}

.artist-bio {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  max-width: 480px;
}

.artist-social-links {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
  margin-bottom: var(--space-md);
}

.artist-social-links a {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  text-decoration: underline;
  font-weight: 600;
}

.artist-actions {
  display: flex;
  gap: var(--space-xs);
}

/* Quote story section */
.artist-story-quote-section {
  background-color: var(--bg-cream-darker);
  padding: var(--space-xl) 0;
}

.story-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: var(--space-md);
  align-items: center;
}

@media (max-width: 900px) {
  .story-quote-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.story-quote-text {
  text-align: center;
  padding: var(--space-md);
}

.story-quote-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
  font-style: italic;
}

.story-img-card {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.story-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark sub-collection block */
.artist-collection-dark {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.collection-header-dark {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-lg);
}

.collection-header-dark .title-lg {
  margin-top: var(--space-xs);
}

/* ==========================================================================
   VIEW 3: PRODUCT DETAIL PAGE SPECIFIC WORKFLOW
   ========================================================================== */

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.product-main-img-col {
  width: 100%;
}

.product-primary-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--bg-cream-darker);
}

.product-primary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.product-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  width: 100%;
}

.product-gallery-thumb {
  aspect-ratio: 1/1; /* Square thumbnails as per design */
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  background-color: var(--bg-cream-darker);
}

.product-gallery-thumb.active {
  border-color: var(--text-dark);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-title-detail {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  color: var(--text-dark);
}

.product-subtitle-detail {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-top: 2px;
  display: block;
}

.product-selectors-row {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-sm) 0;
  margin-top: var(--space-sm);
}

.selector-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.color-circles {
  display: flex;
  gap: 12px;
}

.color-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

.color-circle.active {
  transform: scale(1.1);
  border-color: var(--text-dark);
}

.color-circle.active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--text-dark);
}

.color-black { background-color: #0b0b0b; }
.color-pink { background-color: #f7cbd6; }
.color-red { background-color: #d23b38; }

.size-select {
  padding: 0.6rem 2rem 0.6rem 1rem;
  border: 1px solid var(--border-light);
  background-color: transparent;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path fill="%23555" d="M0 0l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 8px;
}

.product-actions-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.btn-add-to-cart {
  background: transparent;
  border: none;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: underline;
  cursor: pointer;
  color: var(--text-dark);
  padding: 12px 0;
}

.btn-buy-now {
  background-color: var(--text-dark);
  color: var(--bg-cream);
  border: 1px solid var(--text-dark);
  padding: 12px 36px;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-buy-now:hover {
  background-color: transparent;
  color: var(--text-dark);
}

.product-specs-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  font-family: var(--font-accent);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-specs-links a {
  color: var(--text-gray);
  text-decoration: underline;
}

/* Artist focus spotlight details */
.artist-focus-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (max-width: 768px) {
  .artist-focus-card {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.artist-focus-img-square {
  width: 100%;
  aspect-ratio: 1/1; /* Square crop as per design */
  overflow: hidden;
  background-color: var(--bg-cream-darker);
}

.artist-focus-img-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   E-COMMERCE SYSTEM: SLIDE-OUT CART DRAWER
   ========================================================================== */

#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 100%;
  height: 100vh;
  background-color: var(--bg-cream);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-light);
}

#cart-drawer.open {
  transform: translateX(0);
}

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

.cart-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cart-empty-message {
  margin: auto;
  text-align: center;
  color: var(--text-gray);
  font-family: var(--font-accent);
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  gap: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: var(--space-sm);
}

.cart-item-img {
  width: 80px;
  height: 106px;
  object-fit: cover;
  background-color: var(--bg-cream-darker);
}

.cart-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.cart-item-meta {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  color: var(--text-gray);
  margin-top: 2px;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
}

.qty-btn {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-family: var(--font-accent);
  font-size: 0.8rem;
}

.qty-val {
  padding: 0 8px;
  font-family: var(--font-accent);
  font-size: 0.8rem;
}

.cart-item-remove {
  font-size: 0.75rem;
  text-decoration: underline;
  color: var(--text-gray);
  cursor: pointer;
}

.cart-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-cream-darker);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

#cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--bg-cream-darker);
  border-top: 1px solid var(--border-light);
  transition: background-color 0.8s var(--ease-out-expo), border-color 0.8s var(--ease-out-expo);
  padding: var(--space-lg) 0 0 0;
}

body.theme-dark-active .main-footer {
  background-color: var(--bg-dark);
  border-top-color: var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.footer-brand-col {
  max-width: 400px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-top: var(--space-sm);
}

.theme-dark .footer-desc {
  color: var(--text-light-gray);
}

.footer-links-col h4 {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

.theme-dark .footer-links-col h4 {
  color: var(--text-light);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-gray);
}

.theme-dark .footer-links a {
  color: var(--text-light-gray);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: var(--space-md) var(--space-md);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-gray);
  max-width: var(--max-width);
  margin: 0 auto;
}

.theme-dark .footer-bottom {
  border-top-color: var(--border-dark);
  color: var(--text-light-gray);
}

/* ==========================================================================
   REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  .card-img, .carousel-img {
    transform: none !important;
  }
}
