/*
 * AOTT theme stylesheet.
 * Color tokens are re-emitted at runtime via wp_add_inline_style() from the
 * Customizer values (functions.php) — the hex fallbacks below match the
 * HSL->hex conversion of the original brand palette (Section 6.1).
 */

:root {
  --color-background: #ffffff;
  --color-foreground: #111111;
  --color-primary: #111111;
  --color-primary-foreground: #ffffff;
  --color-secondary: #f6f5f2;
  --color-muted-foreground: #737373;
  --color-accent: #6b1f2a;
  --color-accent-foreground: #ffffff;
  --color-border: #e8e8e8;

  --header-height-mobile: 80px;

  --font-display: 'Archivo Black', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 0rem;
  --transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
  --header-height: 96px;
  --logo-height: 64px;
  --logo-height-mobile: 48px;
  --footer-logo-height: 56px;

  --btn-radius: 999px;
  --btn-height: 44px;
  --btn-padding: 0 2rem;
  --btn-font-size: 12px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * Reset & base
 * ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; margin: 0; padding: 0; }
body {
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-video):not(.hero-bg-fallback):not(.cta-band-bg):not(.theme-product-card__image):not(.theme-product-image-frame img):not(.site-logo):not(.footer-logo) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-fallback, .cta-band-bg, .theme-product-card__image, .theme-product-image-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
  cursor: text;
}

/* Pointer cursor on every interactive element */
a[href],
button,
[role="button"],
label[for],
summary,
.site-logo-link,
.theme-nav-link,
.theme-nav-link-mobile,
.site-cart-btn,
.mobile-menu-toggle,
.platform-row,
.contact-link,
.footer-link,
.back-to-shop-link,
.license-pill,
.product-thumb-btn,
.card-preview-toggle,
.audio-preview-toggle,
.theme-qty-minus,
.theme-qty-plus,
.cart-drawer-close,
.cart-drawer-remove,
.cart-drawer-empty-btn,
.cart-drawer-checkout-btn,
.contact-form-submit,
.btn-hero-primary,
.btn-hero-outline,
.btn-primary-pill,
.btn-outline-pill,
.btn-cta-white,
.single_add_to_cart_button,
.add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button {
  cursor: pointer;
}
button:disabled,
.single_add_to_cart_button.disabled,
.add_to_cart_button.disabled {
  cursor: not-allowed;
}

.container-wide {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }

.section-py { padding-block: 6rem; }
@media (min-width: 768px) { .section-py { padding-block: 9rem; } }

.gallery-label {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}
.gallery-label-inverse { color: rgba(255,255,255,0.6); }

.section-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.about-section .section-kicker,
.music-section .section-kicker,
.services-section .section-kicker,
.contact-section .section-kicker { border-color: var(--color-border); }
.beats-section .section-kicker { border-bottom-color: rgba(255,255,255,0.2); }

.rule { width: 100%; height: 1px; background: var(--color-border); }

/* Per-section heading scales (Section 2.2.5) */
.section-heading { text-transform: uppercase; line-height: 0.95; letter-spacing: -0.02em; }
.about-section .section-heading { font-size: 2rem; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 4rem; } }

.contact-section .section-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.music-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .music-section .section-heading { font-size: 3.5rem; } }
@media (min-width: 1024px) { .music-section .section-heading { font-size: 4.5rem; } }

.services-section .section-kicker {
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 0;
}
.services-section .section-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0;
  padding-top: 3rem;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) {
  .services-section .section-heading { padding-top: 4rem; }
}

.beats-section .section-heading-inverse { color: var(--color-background); font-size: 2rem; }
@media (min-width: 768px) { .beats-section .section-heading-inverse { font-size: 3rem; } }
@media (min-width: 1024px) { .beats-section .section-heading-inverse { font-size: 4rem; } }

