/* =====================================================
   FIREOVANSHOP – dms666.xyz style
   White header/footer | Dark content | Big sidebar
   ===================================================== */

/* ---- CSS Variables ---- */
:root {
  --accent: #c62828;
  --accent-hover: #b71c1c;
  --header-h: 58px;
  --sidebar-w: 300px;
  --panel-bg: rgba(38, 38, 50, 0.92);
  --panel-border: rgba(255, 255, 255, 0.12);
  --panel-title-bg: rgba(26, 26, 36, 0.96);
  --text: #e2e2e2;
  --text-muted: #999;
  --text-dark: #1a1a1a;
  --row-hover: rgba(255,255,255,0.06);
  --input-bg: rgba(0, 0, 0, 0.3);
  --input-border: rgba(255, 255, 255, 0.15);
  --modal-bg: rgba(24, 24, 24, 0.96);
  --font: "PingFang SC", "Microsoft YaHei UI", "Hiragino Sans GB",
          "Noto Sans SC", "WenQuanYi Micro Hei", system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* ---- Body layout ---- */
html, body {
  height: 100%;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: #0d0d0d;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---- Fixed background layer ---- */
.bg-layer {
  position: fixed;
  inset: 0;
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: background-image 0.4s;
}

/* ============================================================
   WHITE HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon { font-size: 22px; }
.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}
.logo-text {
  font-size: 19px;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.3px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-link:hover { background: #f3f3f3; color: #111; }
.nav-discord {
  background: #5865f2;
  color: #fff !important;
}
.nav-discord:hover { background: #4752c4 !important; color: #fff !important; }

/* Header auth buttons */
.header-auth {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.btn-auth {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.15s, transform 0.1s;
}
.btn-auth:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-login  { background: #ea580c; }
.btn-register { background: #1d4ed8; }
.btn-history-nav { background: #059669; }
.btn-logout { background: #6b7280; }

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.username-display {
  font-size: 13px;
  font-weight: 700;
  color: #ea580c;
  padding: 0 4px;
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.page-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 20px 40px;
}

/* Announcement */
.announcement-section {
  background: rgba(38, 38, 50, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.section-label {
  font-size: 13px;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 6px;
}
.announcement-body { font-size: 13px; color: #ddd; line-height: 1.7; }

/* Main layout */
.main-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* ============================================================
   SIDEBAR – bigger, like dms666
   ============================================================ */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-block {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sidebar-block-title {
  background: var(--panel-title-bg);
  border-bottom: 1px solid var(--panel-border);
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 800;
  color: #ddd;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.sidebar-block-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Search row */
.search-row { display: flex; gap: 6px; }
.search-input {
  flex: 1;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  padding: 8px 12px;
  height: 38px;
  outline: none;
  transition: border-color 0.15s;
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: #555; }
.search-btn {
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
  height: 38px;
  white-space: nowrap;
  transition: background 0.15s;
}
.search-btn:hover { background: var(--accent-hover); }

/* Color picker row */
.color-pick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.color-pick-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.theme-color-picker {
  width: 36px;
  height: 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px;
  background: transparent;
}

/* Category list */
.category-list { padding: 6px 0; }
.cat-item {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  min-height: 48px;
  gap: 10px;
}
.cat-item:hover {
  background: var(--row-hover);
  color: #eee;
}
.cat-item.active {
  border-left-color: var(--accent);
  color: #fff;
  background: rgba(198, 40, 40, 0.12);
  font-weight: 700;
}
.cat-thumb {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.content-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Marquee */
.marquee-bar {
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}
.marquee-inner {
  display: inline-block;
  padding-right: 60px;
  font-size: 13px;
  font-weight: 600;
  animation: marqueeScroll 22s linear infinite;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Content header */
.content-header {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 14px 20px;
}
.content-title {
  font-size: 16px;
  font-weight: 800;
  color: #eee;
  letter-spacing: 0.2px;
}

/* ============================================================
   PRODUCT TABLE
   ============================================================ */
.product-table-wrap {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.product-table {
  width: 100%;
  border-collapse: collapse;
}
.product-table thead tr {
  background: var(--panel-title-bg);
  border-bottom: 1px solid var(--panel-border);
}
.product-table th {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #aaa;
  text-align: left;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.product-table td {
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text);
  vertical-align: middle;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.product-table tbody tr:last-child td { border-bottom: none; }
.product-table tbody tr:hover { background: var(--row-hover); }

/* Column widths */
.col-name  { width: auto; }
.col-price { width: 120px; }
.col-stock { width: 108px; }
.col-action{ width: 100px; }

/* Product name cell */
.prod-info { display: flex; align-items: center; gap: 10px; }
.prod-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #2a2a2a;
}
.prod-name {
  font-size: 14px;
  font-weight: 700;
  color: #e0e0e0;
  line-height: 1.4;
}
.prod-cat {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Price */
.td-price {
  font-size: 15px;
  font-weight: 800;
  color: #ffd54f;
}
.td-price .currency { font-size: 12px; font-weight: 600; }

/* Stock badge */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.stock-ok  { background: rgba(52,211,153,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.stock-out { background: rgba(239,68,68,0.15);  color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.stock-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stock-ok  .stock-dot { background: #34d399; }
.stock-out .stock-dot { background: #ef4444; }

/* Detail button */
.btn-detail {
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn-detail:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-detail:disabled {
  background: #333;
  color: #666;
  transform: none;
  cursor: not-allowed;
}

/* Empty table */
.table-empty { text-align: center; padding: 40px !important; }
.empty-hint { color: var(--text-muted); font-size: 15px; }

/* ============================================================
   WHITE FOOTER
   ============================================================ */
.footer {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo {
  font-size: 16px;
  font-weight: 800;
  color: #111;
}
.footer-text {
  font-size: 13px;
  color: #666;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 16px;
  animation: fadeIn 0.18s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--modal-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  animation: slideUp 0.2s ease;
}
.modal-wide { max-width: 620px; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #e0e0e0;
}
.modal-close {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #777;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: #2a2a2a; color: #eee; }

.modal-body { padding: 20px; }

/* Form elements */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 5px;
}
.form-group .required { color: var(--accent); }
.input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 7px;
  color: var(--text);
  font-size: 14px;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.15s;
  font-family: var(--font);
}
.input:focus { border-color: var(--accent); }
.input::placeholder { color: #444; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23888' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
textarea.input { resize: vertical; min-height: 80px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.15s, transform 0.1s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-block { width: 100%; display: flex; }
.btn-orange { background: #ea580c; color: #fff; }
.btn-blue   { background: #1d4ed8; color: #fff; }
.btn-green  { background: #059669; color: #fff; }
.btn-gray   { background: #374151; color: #ddd; }
.btn-lg { padding: 12px 28px; font-size: 15px; }

.form-switch-link {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.form-switch-link a { color: #60a5fa; }
.form-switch-link a:hover { text-decoration: underline; }

.help-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ---- Product detail modal ---- */
.prod-detail-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #2a2a2a;
}
.prod-detail-meta {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
}
.prod-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 14px;
  margin-bottom: 8px;
  gap: 12px;
}
.prod-detail-row:last-child { margin-bottom: 0; }
.prod-detail-row span:first-child { color: var(--text-muted); flex-shrink: 0; }
.prod-detail-row span:last-child  { color: var(--text); font-weight: 600; text-align: right; }
.prod-detail-price { color: #ffd54f !important; font-size: 18px !important; font-weight: 800 !important; }

.prod-detail-desc {
  font-size: 13px;
  color: #bbb;
  line-height: 1.75;
  margin-bottom: 16px;
  white-space: pre-wrap;
}
.divider { height: 1px; background: #2a2a2a; margin: 16px 0; }

/* Payment section */
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}
.radio-label input[type=radio] { accent-color: var(--accent); }
.radio-label:hover { border-color: var(--accent); }

/* Payment modal */
.payment-order-info {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.payment-order-info p { font-size: 13px; margin-bottom: 6px; color: #ccc; }
.payment-order-info p:last-child { margin-bottom: 0; }
.payment-order-info strong { color: #ffd54f; font-size: 18px; }

.payment-timer-wrap { text-align: center; margin-bottom: 14px; }
.payment-timer-label { font-size: 12px; color: #888; margin-bottom: 4px; }
.payment-timer {
  font-size: 32px;
  font-weight: 900;
  color: #ef4444;
  font-family: monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}
.payment-timer.timer-urgent { color: #dc2626; animation: timerPulse 1s infinite; }
@keyframes timerPulse { 0%,100% { opacity:1 } 50% { opacity:0.55 } }
.payment-timer-expired { color: #888; font-weight: 700; font-size: 15px; text-align: center; padding: 8px 0; }

.payment-methods { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.payment-qr-block {
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px;
  min-width: 140px;
}
.payment-qr-block p {
  font-size: 13px;
  font-weight: 700;
  color: #ccc;
  margin-bottom: 10px;
}
.payment-qr-block img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}
.payment-usdt {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
  word-break: break-all;
}
.payment-usdt p { font-size: 13px; color: #bbb; margin-bottom: 6px; }
.payment-usdt code { font-family: monospace; color: #67e8f9; font-size: 13px; }

.btn-paid {
  width: 100%;
  padding: 13px;
  background: #059669;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  transition: background 0.15s, transform 0.1s;
  margin-top: 4px;
}
.btn-paid:hover { background: #047857; transform: translateY(-1px); }

/* Order result */
.order-result-box {
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
.order-result-box p { font-size: 13px; color: #ccc; margin-bottom: 6px; }
.order-result-box p:last-child { margin-bottom: 0; }
.order-no-text { font-family: monospace; color: #67e8f9; font-size: 13px; }

.cards-box {
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}
.cards-box p { font-size: 13px; font-weight: 700; color: #aaa; margin-bottom: 10px; }
.card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid #222;
  border-radius: 6px;
  margin-bottom: 6px;
  word-break: break-all;
}
.card-item:last-child { margin-bottom: 0; }
.card-content { font-family: monospace; font-size: 13px; color: #e0e0e0; flex: 1; }
.btn-copy {
  background: #1d4ed8;
  color: #fff;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Query result */
.query-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.status-pending   { background: rgba(251,191,36,0.15); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.status-paid      { background: rgba(99,102,241,0.15);  color: #818cf8; border: 1px solid rgba(99,102,241,0.3); }
.status-completed { background: rgba(52,211,153,0.15);  color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.status-cancelled { background: rgba(239,68,68,0.15);   color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.status-user_paid { background: rgba(251,191,36,0.15); color: #f59e0b; border: 1px solid rgba(251,191,36,0.3); }

/* History modal */
.history-table-wrap { overflow-x: auto; }
.history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.history-table th {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  color: #888;
  text-align: left;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid #2a2a2a;
  text-transform: uppercase;
}
.history-table td {
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.history-table tbody tr:hover { background: var(--row-hover); }
.history-table tbody tr:last-child td { border-bottom: none; }
.btn-view-cards {
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

/* Contact info */
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #222;
  border-radius: 8px;
  font-size: 14px;
}
.contact-icon { font-size: 18px; flex-shrink: 0; }
.contact-label { color: var(--text-muted); font-size: 12px; display: block; margin-bottom: 1px; }
.contact-value { color: var(--text); font-weight: 600; }

/* Loading */
.loading-hint { text-align: center; color: var(--text-muted); padding: 20px; font-size: 14px; }

/* ---- Toast ---- */
#toastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
}
.toast {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  animation: toastIn 0.25s ease;
  max-width: 320px;
}
.toast-success { background: #059669; }
.toast-error   { background: #dc2626; }
.toast-info    { background: #1d4ed8; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .main-layout { flex-direction: column; }
  .sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .sidebar-block { flex: 1; min-width: 240px; }
}
@media (max-width: 600px) {
  .header-inner { gap: 10px; padding: 0 12px; }
  .header-nav { gap: 0; }
  .nav-link { padding: 4px 8px; font-size: 12px; }
  .logo-text { font-size: 16px; }
  .page-wrapper { padding: 12px 12px 28px; }
  .col-price, .col-stock { display: none; }
}
