/* css/shop.css — Premium redesign with enhanced book cards */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ──────────────────────────────────────────────────────── */
:root {
  --shop-bg: #080b12;
  --shop-surface: rgba(255,255,255,0.03);
  --shop-border: rgba(255,255,255,0.07);
  --shop-text: #eef2ff;
  --shop-muted: rgba(238,242,255,0.4);
  --shop-accent-blue: #4f8fff;
  --shop-accent-purple: #9b7bff;
  --shop-accent-gold: #f5b944;
  --shop-glow-blue: rgba(79,143,255,0.18);
  --shop-glow-purple: rgba(155,123,255,0.18);
  --shop-radius-card: 20px;
  --shop-radius-btn: 12px;
  --shop-font-display: 'Syne', sans-serif;
  --shop-font-body: 'DM Sans', sans-serif;
}

/* ── Page layout ─────────────────────────────────────────────────────────── */
.shop-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--shop-bg);
  color: var(--shop-text);
  font-family: var(--shop-font-body);
  position: relative;
}

/* Ambient background glow */
.shop-page::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(79,143,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.shop-page::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(155,123,255,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.shop-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--shop-border);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.shop-back-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--shop-border);
  border-radius: 12px;
  padding: 9px;
  cursor: pointer;
  color: var(--shop-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.shop-back-btn:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.14);
}

.shop-title {
  font-family: var(--shop-font-display);
  font-size: 20px;
  font-weight: 800;
  flex: 1;
  margin: 0;
  letter-spacing: -0.3px;
  color: var(--shop-text);
}

.shop-coins {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,185,68,0.1);
  border: 1px solid rgba(245,185,68,0.25);
  border-radius: 24px;
  padding: 7px 16px;
  font-family: var(--shop-font-display);
  font-size: 14px;
  font-weight: 700;
}
.shop-coins-icon { font-size: 15px; }
.shop-coins-num { color: var(--shop-accent-gold); }

/* ── Category pills ──────────────────────────────────────────────────────── */
.shop-categories {
  display: flex;
  gap: 8px;
  padding: 14px 18px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.shop-categories::-webkit-scrollbar { display: none; }

.shop-cat-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px;
  padding: 8px 18px;
  font-family: var(--shop-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--shop-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
  letter-spacing: 0.01em;
}
.shop-cat-btn:hover {
  background: rgba(255,255,255,0.09);
  color: var(--shop-text);
  border-color: rgba(255,255,255,0.15);
}
.shop-cat-btn.active {
  background: linear-gradient(135deg, rgba(79,143,255,0.22), rgba(155,123,255,0.22));
  border-color: rgba(79,143,255,0.4);
  color: #a8c8ff;
  font-weight: 600;
}

/* ── Shop grid ───────────────────────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 14px 18px 32px;
  overflow-y: auto;
  flex: 1;
  position: relative;
  z-index: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

/* ── Shop card — PREMIUM ─────────────────────────────────────────────────── */
.shop-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius-card);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), border-color 0.2s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Inner shimmer line at top */
.shop-card::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79,143,255,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(79,143,255,0.1) inset;
}

/* Click hint for preview */
.shop-card::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(79,143,255,0.6), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.shop-card:hover::after {
  opacity: 1;
}

.shop-card.owned {
  opacity: 0.5;
}
.shop-card.owned:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--shop-border);
}

