/**
 * JHD29 Custom Shop — Visual Design v1.3.1
 * Scoped to .jhd29-custom-shop and body.jhd29-shop-page only.
 * Marker: jhd29-shop-v2.1.0
 */

/* ── Shop page: prevent horizontal scroll from full-bleed breakout ── */
body.jhd29-shop-page {
  overflow-x: clip;
}

/* ── Astra page title hide (shop pages only) ── */
body.jhd29-shop-page .entry-title,
body.jhd29-shop-page .page-title,
body.jhd29-shop-page header.entry-header,
body.jhd29-shop-page .ast-archive-description,
body.jhd29-shop-page .wp-block-post-title {
  display: none;
}

body.jhd29-shop-page .site-content,
body.jhd29-shop-page .ast-container,
body.jhd29-shop-page .entry-content {
  background: transparent;
}

/* Elementor/Astra parents: allow shop to span full content width */
body.jhd29-shop-page :is(
  .entry-content,
  .wp-block-shortcode,
  .elementor-widget-text-editor,
  .elementor-widget-shortcode,
  .e-con,
  .e-con-inner
):has(.jhd29-custom-shop) {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

body.jhd29-shop-page .ast-container:has(.jhd29-custom-shop) {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.jhd29-shop-page #primary,
body.jhd29-shop-page .site-main {
  margin-top: 0;
  padding-top: 0;
}

/* ── Design tokens (plugin wrapper only) ── */
.jhd29-custom-shop {
  --jhd29-bg: #030308;
  --jhd29-bg-elevated: #0a0a12;
  --jhd29-surface: rgba(255, 255, 255, 0.04);
  --jhd29-surface-hover: rgba(255, 255, 255, 0.07);
  --jhd29-border: rgba(255, 255, 255, 0.08);
  --jhd29-border-strong: rgba(255, 255, 255, 0.14);
  --jhd29-text: #f4f4f8;
  --jhd29-muted: rgba(244, 244, 248, 0.55);
  --jhd29-accent: #00f5d4;
  --jhd29-accent-soft: rgba(0, 245, 212, 0.65);
  --jhd29-purple: #9d4edd;
  --jhd29-magenta: #e040fb;
  --jhd29-gold: #c4a35a;
  --jhd29-danger: #ff6b6b;
  --jhd29-radius: 20px;
  --jhd29-radius-sm: 12px;
  --jhd29-max: 1240px;
  --jhd29-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --jhd29-glow: 0 0 60px rgba(0, 245, 212, 0.2);
  --jhd29-font-display: 'Syne', system-ui, sans-serif;
  --jhd29-font-body: 'DM Sans', system-ui, sans-serif;
  --jhd29-shadow-card: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ── Root wrapper (full viewport width, escapes theme/Elementor columns) ── */
.jhd29-custom-shop {
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  font-family: var(--jhd29-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--jhd29-text);
  background: var(--jhd29-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.jhd29-custom-shop *,
.jhd29-custom-shop *::before,
.jhd29-custom-shop *::after {
  box-sizing: border-box;
}

.jhd29-custom-shop a {
  color: inherit;
  text-decoration: none;
}

.jhd29-shop__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--jhd29-max);
  margin: 0 auto;
  padding: clamp(16px, 4vw, 32px) clamp(16px, 5vw, 24px) clamp(64px, 10vw, 100px);
}

/* ── Ambient background ── */
.jhd29-shop__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.jhd29-shop__mesh {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 15%, rgba(157, 78, 221, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse 60% 45% at 85% 12%, rgba(0, 245, 212, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse 55% 55% at 55% 85%, rgba(224, 64, 251, 0.08) 0%, transparent 50%);
  animation: jhd29Mesh 20s ease-in-out infinite alternate;
}

.jhd29-shop__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: jhd29Orb 14s ease-in-out infinite;
}

.jhd29-shop__orb--1 {
  width: 420px;
  height: 420px;
  top: -5%;
  left: -8%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.4), transparent 70%);
}

.jhd29-shop__orb--2 {
  width: 360px;
  height: 360px;
  bottom: 5%;
  right: -6%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.28), transparent 70%);
  animation-delay: -5s;
}