.cta-heading {
  font-size: clamp(2.25rem, 7vw, 110px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 56rem;
  margin-inline: auto;
  overflow-wrap: break-word;
}

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */
.btn-hero-primary, .btn-hero-outline, .btn-primary-pill, .btn-outline-pill, .btn-cta-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-hero-primary { background: #fff; color: var(--color-foreground); }
.btn-hero-primary:hover { background: rgba(255,255,255,0.9); }
.btn-hero-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-hero-outline:hover { background: #fff; color: var(--color-foreground); }
.btn-primary-pill { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-primary-pill:hover { background: var(--color-accent); }
.btn-outline-pill { border-color: var(--color-border); color: var(--color-foreground); background: transparent; }
.btn-outline-pill:hover { border-color: var(--color-foreground); }
.btn-cta-white { background: #fff; color: var(--color-foreground); }
.btn-cta-white:hover { background: var(--color-foreground); color: #fff; }

/* -------------------------------------------------------------------------
 * Scroll reveal (Section 2.1) — CSS-backed, JS toggles .is-visible
 * ---------------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* Customizer preview fallback — never leave content invisible in the editor */
body.is-customizer .reveal-item,
body.no-js .reveal-item {
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none; opacity: 1; transform: none; }
  .hero-inner, .animate-fade-in, .animate-slide-up { animation: none !important; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */
.theme-header-spacer { height: var(--header-height-mobile); }
@media (min-width: 768px) { .theme-header-spacer { height: var(--header-height); } }

/* WordPress admin bar offset (Customizer preview + logged-in front-end) */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
body.admin-bar .theme-header-spacer { height: calc(var(--header-height-mobile) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .theme-header-spacer { height: calc(var(--header-height-mobile) + 46px); }
}
@media screen and (min-width: 783px) {
  body.admin-bar .theme-header-spacer { height: calc(var(--header-height) + 32px); }
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid {
  background: var(--color-background);
  border-bottom-color: var(--color-border);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-height-mobile); gap: 1rem; }
@media (min-width: 768px) { .site-nav { height: var(--header-height); } }

.site-logo-link { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; line-height: 0; padding: 0; }
.site-logo {
  display: block;
  height: var(--logo-height-mobile);
  width: auto;
  max-width: none;
  max-height: var(--logo-height-mobile);
  object-fit: contain;
  transition: opacity 0.3s ease;
}
@media (min-width: 768px) {
  .site-logo {
    height: var(--logo-height);
    max-height: var(--logo-height);
  }
}
.site-logo-dark { display: none; }
.site-logo-light { display: block; }
.site-header.is-solid .site-logo-dark { display: block; }
.site-header.is-solid .site-logo-light { display: none; }

/* Logo sizing must win on WooCommerce shells (checkout, cart, PDP) where
   plugin styles can re-introduce img { height: auto } at equal specificity. */
body.theme-no-hero .site-logo,
body.single-product .site-logo,
body.woocommerce-cart .site-logo,
body.woocommerce-checkout .site-logo,
body.theme-thankyou-page .site-logo {
  height: var(--logo-height-mobile);
  max-height: var(--logo-height-mobile);
}
@media (min-width: 768px) {
  body.theme-no-hero .site-logo,
  body.single-product .site-logo,
  body.woocommerce-cart .site-logo,
  body.woocommerce-checkout .site-logo,
  body.theme-thankyou-page .site-logo {
    height: var(--logo-height);
    max-height: var(--logo-height);
  }
}

.site-nav-right { display: flex; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .site-nav-right { gap: 2.5rem; } }
.site-nav-links { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list, .theme-nav-list-mobile { display: flex; list-style: none; margin: 0; padding: 0; gap: 1.75rem; }
.theme-nav-list li, .theme-nav-list-mobile li { list-style: none; }
.theme-nav-list a, .theme-nav-list button.theme-nav-link {
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); transition: color 0.3s ease; cursor: pointer; background: none; border: none;
}
.theme-nav-list a:hover, .theme-nav-list button.theme-nav-link:hover { color: #fff; }
.site-header.is-solid .theme-nav-list a,
.site-header.is-solid .theme-nav-list button.theme-nav-link { color: var(--color-muted-foreground); }
.site-header.is-solid .theme-nav-list a:hover,
.site-header.is-solid .theme-nav-list button.theme-nav-link:hover { color: var(--color-foreground); }
.theme-nav-list .current-menu-item > a,
.theme-nav-list button.theme-nav-link.is-active { color: #fff; }
.site-header.is-solid .theme-nav-list .current-menu-item > a,
.site-header.is-solid .theme-nav-list button.theme-nav-link.is-active { color: var(--color-foreground); }

.site-cart-btn { position: relative; padding: 0.375rem; color: #fff; transition: color 0.3s ease; }
.site-header.is-solid .site-cart-btn { color: var(--color-foreground); }
.site-cart-btn:hover { color: var(--color-accent); }
.icon-disc3 { width: 20px; height: 20px; }
.theme-cart-count:empty,
.theme-cart-count-badge:empty { display: none; }
.theme-cart-count,
.theme-cart-count-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent); color: var(--color-accent-foreground);
  font-size: 11px; font-weight: 500; line-height: 1;
}

.mobile-menu-toggle { display: block; padding: 0.5rem; margin-right: -0.5rem; color: #fff; transition: color 0.3s ease, opacity 0.2s ease; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.site-header.is-solid .mobile-menu-toggle { color: var(--color-foreground); }
.mobile-menu-toggle:hover { opacity: 0.7; }
.mobile-menu-toggle .icon-menu, .mobile-menu-toggle .icon-x { width: 20px; height: 20px; }
.mobile-menu-toggle .icon-x { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-x { display: block; }

.mobile-menu-panel { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.mobile-menu-panel.is-open { display: block; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.theme-nav-list-mobile { display: flex; flex-direction: column; gap: 0; }
.mobile-menu-panel > li { list-style: none; margin: 0; padding: 0; }
.theme-nav-list-mobile a,
.theme-nav-list-mobile button.theme-nav-link-mobile,
.mobile-menu-panel > li > a {
  display: block; width: 100%; text-align: left;
  font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.875rem 0; border-bottom: 1px solid var(--color-border);
  color: var(--color-muted-foreground);
  transition: color 0.3s ease;
}
.theme-nav-list-mobile > :last-child,
.theme-nav-list-mobile li:last-child > a,
.theme-nav-list-mobile li:last-child > button.theme-nav-link-mobile,
.mobile-menu-panel > li:last-child > a { border-bottom: none; }
.theme-nav-list-mobile a:hover,
.theme-nav-list-mobile button.theme-nav-link-mobile:hover,
.mobile-menu-panel > li > a:hover { color: var(--color-foreground); }
.theme-nav-list-mobile a.is-active,
.theme-nav-list-mobile button.is-active,
.mobile-menu-panel > li.current-menu-item > a { color: var(--color-foreground); }

/* -------------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------------- */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg-video { z-index: 0; }
.hero-bg-fallback { z-index: 0; display: none; }
.hero-overlay { position: absolute; inset: 0; background: rgba(18,18,18,0.6); z-index: 1; }
body.theme-no-hero .hero-section,
body.reduced-motion .hero-bg-video { display: none; }
body.reduced-motion .hero-bg-fallback { display: block; }

.hero-inner { position: relative; z-index: 2; padding-block: 4rem; text-align: center; opacity: 0; transform: translateY(24px); animation: heroIn 0.9s var(--transition-smooth) forwards; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@media (min-width: 768px) { .hero-inner { padding-block: 6rem; } }
@media (min-width: 1024px) { .hero-inner { text-align: left; } }

.hero-eyebrow { display: block; margin-bottom: 1.5rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,0.7); }
.hero-title { font-size: clamp(4rem, 17vw, 13rem); text-transform: uppercase; color: #fff; line-height: 0.86; letter-spacing: -0.02em; }
.hero-subtitle { max-width: 36rem; margin: 1.5rem auto 0; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.8); }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
@media (min-width: 1024px) { .hero-subtitle { margin-left: 0; margin-right: 0; } }
.hero-buttons { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
@media (min-width: 1024px) { .hero-buttons { justify-content: flex-start; } }
.hero-buttons .btn-hero-primary, .hero-buttons .btn-hero-outline { width: 100%; }
@media (min-width: 640px) { .hero-buttons .btn-hero-primary, .hero-buttons .btn-hero-outline { width: auto; } }

/* -------------------------------------------------------------------------
 * About / Music
 * ---------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-top: 3rem; }
@media (min-width: 768px) { .about-grid { padding-top: 4rem; } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.about-copy { min-width: 0; }
@media (min-width: 1024px) { .about-copy { grid-column: span 7; } }
.about-paragraphs { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; max-width: 42rem; font-size: 1rem; line-height: 1.7; color: var(--color-muted-foreground); }
@media (min-width: 768px) { .about-paragraphs { font-size: 1.125rem; } }
.about-portrait { min-width: 0; }
@media (min-width: 1024px) { .about-portrait { grid-column: span 5; } }
.about-portrait-frame { position: relative; aspect-ratio: 4/5; width: 100%; overflow: hidden; background: var(--color-secondary); }
.about-caption { margin-top: 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }

.music-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; }
@media (min-width: 768px) { .music-grid { padding-top: 4rem; } }
@media (min-width: 1024px) { .music-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.music-portrait { order: 2; min-width: 0; }
@media (min-width: 1024px) { .music-portrait { order: 1; grid-column: span 5; } }
.music-portrait-frame { position: relative; aspect-ratio: 4/5; width: 100%; background: var(--color-secondary); overflow: hidden; }
.music-portrait-frame img { object-position: top; }
.music-copy { order: 1; display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 1024px) { .music-copy { order: 2; grid-column: span 7; } }
.music-copy-label { display: block; margin-bottom: 1.25rem; }
.music-body { margin-top: 1.5rem; max-width: 42rem; font-size: 1rem; line-height: 1.7; color: var(--color-muted-foreground); }
@media (min-width: 768px) { .music-body { font-size: 1.125rem; margin-top: 2rem; } }
.platforms-nav { margin-top: 2rem; max-width: 36rem; }
@media (min-width: 768px) { .platforms-nav { margin-top: 3rem; } }
.platforms-list { border-top: 1px solid var(--color-border); }
.platform-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--color-border); transition: color 0.2s ease; }
.platform-row:hover { color: var(--color-accent); }
.platform-row-label { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.platform-icon { width: 16px; height: 16px; flex-shrink: 0; }
.platform-row-arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s ease; }
.platform-row:hover .platform-row-arrow { transform: translate(2px, -2px); }

.embed-block { margin-top: 5rem; }
@media (min-width: 768px) { .embed-block { margin-top: 7rem; } }
.embed-label { margin-bottom: 0.75rem; }
.embed-iframe { width: 100%; height: 420px; border: 1px solid var(--color-border); background: var(--color-background); }
@media (min-width: 768px) { .embed-iframe { height: 520px; } }
.embed-iframe-sc { height: 380px; }
@media (min-width: 768px) { .embed-iframe-sc { height: 450px; } }

/* -------------------------------------------------------------------------
 * Beat Store section
 * ---------------------------------------------------------------------- */
.beats-section { background: var(--color-foreground); color: var(--color-background); }
.beats-intro-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; }
@media (min-width: 768px) { .beats-intro-grid { padding-top: 4rem; } }
@media (min-width: 1024px) { .beats-intro-grid { grid-template-columns: repeat(12, 1fr); } }
.beats-intro-heading { text-align: center; }
@media (min-width: 768px) { .beats-intro-heading { text-align: left; } }
@media (min-width: 1024px) { .beats-intro-heading { grid-column: span 5; } }
.beats-intro-copy { display: flex; align-items: flex-end; }
@media (min-width: 1024px) { .beats-intro-copy { grid-column: 7 / span 6; } }
.beats-intro-copy p { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
@media (min-width: 768px) { .beats-intro-copy p { font-size: 1.125rem; } }

.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.theme-featured-products {
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 640px) { .theme-featured-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-featured-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.beats-section .theme-featured-products { margin-top: 3.5rem; }
@media (min-width: 768px) { .beats-section .theme-featured-products { margin-top: 5rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1/1; background: var(--color-background); overflow: hidden; margin-bottom: 1.25rem; }
.theme-product-card__image-wrapper > .theme-card-link { position: absolute; inset: 0; z-index: 2; }
.theme-product-card__image { transition: transform 0.8s var(--transition-smooth); pointer-events: none; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.03); }
.card-preview-toggle {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 3;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--color-background); color: var(--color-foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
  pointer-events: auto;
}
.card-preview-toggle:hover { background: var(--color-foreground); color: var(--color-background); }
.card-preview-toggle .icon-play, .card-preview-toggle .icon-pause { width: 16px; height: 16px; }
.card-preview-toggle .icon-play { margin-left: 2px; }
.card-view-label {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  padding: 0.75rem 1rem; background: var(--color-foreground); color: var(--color-background);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0; transform: translateY(0.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.theme-product-card:hover .card-view-label { opacity: 1; transform: translateY(0); }
.card-stock-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  padding: 0.35rem 0.75rem; background: var(--color-accent); color: var(--color-accent-foreground);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; pointer-events: none;
}
.theme-product-card__info { flex: 1; padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.card-product-title { font-size: 1.125rem; text-transform: uppercase; line-height: 1.3; }
.card-product-title-link { color: inherit; text-decoration: none; }
.card-product-title-link:hover { opacity: 0.75; }
@media (min-width: 768px) { .card-product-title { font-size: 1.25rem; } }
.beats-section .card-product-title { color: var(--color-background); }
.card-product-price { font-size: 0.875rem; color: rgba(0,0,0,0.8); font-variant-numeric: tabular-nums; }
.beats-section .card-product-price { color: rgba(255,255,255,0.7); }

/* -------------------------------------------------------------------------
 * Services
 * ---------------------------------------------------------------------- */
.services-list { margin-top: 3rem; border-top: 1px solid var(--color-border); }
.service-row {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 1rem; align-items: baseline;
  padding: 2rem 0; border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) { .service-row { padding: 2.5rem 0; } }
.service-number { grid-column: span 2; font-size: 13px; letter-spacing: 0.2em; color: var(--color-muted-foreground); }
@media (min-width: 768px) { .service-number { grid-column: span 1; } }
.service-title { grid-column: span 10; font-size: 1.25rem; text-transform: uppercase; line-height: 1.2; }
@media (min-width: 768px) { .service-title { grid-column: span 7; font-size: 1.875rem; } }
.service-price-block { grid-column: 3 / span 10; text-align: left; }
@media (min-width: 768px) { .service-price-block { grid-column: 9 / span 4; text-align: right; } }
.service-price { font-size: 1.125rem; color: var(--color-foreground); }
@media (min-width: 768px) { .service-price { font-size: 1.5rem; } }
.service-note { margin-top: 0.25rem; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); }
.services-cta-wrap { margin-top: 3.5rem; display: flex; justify-content: center; }
@media (min-width: 768px) { .services-cta-wrap { margin-top: 5rem; } }

/* -------------------------------------------------------------------------
 * CTA band
 * ---------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: center; background-color: var(--color-foreground); }
@media (min-width: 768px) { .cta-band { min-height: 75vh; } }
@media (min-width: 1024px) { .cta-band { min-height: 650px; } }
.cta-band-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.cta-band-bg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120%;
  top: -10%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.cta-band-overlay { position: absolute; inset: 0; background: rgba(18,18,18,0.55); z-index: 1; }
.cta-band-inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 5rem; }
@media (min-width: 768px) { .cta-band-inner { padding-block: 7rem; } }
.cta-eyebrow { display: block; margin-bottom: 1.25rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,0.8); }
.cta-band-inner > .btn-cta-white, .cta-band-inner > div { margin-top: 3rem; }

/* -------------------------------------------------------------------------
 * Contact
 * ---------------------------------------------------------------------- */
.contact-section { background: var(--color-secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-top: 3rem; }
@media (min-width: 768px) { .contact-grid { padding-top: 4rem; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.contact-info { min-width: 0; }
@media (min-width: 1024px) { .contact-info { grid-column: span 5; } }
.contact-links { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.contact-link { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 0; border-bottom: 1px solid var(--color-border); font-size: 1rem; transition: color 0.2s ease; overflow-wrap: break-word; word-break: break-word; }
.contact-link:hover { color: var(--color-accent); }
.contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.contact-form { min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .contact-form { grid-column: 7 / span 6; } }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-label { display: block; margin-bottom: 0.5rem; }
.contact-form-input {
  width: 100%; background: var(--color-background); border: 1px solid var(--color-border);
  padding: 0.75rem 1rem; font-size: 1rem; font-family: var(--font-body);
  transition: border-color 0.2s ease;
}
.contact-form-input::placeholder { color: var(--color-muted-foreground); }
.contact-form-input:focus { outline: none; border-color: var(--color-foreground); }
.contact-form-textarea { resize: none; }
.contact-form-status { font-size: 0.875rem; min-height: 1.25rem; }
.contact-form-status.is-error { color: var(--color-accent); }
.contact-form-status.is-success { color: #2f7d3c; }
.contact-form-submit { width: 100%; }
@media (min-width: 640px) { .contact-form-submit { width: auto; } }

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */
.site-footer { background: var(--color-secondary); border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; padding: 6rem 0; } }
.footer-logo {
  display: block;
  height: var(--footer-logo-height);
  width: auto;
  max-width: none;
  max-height: var(--footer-logo-height);
  object-fit: contain;
}
.footer-tagline { margin-top: 1.25rem; max-width: 260px; font-size: 14px; line-height: 1.6; color: var(--color-muted-foreground); }
.footer-col-label { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); }
.footer-links { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.footer-link { font-size: 14px; color: rgba(18,18,18,0.8); transition: color 0.2s ease; }
.footer-link:hover { color: var(--color-accent); }
.footer-link-icon { display: flex; align-items: center; gap: 0.75rem; }
.footer-link-icon svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-muted-foreground); }
.footer-link-text { overflow-wrap: break-word; word-break: break-all; }
.footer-rule { height: 1px; width: 100%; background: var(--color-border); }
.footer-bottom { display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem 0; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-copyright, .footer-credit { font-size: 12px; }
.footer-copyright { color: var(--color-muted-foreground); }
.footer-credit a { transition: color 0.2s ease; }
.footer-credit a:hover { color: var(--color-accent); }
.footer-credit-prefix { color: var(--color-muted-foreground); }
.footer-credit-name { font-weight: 600; color: var(--color-foreground); }

/* -------------------------------------------------------------------------
 * Audio preview
 * ---------------------------------------------------------------------- */
.audio-preview { border: 1px solid var(--color-border); color: var(--color-foreground); }
.audio-preview-row { display: flex; align-items: center; gap: 1rem; padding: 1rem; }
.audio-preview-toggle {
  width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); background: var(--color-foreground); color: var(--color-background);
  transition: background-color 0.2s ease;
}
.audio-preview-toggle:hover { background: rgba(18,18,18,0.9); }
.audio-preview-toggle svg { width: 16px; height: 16px; }
.audio-preview-toggle .icon-play { margin-left: 2px; }
.audio-preview-track { flex: 1; min-width: 0; }
.audio-preview-progress { position: relative; height: 1.5rem; display: flex; align-items: center; }
.audio-preview-track-bg { position: absolute; inset-inline: 0; height: 3px; background: var(--color-border); }
.audio-preview-track-fill { position: absolute; left: 0; height: 3px; background: var(--color-foreground); width: 0%; }
.audio-preview-seek { position: relative; width: 100%; height: 1.5rem; appearance: none; background: transparent; cursor: pointer; opacity: 0; }
.audio-preview-time { display: flex; justify-content: space-between; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--color-muted-foreground); }

.card-preview-toggle audio { display: none; }

/* -------------------------------------------------------------------------
 * WooCommerce: single product page
 * ---------------------------------------------------------------------- */
.single-product-main { padding-bottom: 2rem; }
.single-product-backlink { padding-top: 1.5rem; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.back-to-shop-link:hover { color: var(--color-foreground); }
.back-to-shop-link svg { width: 16px; height: 16px; }
.single-product-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product-breadcrumb a:hover { color: var(--color-foreground); }
.breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb-current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 6rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-image-frame { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; }
.product-thumb-btn { width: 64px; height: 64px; border: 1px solid var(--color-border); overflow: hidden; padding: 0; position: relative; }
.product-thumb-btn.is-active { border-color: var(--color-foreground); }
.product-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-info { position: static; }
@media (min-width: 1024px) { .theme-product-info { position: sticky; top: 7rem; align-self: start; } }
.product-kicker { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(18,18,18,0.6); }
.product-title, .single-product .product-title {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 2.25rem;
  line-height: 1.02;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .product-title, .single-product .product-title { font-size: 3rem; } }
.product-price {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-body);
  color: var(--color-foreground);
}
.single-product .product-price .price,
.single-product .product-price .woocommerce-Price-amount,
.single-product .product-price ins,
.single-product .product-price del {
  color: inherit;
  font-size: inherit;
  font-family: inherit;
}
.stock-indicator.out-of-stock { display: inline-block; margin-bottom: 1.5rem; padding: 0.35rem 0.85rem; background: var(--color-accent); color: var(--color-accent-foreground); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.product-block-label { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(18,18,18,0.8); margin-bottom: 0.75rem; }
.product-audio-preview { margin-bottom: 2.5rem; }
.product-license-block { margin-bottom: 2.5rem; }
.product-attribute-block { margin-bottom: 2.5rem; }
.license-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.license-pill {
  min-width: 9rem; padding: 1rem 1.5rem;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body);
  border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.license-pill:hover { border-color: var(--color-foreground); }
.license-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-attr-pills--color { gap: 0.75rem; }
.theme-attr-pill {
  display: inline-flex; align-items: center; gap: 0.625rem;
  min-height: 44px; padding: 0.5rem 0.875rem;
  border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-active {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, transparent);
  color: var(--color-foreground);
}
.theme-attr-pill-swatch {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-foreground) 12%, transparent);
  flex-shrink: 0;
}
.theme-attr-pill-label { line-height: 1.2; }

.theme-attr-select-wrap { max-width: 20rem; }
.theme-attr-select {
  width: 100%; padding: 0.875rem 1rem;
  border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground);
  font-family: var(--font-body); font-size: 1rem; border-radius: 0;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.theme-attr-select:focus { outline: none; border-color: var(--color-foreground); }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .single_variation_wrap .woocommerce-variation-price { display: none; }
.theme-attr-select-hidden { display: none !important; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.theme-qty-input { width: 48px; height: 44px; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); -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,
.theme-btn-primary {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-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-body) !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;
}
.theme-add-to-cart-area .single_add_to_cart_button,
.theme-add-to-cart-area .theme-btn-primary { flex: 1 1 auto; min-width: 160px; }
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
}
.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-primary) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !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; }

.product-details-block, .product-description-block { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); overflow-wrap: break-word; word-break: break-word; }
.product-details-content, .product-description-block { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; }
.product-details-content p, .product-description-block p { margin-bottom: 1em; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-heading { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 3rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.875rem; } }
.related-products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }

/* Shop archive (not part of the source design, but required for WooCommerce) */
.shop-archive-main { min-height: 60vh; }
.shop-heading { margin-bottom: 3rem; text-transform: uppercase; font-size: 2rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .shop-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2.5rem; } }
.shop-empty { color: var(--color-muted-foreground); padding: 3rem 0; }

/* Notices — scoped visibility (Section 14.1) */
.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; border-top-color: var(--color-accent);
  padding: 1rem 1.5rem; font-size: 14px;
}

/* -------------------------------------------------------------------------
 * Side cart drawer
 * ---------------------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(18,18,18,0.2);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
  background: var(--color-background);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--transition-smooth);
  box-shadow: -10px 0 30px rgba(0,0,0,0.08);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.cart-drawer-title { font-size: 1.125rem; text-transform: uppercase; }
.cart-drawer-close { padding: 0.25rem; }
.cart-drawer-close svg { width: 20px; height: 20px; }

.cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer-empty-icon { width: 48px; height: 48px; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-drawer-empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.cart-drawer-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-drawer-item { display: flex; gap: 1rem; }
.cart-drawer-item-thumb { width: 80px; height: 80px; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; }
.cart-drawer-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-item-body { flex: 1; min-width: 0; }
.cart-drawer-item-name { font-size: 14px; font-weight: 500; display: block; overflow-wrap: break-word; }
.cart-drawer-item-name:hover { opacity: 0.7; }
.theme-cart-item-meta { list-style: none; margin: 0.25rem 0 0; padding: 0; }
.theme-cart-item-meta-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }
.theme-cart-item-meta-swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-foreground) 12%, transparent); flex-shrink: 0; }
.theme-cart-item-meta-value,
.theme-cart-item-meta-license {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body);
}
.cart-drawer-item-variation { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.cart-drawer-item-row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.75rem; }
.cart-drawer-item-price { font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-drawer-remove { font-size: 14px; color: var(--color-muted-foreground); }
.cart-drawer-remove:hover { color: var(--color-foreground); }

.cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.cart-drawer-subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.cart-drawer-checkout-btn, .cart-drawer-empty-btn { width: 100%; }

/* -------------------------------------------------------------------------
 * Checkout (WooCommerce Blocks) — dual selectors for dedicated + embedded
 * ---------------------------------------------------------------------- */
:root { --checkout-gap: 2rem; --checkout-max-width: 1280px; }

.theme-checkout-shell { padding-block: 0.5rem 4rem; }
.theme-checkout-header {
  max-width: var(--checkout-max-width);
  width: 100%;
  margin-inline: auto;
  margin-bottom: 0;
  box-sizing: border-box;
}
.checkout-continue-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem; font-size: 14px; color: var(--color-muted-foreground); font-family: var(--font-body);
  transition: color 0.2s ease;
}
.checkout-continue-link:hover { color: var(--color-foreground); }
.checkout-continue-link svg { width: 16px; height: 16px; }
.theme-checkout-title { font-size: clamp(1.875rem, 4vw, 2.25rem); text-transform: uppercase; margin: 0; }
.theme-checkout-intro { margin: 0.75rem 0 0; max-width: 42rem; color: var(--color-muted-foreground); line-height: 1.6; }

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
  max-width: none;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
}

body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
  margin-top: 0;
}

body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
.entry-content .theme-checkout-shell { max-width: none; width: 100%; }

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
  max-width: var(--checkout-max-width);
  width: 100%;
  margin-inline: auto;
  margin-top: 0;
  padding-top: 0;
  box-sizing: border-box;
  min-width: 0;
}

body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
  margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
  margin-top: 0;
  padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
  display: none;
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
  margin-top: 0;
  padding-top: 0;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
  max-width: var(--checkout-max-width);
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: var(--checkout-gap);
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
  .entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
    display: grid !important;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap);
    align-items: start;
    flex-direction: unset;
    flex-wrap: nowrap;
    margin: 0;
  }

  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
  .entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap);
    align-items: start;
  }

  body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
  .entry-content .wc-block-checkout > .wc-block-components-notices {
    grid-column: 1 / -1;
  }
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
  width: 100%;
  background: var(--color-secondary);
  border-radius: 0;
  padding: 2rem;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner { border-radius: 0; }

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.woocommerce-checkout .theme-checkout-main,
body.woocommerce-checkout .site-page-container { padding-top: 0; }
body.admin-bar.woocommerce-checkout .theme-checkout-main,
body.admin-bar.woocommerce-checkout .site-page-container { padding-top: 0; }
@media screen and (max-width: 782px) {
  body.admin-bar.woocommerce-checkout .theme-checkout-main,
  body.admin-bar.woocommerce-checkout .site-page-container { padding-top: 0; }
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select {
  width: 100% !important; max-width: none !important;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
  border: 1px solid var(--color-border) !important; border-radius: 0 !important; background: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus { border-color: var(--color-foreground) !important; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
  background: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
  border-radius: 999px !important; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover { background: var(--color-accent) !important; }

/* -------------------------------------------------------------------------
 * Thank-you page
 * ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-page-container { padding-top: var(--header-height); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-size: 1.5rem; text-transform: uppercase; padding: 0 0 1rem 0;
}
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; }

/* -------------------------------------------------------------------------
 * 404
 * ---------------------------------------------------------------------- */
.not-found-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding-top: var(--header-height); }
.not-found-inner { text-align: center; }
.not-found-code { font-size: 4rem; margin-bottom: 1rem; }
.not-found-message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.not-found-link { color: var(--color-accent); text-decoration: underline; }

/* Generic page shell */
.site-page-container { padding-block: 4rem 6rem; }
.page-title { font-size: 2rem; text-transform: uppercase; margin-bottom: 2rem; }
