/* Just Dance LKN shop — v002 */
:root {
  --white: #FFFFFF;
  --ink: #252525;
  --ink-soft: #5E5A66;
  --purple: #4F1BA8;      /* Athletic Purple: buttons, selected states */
  --deep: #2E005C;        /* Deep Purple: brand moments */
  --star: #A66ACD;        /* Star Purple: sparing accents */
  --lavender: #C49AE6;    /* Light Lavender: never small text on white */
  --mist: #F4F2F8;        /* proposed neutral surface */
  --line: #E4E0EB;
  --danger: #A3123A;
  --radius-s: 6px;
  --radius-m: 14px;
  --max: 1180px;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-stretch: 100%; font-size: 1rem; line-height: 1.55; color: var(--ink); background: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Preview banner */
.preview-bar { background: var(--deep); color: var(--white); font-size: .85rem; text-align: center; padding: 8px 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.wordmark img { height: 48px; width: auto; }
.wordmark-text { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.wordmark span { color: var(--purple); }
.cart-button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 7px 16px; cursor: pointer; font-weight: 600; }
.cart-button:hover { background: var(--ink); color: var(--white); }

/* Hero */
.hero { padding: 24px 0 22px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; gap: 24px; }
.hero h1 { font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: clamp(2.4rem, 10.5vw, 6.6rem); overflow-wrap: normal; hyphens: none; line-height: .86; letter-spacing: -.015em; margin: 0; text-transform: uppercase; }
.hero h1 .line2 { color: var(--purple); display: block; }
.hero p { font-size: 1.1rem; max-width: 34ch; margin: 0 0 18px; color: var(--ink-soft); }
.lineup { display: none; align-items: flex-end; gap: 10px; }
.lineup > div { flex: 1; max-width: 140px; }
.lineup svg { width: 100%; height: auto; }
@media (min-width: 860px) { .lineup { display: flex; grid-column: 1 / -1; } }
@media (min-width: 860px) {
  .hero { padding: 56px 0 44px; }
  .hero .wrap { grid-template-columns: 1.15fr 1fr; align-items: end; }
}

/* Buttons */
.btn { display: inline-block; background: var(--purple); color: var(--white); border: 0; border-radius: var(--radius-s); padding: 14px 22px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--deep); }
.btn[disabled], .btn[aria-disabled="true"] { background: #B9B4C2; cursor: not-allowed; }
.btn.block { display: block; width: 100%; text-align: center; }

/* Ordering promise */
.promise { background: var(--mist); }
.promise ul { list-style: none; margin: 0; padding: 14px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.promise li { font-size: .9rem; line-height: 1.3; }
.promise strong { display: block; font-family: var(--display); font-stretch: 75%; font-size: 1.05rem; }
@media (max-width: 520px) { .promise li { font-size: .8rem; } }

/* Shop */
.section { padding: 44px 0; }
.section h2 { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; margin: 0 0 18px; text-transform: uppercase; letter-spacing: -.01em; }
.filters { display: flex; gap: 8px; margin: 0 0 20px; }
.filters button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 600; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 860px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 36px 20px; } }
.card { display: block; }
.card .media { background: var(--mist); border-radius: var(--radius-m); aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 14%; transition: background .2s; }
.card:hover .media { background: #ECE7F4; }
.card h3 { font-size: 1rem; margin: 12px 0 2px; font-weight: 700; }
.card .meta { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.dots { display: flex; gap: 6px; margin-top: 8px; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); padding: 0; cursor: pointer; }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--purple); }
.card-link { text-decoration: none; display: block; color: inherit; }
.card[hidden] { display: none; }