.jhd29-shop__orb--3 {
  width: 280px;
  height: 280px;
  top: 45%;
  left: 45%;
  background: radial-gradient(circle, rgba(224, 64, 251, 0.22), transparent 70%);
  animation-delay: -9s;
}

.jhd29-shop__gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

@keyframes jhd29Mesh {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, -2%) scale(1.04); }
}

@keyframes jhd29Orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

/* ── Hero ── */
.jhd29-hero {
  text-align: center;
  margin-bottom: clamp(32px, 6vw, 56px);
  padding-top: clamp(8px, 2vw, 24px);
}

.jhd29-hero--compact {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.jhd29-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jhd29-accent);
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 212, 0.25);
  background: rgba(0, 245, 212, 0.06);
}

.jhd29-hero__title {
  font-family: var(--jhd29-font-display);
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 45%, var(--jhd29-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jhd29-hero__lead {
  margin: 0 auto;
  max-width: 560px;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 300;
  color: var(--jhd29-muted);
  letter-spacing: 0.02em;
}

.jhd29-hero__line {
  width: 64px;
  height: 2px;
  margin: 28px auto 0;
  background: linear-gradient(90deg, transparent, var(--jhd29-accent), var(--jhd29-magenta), transparent);
  border-radius: 2px;
}

/* ── Shop hub & section switcher ── */
.jhd29-shop-nav {
  display: flex;
  justify-content: center;
  margin: 0 auto clamp(28px, 5vw, 44px);
  max-width: 420px;
  width: 100%;
}

.jhd29-shop-nav__track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--jhd29-border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.jhd29-shop-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--jhd29-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jhd29-muted);
  border: 1px solid transparent;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.jhd29-shop-nav__btn:hover {
  color: var(--jhd29-text);
  background: rgba(255, 255, 255, 0.04);
}

.jhd29-shop-nav__btn.is-active {
  color: #fff;
  -webkit-text-fill-color: #fff;
  border-color: rgba(0, 245, 212, 0.35);
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.18), rgba(157, 78, 221, 0.14));
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.15);
}

.jhd29-shop-nav__btn:focus-visible {
  outline: 2px solid var(--jhd29-accent);
  outline-offset: 3px;
}

.jhd29-hub-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 24px);
  max-width: 900px;
  margin: 0 auto;
}

.jhd29-hub-card {
  position: relative;
  padding: clamp(24px, 5vw, 36px);
  border-radius: var(--jhd29-radius);
  border: 1px solid var(--jhd29-border);
  background: var(--jhd29-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.3s ease, transform 0.3s var(--jhd29-ease);
}

.jhd29-hub-card:hover {
  border-color: var(--jhd29-border-strong);
  transform: translateY(-4px);
}

.jhd29-hub-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.jhd29-hub-card--music .jhd29-hub-card__glow {
  background: radial-gradient(ellipse at top left, rgba(0, 245, 212, 0.12), transparent 60%);
}

.jhd29-hub-card--merch .jhd29-hub-card__glow {
  background: radial-gradient(ellipse at top right, rgba(157, 78, 221, 0.14), transparent 60%);
}

.jhd29-hub-card:hover .jhd29-hub-card__glow {
  opacity: 1;
}

.jhd29-hub-card__label {
  position: relative;
  z-index: 1;
  font-family: var(--jhd29-font-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.jhd29-hub-card--music .jhd29-hub-card__label {
  color: var(--jhd29-accent);
}

.jhd29-hub-card--merch .jhd29-hub-card__label {
  color: var(--jhd29-magenta);
}

.jhd29-hub-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 36ch;
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--jhd29-muted);
  line-height: 1.55;
}

.jhd29-hub-card__cta {
  position: relative;
  z-index: 1;
  margin-top: 6px;
}

.jhd29-shop--hub .jhd29-hero {
  margin-bottom: clamp(20px, 4vw, 32px);
}

/* ── Filters & chips ── */
.jhd29-filters {
  margin-bottom: clamp(28px, 5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jhd29-filters__search {
  width: 100%;
}

.jhd29-search {
  position: relative;
  max-width: 100%;
}

.jhd29-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--jhd29-muted);
  pointer-events: none;
}

.jhd29-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jhd29-chips__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jhd29-muted);
}

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

