/* =========================================================================
   Tcoppoe Entertainment theme styles.
   ========================================================================= */

:root {
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-eyebrow: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 0.75rem;
  --radius-md: calc(0.75rem - 2px);
  --radius-2xl: 1rem;
  --card-radius: 0.75rem;

  --btn-radius: calc(0.75rem - 2px);
  --btn-height: 48px;
  --btn-padding: 0 2rem;
  --btn-font-size: 1rem;
  --btn-font-weight: 700;
  --btn-letter-spacing: 0.025em;
  --btn-text-transform: uppercase;

  --shadow-elevated: 0 20px 50px -14px rgba(0, 0, 0, 0.85);
  --header-height: 96px;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-reveal: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* =========================================================================
   Reset / base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
  text-wrap: balance;
}
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
p, li { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
img { max-width: 100%; display: block; }

img:not(.cover-img):not(.hero-section__bg-img):not(.theme-product-card__image):not(.theme-product-main-img-wrap img):not(.theme-product-thumb img):not(.artist-section__photo):not(.theme-cart-item__image img) {
  max-width: 100%;
  height: auto;
}
.cover-img,
.hero-section__bg-img,
.theme-product-card__image,
.theme-product-main-img-wrap img,
.theme-product-thumb img,
.artist-section__photo,
.theme-cart-item__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.container-wide {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 1280px;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.section-padding { padding-top: 3rem; padding-bottom: 3rem; }
.section-padding-sm { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) {
  .section-padding { padding-top: 5rem; padding-bottom: 5rem; }
  .section-padding-sm { padding-top: 5rem; padding-bottom: 5rem; }
}
@media (min-width: 1024px) { .section-padding { padding-top: 7rem; padding-bottom: 7rem; } }

.text-accent { color: var(--color-accent); }

.theme-icon { flex-shrink: 0; }
.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-24 { width: 24px; height: 24px; }
.icon-32 { width: 32px; height: 32px; }
.icon-48 { width: 48px; height: 48px; }
.icon-56 { width: 56px; height: 56px; }

/* Section anchor scroll offsets (scroll-mt-28 / scroll-mt-24). */
#about, #shop, #artist, #mixtape, #faq { scroll-margin-top: 7rem; }
#contact { scroll-margin-top: 6rem; }

/* =========================================================================
   Typography rhythm
   ========================================================================= */
.section-eyebrow {
  display: block;
  font-family: var(--font-eyebrow);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-accent);
}
.section-body {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  line-height: 1.7;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.section-heading-wrap { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .section-heading-wrap { margin-bottom: 3.5rem; } }
.section-heading-wrap .section-heading { margin-top: 0.75rem; margin-bottom: 1rem; }

.section-heading {
  line-height: 1;
  font-size: 2.25rem;
}
.about-section__heading,
.faq-section__heading,
.mixtape-section__heading {
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  .about-section__heading, .shop-heading, .artist-section__heading, .mixtape-section__heading, .faq-section__heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .about-section__heading, .shop-heading, .artist-section__heading, .mixtape-section__heading, .faq-section__heading { font-size: 3.75rem; }
}
.contact-title { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn-hero-primary,
.btn-hero-outline,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  font-family: var(--font-eyebrow);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  transition: background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth), border-color 0.3s var(--transition-smooth), transform 0.3s var(--transition-reveal), opacity 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
}
.btn-hero-primary {
  background-color: var(--color-accent);
  color: var(--color-accent-foreground);
  box-shadow: 0 0 25px color-mix(in srgb, var(--color-accent) 30%, transparent);
}
.btn-hero-primary:hover { background-color: var(--color-champagne); transform: translateY(-3px); }
.btn-hero-outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 60%, transparent);
}
.btn-hero-outline:hover { background-color: color-mix(in srgb, var(--color-accent) 10%, transparent); transform: translateY(-3px); }
.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 500;
  min-height: 44px;
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* =========================================================================
   Reveal animations (scroll in-view)
   ========================================================================= */
.reveal-up, .reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25,0.4,0.25,1), transform 0.6s cubic-bezier(0.25,0.4,0.25,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-fade { transform: none; }
.reveal-up.is-visible, .reveal-fade.is-visible { opacity: 1; transform: none; }

body.is-customizer .reveal-up,
body.is-customizer .reveal-fade,
body.is-customizer .theme-product-card-wrap.reveal-up {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-fade { transition: none; opacity: 1; transform: none; }
}

.mesh-grid {
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-foreground) 20%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-foreground) 20%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
}