/* How it works */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 12px; }
.steps li::before { content: counter(step); font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--purple); display: block; margin-bottom: 6px; }
.steps h3 { margin: 0 0 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* FAQ */
.faq h2, .faq details { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--purple); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }
.draft { background: #FFF4CC; padding: 0 4px; border-radius: 3px; }

/* Footer */
.site-footer { background: var(--deep); color: #E9E2F5; padding: 36px 0 44px; font-size: .92rem; }
.site-footer a { color: var(--white); }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer .attribution { color: #CFC3E6; }
.site-footer .draft { color: var(--ink); }

/* Product page */
.crumb { font-size: .88rem; padding: 16px 0 0; }
.crumb a { color: var(--ink-soft); }
.pdp { display: grid; gap: 24px; padding: 16px 0 40px; }
@media (min-width: 860px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 24px; } }
.gallery .main { background: var(--mist); border-radius: var(--radius-m); aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 16%; }
.gallery .note { font-size: .82rem; color: var(--ink-soft); margin-top: 8px; }
.pdp h1 { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: .95; text-transform: uppercase; margin: 0 0 6px; }
.pdp .fitline { color: var(--ink-soft); margin: 0 0 10px; }
.price { font-size: 1.25rem; font-weight: 700; margin: 0 0 22px; }
.option { border: 0; padding: 0; margin: 0 0 20px; }
.option legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.option legend span { font-weight: 400; color: var(--ink-soft); }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); cursor: pointer; padding: 0; outline-offset: 3px; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--purple); }
.size { min-width: 52px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-s); cursor: pointer; font-weight: 600; padding: 0 12px; }
.size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.size:disabled { color: #A9A4B2; text-decoration: line-through; cursor: not-allowed; }
.linkish { background: none; border: 0; padding: 0; color: var(--purple); text-decoration: underline; cursor: pointer; font-size: .92rem; }
.buy { margin: 6px 0 12px; }
@media (max-width: 859px) { .buy { position: sticky; bottom: 0; background: var(--white); padding: 12px 0; margin: 0 -20px 12px; padding-left: 20px; padding-right: 20px; border-top: 1px solid var(--line); z-index: 5; } }
.buy .hint { font-size: .85rem; color: var(--ink-soft); margin: 8px 0 0; min-height: 1.2em; }
.fulfil { background: var(--mist); border-radius: var(--radius-s); padding: 14px 16px; font-size: .92rem; margin-bottom: 18px; }
.fulfil p { margin: 0; }
.details details { border-top: 1px solid var(--line); }
.details details:last-child { border-bottom: 1px solid var(--line); }
.details summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
.details ul { margin: 0 0 14px; padding-left: 20px; }
.details p { margin: 0 0 14px; }
dialog { border: 0; border-radius: var(--radius-m); padding: 24px; max-width: min(640px, 92vw); }
dialog::backdrop { background: rgba(20,10,40,.45); }
.table-scroll { overflow-x: auto; }
table.chart { border-collapse: collapse; font-size: .9rem; min-width: 100%; }
table.chart th, table.chart td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20,10,40,.45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--white); z-index: 41; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer header h2 { margin: 0; font-family: var(--display); font-stretch: 75%; font-size: 1.5rem; text-transform: uppercase; }
.drawer .close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.drawer .body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer .foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line .thumb { background: var(--mist); border-radius: var(--radius-s); padding: 8px; }
.line h3 { font-size: .95rem; margin: 0; }
.line .v { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-s); margin-top: 6px; }
.qty button { background: none; border: 0; width: 30px; height: 30px; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-size: .9rem; }
.remove { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: .82rem; }
.line .dancer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 8px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 4px; }
.field input { width: 100%; border: 1px solid #CFC9D8; border-radius: var(--radius-s); padding: 10px; font: inherit; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.choice { border: 0; padding: 0; margin: 18px 0 8px; }
.choice legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.choice label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px; margin-bottom: 8px; cursor: pointer; }
.choice input { margin-top: 4px; accent-color: var(--purple); }
.choice small { display: block; color: var(--ink-soft); }
.choice-note, .small { font-size: .82rem; color: var(--ink-soft); }
.dancers { display: grid; gap: 8px; margin: 10px 0; }
.toggle { display: flex; gap: 8px; align-items: center; font-size: .9rem; margin: 8px 0; }
.toggle input { accent-color: var(--purple); }
.subtotal { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; }
.error { color: var(--danger); font-size: .85rem; margin: 8px 0 0; }
.empty { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.logos { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-choice { width: 104px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); padding: 8px 6px 8px; cursor: pointer; display: grid; gap: 6px; justify-items: center; }
.logo-choice img { width: 76px; height: 64px; object-fit: contain; }
.logo-choice span { font-size: .78rem; line-height: 1.2; font-weight: 600; text-align: center; }
.logo-choice[aria-pressed="true"] { border-color: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.site-footer .footer-logo { height: 56px; width: auto; }
.site-footer p { margin: 0; }

/* Photos with digital logo placement */
.has-photo { padding: 0 !important; background: #fff !important; overflow: hidden; }
.photo { position: relative; width: 100%; height: 100%; }
.photo .base { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .print { position: absolute; height: auto; pointer-events: none; transform-origin: center; }
.card .media.has-photo, .gallery .main.has-photo { border: 1px solid var(--line); }
.line .thumb.has-photo { aspect-ratio: 4 / 5; }
.views { display: flex; gap: 8px; margin-top: 10px; }
.views button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.views button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.views[hidden] { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.thumbs[hidden] { display: none; }
.thumb-btn { padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; cursor: pointer; overflow: hidden; aspect-ratio: 4 / 5; }
.thumb-btn > div { width: 100%; height: 100%; }
.thumb-btn[aria-pressed="true"] { border-color: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.adjust-panel { position: fixed; right: 12px; bottom: 12px; z-index: 60; width: min(320px, calc(100vw - 24px)); background: #fff; border: 2px solid var(--purple); border-radius: var(--radius-m); padding: 12px; display: grid; gap: 6px; font-size: .85rem; box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.adjust-panel .adj-row { display: flex; gap: 6px; }
.adjust-panel .adj-row button { flex: 1; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-s); padding: 6px; cursor: pointer; }
.adjust-panel textarea { width: 100%; font: 12px monospace; }
.photo img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.adjust-panel .adj-head { display: flex; justify-content: space-between; align-items: center; }
.adjust-panel .adj-head button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 2px 10px; cursor: pointer; }
.adjust-panel.min > *:not(.adj-head):not(.adj-vals) { display: none; }
.adjust-panel.min { width: auto; }
.pickup-reminder { background: #F4F2F8; border-left: 4px solid var(--purple); border-radius: var(--radius-s); padding: 10px 12px; margin: 0 0 10px; font-size: .92rem; line-height: 1.4; }
.btn.is-incomplete { background: #7D66B0; }
.field input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--danger); }