.jhd29-chips__row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.jhd29-chips__row--scroll::-webkit-scrollbar {
  display: none;
}

.jhd29-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--jhd29-border);
  background: var(--jhd29-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.3s var(--jhd29-ease), background 0.3s var(--jhd29-ease), transform 0.3s var(--jhd29-ease), box-shadow 0.3s var(--jhd29-ease);
}

.jhd29-chip:hover {
  border-color: rgba(0, 245, 212, 0.3);
  transform: translateY(-1px);
}

.jhd29-chip.is-active {
  border-color: rgba(0, 245, 212, 0.45);
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.14), rgba(157, 78, 221, 0.1));
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.12);
  color: var(--jhd29-text);
}

/* ── Inputs ── */
.jhd29-input,
.jhd29-select,
.jhd29-textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--jhd29-radius-sm);
  border: 1px solid var(--jhd29-border);
  background: rgba(3, 3, 8, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--jhd29-text);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.jhd29-input:focus,
.jhd29-select:focus,
.jhd29-textarea:focus {
  outline: none;
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.1);
}

.jhd29-input--search {
  padding-left: 46px;
}

.jhd29-input--qty {
  width: 80px;
  text-align: center;
}

.jhd29-textarea {
  min-height: 100px;
  resize: vertical;
}

/* ── Buttons ── */
.jhd29-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--jhd29-border);
  background: var(--jhd29-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--jhd29-text);
  font-family: var(--jhd29-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--jhd29-ease), border-color 0.35s var(--jhd29-ease), box-shadow 0.35s var(--jhd29-ease);
}

.jhd29-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.12), rgba(157, 78, 221, 0.1));
  opacity: 0;
  transition: opacity 0.35s;
}

.jhd29-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: var(--jhd29-glow), 0 16px 36px rgba(0, 0, 0, 0.35);
}

.jhd29-btn:hover::before {
  opacity: 1;
}

.jhd29-btn--primary {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.2), rgba(157, 78, 221, 0.16));
  border-color: rgba(0, 245, 212, 0.35);
  box-shadow: 0 0 32px rgba(0, 245, 212, 0.12);
}

.jhd29-btn--ghost {
  background: transparent;
}

.jhd29-btn--sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 11px;
}

.jhd29-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Grid & cards ── */
.jhd29-grid {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

.jhd29-grid--music,
.jhd29-grid--merch {
  grid-template-columns: 1fr;
  align-items: start;
}

.jhd29-shop--music .jhd29-grid--music .jhd29-card--music,
.jhd29-shop--merch .jhd29-grid--merch .jhd29-card--merch {
  height: auto;
  align-self: start;
}

.jhd29-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--jhd29-border);
  border-radius: var(--jhd29-radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.45s var(--jhd29-ease), box-shadow 0.45s var(--jhd29-ease), border-color 0.45s var(--jhd29-ease);
}

.jhd29-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.06), transparent 50%, rgba(157, 78, 221, 0.05));
  opacity: 0;
  transition: opacity 0.45s var(--jhd29-ease);
  pointer-events: none;
  z-index: 0;
}

.jhd29-card:hover {
  transform: translateY(-6px);
  border-color: var(--jhd29-border-strong);
  box-shadow: var(--jhd29-shadow-card);
}

.jhd29-card:hover::before {
  opacity: 1;
}

.jhd29-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--jhd29-bg-elevated);
  z-index: 1;
}

/* Shop-Listings /merch/ + /musik/: kompaktes Quadrat, Bild füllt Container */
.jhd29-shop--merch .jhd29-card--merch .jhd29-card__media,
.jhd29-shop--music .jhd29-card--music .jhd29-card__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.jhd29-shop--merch .jhd29-card--merch .jhd29-card__media img,
.jhd29-shop--music .jhd29-card--music .jhd29-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.jhd29-shop--merch .jhd29-card--merch .jhd29-card__media .jhd29-card__img--main {
  object-fit: contain;
  object-position: center;
}

.jhd29-shop--merch .jhd29-card--merch .jhd29-card__img--hover {
  object-fit: contain;
  object-position: center;
}

.jhd29-shop--music .jhd29-card--music .jhd29-card__media img {
  object-fit: cover;
  object-position: center;
}