.animate-ken-burns {
  animation: themeKenBurns 24s ease-in-out infinite alternate;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .animate-ken-burns { animation: none; }
}
@keyframes themeKenBurns {
  from { transform: scale(1) translate3d(0,0,0); }
  to { transform: scale(1.18) translate3d(-2%,-2%,0); }
}

.gold-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 50%, transparent);
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  padding: 0.5rem 1rem;
  font-family: var(--font-eyebrow);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}
@media (min-width: 640px) { .gold-pill { font-size: 0.75rem; } }

/* =========================================================================
   Header
   ========================================================================= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.site-header__announcement { background: var(--color-accent); color: var(--color-accent-foreground); }
.site-header__announcement .container-wide { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.site-header__announcement-text {
  font-family: var(--font-eyebrow);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
@media (min-width: 640px) { .site-header__announcement-text { font-size: 0.75rem; } }

.site-header__bar {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: color-mix(in srgb, var(--color-background) 70%, transparent);
  backdrop-filter: blur(6px);
}
.site-header.is-solid .site-header__bar,
.site-header__bar.is-solid {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  border-color: var(--color-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.site-header__nav-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; min-height: 64px; }
@media (min-width: 1024px) { .site-header__nav-row { min-height: 80px; } }

.site-header__logo { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; }
.site-logo-img { width: auto !important; display: block; }
.site-header__logo .site-logo-img { height: var(--logo-height) !important; }
.site-footer__logo .site-logo-img { height: var(--logo-height) !important; }
.site-logo-text {
  font-family: var(--font-display);
  font-size: calc(var(--logo-height) * 0.45);
  text-transform: uppercase;
  line-height: 1;
  display: block;
  letter-spacing: -0.025em;
}

.site-header__desktop-nav { display: none; }
@media (min-width: 1024px) {
  .site-header__desktop-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; margin-right: 1.5rem; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.theme-nav-link {
  position: relative;
  display: inline-block;
  font-family: var(--font-eyebrow);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 0;
  color: var(--color-foreground);
  transition: color 0.3s ease;
}
.theme-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.theme-nav-link:hover { color: var(--color-accent); }
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-cart-btn, .theme-mobile-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border-radius: 9999px;
  padding: 0.75rem;
  color: var(--color-foreground);
  transition: color 0.3s var(--transition-smooth);
}
.theme-cart-btn .theme-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
}
.theme-mobile-toggle,
.theme-mobile-toggle .theme-mobile-toggle__icon-open,
.theme-mobile-toggle .theme-mobile-toggle__icon-close {
  color: #ffffff;
}
.theme-mobile-toggle .theme-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  stroke: currentColor;
}
.theme-cart-btn:hover, .theme-mobile-toggle:hover { color: var(--color-accent); }
.theme-mobile-toggle:hover .theme-icon { color: var(--color-accent); }
.theme-cart-count {
  position: absolute;
  top: 4px; right: 4px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  background: var(--color-accent);
  color: var(--color-accent-foreground);
  border-radius: 9999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle__icon-open,
.theme-mobile-toggle__icon-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.theme-mobile-toggle__icon-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .theme-mobile-toggle__icon-open { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .theme-mobile-toggle__icon-close { display: inline-flex; }

.site-header__mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 0;
}
.site-header__mobile-nav.is-open { display: block; animation: themeFadeIn 0.4s cubic-bezier(0.4,0,0.2,1) forwards; }
@media (min-width: 1024px) { .site-header__mobile-nav { display: none !important; } }
.theme-nav-list--mobile { flex-direction: column; align-items: flex-start; gap: 0; }
.theme-nav-list--mobile .theme-nav-link { text-transform: none; font-family: var(--font-body); font-size: 1rem; letter-spacing: normal; padding: 0.75rem 0.25rem; min-height: 44px; width: 100%; }
.theme-nav-list--mobile .theme-nav-link::after { display: none; }

@keyframes themeFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   Hero
   ========================================================================= */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-background);
  min-height: 60vh;
  padding: 8rem 0 4rem;
}
@media (min-width: 768px) { .hero-section { min-height: 100vh; padding: 9rem 0 6rem; } }
body.theme-no-hero .theme-home-main { padding-top: 0; }
.hero-section__bg { position: absolute; inset: 0; overflow: hidden; }
.hero-section__bg-img { opacity: 0.45; }
.hero-section__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 80%, transparent), color-mix(in srgb, var(--color-background) 70%, transparent) 50%, var(--color-background));
}
.hero-section__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--color-accent) 22%, transparent) 0%, transparent 62%);
}
.hero-section__mesh { position: absolute; inset: 0; opacity: 0.12; }
.hero-section__content { position: relative; z-index: 10; text-align: center; }
.hero-section__badge-wrap { display: flex; justify-content: center; }
.hero-section__title {
  font-size: 3rem;
  line-height: 0.95;
  max-width: 56rem;
  margin: 1.5rem auto 1.25rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .hero-section__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 6rem; } }
