/* Hamelton Records CD shop (shop.html). Navy/gold like the rest of the label; each CD borrows its artist accent via --ac. */
.stgrid { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .stgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.stcard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s var(--ease); }
.stcard:hover { border-color: color-mix(in srgb, var(--ac) 55%, transparent); }
@media (min-width: 460px) { .stcard { grid-template-columns: 46% minmax(0, 1fr); align-items: center; } }
.stcard__art { display: block; border-radius: 12px; overflow: hidden; background: #fff; }
.stcard__art img { display: block; width: 100%; height: auto; }
.stcard__b { display: grid; gap: 8px; justify-items: start; }
.stcard__b .small, .stdetails, .stnotify .small { font-size: .72rem; }
.stcard__t { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.stcard__t a { color: var(--cream); text-decoration: none; }
.stcard__t a:hover { color: var(--gold); }
.stcard__by { margin: 0; color: var(--ac); font-weight: 600; }
.stcard .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.stprice { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.stprice strong { font-family: var(--f-display); font-size: 1.4rem; color: var(--cream); }
.stprice--lg strong { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); }
.stprice .mono { font-size: .72rem; letter-spacing: .04em; }
.stbadge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); }
.stbadge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stbadge--out_of_stock { color: #f0a7a0; background: rgba(240, 120, 110, .1); border-color: rgba(240, 120, 110, .35); }
.stbadge--in_stock { color: #8fe0b0; background: rgba(90, 200, 140, .1); border-color: rgba(90, 200, 140, .35); }
.stfoot { margin-top: 18px; }
.stlede { margin: -6px 0 18px; }
.stalert { margin-top: 22px; }
.phead--shop { padding-bottom: 0; }
.phead--shop .eyebrow a { color: inherit; text-decoration: none; }
.phead--shop .eyebrow a:hover { text-decoration: underline; }

/* product page */
.stprod { display: grid; gap: 28px; }
@media (min-width: 860px) { .stprod { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; } }
.stgal { display: grid; gap: 12px; }
@media (min-width: 860px) { .stgal { position: sticky; top: 90px; } }
.stgal__main { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9); }
.stgal__main img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.stgal__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.stgal__t { display: block; width: 100%; padding: 0; border-radius: 10px; overflow: hidden; background: #fff; border: 2px solid transparent; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.stgal__t img { display: block; width: 100%; height: auto; aspect-ratio: 472 / 416; object-fit: cover; }
.stgal__t:hover, .stgal__t[aria-pressed="true"] { opacity: 1; }
.stgal__t[aria-pressed="true"] { border-color: var(--gold); }
.stgal__t:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.stprod__b { display: grid; gap: 14px; justify-items: start; color: var(--mist); min-width: 0; }
.stprod__b .eyebrow { color: var(--ac); }
.stprod__t { margin: 0; color: var(--cream); }
.stprod__b .rhero__by a { color: var(--ac); }
.stprod__b .row { display: flex; flex-wrap: wrap; gap: 10px; }
.stprod__b .btn[disabled] { opacity: .55; cursor: not-allowed; filter: saturate(.4); }
.stnotify { width: 100%; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.stprod__desc { color: var(--cream); line-height: 1.6; max-width: 60ch; }
.stdetails { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-family: var(--f-mono); letter-spacing: .03em; }
.stdetails li { padding-left: 14px; border-left: 2px solid var(--gold); }
.sttracks { list-style: none; margin: 0; padding: 0; max-width: 760px; }
@media (min-width: 900px) { .sttracks { columns: 2; column-gap: 40px; max-width: none; } }
.sttracks li { break-inside: avoid; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--cream); }
/* Stripe buy form + order messages */
.stbuy { width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; padding: 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--ac) 45%, var(--line)); background: rgba(255, 255, 255, .03); }
.stbuy__qty { flex: 0 0 auto; min-width: 6.5rem; }
.stbuy__qty select { width: 100%; }
.stbuy p { flex: 1 1 100%; margin: 0; font-size: .72rem; }
.stbuy__test { color: #ffd479; }
.stmsg { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); line-height: 1.5; }
.stmsg--ok { color: #c9f2d9; background: rgba(90, 200, 140, .1); border-color: rgba(90, 200, 140, .4); }
.stmsg--err { color: #f6c7c2; background: rgba(240, 120, 110, .1); border-color: rgba(240, 120, 110, .4); }
/* Wholesale order form (shop.html?wholesale=1) */
.stws__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.stws__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.stws__row img { display: block; width: 64px; height: auto; border-radius: 8px; background: #fff; }
.stws__b p { margin: 0; }
.stws__t { font-weight: 700; }
.stws__t a { color: var(--cream); text-decoration: none; }
.stws__t a:hover { color: var(--ac); }
.stws__price { margin: 0; text-align: right; white-space: nowrap; }
.stws__price strong { font-family: var(--f-display); font-size: 1.2rem; color: var(--cream); }
.stws__qty { grid-column: 2 / -1; display: flex; align-items: center; gap: 10px; margin: 0; }
.stws__qty input { width: 6.5rem; }
@media (min-width: 700px) { .stws__row { grid-template-columns: 64px minmax(0, 1fr) auto 8rem; } .stws__qty { grid-column: auto; } }
.stws__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); position: sticky; bottom: 10px; }
.stws__sum { margin: 0; font-weight: 700; flex: 1 1 14rem; }
.stws__foot p.small { flex: 1 1 100%; margin: 0; font-size: .72rem; }
.stws__foot button[disabled] { opacity: .5; cursor: not-allowed; }
/* Wholesale resale certificate upload (shop.html?wholesale=1&paid=...#cert) */
.stcert { display: grid; gap: 12px; margin: 14px 0 24px; padding: 18px; border-radius: 16px; border: 1px solid rgba(231, 198, 107, .45); background: rgba(231, 198, 107, .06); scroll-margin-top: 90px; }
.stcert h2, .stcert p, .stcert ul { margin: 0; }
.stcert ul { padding-left: 1.2rem; display: grid; gap: 4px; }
.stcert__form { display: grid; gap: 12px; max-width: 34rem; }
.stcert__form .field { display: grid; gap: 6px; margin: 0; }
.stcert__form select, .stcert__form input[type=file] { width: 100%; }
.stcert__form input[type=file] { padding: 10px; border-radius: 10px; border: 1px dashed var(--line); background: rgba(255, 255, 255, .03); color: inherit; }
.stcert__form button { justify-self: start; }
.stcert__box summary { cursor: pointer; margin-bottom: 10px; }