.jhd29-shop--merch .jhd29-card--merch .jhd29-card__body,
.jhd29-shop--music .jhd29-card--music .jhd29-card__body {
  flex: 0 0 auto;
}

/* Fallback falls wpautop dennoch <p> in Karten einfügt */
.jhd29-shop--merch .jhd29-card--merch > p,
.jhd29-shop--music .jhd29-card--music > p,
.jhd29-shop--merch .jhd29-card--merch .jhd29-card__media > p,
.jhd29-shop--music .jhd29-card--music .jhd29-card__media > p,
.jhd29-shop--merch .jhd29-card--merch .jhd29-card__body > p,
.jhd29-shop--music .jhd29-card--music .jhd29-card__body > p {
  display: contents;
  margin: 0;
}

.jhd29-shop--merch .jhd29-card--merch .jhd29-card__media:empty,
.jhd29-shop--music .jhd29-card--music .jhd29-card__media:empty {
  display: none;
}

.jhd29-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--jhd29-ease);
  image-rendering: auto;
}

.jhd29-card:hover .jhd29-card__media img {
  transform: scale(1.04);
}

.jhd29-card--has-hover .jhd29-card__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s var(--jhd29-ease);
}

.jhd29-card--has-hover:hover .jhd29-card__img--hover {
  opacity: 1;
}

.jhd29-card__glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  width: 70%;
  height: 40%;
  transform: translateX(-50%);
  background: var(--jhd29-accent);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.45s var(--jhd29-ease);
  pointer-events: none;
}

.jhd29-card:hover .jhd29-card__glow {
  opacity: 0.2;
}