.hero-section__subtext {
  color: var(--color-muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
@media (min-width: 768px) { .hero-section__subtext { font-size: 1.125rem; } }
.hero-section__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  max-width: 28rem;
  margin: 0 auto;
}
@media (max-width: 639px) {
  .hero-section__actions .btn-hero-primary,
  .hero-section__actions .btn-hero-outline { width: 100%; }
}
@media (min-width: 640px) {
  .hero-section__actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: none;
  }
  .hero-section__actions .btn-hero-primary,
  .hero-section__actions .btn-hero-outline { width: auto; }
}

/* =========================================================================
   About / Pillars
   ========================================================================= */
.about-section { position: relative; background: var(--color-background); }
.pillar-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .pillar-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (min-width: 1024px) { .pillar-grid { grid-template-columns: repeat(4, 1fr); } }

.pillar-card {
  border-radius: var(--card-radius);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.pillar-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 60%, transparent);
  box-shadow: 0 0 25px color-mix(in srgb, var(--color-accent) 30%, transparent);
  transform: translateY(-4px);
}
.pillar-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.pillar-card__title {
  font-family: var(--font-eyebrow);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.pillar-card__desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; }

/* =========================================================================
   Shop
   ========================================================================= */
.shop-section { position: relative; background: var(--color-secondary); }
.shop-section__mesh { position: absolute; inset: 0; opacity: 0.08; }
.shop-filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.shop-filter-btn {
  font-family: var(--font-eyebrow);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-muted-foreground);
  transition: all 0.3s ease;
}
.shop-filter-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.shop-filter-btn.is-active { background: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.shop-empty-text {
  text-align: center;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.625;
  text-wrap: pretty;
  margin: 0;
}

.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); } }
.related-products-section .theme-product-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .related-products-section .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-products-section .theme-product-grid { grid-template-columns: repeat(4, 1fr); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.theme-product-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-card);
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.25,0.4,0.25,1);
}
.theme-product-card:hover .theme-product-card__image-wrapper {
  border-color: color-mix(in srgb, var(--color-accent) 60%, transparent);
  box-shadow: 0 0 25px color-mix(in srgb, var(--color-accent) 30%, transparent);
  transform: translateY(-4px);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.08); }
.theme-product-card__image { transition: transform 0.6s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card__badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-family: var(--font-eyebrow);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  z-index: 2;
}
@media (min-width: 768px) { .theme-product-card__badge { top: 0.75rem; left: 0.75rem; } }
.theme-product-card__badge--soldout { background: var(--color-primary); color: var(--color-foreground); }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; padding: 0 0.25rem; min-width: 0; }
.theme-product-card__title {
  font-family: var(--font-eyebrow);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price { font-family: var(--font-eyebrow); font-size: 0.875rem; color: var(--color-accent); font-weight: 700; }
.theme-product-card__price .amount { color: inherit; }
.theme-product-card__currency { font-weight: 700; }

/* =========================================================================
   Artist
   ========================================================================= */
.artist-section { position: relative; overflow: hidden; background: var(--color-background); }
.artist-section__layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .artist-section__layout { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 4rem; } }
.artist-section__media { position: relative; }
.artist-section__frame {
  position: absolute;
  inset: -0.75rem;
  border-radius: var(--card-radius);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
  transform: translate(-0.75rem, 0.75rem);
}
@media (min-width: 768px) { .artist-section__frame { inset: -1rem; transform: translate(-1rem, 1rem); } }
.artist-section__photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-elevated);
  aspect-ratio: 4 / 5;
  background: var(--color-card);
}
.artist-section__photo { transition: transform 0.5s cubic-bezier(0.25,0.4,0.25,1); }
.artist-section__photo-wrap:hover .artist-section__photo { transform: scale(1.05); }
.artist-section__body { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); margin: 1.5rem 0; }
.artist-section__body p { font-size: 1rem; line-height: 1.7; }
.artist-section__body p:first-child { font-size: 1rem; }
@media (min-width: 768px) { .artist-section__body p:first-child { font-size: 1.125rem; } }
.artist-section__quote {
  font-weight: 500;
  color: var(--color-foreground);
  font-style: italic;
  border-left: 2px solid var(--color-accent);
  padding-left: 1rem;
}
.artist-section__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .artist-section__actions { flex-direction: row; } }
.artist-section__actions .btn-hero-primary, .artist-section__actions .btn-hero-outline { width: 100%; }
@media (min-width: 640px) { .artist-section__actions .btn-hero-primary, .artist-section__actions .btn-hero-outline { width: auto; } }

