/* ==========================================================================
   ShopSphere — Design System
   ========================================================================== */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #eef2ff;
  --accent: #7c3aed;
  --dark: #0f172a;
  --sidebar: #111827;
  --text: #1e293b;
  --muted: #64748b;
  --faint: #94a3b8;
  --bg: #f6f7fb;
  --card: #ffffff;
  --border: #e5e9f2;
  --success: #059669;
  --success-soft: #ecfdf5;
  --warning: #b45309;
  --warning-soft: #fffbeb;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --info: #0369a1;
  --info-soft: #eff6ff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 24px 48px -16px rgba(79, 70, 229, .25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ------------------------------- Navbar -------------------------------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--dark); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 18px; box-shadow: 0 6px 14px -6px rgba(79,70,229,.6);
}
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: all .15s ease;
}
.nav-links a:hover { color: var(--dark); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--danger); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center; border: 2px solid #fff;
}

/* ------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s ease;
  white-space: nowrap; text-align: center;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 8px 18px -8px rgba(79,70,229,.65); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(79,70,229,.7); }
.btn-outline { background: #fff; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: #fee2e2; }
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-lg { padding: 13px 26px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* -------------------------------- Hero --------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 45%, #7c3aed 100%);
  border-radius: 0 0 32px 32px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; opacity: .18; background: #fff;
}
.hero::before { width: 420px; height: 420px; top: -180px; right: -80px; }
.hero::after { width: 260px; height: 260px; bottom: -140px; left: 8%; }
.hero-inner { position: relative; z-index: 1; padding: 72px 0 84px; max-width: 640px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.hero p { margin-top: 16px; font-size: 17px; color: #e0e7ff; max-width: 520px; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-white { background: #fff; color: var(--primary); }
.hero .btn-white:hover { transform: translateY(-1px); }
.hero .btn-ghosty { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-ghosty:hover { background: rgba(255,255,255,.24); }

/* ------------------------------ Sections ------------------------------- */
.section { padding: 44px 0 10px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-title { font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: var(--dark); }
.section-sub { color: var(--muted); font-size: 14px; margin-top: 3px; }
.link-more { color: var(--primary); font-weight: 600; font-size: 14px; }
.link-more:hover { text-decoration: underline; }

/* ----------------------------- Categories ------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 14px; text-align: center; transition: all .18s ease; box-shadow: var(--shadow);
}
.cat-card:hover { transform: translateY(-3px); border-color: #c7d2fe; box-shadow: var(--shadow-lg); }
.cat-card .emoji { font-size: 30px; }
.cat-card .name { font-weight: 700; font-size: 14px; margin-top: 8px; color: var(--dark); }
.cat-card .count { font-size: 12px; color: var(--muted); }

/* ------------------------------- Products ------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .18s ease; box-shadow: var(--shadow);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.product-thumb {
  height: 170px; display: grid; place-items: center; font-size: 58px; position: relative;
}
.g0 { background: linear-gradient(135deg,#eef2ff,#e0e7ff); } .g1 { background: linear-gradient(135deg,#fdf2f8,#fce7f3); }
.g2 { background: linear-gradient(135deg,#ecfeff,#cffafe); } .g3 { background: linear-gradient(135deg,#f0fdf4,#dcfce7); }
.g4 { background: linear-gradient(135deg,#fffbeb,#fef3c7); } .g5 { background: linear-gradient(135deg,#faf5ff,#f3e8ff); }
.thumb-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(17,24,39,.82); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.stock-out-badge { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.55); backdrop-filter: blur(2px); font-weight: 800; color: var(--danger); letter-spacing: .04em; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--primary); }
.product-name { font-weight: 700; font-size: 15px; color: var(--dark); line-height: 1.35; }
.product-name a:hover { color: var(--primary); }
.product-desc { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.price { font-weight: 800; font-size: 17px; color: var(--dark); }
.price small { font-weight: 500; color: var(--faint); font-size: 11px; }

/* -------------------------------- Chips -------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: var(--primary-soft); color: var(--primary);
  border: 1px solid #e0e7ff; cursor: pointer; transition: all .15s ease;
}
.chip:hover { background: #e0e7ff; }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* -------------------------------- Badges ------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-pending    { background: var(--warning-soft); color: var(--warning); }
.badge-processing { background: var(--info-soft);    color: var(--info); }
.badge-shipped    { background: #f5f3ff;             color: #6d28d9; }
.badge-delivered  { background: var(--success-soft); color: var(--success); }
.badge-cancelled  { background: var(--danger-soft);  color: var(--danger); }
.badge-active     { background: var(--success-soft); color: var(--success); }
.badge-inactive   { background: #f1f5f9;             color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* -------------------------------- Forms -------------------------------- */
.input, select.input, textarea.input {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text); background: #fff; outline: none;
  transition: border .15s ease, box-shadow .15s ease;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
textarea.input { resize: vertical; min-height: 90px; }
.label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.search-bar { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.checkbox-row { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; }
.checkbox-row input { width: 17px; height: 17px; accent-color: var(--primary); }

/* -------------------------------- Alerts ------------------------------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.alert-success { background: var(--success-soft); color: var(--success); border: 1px solid #a7f3d0; }
.alert-error   { background: var(--danger-soft);  color: var(--danger);  border: 1px solid #fecaca; }
.alert-info    { background: var(--info-soft);    color: var(--info);    border: 1px solid #bfdbfe; }

/* -------------------------------- Cards -------------------------------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 22px; }
.card-head { padding: 16px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title { font-weight: 700; font-size: 15.5px; color: var(--dark); }

/* -------------------------------- Tables ------------------------------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; padding: 11px 16px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); background: #f8fafc; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #fafbff; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--muted); }

/* ------------------------------- Pagination ---------------------------- */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 20px 0 8px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 10px; border-radius: 9px; border: 1px solid var(--border); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .disabled span { opacity: .45; cursor: default; }

/* -------------------------------- Footer ------------------------------- */
.footer { margin-top: 64px; background: var(--dark); color: #cbd5e1; padding: 40px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer a { display: block; font-size: 14px; padding: 3px 0; color: #94a3b8; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid #1e293b; font-size: 13px; color: #64748b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ------------------------------ Product detail ------------------------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.pdp-thumb { height: 400px; border-radius: 20px; display: grid; place-items: center; font-size: 130px; border: 1px solid var(--border); }
.pdp-info h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: var(--dark); line-height: 1.2; }
.pdp-price { font-size: 30px; font-weight: 800; color: var(--primary); margin: 14px 0; }
.pdp-desc { color: var(--muted); font-size: 15px; }
.qty-input { width: 86px; text-align: center; }
.meta-list { margin-top: 18px; border-top: 1px dashed var(--border); padding-top: 14px; font-size: 13.5px; color: var(--muted); display: grid; gap: 6px; }

/* --------------------------------- Cart -------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 74px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-thumb { width: 74px; height: 74px; border-radius: 12px; display: grid; place-items: center; font-size: 30px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 7px 0; color: var(--muted); }
.summary-row.total { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 800; color: var(--dark); }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .big { font-size: 52px; }
.empty-state h3 { margin: 12px 0 6px; color: var(--dark); }
.empty-state p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }

/* ------------------------------- Auth page ----------------------------- */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 0; }
.auth-card { width: min(430px, 92%); }
.auth-brand { text-align: center; margin-bottom: 22px; }
.hint-box { margin-top: 16px; background: var(--primary-soft); border: 1px dashed #c7d2fe; color: #4338ca; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; }

/* ------------------------------ Admin layout --------------------------- */
.admin-shell { display: flex; min-height: 100vh; background: var(--bg); }
.admin-sidebar {
  width: 250px; flex-shrink: 0; background: var(--sidebar); color: #cbd5e1;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.admin-logo { display: flex; align-items: center; gap: 10px; padding: 20px 20px 16px; color: #fff; font-weight: 800; font-size: 17px; }
.admin-nav { padding: 8px 12px; display: grid; gap: 3px; overflow-y: auto; }
.admin-nav .group-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: #475569; padding: 14px 10px 6px; font-weight: 700; }
.admin-nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: #94a3b8; transition: all .14s ease;
}
.admin-nav a:hover { background: #1f2937; color: #e2e8f0; }
.admin-nav a.active { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 8px 16px -8px rgba(79,70,229,.7); }
.admin-nav .ico { width: 21px; text-align: center; font-size: 15px; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  height: 64px; background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 26px; position: sticky; top: 0; z-index: 40;
}
.admin-topbar h1 { font-size: 18px; font-weight: 800; color: var(--dark); letter-spacing: -.01em; }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.admin-content { padding: 26px; flex: 1; }

/* ------------------------------- Stat cards ---------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--primary-soft); opacity: .7; }
.stat-label { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 27px; font-weight: 800; color: var(--dark); margin-top: 4px; letter-spacing: -.02em; }
.stat-hint { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.stat-ico { position: relative; z-index: 1; float: right; font-size: 22px; }

/* ------------------------------- Mini chart ---------------------------- */
.bar-chart { display: flex; align-items: flex-end; gap: 12px; height: 160px; padding: 10px 4px 0; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; max-width: 44px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #818cf8, var(--primary)); min-height: 4px; transition: height .3s ease; }
.bar-col .val { font-size: 11px; font-weight: 700; color: var(--muted); }
.bar-col .lbl { font-size: 11px; color: var(--faint); }

/* ------------------------------ Chat / Assistant ----------------------- */
.chat-shell { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.chat-window { display: flex; flex-direction: column; height: calc(100vh - 210px); min-height: 480px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 16px; background: #f8fafc; border-radius: var(--radius) var(--radius) 0 0; }
.msg { display: flex; gap: 10px; max-width: 88%; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.msg.bot .msg-avatar { background: linear-gradient(135deg,var(--primary),var(--accent)); color: #fff; }
.msg.user .msg-avatar { background: #e2e8f0; }
.msg-bubble { padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.msg.bot .msg-bubble { background: #fff; border: 1px solid var(--border); border-top-left-radius: 5px; box-shadow: var(--shadow); }
.msg.user .msg-bubble { background: linear-gradient(135deg,var(--primary),var(--accent)); color: #fff; border-top-right-radius: 5px; box-shadow: 0 8px 18px -8px rgba(79,70,229,.6); }
.msg-bubble strong { font-weight: 700; }
.msg-bubble code { background: #f1f5f9; padding: 1px 6px; border-radius: 5px; font-size: 12.5px; font-family: ui-monospace, Menlo, monospace; color: var(--primary-dark); }
.msg.user .msg-bubble code { background: rgba(255,255,255,.2); color: #fff; }
.tool-trace { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tool-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; padding: 3px 10px; border-radius: 999px;
}
.tool-pill.fail { background: var(--danger-soft); color: var(--danger); border-color: #fecaca; }
.typing-dots { display: inline-flex; gap: 4px; padding: 6px 2px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .2s; } .typing-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }
.chat-input { display: flex; gap: 10px; padding: 14px; background: #fff; border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius) var(--radius); }
.chat-input input { flex: 1; }
.suggest-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.side-panel { display: grid; gap: 16px; }
.tool-list { display: grid; gap: 8px; max-height: 380px; overflow-y: auto; }
.tool-item { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: #fbfcff; }
.tool-item code { font-size: 12px; font-weight: 700; color: var(--primary); font-family: ui-monospace, Menlo, monospace; }
.tool-item p { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.engine-note { font-size: 12px; color: var(--muted); background: var(--warning-soft); border: 1px dashed #fde68a; padding: 10px 12px; border-radius: 10px; line-height: 1.5; }

/* ------------------------------ Misc helpers --------------------------- */
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 14px; } .mt-4 { margin-top: 20px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 14px; } .mb-4 { margin-bottom: 20px; }
.text-muted { color: var(--muted); } .text-sm { font-size: 13px; } .font-bold { font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.w-full { width: 100%; }
.page-flash { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 90; width: min(480px, 92%); }

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 960px) {
  .pdp, .cart-layout, .chat-shell, .grid-2 { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-inner { padding: 52px 0 62px; }
}
