body.store-page {
  margin: 0;
  background: radial-gradient(circle at top, #162334 0%, #0d141d 44%, #090d12 100%);
  color: #eaf1f8;
  font-family: "Inter", Arial, sans-serif;
  --font-display: "Playfair Display", serif;
  --btn-text: #f8fcff;
  --btn-bg: linear-gradient(135deg, #9f7a25 0%, #d4a64b 48%, #f2d283 100%);
  --btn-shadow: 0 8px 16px rgba(36, 27, 7, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  --btn-hover-shadow: 0 10px 20px rgba(36, 27, 7, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --btn-added-bg: linear-gradient(135deg, #1f7a59 0%, #2fa36e 100%);
  --btn-added-shadow: 0 8px 16px rgba(8, 48, 33, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.store-page.theme-glass {
  --btn-text: #eaf4ff;
  --btn-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(177, 214, 255, 0.18) 100%);
  --btn-shadow: 0 8px 16px rgba(8, 24, 44, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --btn-hover-shadow: 0 10px 20px rgba(8, 24, 44, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  --btn-added-bg: linear-gradient(135deg, rgba(215, 236, 255, 0.24) 0%, rgba(170, 205, 241, 0.28) 100%);
  --btn-added-shadow: 0 8px 16px rgba(8, 24, 44, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.store-page.theme-mono {
  --btn-text: #f5f7fa;
  --btn-bg: linear-gradient(135deg, #2a313a 0%, #4f5b68 100%);
  --btn-shadow: 0 8px 16px rgba(10, 12, 15, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --btn-hover-shadow: 0 10px 20px rgba(10, 12, 15, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  --btn-added-bg: linear-gradient(135deg, #47525f 0%, #606d7c 100%);
  --btn-added-shadow: 0 8px 16px rgba(10, 12, 15, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.store-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  background: rgba(4, 9, 12, 0.98);
  border-bottom: 1px solid #1e2f3f;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
}

.store-topbar a {
  color: #f8fbff;
  text-decoration: none;
}

.store-topbar strong {
  letter-spacing: 0.4px;
  font-weight: 500;
}

.store-brand-row {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.store-brand-title {
  font-family: "Bungee Shade", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.6px;
  color: #ffffff !important;
  text-shadow:
    -1px -1px 0 #001a33,
    1px -1px 0 #001a33,
    -1px 1px 0 #001a33,
    1px 1px 0 #001a33,
    0 0 7px rgba(255, 255, 255, 0.2);
}

.store-main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.store-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  position: relative;
}

.store-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #d9e6f2 !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.store-nav-link:hover {
  background: rgba(123, 160, 193, 0.18);
  border-color: rgba(110, 159, 201, 0.45);
  color: #f5fbff !important;
}

.store-nav-icon {
  width: 14px;
  height: 14px;
  position: relative;
  display: inline-block;
  color: #4fd6ff;
}

.store-nav-icon::before,
.store-nav-icon::after {
  content: "";
  position: absolute;
}

.store-nav-icon-home::before {
  left: 1px;
  right: 1px;
  bottom: 1px;
  height: 7px;
  border: 1.4px solid currentColor;
  border-top: none;
  border-radius: 1px;
}

.store-nav-icon-home::after {
  left: 1px;
  right: 1px;
  top: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-left: 1.4px solid currentColor;
  border-top: 1.4px solid currentColor;
  transform: rotate(45deg);
}

.store-nav-icon-music::before {
  left: 3px;
  top: 1px;
  width: 7px;
  height: 10px;
  border-right: 1.4px solid currentColor;
}

.store-nav-icon-music::after {
  left: 0;
  bottom: 0;
  width: 6px;
  height: 4px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  box-shadow: 7px 0 0 -1px rgba(79, 214, 255, 1);
}

.store-search-wrap {
  width: min(360px, 42vw);
  flex: 0 0 auto;
}

.store-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.store-search-input {
  width: 100%;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #2a445d;
  background: rgba(244, 250, 255, 0.95);
  color: #102437;
  padding: 0 44px 0 14px;
  font-size: 14px;
  box-sizing: border-box;
}

.store-search-input::placeholder {
  color: #72889d;
}

.store-search-input:focus {
  outline: none;
  border-color: #59bfff;
  box-shadow: 0 0 0 2px rgba(89, 191, 255, 0.22);
}

.store-search-btn {
  position: absolute;
  right: 5px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-search-icon {
  width: 12px;
  height: 12px;
  border: 1.6px solid #5f7488;
  border-radius: 50%;
  position: relative;
}

.store-search-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.6px;
  background: #5f7488;
  right: -4px;
  bottom: -1px;
  transform: rotate(40deg);
}

.store-cart-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #2a445d;
  background: rgba(13, 22, 30, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.store-user-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #2a445d;
  background: rgba(13, 22, 30, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.store-user-icon {
  width: 14px;
  height: 14px;
  border: 1.5px solid #dbe9f7;
  border-radius: 50%;
  position: relative;
}

.store-user-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -7px;
  width: 10px;
  height: 5px;
  border: 1.5px solid #dbe9f7;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.store-cart-btn:hover {
  border-color: #4f8ec4;
  background: rgba(20, 34, 49, 0.98);
}

.store-cart-btn.cart-wiggle {
  animation: cartWiggle 420ms ease;
}

.store-cart-icon {
  width: 14px;
  height: 14px;
  position: relative;
  display: inline-block;
  color: #dbe9f7;
}

.store-cart-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 4px;
  width: 10px;
  height: 6px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
}

.store-cart-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 8px;
  height: 4px;
  border-top: 1.4px solid currentColor;
  border-left: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.store-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #1e8fff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-mini-cart {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 320px;
  max-width: calc(100vw - 24px);
  background: rgba(10, 19, 30, 0.98);
  border: 1px solid #2f4d6b;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
  padding: 12px;
  z-index: 42;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 280px;
  max-width: calc(100vw - 24px);
  background: rgba(10, 19, 30, 0.98);
  border: 1px solid #2f4d6b;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
  padding: 12px;
  z-index: 43;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-user-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.store-user-signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 600;
  background: linear-gradient(135deg, #1c7fe4 0%, #57b2ff 100%);
  color: #fff !important;
  width: 100%;
}

.store-user-menu-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.store-user-menu-link {
  flex: 1 1 calc(50% - 4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #395875;
  border-radius: 8px;
  color: #cde4f9 !important;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  background: rgba(17, 31, 47, 0.55);
}

.store-user-menu-link:hover {
  border-color: #5b8bb8;
  background: rgba(33, 52, 74, 0.75);
}

.store-user-menu-icon {
  width: 12px;
  height: 12px;
  position: relative;
  display: inline-block;
  color: currentColor;
}

.store-user-menu-icon::before,
.store-user-menu-icon::after {
  content: "";
  position: absolute;
}

.store-user-menu-icon.icon-library::before {
  inset: 1px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
}

.store-user-menu-icon.icon-library::after {
  left: 3px;
  right: 3px;
  top: 3px;
  height: 1.4px;
  background: currentColor;
}

.store-user-menu-icon.icon-account::before {
  left: 50%;
  top: 0;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border: 1.4px solid currentColor;
  border-radius: 50%;
}

.store-user-menu-icon.icon-account::after {
  left: 50%;
  bottom: 0;
  width: 9px;
  height: 5px;
  transform: translateX(-50%);
  border: 1.4px solid currentColor;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.store-user-menu-icon.icon-logout::before {
  left: 1px;
  top: 2px;
  width: 6px;
  height: 8px;
  border: 1.4px solid currentColor;
  border-right: none;
  border-radius: 2px 0 0 2px;
}

.store-user-menu-icon.icon-logout::after {
  right: 0;
  top: 50%;
  width: 6px;
  height: 1.6px;
  background: currentColor;
  transform: translateY(-50%);
  box-shadow: 1px -2px 0 -1px currentColor, 1px 2px 0 -1px currentColor;
}

.store-mini-cart.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.store-mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #d2e5f8;
  font-size: 12px;
}

.store-mini-cart-empty {
  margin: 0 0 12px;
  color: #a6bdd4;
  font-size: 13px;
}

.store-mini-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
}

.store-mini-cart-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(71, 102, 133, 0.35);
}

.store-mini-cart-row-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-mini-cart-name {
  color: #eaf4ff;
  font-size: 13px;
}

.store-mini-cart-price {
  color: #ffe3a4;
  font-size: 13px;
  white-space: nowrap;
}

.store-mini-cart-remove {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #486887;
  color: #d4e8fa;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  background: rgba(20, 34, 49, 0.7);
}

.store-mini-cart-remove:hover {
  border-color: #7ba6cd;
  background: rgba(47, 70, 99, 0.9);
}

.store-mini-cart-total {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: #d7e7f7;
  font-size: 13px;
}

.store-mini-cart-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.store-mini-cart-link {
  flex: 1;
  text-align: center;
  text-decoration: none;
  border: 1px solid #395875;
  border-radius: 8px;
  color: #cde4f9;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
}

.store-mini-cart-link.primary {
  border-color: #4da8ff;
  color: #ffffff;
  background: linear-gradient(135deg, #1c7fe4 0%, #57b2ff 100%);
}

@keyframes cartWiggle {
  0% { transform: scale(1); }
  28% { transform: scale(1.12); }
  62% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

.store-container {
  max-width: 1220px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.store-hero {
  background: linear-gradient(145deg, rgba(17, 28, 41, 0.84), rgba(12, 19, 28, 0.9));
  border: 1px solid #2b4058;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-hero h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

.store-hero p {
  margin: 0;
  color: #c5d5e6;
  font-weight: 400;
  font-size: 14px;
}

.store-hero-search-note {
  width: 100%;
  color: #91c1ef !important;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.store-card {
  background: linear-gradient(165deg, #182434 0%, #101a25 100%);
  border: 1px solid #31465f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.store-card-clickable {
  cursor: pointer;
}

.store-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  border-color: #4f6787;
}

.store-card .cover {
  background: #202c3b;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-card .body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.store-card .body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.2px;
  color: #eef4fb;
}

.price {
  color: #ffe3a4;
  font-weight: 600;
  font-size: 14px;
}

.store-actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: auto;
  padding-top: 4px;
  width: 100%;
}

.store-btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 0 14px;
  height: 36px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  letter-spacing: 0.15px;
  min-width: 0;
  flex: 1 1 0;
  width: 100%;
  box-shadow: var(--btn-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  gap: 6px;
  font-size: 14px;
  white-space: nowrap;
}

.store-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: var(--btn-hover-shadow);
}

.store-btn.is-loading,
.album-add-icon.is-loading {
  opacity: 0.8;
  pointer-events: none;
}

.store-btn-small {
  padding: 0 16px;
  height: 36px;
  font-size: 14px;
  min-width: 90px;
  width: auto;
  flex: 0 0 auto;
}

.btn-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: 0.95;
  position: relative;
  display: inline-block;
}

.btn-icon::before,
.btn-icon::after {
  content: "";
  position: absolute;
}

.btn-icon-svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  position: static;
  display: inline-block;
}

.btn-icon-add {
  border: 1.6px solid currentColor;
  border-radius: 3px;
}

.btn-icon-add::before {
  width: 6px;
  height: 1.6px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
}

.btn-icon-add::after {
  width: 1.6px;
  height: 6px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
}

.btn-icon-album {
  border: 1.6px solid currentColor;
  border-radius: 50%;
}

.btn-icon-album::before {
  width: 3px;
  height: 3px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.btn-icon-check {
  width: 12px;
  height: 12px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  border-radius: 1px;
}

.store-btn-added {
  background: var(--btn-added-bg);
  color: #eaf5ff;
  cursor: default;
  box-shadow: var(--btn-added-shadow);
}

.store-btn-added:hover {
  transform: none;
  filter: none;
  box-shadow: var(--btn-added-shadow);
}

.store-btn-remove {
  background: linear-gradient(135deg, #50353f 0%, #6f3e4d 100%);
  color: #ffe7ef;
  box-shadow: 0 8px 16px rgba(49, 20, 29, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.store-btn-remove:hover {
  box-shadow: 0 10px 20px rgba(49, 20, 29, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.store-link {
  color: #d7e8fb;
  text-decoration: none;
}

.store-link:hover {
  color: #d6ebff;
}

.album-hero {
  background: linear-gradient(140deg, rgba(12, 20, 34, 0.96), rgba(7, 12, 20, 0.95));
  border: 1px solid #2a3c54;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
}

.album-hero-cover {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #385171;
  background: #132134;
}

.album-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c2d3e5;
  font-weight: 500;
}

.album-hero-content h1 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1.02;
  color: #f4f8ff;
}

.album-hero-content p {
  margin: 0 0 14px;
  color: #ccdae9;
  max-width: 900px;
}

.album-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.album-track-panel h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
}

.album-track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.album-track-row {
  border: 1px solid #26394f;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(20, 30, 45, 0.85), rgba(13, 20, 31, 0.9));
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.album-track-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.album-track-index {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #3a556f;
  color: #bcd0e2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: 0 0 auto;
}

.album-track-meta h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #f1f7ff;
  line-height: 1.2;
}

.album-track-meta p {
  margin: 0;
  color: #9fb2c8;
  font-size: 12px;
}

.album-track-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.album-add-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #375271;
  color: #e7f2ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  background: rgba(26, 39, 56, 0.75);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.album-add-icon:hover {
  background: rgba(47, 70, 99, 0.85);
  border-color: #5f86b1;
}

.album-add-icon-added {
  color: #c8ebd9;
  border-color: #4f8f6f;
  background: rgba(22, 63, 42, 0.6);
  font-size: 16px;
}

.panel {
  background: linear-gradient(165deg, #182230 0%, #111a25 100%);
  border: 1px solid #2b3a50;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.panel h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.25px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-kpi-card {
  background: linear-gradient(155deg, #18273a 0%, #121d2b 100%);
  border: 1px solid #2f4763;
  border-radius: 12px;
  padding: 12px;
}

.admin-kpi-label {
  color: #b9cfe4;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.admin-kpi-value {
  color: #f1f7ff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.admin-kpi-meta {
  color: #9eb4ca;
  font-size: 12px;
  margin-top: 4px;
}

.admin-upload-progress {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.admin-upload-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #1e2d42;
  border: 1px solid #2f4763;
  overflow: hidden;
}

.admin-upload-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9a227, #e8d48b);
  transition: width 0.12s ease-out;
}

.admin-upload-progress-label {
  margin-top: 8px;
  font-size: 13px;
  color: #b9cfe4;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
  gap: 14px;
}

.auth-card {
  max-width: 420px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-color: #38557a;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  overflow-x: hidden;
}

.admin-auth-card .panel,
.auth-card.panel {
  overflow-x: hidden;
}

.auth-helper {
  color: #c6d6e7;
  margin-top: -2px;
  margin-bottom: 14px;
  font-size: 14px;
}

.auth-forgot {
  margin: 12px 0 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  border-bottom: 1px solid #2b3a50;
  padding: 11px 10px;
  text-align: left;
}

.table th {
  color: #d1dfef;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #34465f;
  background: #111923;
  color: #f4f4f4;
}

label {
  display: block;
  margin-bottom: 10px;
}

.flash {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.flash.success {
  background: #1c4b30;
  color: #d3f8e0;
}

.flash.error {
  background: #5b1f1f;
  color: #ffd8d8;
}

.store-footer {
  border-top: 1px solid #2b3a50;
  margin-top: 32px;
  padding: 20px 20px 24px;
  background: rgba(8, 12, 18, 0.96);
}

.store-footer-logo {
  text-align: center;
}

.store-footer-logo img {
  width: 100%;
  max-width: 620px;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.store-footer-bottom {
  margin: 12px auto 0;
  max-width: 1220px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.store-footer-copy {
  color: #f1f4f8;
  font-size: 15px;
  font-weight: 300;
}

.store-footer-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.store-footer-icons img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.store-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  min-width: 280px;
  max-width: 380px;
  background: rgba(10, 19, 30, 0.96);
  border: 1px solid #2f4d6b;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.store-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.store-toast.is-error {
  border-color: #7d3b49;
}

.store-toast-message {
  color: #e6f0fa;
  font-size: 14px;
  margin-bottom: 8px;
}

.store-toast-actions {
  display: flex;
  gap: 8px;
}

.store-toast-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #395875;
  color: #cde4f9;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.store-toast-link.primary {
  border-color: #4da8ff;
  color: #ffffff;
  background: linear-gradient(135deg, #1c7fe4 0%, #57b2ff 100%);
}

@media (max-width: 768px) {
  .store-topbar {
    flex-wrap: wrap;
    align-items: center;
  }

  .store-brand-title {
    font-size: 18px;
  }

  .store-main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex: 1 1 100%;
  }

  .store-topbar-right {
    width: 100%;
    order: 2;
    justify-content: space-between;
  }

  .store-mini-cart {
    right: 0;
    top: calc(100% + 8px);
    width: min(340px, calc(100vw - 24px));
  }

  .store-user-menu {
    right: 0;
    top: calc(100% + 8px);
    width: min(300px, calc(100vw - 24px));
  }

  .store-search-wrap {
    width: calc(100% - 48px);
  }

  .store-hero {
    padding: 12px 14px;
  }

  .store-hero h1 {
    font-size: 22px;
  }

  .store-actions {
    flex-wrap: wrap;
  }

  .album-hero {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .album-hero-cover {
    width: 120px;
    height: 120px;
  }

  .album-hero-content h1 {
    font-size: 30px;
  }

  .album-track-row {
    flex-wrap: wrap;
  }

  .album-track-right {
    width: 100%;
    justify-content: flex-start;
  }

  .store-card .body h3 {
    font-size: 15px;
  }

  .price {
    font-size: 14px;
  }

  .store-footer-bottom {
    flex-direction: column;
    justify-content: center;
  }

  .store-toast {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}

@media (min-width: 1100px) {
  .store-grid {
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: center;
  }
}