/* =========================================================================
   Mixtape
   ========================================================================= */
.mixtape-section { position: relative; isolation: isolate; overflow: hidden; background: var(--color-primary); }
.mixtape-section__mesh { position: absolute; inset: 0; opacity: 0.14; }
.mixtape-section__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, color-mix(in srgb, var(--color-accent) 18%, transparent) 0%, transparent 60%); }
.mixtape-section__layout { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
@media (min-width: 768px) { .mixtape-section__layout { flex-direction: row; align-items: center; gap: 3rem; text-align: left; } }
.mixtape-section__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem; height: 6rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  color: var(--color-accent);
}
@media (min-width: 768px) { .mixtape-section__icon { width: 7rem; height: 7rem; } }
.mixtape-section__icon .theme-icon { width: 3rem; height: 3rem; }
@media (min-width: 768px) { .mixtape-section__icon .theme-icon { width: 3.5rem; height: 3.5rem; } }
.mixtape-section__copy { min-width: 0; }
.mixtape-section__copy .section-eyebrow { display: block; }
.mixtape-section__copy .section-heading { margin-top: 0.75rem; margin-bottom: 1rem; text-wrap: balance; }
.mixtape-section__copy .section-body {
  margin-left: 0;
  margin-right: 0;
  text-align: inherit;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .mixtape-section__copy .section-body { font-size: 1rem; }
}
@media (min-width: 768px) { .mixtape-section__actions { justify-content: flex-start; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-section { background: var(--color-background); }
.faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-eyebrow);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.25rem 0;
  min-height: 44px;
  transition: color 0.3s ease;
}
@media (min-width: 768px) { .faq-item__question { font-size: 1rem; } }
.faq-item__question:hover { color: var(--color-accent); }
.faq-item__icon { color: var(--color-accent); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { overflow: hidden; max-height: 0; transition: max-height 0.3s cubic-bezier(0.25,0.4,0.25,1); }
.faq-item.is-open .faq-item__answer { max-height: 600px; }
.faq-item__answer p { padding: 0 2rem 1.25rem 0; color: var(--color-muted-foreground); line-height: 1.7; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-section { position: relative; overflow: hidden; background: var(--color-primary); }
.contact-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; pointer-events: none; }
.contact-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary) 80%, transparent); pointer-events: none; }
.contact-section__glow-1 { position: absolute; top: -8rem; left: -8rem; width: 24rem; height: 24rem; border-radius: 9999px; background: color-mix(in srgb, var(--color-accent) 25%, transparent); filter: blur(64px); pointer-events: none; }
.contact-section__glow-2 { position: absolute; bottom: -8rem; right: -8rem; width: 24rem; height: 24rem; border-radius: 9999px; background: color-mix(in srgb, var(--color-accent) 15%, transparent); filter: blur(64px); pointer-events: none; }
.contact-section__content { position: relative; z-index: 10; }
.contact-section__layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .contact-section__layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.contact-cta-card, .contact-form-card {
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .contact-cta-card { padding: 2.5rem; } .contact-form-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .contact-cta-card { padding: 3rem; } }
.contact-cta-card { justify-content: center; background: rgba(255,255,255,0.06); }
.contact-cta-card .section-body { margin: 1rem 0 2rem; text-align: left; margin-left: 0; }
.contact-cta-card__details { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.contact-cta-card__link { display: flex; align-items: center; gap: 0.5rem; color: var(--color-muted-foreground); font-size: 0.875rem; padding: 0.5rem 0; min-height: 44px; transition: color 0.2s ease; overflow-wrap: break-word; }
.contact-cta-card__link:hover { color: var(--color-accent); }

.contact-form-card { background: rgba(255,255,255,0.08); }
.contact-form-card__heading { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; color: #fff; }
@media (min-width: 768px) { .contact-form-card__heading { font-size: 1.875rem; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field { display: flex; flex-direction: column; }
.contact-form__field--grow { flex: 1; }
.contact-form__field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; color: rgba(255,255,255,0.8); }
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #fff;
  font-family: var(--font-body);
  transition: box-shadow 0.3s ease;
}
.contact-form__field input::placeholder, .contact-form__field textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form__field input:focus, .contact-form__field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 60%, transparent);
}
.contact-form__field--grow textarea { flex: 1; min-height: 140px; resize: none; }
.contact-form__submit { width: 100%; }
.contact-form-card__success { text-align: center; padding: 2.5rem 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-form-card__success[hidden] { display: none !important; }
.contact-form-card__success-icon {
  width: 4rem; height: 4rem;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  color: #fff;
}
.contact-form-card__success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; color: #fff; }
.contact-form-card__success p { color: rgba(255,255,255,0.7); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--color-background); color: var(--color-foreground); border-top: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent); }
.site-footer__inner { padding-top: 3rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .site-footer__inner { padding-top: 4rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer__brand { grid-column: span 1; }
@media (min-width: 1024px) { .site-footer__brand { grid-column: span 2; } }
.site-footer__logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer__tagline { margin-top: 1.25rem; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 28rem; line-height: 1.7; }
.site-footer__tagline2 { margin-top: 1rem; font-family: var(--font-eyebrow); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-accent); }
.site-footer__col-heading { font-family: var(--font-eyebrow); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-accent); margin-bottom: 1rem; }
.site-footer__nav-list, .site-footer__contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.site-footer__nav-list a, .site-footer__contact-list a {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--color-muted-foreground);
  padding: 0.5rem 0; min-height: 44px;
  transition: color 0.2s ease;
  overflow-wrap: break-word;
}
.site-footer__nav-list a:hover, .site-footer__contact-list a:hover { color: var(--color-accent); }
.site-footer__social { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.site-footer__social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-muted-foreground);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__social-btn:hover { color: var(--color-accent); border-color: var(--color-accent); }
.site-footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem;
  text-align: center;
}
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__copyright, .site-footer__credit { font-size: 0.75rem; color: var(--color-muted-foreground); }
.site-footer__credit a { color: var(--color-accent); }
.site-footer__credit a:hover { text-decoration: underline; }