.jhd29-card__type-pill,
.jhd29-card__digital {
  position: absolute;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jhd29-card__type-pill {
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.jhd29-card__type-pill--album {
  background: rgba(157, 78, 221, 0.85);
  border-color: rgba(157, 78, 221, 0.55);
  color: #f8f4ff;
  box-shadow: 0 0 16px rgba(157, 78, 221, 0.35);
}

.jhd29-card__type-pill--song {
  background: rgba(0, 245, 212, 0.85);
  border-color: rgba(0, 245, 212, 0.45);
  color: #031a16;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.25);
}

.jhd29-card__type-pill--release {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(244, 244, 248, 0.85);
}

.jhd29-card__digital {
  bottom: 12px;
  left: 12px;
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.3);
  color: var(--jhd29-accent);
}

.jhd29-card__soldout {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jhd29-card__body {
  position: relative;
  z-index: 1;
  padding: clamp(14px, 3vw, 20px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.jhd29-card__artist {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--jhd29-accent);
  margin-bottom: 6px;
}

.jhd29-card__title {
  margin: 0 0 10px;
  font-family: var(--jhd29-font-display);
  font-size: clamp(15px, 2.5vw, 17px);
  font-weight: 700;
  line-height: 1.25;
}

.jhd29-card__title a:hover {
  color: var(--jhd29-accent);
}

.jhd29-card__price {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

.jhd29-card__price .woocommerce-Price-amount {
  color: var(--jhd29-text);
}

.jhd29-card__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
}

.jhd29-swatch {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background-color: var(--jhd29-swatch-color, #555);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.jhd29-swatch--light {
  border-color: rgba(3, 3, 8, 0.55);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.jhd29-swatch--unknown {
  background-color: var(--jhd29-swatch-color, #3a3a42);
  border-color: rgba(255, 255, 255, 0.25);
}

.jhd29-swatch__mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: rgba(244, 244, 248, 0.9);
  pointer-events: none;
}

.jhd29-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.jhd29-card__cta {
  margin-top: 4px;
  width: 100%;
}

/* ── Product detail ── */
.jhd29-product__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.jhd29-product__cover-wrap {
  position: relative;
  border-radius: var(--jhd29-radius);
  overflow: hidden;
  border: 1px solid var(--jhd29-border);
  background: var(--jhd29-bg-elevated);
}

.jhd29-product__cover {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.jhd29-product__cover.is-swapping {
  opacity: 0.35;
}

.jhd29-product__cover-glow {
  position: absolute;
  inset: auto 10% -15%;
  height: 40%;
  background: var(--jhd29-accent);
  filter: blur(50px);
  opacity: 0.25;
  pointer-events: none;
}

.jhd29-product__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.jhd29-product__thumb {
  border: 1px solid var(--jhd29-border);
  border-radius: var(--jhd29-radius-sm);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  min-width: 64px;
  min-height: 64px;
  transition: border-color 0.25s ease;
}

.jhd29-product__thumb.is-active {
  border-color: var(--jhd29-accent);
  box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.25);
}

.jhd29-product__thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.jhd29-product__preview {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--jhd29-radius-sm);
  border: 1px solid var(--jhd29-border);
  background: var(--jhd29-surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jhd29-product__preview-label {
  font-family: var(--jhd29-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jhd29-accent);
}

.jhd29-product__artist {
  color: var(--jhd29-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
}

.jhd29-product__title {
  font-family: var(--jhd29-font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.jhd29-product__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.jhd29-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--jhd29-border);
  background: var(--jhd29-surface);
}

.jhd29-badge--accent {
  border-color: rgba(0, 245, 212, 0.35);
  color: var(--jhd29-accent);
  background: rgba(0, 245, 212, 0.08);
}

.jhd29-badge--muted {
  color: var(--jhd29-muted);
}

.jhd29-product__price {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  margin: 0 0 20px;
}

.jhd29-tracklist-wrap {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: var(--jhd29-radius-sm);
  border: 1px solid var(--jhd29-border);
  background: var(--jhd29-surface);
}

.jhd29-tracklist__title {
  font-family: var(--jhd29-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.jhd29-tracklist {
  margin: 0;
  padding-left: 20px;
  color: var(--jhd29-muted);
}

.jhd29-tracklist li {
  margin-bottom: 6px;
}

.jhd29-product__excerpt,
.jhd29-product__desc {
  color: var(--jhd29-muted);
  line-height: 1.7;
  margin: 16px 0;
}

.jhd29-product__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  margin: 24px 0;
}

.jhd29-qty span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jhd29-muted);
  margin-bottom: 6px;
}

.jhd29-variant {
  border: 0;
  margin: 0 0 20px;
  padding: 0;
}

.jhd29-variant legend {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jhd29-muted);
  margin-bottom: 10px;
}

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

.jhd29-variant__btn {
  min-height: 48px;
  min-width: 48px;
  padding: 10px 18px;
  border-radius: var(--jhd29-radius-sm);
  border: 1px solid var(--jhd29-border);
  background: var(--jhd29-surface);
  color: var(--jhd29-text);
  -webkit-text-fill-color: var(--jhd29-text);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

/* Override Astra global button:focus/button:hover (color: var(--ast-global-color-5) = #131313) */
.jhd29-custom-shop .jhd29-variant__btn,
.jhd29-custom-shop .jhd29-variant__btn:hover,
.jhd29-custom-shop .jhd29-variant__btn:focus,
.jhd29-custom-shop .jhd29-variant__btn:focus-visible,
.jhd29-custom-shop .jhd29-variant__btn:active {
  color: var(--jhd29-text);
  -webkit-text-fill-color: var(--jhd29-text);
}

.jhd29-custom-shop .jhd29-variant__btn.is-selected,
.jhd29-custom-shop .jhd29-variant__btn.is-selected:hover,
.jhd29-custom-shop .jhd29-variant__btn.is-selected:focus,
.jhd29-custom-shop .jhd29-variant__btn.is-selected:focus-visible,
.jhd29-custom-shop .jhd29-variant__btn.is-selected:active {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.jhd29-custom-shop .jhd29-variant__btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.jhd29-custom-shop .jhd29-variant__btn:not(.is-selected):focus-visible {
  outline-color: var(--jhd29-accent);
}

.jhd29-variant__btn.is-selected {
  border-color: var(--jhd29-accent);
  background: rgba(0, 245, 212, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.25);
}

.jhd29-variant__btn:disabled,
.jhd29-variant__btn:disabled:hover,
.jhd29-variant__btn:disabled:focus,
.jhd29-variant__btn:disabled:focus-visible,
.jhd29-variant__btn:disabled:active {
  opacity: 0.35;
  cursor: not-allowed;
  color: var(--jhd29-muted);
  -webkit-text-fill-color: var(--jhd29-muted);
}

.jhd29-product__shipping,
.jhd29-product__stock {
  font-size: 13px;
  color: var(--jhd29-muted);
}

/* ── Related products ── */
.jhd29-related {
  margin-top: clamp(48px, 8vw, 80px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--jhd29-border);
}

.jhd29-related__head {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.jhd29-related__title {
  font-family: var(--jhd29-font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.jhd29-related__line {
  width: 48px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--jhd29-accent), var(--jhd29-purple));
  border-radius: 2px;
}

/* ── Panels (cart, checkout, thanks) ── */
.jhd29-panel {
  padding: clamp(20px, 4vw, 28px);
  border-radius: var(--jhd29-radius);
  border: 1px solid var(--jhd29-border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.jhd29-panel__title {
  font-family: var(--jhd29-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.jhd29-panel__subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jhd29-muted);
  margin: 20px 0 10px;
}

/* ── Cart ── */
.jhd29-cart__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.jhd29-cart__items {
  min-width: 0;
}

.jhd29-cart-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 18px;
  border: 1px solid var(--jhd29-border);
  border-radius: var(--jhd29-radius);
  margin-bottom: 14px;
  background: var(--jhd29-surface);
  transition: border-color 0.25s ease;
}

.jhd29-cart-item:hover {
  border-color: var(--jhd29-border-strong);
}

/* Fallback falls wpautop <p> in Warenkorbzeilen einfügt */
.jhd29-cart .jhd29-cart-item > p,
.jhd29-cart .jhd29-cart-item .jhd29-cart-item__body > p,
.jhd29-cart .jhd29-cart-item .jhd29-cart-item__controls > p {
  display: contents;
  margin: 0;
}

.jhd29-cart-item__img {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--jhd29-radius-sm);
}

.jhd29-cart-item__body {
  flex: 1 1 200px;
  min-width: 0;
}

.jhd29-cart-item h3 {
  margin: 0;
  font-family: var(--jhd29-font-display);
  font-size: 15px;
  font-weight: 700;
}

.jhd29-cart-item__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.jhd29-cart-item__badge--music {
  color: var(--jhd29-accent);
  border: 1px solid rgba(0, 245, 212, 0.3);
  background: rgba(0, 245, 212, 0.08);
}

.jhd29-cart-item__badge--merch {
  color: var(--jhd29-magenta);
  border: 1px solid rgba(224, 64, 251, 0.3);
  background: rgba(157, 78, 221, 0.1);
}

.jhd29-cart-item__artist {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--jhd29-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jhd29-cart-item__attr {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--jhd29-muted);
}

.jhd29-cart-item__attr span {
  color: var(--jhd29-text);
  font-weight: 600;
}

.jhd29-cart-item__price {
  margin-top: 8px;
  font-weight: 700;
}

.jhd29-cart-item__controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.jhd29-cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jhd29-qty-btn {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--jhd29-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--jhd29-text);
  border-radius: var(--jhd29-radius-sm);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.jhd29-qty-btn:hover {
  border-color: rgba(0, 245, 212, 0.35);
  background: rgba(0, 245, 212, 0.06);
}

.jhd29-cart-item__remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.06);
  color: var(--jhd29-muted);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.jhd29-cart-item__remove:hover {
  color: var(--jhd29-danger);
  border-color: rgba(255, 107, 107, 0.45);
}

.jhd29-cart__summary,
.jhd29-checkout__summary {
  position: sticky;
  top: 100px;
}

.jhd29-cart__summary.jhd29-panel,
.jhd29-checkout__summary.jhd29-panel {
  padding: clamp(20px, 4vw, 28px);
}

.jhd29-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.jhd29-summary__row--total {
  font-weight: 700;
  font-size: 18px;
  border-bottom: 0;
  padding-top: 16px;
  margin-top: 4px;
}

.jhd29-coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.jhd29-coupon .jhd29-input {
  flex: 1;
  min-width: 140px;
}

.jhd29-cart__checkout,
.jhd29-cart__continue {
  width: 100%;
  margin-top: 10px;
}

/* ── Checkout ── */
.jhd29-checkout__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.jhd29-checkout__form h2.jhd29-panel__title {
  margin-top: 28px;
}

.jhd29-checkout__form h2.jhd29-panel__title:first-child {
  margin-top: 0;
}

.jhd29-field {
  display: block;
  margin-bottom: 16px;
}

.jhd29-field span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--jhd29-muted);
}

.jhd29-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.jhd29-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 14px;
  color: var(--jhd29-muted);
}

.jhd29-check input {
  margin-top: 4px;
  accent-color: var(--jhd29-accent);
}

.jhd29-check a {
  color: var(--jhd29-accent);
}

.jhd29-checkout__notice,
.jhd29-checkout__fallback {
  font-size: 13px;
  color: var(--jhd29-muted);
  line-height: 1.6;
}

.jhd29-checkout__fallback a {
  color: var(--jhd29-accent);
}

.jhd29-checkout__submit {
  width: 100%;
  margin-top: 8px;
}

.jhd29-checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.jhd29-checkout-item__name {
  color: var(--jhd29-muted);
}

.jhd29-checkout-item__price {
  font-weight: 600;
  white-space: nowrap;
}

.jhd29-gateways {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jhd29-gateways li {
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: var(--jhd29-radius-sm);
  border: 1px solid var(--jhd29-border);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.02);
}

/* ── Order confirmation ── */
.jhd29-thanks__hero {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.jhd29-thanks__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 212, 0.3);
  background: rgba(0, 245, 212, 0.08);
  color: var(--jhd29-accent);
  box-shadow: 0 0 40px rgba(0, 245, 212, 0.15);
}

.jhd29-thanks__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.jhd29-meta-list {
  margin: 0;
  padding: 0;
}

.jhd29-meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jhd29-meta-list dt {
  font-size: 13px;
  color: var(--jhd29-muted);
  font-weight: 500;
}

.jhd29-meta-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.jhd29-thanks-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.jhd29-thanks__address {
  color: var(--jhd29-muted);
  line-height: 1.7;
}

.jhd29-thanks__download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jhd29-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Notices & CTA ── */
.jhd29-shop__notice {
  padding: clamp(20px, 4vw, 28px);
  border-radius: var(--jhd29-radius);
  border: 1px solid var(--jhd29-border);
  background: var(--jhd29-surface);
  text-align: center;
  color: var(--jhd29-muted);
}

.jhd29-shop__notice--empty p {
  margin: 0 0 20px;
  font-size: 17px;
}

.jhd29-shop__notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.jhd29-shop__cta {
  margin-top: clamp(48px, 8vw, 72px);
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--jhd29-radius);
  border: 1px solid var(--jhd29-border);
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.06), rgba(157, 78, 221, 0.05));
  text-align: center;
}

