:root {
  --black: #000;
  --panel: #070707;
  --line: #292929;
  --muted: #aaa;
  --white: #fff;
}

* { box-sizing: border-box; }
html { background: #000; color: #fff; color-scheme: dark; }
body {
  min-height: 100vh;
  margin: 0;
  padding-top: 88px;
  background: #000;
  color: #fff;
  font: 400 16px/1.35 "Unbounded", Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: 88px;
  background: #000;
}
.header-inner {
  width: min(1450px, calc(100% - 48px));
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.wordmark { font-size: 12px; font-weight: 500; }
.main-nav { display: flex; gap: 24px; font-size: 17px; font-weight: 400; }
.main-nav a { opacity: .68; }
.main-nav a.active, .main-nav a:hover { opacity: 1; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.currency { font-size: 15px; font-weight: 500; }
.icon-button {
  position: relative;
  width: 25px;
  height: 29px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.account-icon::before {
  content: ""; position: absolute; top: 2px; left: 8px; width: 7px; height: 7px;
  border: 1.4px solid #fff; border-radius: 50%;
}
.account-icon::after {
  content: ""; position: absolute; left: 4px; bottom: 2px; width: 15px; height: 10px;
  border: 1.4px solid #fff; border-bottom: 0; border-radius: 10px 10px 0 0;
}
.bag-icon::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 17px; height: 18px;
  border: 1.4px solid #fff; border-radius: 3px 3px 5px 5px;
}
.bag-icon::after {
  content: ""; position: absolute; left: 8px; top: 2px; width: 7px; height: 7px;
  border: 1.4px solid #fff; border-bottom: 0; border-radius: 8px 8px 0 0;
}
.bag-count {
  position: absolute; top: 12px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 10px; background: #fff; color: #000;
  font-size: 10px;
}

.store-main, .related-products {
  width: min(1450px, calc(100% - 48px));
  margin: 23px auto 80px;
}
.store-main { min-height: calc(100vh - 220px); }
.store-main h1, .product-section h2, .related-products h2 {
  font-weight: 600; line-height: 1; letter-spacing: -.045em;
}
.store-main h1 { margin: 0 0 26px; font-size: 29px; }
.product-section { margin-bottom: 72px; }
.product-section h2 { margin: 0 0 56px; font-size: 28px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 62px 56px;
}
.product-card { position: relative; min-width: 0; }
.product-card-link { position: relative; display: block; }
.product-card-visual {
  position: relative;
  width: 100%;
  max-width: 285px;
  margin: 0 auto 50px;
}
.product-card-info { display: block; }
.product-artwork {
  position: relative;
  width: 100%;
  aspect-ratio: 1.61 / 1;
  margin: 0;
}
.flat-artwork { position: absolute; inset: 0; transition: opacity .16s ease; }
.disc-image {
  position: absolute; z-index: 1; top: 4%; left: 44%; width: 57.15%; height: 92%;
  border: 1px solid rgba(220,220,220,.85); border-radius: 50%;
  background: center/100% 100% no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 0 14px rgba(255,255,255,.08), 0 7px 18px rgba(0,0,0,.4);
}
.disc-hub {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 23%; aspect-ratio: 1;
  transform: translate(-50%,-50%); border-radius: 50%;
  background: radial-gradient(circle,#000 0 37%,#e8d8cc 39% 69%,#bfc3c6 71% 76%,rgba(239,239,239,.82) 78% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42), 0 1px 4px rgba(0,0,0,.28);
}
.cover-image {
  position: absolute; z-index: 2; left: 0; top: 0; width: 62.2%; height: 100%;
  object-fit: cover; box-shadow: 0 9px 22px rgba(0,0,0,.38);
}
.hover-model {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  --poster-color: transparent;
  transition: opacity .16s ease;
}
.product-card:hover .hover-model.model-ready,
.product-card:focus-within .hover-model.model-ready { opacity: 1; }
.product-card:hover .product-artwork:has(.hover-model.model-ready) .flat-artwork,
.product-card:focus-within .product-artwork:has(.hover-model.model-ready) .flat-artwork { opacity: 0; }
.sold-out-pill {
  position: absolute; z-index: 3; left: -9px; bottom: -15px; padding: 4px 13px 5px;
  border: 1px solid #343434; border-radius: 999px; background: #050505; font-size: 14px; line-height: 1;
}
.product-card h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.product-card p { margin: 0; font-size: 15px; line-height: 1; font-weight: 400; }
.quick-add {
  position: absolute; z-index: 8; right: -1px; bottom: -39px; width: 34px; height: 34px;
  opacity: 0; transform: translateY(6px); border: 0; background: transparent; cursor: pointer;
  transition: opacity .16s ease, transform .16s ease;
}
.product-card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.mini-bag {
  position: absolute; left: 5px; top: 9px; width: 15px; height: 16px;
  border: 1.5px solid #fff; border-radius: 2px;
}
.mini-bag::before {
  content: ""; position: absolute; left: 3px; top: -6px; width: 7px; height: 6px;
  border: 1.5px solid #fff; border-bottom: 0; border-radius: 6px 6px 0 0;
}
.quick-add i { position: absolute; right: 2px; bottom: 0; font-size: 18px; font-style: normal; }

.site-footer {
  width: min(1450px, calc(100% - 48px)); min-height: 105px; margin: 0 auto; padding: 31px 0 35px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  border-top: 1px solid #161616; color: #aaa; font-size: 12px;
}
.site-footer > div { display: flex; gap: 16px; }
.footer-contact { justify-content: center; }
.admin-entry { justify-self: end; padding: 8px 12px; border: 1px solid #292929; border-radius: 999px; }
.site-footer a:hover { color: #fff; }

.cart-backdrop {
  position: fixed; z-index: 90; inset: 0; visibility: hidden; opacity: 0;
  border: 0; background: rgba(255,255,255,.55); transition: .2s;
}
.cart-backdrop.open { visibility: visible; opacity: 1; }
.cart-drawer {
  position: fixed; z-index: 100; inset: 0 0 0 auto; width: min(510px,100vw);
  display: flex; flex-direction: column; background: #000; transform: translateX(101%); transition: transform .24s ease;
}
.cart-drawer.open { transform: none; }
.cart-head { height: 64px; padding: 16px; display: flex; justify-content: space-between; }
.cart-head h2 { margin: 0; font-size: 29px; line-height: 1; }
.drawer-close { border: 0; background: transparent; font-size: 35px; cursor: pointer; }
.cart-columns { margin: 0 16px; padding-bottom: 16px; display: flex; justify-content: space-between; border-bottom: 1px solid #292929; color: #999; font-size: 12px; font-weight: 700; }
.cart-items { flex: 1; padding: 21px 16px; overflow-y: auto; }
.empty-cart { display: grid; place-items: center; gap: 16px; padding-top: 80px; }
.cart-line { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; margin-bottom: 24px; }
.cart-line img { width: 100px; aspect-ratio: 1; object-fit: cover; }
.cart-line-info { display: grid; align-content: start; gap: 5px; }
.cart-line-info small { color: #bbb; }
.cart-qty { display: flex; align-items: center; gap: 14px; margin-top: 13px; }
.cart-qty button { border: 0; background: transparent; cursor: pointer; }
.cart-remove { color: #999; text-decoration: underline; }
.cart-footer { padding: 22px 16px 16px; border-top: 1px solid #292929; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; }
.cart-footer p { color: #bbb; font-size: 13px; }
.checkout-button { height: 56px; display: grid; place-items: center; background: #fff; color: #000; font-size: 17px; }

.product-detail {
  width: min(1450px, calc(100% - 48px)); margin: 14px auto 80px;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 75px; align-items: start;
}
.product-detail-media { min-height: 740px; display: flex; flex-direction: column; align-items: center; }
.product-artwork.large { width: 100%; max-width: 780px; margin: 0; }
.product-back-cover { width: 100%; max-width: 780px; height: auto; margin-top: 26px; display: block; box-shadow: 0 9px 22px rgba(0,0,0,.38); }
.product-detail-info { padding-top: 18px; }
.product-detail-info h1 { margin: 0 0 14px; font-size: clamp(40px,4.2vw,68px); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.detail-price { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.shipping-note { margin: 0 0 27px; color: #c2c2c2; font-size: 14px; text-decoration: underline; }
.product-copy { max-width: 570px; display: flex; flex-direction: column; align-items: flex-start; font-size: 15px; }
.product-copy > strong { margin: 6px 0; }
.product-copy ul { margin: 10px 0 12px; padding-left: 23px; }
.product-copy ol { margin: 8px 0 25px; padding-left: 32px; line-height: 1.45; }
.tracklist-title { font-style: italic; }
.case-options { margin: 8px 0 17px; padding: 0; border: 0; }
.case-options legend { margin-bottom: 9px; color: #bbb; font-size: 13px; }
.case-options button { min-width: 156px; height: 47px; margin-right: 7px; border: 1px solid #444; background: #000; cursor: pointer; }
.case-options button.selected { background: #fff; color: #000; border-color: #fff; }
.quantity-row { margin: 12px 0; display: flex; align-items: center; gap: 12px; }
.quantity-row button { width: 40px; height: 42px; border: 1px solid #444; background: transparent; cursor: pointer; }
.add-cart-button { width: min(100%,520px); height: 54px; margin-top: 8px; border: 0; background: #fff; color: #000; cursor: pointer; }
.add-cart-button:disabled { background: #2a2a2a; color: #777; }
.stock-line { margin-top: 20px; display: flex; gap: 8px; align-items: center; color: #aaa; font-size: 14px; }
.stock-line i { width: 12px; height: 12px; border-radius: 50%; background: #19c652; box-shadow: 0 0 6px #19c652; }
.related-products { margin-bottom: 100px; }
.related-products h2 { margin: 0 0 35px; font-size: 28px; }

.checkout-layout {
  width: min(1260px, calc(100% - 48px)); margin: 24px auto 80px;
  display: grid; grid-template-columns: 1fr .78fr; gap: 76px;
}
.checkout-title span, .admin-eyebrow { color: #8f8f8f; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.checkout-title h1 { margin: 8px 0 7px; font-size: 42px; letter-spacing: -.055em; }
.checkout-title p { margin: 0; color: #aaa; }
.checkout-section { margin: 38px 0 0; padding: 0; display: grid; gap: 14px; border: 0; }
.checkout-section legend { width: 100%; margin-bottom: 17px; padding-bottom: 13px; border-bottom: 1px solid #292929; font-size: 20px; font-weight: 600; }
.checkout-section label, .add-product-form label { display: grid; gap: 7px; color: #bbb; font-size: 12px; }
.checkout-section input, .checkout-section select, .add-product-form input, .add-product-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #393939;
  background: #070707; color: #fff; outline: 0;
}
.two-fields, .three-fields { display: grid; gap: 14px; }
.two-fields { grid-template-columns: 1fr 1fr; }
.three-fields { grid-template-columns: 1fr .75fr .75fr; }
.payment-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.payment-methods button { min-height: 80px; padding: 14px; display: grid; text-align: left; border: 1px solid #343434; background: #070707; cursor: pointer; }
.payment-methods button.active { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.payment-methods small { color: #888; }
.payment-instruction { min-height: 76px; padding: 15px 17px; display: grid; gap: 5px; border: 1px solid #343434; background: #070707; }
.payment-instruction span { color: #888; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.payment-instruction strong, .payment-destination { font-size: 20px; overflow-wrap: anywhere; }
.place-order { width: 100%; min-height: 58px; margin-top: 24px; border: 0; background: #fff; color: #000; cursor: pointer; }
.checkout-warning { text-align: center; color: #888; font-size: 12px; }
.order-summary { position: sticky; top: 20px; min-height: 300px; padding: 28px; border: 1px solid #292929; background: #070707; }
.summary-line { margin-bottom: 18px; display: grid; grid-template-columns: 64px 1fr auto; gap: 13px; align-items: center; }
.summary-line img { width: 64px; height: 64px; object-fit: cover; }
.summary-line span { display: grid; gap: 4px; }
.summary-line small { color: #888; }
.summary-totals { margin-top: 27px; padding-top: 16px; border-top: 1px solid #282828; }
.summary-totals p { display: flex; justify-content: space-between; }
.summary-total { padding-top: 14px; border-top: 1px solid #282828; font-size: 18px; }
.form-error { padding: 11px 13px; border: 1px solid #8b3737; background: #2a0e0e; color: #ffb4b4; }
.checkout-success { width: min(620px,calc(100% - 40px)); min-height: 70vh; margin: 40px auto; display: grid; align-content: center; gap: 12px; }
.checkout-success h1 { margin: 0; font-size: 52px; letter-spacing: -.06em; }
.payment-destination { padding: 17px 19px; border: 1px solid #3d3d3d; background: #070707; font-weight: 700; }

.admin-page { min-height: 100vh; display: grid; grid-template-columns: 220px 1fr; background: #f3f3f0; color: #111; }
.admin-sidebar { padding: 28px 18px; display: flex; flex-direction: column; background: #101010; color: #fff; }
.admin-logo { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; font-weight: 700; }
.admin-sidebar h1 { margin: 18px 7px 36px; font-size: 17px; }
.admin-sidebar button { padding: 12px 13px; text-align: left; border: 0; border-radius: 8px; background: transparent; color: #bbb; cursor: pointer; }
.admin-sidebar button.active { background: #272727; color: #fff; }
.admin-logout { margin-top: auto; }
.admin-content { min-width: 0; padding: 40px; }
.admin-topline { display: flex; justify-content: space-between; align-items: center; }
.admin-topline h2 { margin: 4px 0 0; font-size: 38px; }
.stat-grid { margin: 28px 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.stat-card { min-height: 126px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #d7d7d1; border-radius: 13px; background: #fff; }
.stat-card span { color: #777; font-size: 13px; }
.stat-card strong { font-size: 28px; }
.admin-table-wrap { overflow: auto; border: 1px solid #d7d7d1; border-radius: 13px; background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 15px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid #e8e8e4; }
.admin-table th { color: #777; font-size: 11px; }
.admin-table td small { display: block; color: #777; }
.admin-table select { padding: 7px; border: 1px solid #ccc; background: #fff; color: #111; }
.products-admin-layout { margin-top: 28px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.admin-product-list { display: grid; align-content: start; gap: 9px; }
.admin-product-list article { padding: 13px; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; border: 1px solid #d7d7d1; border-radius: 11px; background: #fff; }
.admin-product-list img { width: 64px; height: 64px; object-fit: cover; }
.admin-product-list article > div { display: grid; }
.admin-product-list span { color: #777; font-size: 12px; }
.stock-on, .stock-off { padding: 8px 11px; border: 0; border-radius: 999px; cursor: pointer; }
.stock-on { background: #d9f7df; color: #146d27; }
.stock-off { background: #f3dddd; color: #842222; }
.add-product-form { padding: 24px; display: grid; gap: 13px; align-content: start; border: 1px solid #d7d7d1; border-radius: 13px; background: #fff; }
.add-product-form input, .add-product-form textarea { min-height: 44px; border-color: #ccc; background: #fff; color: #111; }
.add-product-form button { min-height: 50px; border: 0; background: #111; color: #fff; cursor: pointer; }
.admin-login { min-height: 100vh; display: grid; place-items: center; background: #f3f3f0; color: #111; }
.admin-login form { width: min(430px,calc(100% - 32px)); padding: 40px; border: 1px solid #d6d6d0; background: #fff; }
.admin-login input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #aaa; background: #fff; color: #111; }
.admin-login button { width: 100%; min-height: 50px; margin-top: 15px; border: 0; background: #111; color: #fff; }

@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail, .checkout-layout { grid-template-columns: 1fr; }
  .product-detail-media { min-height: 0; }
  .order-summary { position: static; order: -1; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .products-admin-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { padding-top: 72px; }
  .site-header { height: 72px; }
  .header-inner { width: calc(100% - 28px); grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; z-index: 60; left: 50%; bottom: 14px; padding: 13px 22px; transform: translateX(-50%); border: 1px solid #333; border-radius: 999px; background: rgba(0,0,0,.93); }
  .currency, .account-icon { display: none; }
  .store-main, .site-footer, .related-products, .product-detail, .checkout-layout { width: calc(100% - 28px); }
  .product-grid { gap: 42px 18px; }
  .product-card h3, .product-card p { font-size: 13px; }
  .quick-add { opacity: 1; transform: none; }
  .site-footer { padding-bottom: 90px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-footer > div { flex-direction: column; gap: 8px; }
  .two-fields, .three-fields, .payment-methods { grid-template-columns: 1fr; }
  .admin-page { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; min-height: auto; }
  .admin-content { padding: 24px 14px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