.shop-card-icon {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.shop-card-name {
  font-family: var(--shop-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--shop-text);
  line-height: 1.2;
  letter-spacing: -0.1px;
}

.shop-card-desc {
  font-size: 12px;
  color: var(--shop-muted);
  line-height: 1.5;
  flex: 1;
}

.shop-card-btn {
  margin-top: 2px;
  border: none;
  border-radius: var(--shop-radius-btn);
  padding: 10px 14px;
  font-family: var(--shop-font-display);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  background: linear-gradient(135deg, #3d7fff, #6a5bff);
  color: #fff;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.shop-card-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}
.shop-card-btn:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,143,255,0.35);
}
.shop-card-btn.owned-btn {
  background: rgba(255,255,255,0.06);
  color: rgba(238,242,255,0.35);
  cursor: default;
  box-shadow: none;
}
.shop-card-btn.owned-btn::after { display: none; }
.shop-card-btn:disabled { cursor: default; }

.shop-card-price {
  font-size: 13px;
}

/* ── "Featured" or category label ────────────────────────────────────────── */
.shop-section-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: -2px;
}
.shop-section-header-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--shop-border), transparent);
}
.shop-section-label {
  font-family: var(--shop-font-display);
  font-size: 11px;
  font-weight: 700;
  color: rgba(238,242,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Books section ───────────────────────────────────────────────────────── */
.shop-books-section {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: -2px;
}

/* ── Premium Book card with image ────────────────────────────────────────── */
.shop-book-card-premium {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(155,123,255,0.07) 0%, rgba(79,143,255,0.03) 100%);
  border-color: rgba(155,123,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
}

.shop-book-card-premium::before {
  display: none;
}

.shop-book-card-premium:hover {
  border-color: rgba(155,123,255,0.4);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(155,123,255,0.12) inset;
}

.shop-book-card-premium::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(155,123,255,0.6), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 2;
}

.shop-book-card-premium:hover::after {
  opacity: 1;
}

.shop-book-cover {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}

.shop-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.shop-book-card-premium:hover .shop-book-cover img {
  transform: scale(1.05);
}

.shop-book-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0.1) 0%, 
    rgba(0,0,0,0.3) 50%,
    rgba(8,11,18,0.85) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 10px;
}