.jhd29-shop__cta-text {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--jhd29-muted);
}

/* ── Featured (shortcode on other pages) ── */
.jhd29-featured {
  max-width: var(--jhd29-max);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 56px) clamp(16px, 4vw, 28px);
}

.jhd29-featured__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}

.jhd29-featured__title {
  font-family: var(--jhd29-font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.jhd29-featured__text {
  margin: 0;
  color: var(--jhd29-muted);
}

.jhd29-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--jhd29-accent);
  color: #030308;
  font-size: 11px;
  font-weight: 800;
}

.jhd29-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jhd29-custom-shop.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .jhd29-hub-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 480px) {
  .jhd29-grid--music,
  .jhd29-grid--merch {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .jhd29-product__grid {
    grid-template-columns: 1fr 1fr;
  }

  .jhd29-cart__layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .jhd29-checkout__grid {
    grid-template-columns: 1fr 380px;
  }

  .jhd29-field-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .jhd29-thanks__grid {
    grid-template-columns: 1fr 1fr;
  }

  .jhd29-thanks__items {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .jhd29-grid--music {
    grid-template-columns: repeat(3, 1fr);
  }

  .jhd29-grid--merch {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .jhd29-grid--merch {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 359px) {
  .jhd29-grid--music,
  .jhd29-grid--merch {
    grid-template-columns: 1fr;
  }

  .jhd29-card__actions {
    flex-direction: column;
  }

  .jhd29-card__actions .jhd29-btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .jhd29-cart-item__controls {
    flex: 1 1 100%;
    margin-left: 0;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .jhd29-cart__summary,
  .jhd29-checkout__summary {
    position: static;
  }
}