/* =========================================================================
   Cart Drawer
   ========================================================================= */
#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: 100%; max-width: 28rem;
  background: var(--color-background);
  z-index: 61;
  box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 80px; height: 96px; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: 0.375rem; display: block; position: relative; }
.theme-cart-item__image img { width: 100%; height: 100% !important; object-fit: cover; position: absolute; inset: 0; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; min-width: 28px; min-height: 28px; display: inline-flex; align-items: center; justify-content: center; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 24px; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-row span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* =========================================================================
   Single product page
   ========================================================================= */
.theme-single-product-main { padding-top: 6rem; }
@media (min-width: 1024px) { .theme-single-product-main { padding-top: 7rem; } }
.back-to-shop-row { padding: 1.5rem 0; }
.back-to-shop-link { display: inline-flex; align-items: center; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.back-to-shop-link:hover { color: var(--color-foreground); }
.back-to-shop-link .theme-icon { margin-right: 0.5rem; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 768px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; max-width: 100%; }
.theme-product-info { min-width: 0; max-width: 100%; display: flex; flex-direction: column; }
.theme-product-info__category { display: block; font-family: var(--font-eyebrow); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-accent); }
.theme-product-info__category-list a { color: inherit; }
.product-title.theme-product-info__title { font-size: 1.875rem; margin-top: 0.5rem; margin-bottom: 1rem; line-height: 0.95; font-family: var(--font-display); font-weight: inherit; }
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 3rem; } }
.theme-product-info__price { font-size: 1.5rem; margin-bottom: 1.5rem; font-family: var(--font-body); font-weight: 600; color: var(--color-accent); }
.theme-product-info__price .amount { color: inherit; }
.theme-product-info__currency { font-size: 0.875rem; color: var(--color-muted-foreground); font-weight: 400; }
.theme-product-info__stock--out { font-size: 0.875rem; margin-bottom: 1rem; color: var(--color-muted-foreground); text-transform: uppercase; font-family: var(--font-eyebrow); letter-spacing: 0.05em; }