.shop-book-badge {
  font-family: var(--shop-font-display);
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(155,123,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.shop-book-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.shop-book-meta {
  font-size: 11px;
  color: rgba(238,242,255,0.3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.shop-book-btn {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
}
.shop-book-btn:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(139,92,246,0.4) !important;
}

/* ── Browse all books CTA ────────────────────────────────────────────────── */
.shop-browse-books-cta {
  grid-column: 1 / -1;
  margin-top: 4px;
}
.shop-browse-books-btn {
  width: 100%;
  background: rgba(155,123,255,0.08);
  border: 1px solid rgba(155,123,255,0.25);
  border-radius: 16px;
  padding: 14px 24px;
  font-family: var(--shop-font-display);
  font-size: 13px;
  font-weight: 700;
  color: #c4b5fd;
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.shop-browse-books-btn:hover {
  background: rgba(155,123,255,0.15);
  border-color: rgba(155,123,255,0.45);
  transform: translateY(-1px);
}
.shop-browse-books-btn span {
  opacity: 0.6;
  font-weight: 400;
  font-size: 16px;
}

/* ── Loading / empty ─────────────────────────────────────────────────────── */
.shop-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 80px 0;
  color: var(--shop-muted);
  font-size: 13px;
}
.shop-spinner {
  width: 30px;
  height: 30px;
  border: 2.5px solid rgba(255,255,255,0.08);
  border-top-color: var(--shop-accent-blue);
  border-radius: 50%;
  animation: shopSpin 0.75s linear infinite;
}
@keyframes shopSpin { to { transform: rotate(360deg); } }

.shop-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 80px 0;
  color: var(--shop-muted);
  font-size: 13px;
}
.shop-empty span { font-size: 36px; }

/* ── Purchase confirm modal ──────────────────────────────────────────────── */
.shop-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.shop-modal {
  background: #0f1220;
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  padding: 10px 24px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: shopModalSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
}
.shop-modal::before {
  content: '';
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
/* inner glow top */
.shop-modal::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: radial-gradient(ellipse at 50% -20%, rgba(79,143,255,0.12), transparent 70%);
  pointer-events: none;
}

@keyframes shopModalSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.shop-modal-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  position: relative;
  z-index: 1;
}

.shop-modal h3 {
  font-family: var(--shop-font-display);
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: var(--shop-text);
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.shop-modal p {
  font-size: 13px;
  color: var(--shop-muted);
  margin: 0;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.shop-modal-price {
  font-family: var(--shop-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--shop-accent-gold);
  background: rgba(245,185,68,0.1);
  border: 1px solid rgba(245,185,68,0.2);
  border-radius: 12px;
  padding: 10px 24px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.shop-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.shop-modal-cancel,
.shop-modal-confirm {
  flex: 1;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-family: var(--shop-font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.shop-modal-cancel {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(238,242,255,0.55);
}
.shop-modal-cancel:hover {
  background: rgba(255,255,255,0.11);
  color: var(--shop-text);
}
.shop-modal-confirm {
  background: linear-gradient(135deg, #3d7fff, #6a5bff);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.shop-modal-confirm::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.shop-modal-confirm:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(79,143,255,0.4);
  transform: translateY(-1px);
}

/* ── Item preview modal ─────────────────────────────────────────────────── */
.shop-preview-modal {
  padding: 24px;
  gap: 16px;
  max-width: 420px;
  position: relative;
}

.shop-preview-modal::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(79,143,255,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.shop-preview-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.shop-preview-icon {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}

.shop-preview-category {
  font-family: var(--shop-font-display);
  font-size: 11px;
  font-weight: 700;
  color: rgba(238,242,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 4px 12px;
}

.shop-preview-title {
  font-family: var(--shop-font-display);
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--shop-text);
  letter-spacing: -0.3px;
  text-align: center;
}

.shop-preview-desc {
  font-size: 14px;
  color: var(--shop-muted);
  margin: 0;
  line-height: 1.55;
  text-align: center;
}

.shop-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.shop-preview-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.shop-preview-meta-label {
  font-size: 13px;
  color: var(--shop-muted);
  font-weight: 500;
}

.shop-preview-meta-value {
  font-family: var(--shop-font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--shop-text);
}

.shop-preview-price-large {
  font-family: var(--shop-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--shop-accent-gold);
  background: rgba(245,185,68,0.1);
  border: 1px solid rgba(245,185,68,0.2);
  border-radius: 16px;
  padding: 12px 24px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.shop-preview-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
}

.shop-preview-close {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px;
  font-family: var(--shop-font-display);
  font-size: 14px;
  font-weight: 700;
  color: rgba(238,242,255,0.55);
  cursor: pointer;
  transition: all 0.2s;
}

.shop-preview-close:hover {
  background: rgba(255,255,255,0.11);
  color: var(--shop-text);
}

.shop-preview-owned {
  flex: 1;
  background: rgba(255,255,255,0.06);
  color: rgba(238,242,255,0.35);
  cursor: default;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
  font-family: var(--shop-font-display);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.shop-preview-buy,
.shop-preview-buy-book {
  flex: 1;
  background: linear-gradient(135deg, #3d7fff, #6a5bff);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-family: var(--shop-font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.shop-preview-buy::after,
.shop-preview-buy-book::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.shop-preview-buy:hover,
.shop-preview-buy-book:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(79,143,255,0.4);
  transform: translateY(-1px);
}

.shop-preview-buy-book {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
}

.shop-preview-buy-book:hover {
  box-shadow: 0 6px 24px rgba(139,92,246,0.45) !important;
}

.shop-preview-price {
  font-size: 13px;
}

/* ── Navbar shop button badge ─────────────────────────────────────────────── */
.hn-btn-shop { position: relative; }
.hn-shop-badge {
  position: absolute;
  top: 3px; right: 3px;
  width: 7px; height: 7px;
  background: #ef4444;
  border-radius: 50%;
  display: block;
  border: 1.5px solid var(--bg, #0f1117);
  animation: shopBadgePulse 1.6s ease-in-out infinite;
}
@keyframes shopBadgePulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.35); opacity: 0.7; }
}

/* ── Card entrance animation ─────────────────────────────────────────────── */
@keyframes shopCardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.shop-card {
  animation: shopCardIn 0.32s ease both;
}
.shop-card:nth-child(1) { animation-delay: 0.04s; }
.shop-card:nth-child(2) { animation-delay: 0.08s; }
.shop-card:nth-child(3) { animation-delay: 0.12s; }
.shop-card:nth-child(4) { animation-delay: 0.16s; }
.shop-card:nth-child(5) { animation-delay: 0.20s; }
.shop-card:nth-child(6) { animation-delay: 0.24s; }
.shop-card:nth-child(7) { animation-delay: 0.28s; }
.shop-card:nth-child(8) { animation-delay: 0.32s; }

/* Enhanced card interactions */
.shop-card:active {
  transform: translateY(-2px) scale(0.98);
  transition: transform 0.1s ease;
}

.shop-card-icon {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform 0.2s ease;
}

.shop-card:hover .shop-card-icon {
  transform: scale(1.1);
}

/* ── Toast (shop-local) ──────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #1a1f32;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 11px 22px;
  font-family: var(--shop-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--shop-text);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { border-color: rgba(34,197,94,0.3); }
.toast-error   { border-color: rgba(239,68,68,0.3); }
.toast-info    { border-color: rgba(79,143,255,0.3); }