.theme-product-main-img-wrap { position: relative; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; border-radius: 0.375rem; }
.theme-product-thumbnails--main { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
.theme-product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.375rem;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
}
.theme-product-thumb:hover, .theme-product-thumb.is-active { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }

.theme-product-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-description p { margin-bottom: 1rem; }

.theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  align-self: flex-start;
}
.theme-qty-minus, .theme-qty-plus {
  padding: 0.75rem 1rem;
  min-height: 44px; min-width: 44px;
  transition: color 0.2s ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-accent); }
.theme-qty-input {
  width: 48px;
  text-align: center;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  color: var(--color-foreground);
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-accent) !important;
  color: var(--color-accent-foreground) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-eyebrow) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  box-shadow: 0 0 25px color-mix(in srgb, var(--color-accent) 30%, transparent) !important;
  flex: 1 1 auto;
  min-width: 160px;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  background-color: var(--color-champagne) !important;
  color: var(--color-accent-foreground) !important;
  transform: translateY(-3px);
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-accent) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-details__heading { font-family: var(--font-eyebrow); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-accent); margin-bottom: 1rem; }
.theme-product-details__body ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details__body li { font-size: 0.875rem; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.theme-product-details__body li::before { content: ''; width: 6px; height: 6px; background: var(--color-accent); border-radius: 9999px; margin-top: 8px; margin-right: 0.75rem; flex-shrink: 0; }

.related-products-section { padding: 3rem 0 5rem; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .related-products-section { padding: 5rem 0; } }
.related-products-section__heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }

.single-product .theme-product-layout { min-width: 0; }
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* =========================================================================
   Generic pages / thank you / 404
   ========================================================================= */
.theme-page-main, .theme-404-main, .theme-shop-main { padding-top: 6rem; min-height: 60vh; }
.theme-page-container { padding-top: 3rem; padding-bottom: 3rem; }
.page-title { font-size: 2.25rem; margin-bottom: 1.5rem; line-height: 0.95; }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }
.theme-404-container { text-align: center; padding: 5rem 0; }
.theme-404-text { color: var(--color-muted-foreground); margin: 1rem 0 2rem; }

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* =========================================================================
   WooCommerce notices (scoped visibility)
   ========================================================================= */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  font-family: var(--font-body);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  margin: 0 0 1.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  list-style: none;
}
.woocommerce-error { border-color: #c52020; }

/* =========================================================================
   Variable product pills
   ========================================================================= */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.theme-variations { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.theme-variation-label {
  display: block;
  font-family: var(--font-eyebrow);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
  font-family: var(--font-eyebrow);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-muted-foreground);
  transition: all 0.3s var(--transition-smooth);
}
.theme-variation-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-variation-pill.is-active {
  background: var(--color-accent);
  color: var(--color-accent-foreground);
  border-color: var(--color-accent);
}
.variations_form .single_add_to_cart_button.disabled,
.variations_form .single_add_to_cart_button:disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}

/* =========================================================================
   WooCommerce Checkout Block overrides
   ========================================================================= */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 96px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
  body.woocommerce-checkout .wc-block-checkout {
    display: block;
  }
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout select.wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox .components-custom-select-control__button,
body.woocommerce-checkout .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  min-height: 44px !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--color-foreground) !important;
  background: var(--color-background) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0.25rem !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
  color: var(--color-muted-foreground) !important;
  opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout select.wc-block-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-select-control__select:focus,
body.woocommerce-checkout .wc-block-components-country-input select:focus,
body.woocommerce-checkout .wc-block-components-state-input select:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .components-custom-select-control__button:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-textarea label {
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-card);
  border-radius: var(--card-radius);
  padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-accent) !important;
  color: var(--color-accent-foreground) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-eyebrow) !important;
  text-transform: var(--btn-text-transform) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.5rem; }

/* Cart / My Account page width parity */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 96px); padding-bottom: 4rem; }

/* =========================================================================
   Utility guards
   ========================================================================= */
.theme-product-card *:not(.theme-card-link) { pointer-events: auto; }
