:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: #eef2ff;
  --emerald: #059669;
  --emerald-bg: #ecfdf5;
  --amber-bg: #fffbeb;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
.hidden { display: none !important; }

/* Crisp Light-Mode Header */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.shop-header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.shop-brand { display: flex; align-items: center; gap: 12px; }
.shop-logo {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}
.shop-title-row { display: flex; align-items: center; gap: 8px; }
.shop-brand h1 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.25px; color: var(--ink); }
.shop-tagline { margin: 1px 0 0; font-size: 12px; color: var(--muted); }
.nm-guarantee {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  padding: 2px 8px; border-radius: 999px;
}

.shop-search-wrap { flex: 1; max-width: 460px; min-width: 210px; }
.shop-search {
  width: 100%;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #f8fafc;
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
  transition: all 0.15s;
}
.shop-search:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.shop-header-right { display: flex; align-items: center; gap: 10px; }
.acct-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: #ffffff; color: #1e293b;
  font-weight: 600; font-size: 13px; cursor: pointer;
  transition: all 0.14s;
}
.acct-trigger:hover { background: #f1f5f9; border-color: #94a3b8; }
.acct-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; }

.acct-prompt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 9px 13px; border-radius: 9px; margin-bottom: 14px;
  background: #eef2ff; border: 1px solid #c7d2fe; font-size: 12.5px; color: #312e81;
}
.acct-prompt.signed { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.link-btn {
  background: none; border: none; color: var(--primary); font-weight: 700; cursor: pointer; padding: 0; font-size: 12.5px; text-decoration: underline;
}

.account-modal {
  background: #fff; border-radius: 14px; width: 100%; max-width: 720px;
  max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}
.acct-body { padding: 18px 22px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.acct-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.acct-tab {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: #f8fafc; color: #475569; font-weight: 700; font-size: 13px; cursor: pointer;
}
.acct-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.acct-form { display: flex; flex-direction: column; gap: 10px; }
.member-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #f8fafc; border: 1px solid var(--border); border-radius: 10px;
}
.btn-signout {
  background: #fff; color: var(--danger); border: 1px solid #fecaca;
  padding: 6px 12px; border-radius: 7px; font-weight: 700; font-size: 12px; cursor: pointer;
}
.btn-signout:hover { background: #fef2f2; }
.purchases-list { display: flex; flex-direction: column; gap: 12px; }
.purchase-card {
  border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px; background: #fff;
}
.purchase-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 8px;
}
.purchase-num { font-weight: 800; font-size: 14.5px; }
.purchase-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.purchase-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.purchase-line img { width: 28px; height: 39px; object-fit: cover; border-radius: 3px; border: 1px solid var(--border); }
.purchase-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); border-top: 1px solid #f1f5f9; padding-top: 7px; }

.cart-trigger {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary); color: #fff;
  font-weight: 700; font-size: 13.5px; cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25);
}
.cart-trigger:hover { background: var(--primary-hover); }
.cart-badge {
  background: #fff; color: var(--primary-hover);
  font-size: 11.5px; font-weight: 800;
  padding: 1px 7px; border-radius: 999px;
}
.cart-sub { font-size: 12.5px; opacity: 0.94; }

/* Light Game Tabs Strip */
.shop-tabs-bar {
  background: #f8fafc;
  border-top: 1px solid var(--border);
}
.shop-tabs-inner {
  max-width: 1380px; margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; gap: 6px; overflow-x: auto;
}
.shop-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid transparent; background: transparent;
  color: #475569; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: all 0.14s;
}
.shop-tab:hover { background: #eef2ff; color: #312e81; }
.shop-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.24);
}
.shop-tab-cnt { font-size: 11px; opacity: 0.8; }

/* Main Catalog */
.shop-main {
  max-width: 1380px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
}
.shop-results-count { font-weight: 600; color: var(--muted); }
.shop-filters { display: flex; gap: 8px; }
.shop-select {
  padding: 7px 11px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: #fff; color: var(--ink);
  font-size: 13px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.shop-empty {
  grid-column: 1 / -1; text-align: center;
  padding: 60px 20px; color: var(--muted); font-size: 15px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.11);
  border-color: #a5b4fc;
}
.product-img-box {
  position: relative; height: 245px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e7edf6 100%);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 12px; cursor: zoom-in;
}
.product-img-box img {
  max-height: 100%; max-width: 100%; object-fit: contain;
  border-radius: 6px; box-shadow: 0 8px 18px rgba(15, 23, 42, 0.20);
}
.game-pill {
  position: absolute; top: 8px; left: 8px;
  background: rgba(255, 255, 255, 0.94); color: #1e293b;
  border: 1px solid #cbd5e1;
  font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.nm-corner {
  position: absolute; top: 8px; right: 8px;
  background: #059669; color: #fff;
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 4px;
}
.product-body {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.product-name {
  font-weight: 700; font-size: 14px; line-height: 1.25; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-tags { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 2px; }
.finish-tag {
  background: #f5f3ff; color: #5b21b6; border: 1px solid #ddd6fe;
  font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 4px;
}
.stock-tag { font-size: 11.5px; color: var(--emerald); font-weight: 600; }
.product-foot {
  margin-top: auto; padding-top: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-top: 1px solid #f1f5f9;
}
.product-price { font-size: 17px; font-weight: 800; color: #0f172a; }
.btn-add-cart {
  background: var(--primary); color: #fff; border: none;
  padding: 7px 12px; border-radius: 8px; font-weight: 700; font-size: 12.5px;
  cursor: pointer; transition: background 0.14s;
}
.btn-add-cart:hover:not(:disabled) { background: var(--primary-hover); }
.btn-add-cart:disabled { background: #cbd5e1; color: #64748b; cursor: not-allowed; }

/* Cart Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(2px);
  display: flex; justify-content: flex-end;
}
.cart-drawer {
  width: 100%; max-width: 430px; height: 100%;
  background: #fff; display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.16);
}
.drawer-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border); background: #f8fafc;
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-head h3 { margin: 0; font-size: 17px; }
.icon-close { background: none; border: none; font-size: 26px; color: var(--muted); cursor: pointer; line-height: 1; }
.icon-close:hover { color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: flex; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.cart-item img { width: 48px; height: 66px; object-fit: cover; border-radius: 5px; border: 1px solid var(--border); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 13.5px; }
.cart-item-meta { font-size: 11.5px; color: var(--muted); }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 6px; overflow: hidden; }
.qty-box button { width: 26px; height: 26px; border: none; background: #f8fafc; cursor: pointer; font-weight: 700; }
.qty-box button:hover { background: #e2e8f0; }
.qty-box span { min-width: 28px; text-align: center; font-weight: 700; font-size: 13px; }
.btn-remove { background: none; border: none; color: var(--danger); font-size: 12px; cursor: pointer; font-weight: 600; }

.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--border); background: #f8fafc; }
.cart-summary-line { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 6px; }
.drawer-note { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.btn-checkout {
  width: 100%; padding: 12px 16px; border-radius: 9px; border: none;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14.5px;
  cursor: pointer; transition: background 0.15s;
}
.btn-checkout:hover:not(:disabled) { background: var(--primary-hover); }
.btn-checkout:disabled { background: #cbd5e1; color: #64748b; cursor: not-allowed; }

/* Checkout Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.checkout-modal {
  background: #fff; border-radius: 14px; width: 100%; max-width: 980px;
  max-height: 92vh; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}
.modal-head {
  padding: 16px 22px; border-bottom: 1px solid var(--border); background: #f8fafc;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-head h2 { margin: 0; font-size: 19px; }

.checkout-grid {
  display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 22px;
  padding: 20px 22px; overflow-y: auto;
}
@media (max-width: 820px) { .checkout-grid { grid-template-columns: 1fr; } }

.checkout-section { margin-bottom: 20px; }
.checkout-section h4 { margin: 0 0 10px; font-size: 15px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.checkout-section h5 { margin: 12px 0 8px; font-size: 13.5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.field span { font-size: 12px; font-weight: 600; color: #334155; }
.inp {
  padding: 9px 11px; border-radius: 7px; border: 1px solid var(--border-strong);
  font-size: 13.5px; width: 100%; outline: none;
}
.inp:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12); }

.option-list { display: flex; flex-direction: column; gap: 8px; }
.choice-card {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 13px; border: 1.5px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: border-color 0.14s, background 0.14s;
}
.choice-card:hover { border-color: #a5b4fc; }
.choice-card.selected { border-color: var(--primary); background: var(--primary-soft); }
.choice-card.disabled { opacity: 0.55; cursor: not-allowed; background: #f8fafc; }
.choice-card input[type="radio"] { margin-top: 3px; }
.choice-main { flex: 1; }
.choice-title { font-weight: 700; font-size: 13.5px; }
.choice-desc { font-size: 12px; color: var(--muted); }
.choice-price { font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.free-badge { color: var(--emerald); }
.stripe-badge {
  display: inline-block; background: #635bff; color: #fff;
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 6px; letter-spacing: 0.3px;
}
.card-brands { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.card-brand-pill {
  background: #f1f5f9; border: 1px solid #cbd5e1; color: #334155;
  font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px;
}

.info-callout {
  margin-top: 10px; padding: 10px 13px; border-radius: 8px;
  background: var(--emerald-bg); border: 1px solid #a7f3d0; color: #065f46; font-size: 12.5px;
}
.muted-sm { font-size: 12px; opacity: 0.85; margin-top: 3px; }
.address-block { margin-top: 10px; padding: 12px; background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; }

.order-summary-card {
  background: #f8fafc; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; position: sticky; top: 0;
}
.order-summary-card h4 { margin: 0 0 12px; font-size: 15px; }
.summary-items { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sum-item { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.sum-item-name { font-weight: 600; }
.summary-totals { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; }
.sum-grand { border-top: 2px solid #0f172a; padding-top: 8px; margin-top: 4px; font-size: 17px; font-weight: 800; }
.error-box { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 7px; padding: 9px 11px; font-size: 12.5px; margin-bottom: 10px; }
.secure-note { font-size: 11.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* Order Confirmation */
.confirm-view { padding: 34px 28px; text-align: center; overflow-y: auto; }
.confirm-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px;
  background: #dcfce7; color: #059669; font-size: 28px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.confirm-num { font-size: 16px; margin: 4px 0 10px; }
.confirm-badge-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.conf-pill { background: var(--primary-soft); color: #3730a3; border: 1px solid #c7d2fe; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.confirm-msg { color: #334155; max-width: 540px; margin: 0 auto 16px; }
.confirm-details { max-width: 540px; margin: 0 auto; text-align: left; background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 14px; font-size: 13px; }

/* Lightbox & Toasts */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 42, 0.78); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox-inner { text-align: center; }
.lightbox-inner img { max-height: 80vh; max-width: 85vw; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.lightbox-cap { color: #fff; margin-top: 10px; font-weight: 600; }

.toast-stack { position: fixed; bottom: 18px; right: 18px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #ffffff; color: #0f172a; padding: 11px 15px; border-radius: 9px; font-size: 13px;
  border: 1px solid var(--border-strong); box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  border-left: 4px solid var(--primary); font-weight: 500;
}
.toast.ok { border-left-color: #059669; }
.toast.err { border-left-color: #dc2626; }

/* Navigation Pills & Buylist Extension */
.shop-nav-links { display: flex; gap: 6px; align-items: center; background: #f1f5f9; padding: 4px; border-radius: 999px; border: 1px solid var(--border); }
.nav-pill {
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: #475569; text-decoration: none; border: 1px solid transparent; transition: 0.14s;
  white-space: nowrap;
}
.nav-pill:hover { background: #ffffff; color: #0f172a; }
.nav-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25); }
.bl-trigger { background: #059669; border-color: #059669; box-shadow: 0 2px 10px rgba(5, 150, 105, 0.24); }
.bl-trigger:hover { background: #047857; }
.bl-trigger .cart-badge { color: #047857; }

.bl-hero {
  background: #fff; border: 1px solid var(--border); border-top: 4px solid #059669;
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.bl-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.bl-hero h2 { margin: 0 0 4px; font-size: 20px; }
.bl-hero p { margin: 0; color: var(--muted); max-width: 760px; }
.btn-policy-toggle {
  background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
  padding: 8px 13px; border-radius: 8px; font-weight: 700; font-size: 12.5px; cursor: pointer;
}
.btn-policy-toggle:hover { background: #d1fae5; }
.bl-policy-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
}
.policy-card { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; }
.policy-card h4 { margin: 0 0 6px; font-size: 13.5px; color: #065f46; }
.policy-card p { margin: 0; color: #334155; }
.policy-meta { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--border); color: #0f172a; font-size: 12px; }

.bl-search-bar { display: flex; gap: 10px; margin-bottom: 14px; }
.bl-search-grid { display: grid; grid-template-columns: 1fr 290px auto; gap: 10px; }
@media (max-width: 820px) { .bl-search-grid { grid-template-columns: 1fr; } }
.bl-set-select {
  padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--border-strong);
  font-size: 13.5px; background: #fff; color: var(--ink); outline: none;
}
.bl-set-select:focus { border-color: #059669; box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14); }
.bl-search-input {
  flex: 1; padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--border-strong);
  font-size: 14.5px; background: #fff; outline: none;
}
.bl-search-input:focus { border-color: #059669; box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14); }
.btn-bl-search {
  padding: 12px 22px; border-radius: 10px; border: none; background: #059669; color: #fff;
  font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.btn-bl-search:hover:not(:disabled) { background: #047857; }
.policy-agree-box {
  display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 9px; font-size: 12.5px; cursor: pointer;
}

/* Quick Staff Portal Access Link on Customer Storefront */
.staff-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: #f8fafc; color: #475569;
  font-size: 12px; font-weight: 700; text-decoration: none;
  transition: all 0.14s; white-space: nowrap;
}
.staff-link-btn:hover { background: #eef2ff; border-color: #a5b4fc; color: #3730a3; }
.staff-link-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.shop-footer {
  margin-top: 28px; border-top: 1px solid var(--border); background: #ffffff;
}
.shop-footer-inner {
  max-width: 1380px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: var(--muted);
}
.shop-footer-inner a { color: #475569; text-decoration: none; font-weight: 600; }
.shop-footer-inner a:hover { color: var(--primary); text-decoration: underline; }
.shop-footer-inner a.footer-staff-link { color: var(--primary); font-weight: 700; }

/* Live Demo Mode Banner */
.demo-ribbon {
  background: linear-gradient(90deg, #4338ca 0%, #6d28d9 50%, #4f46e5 100%);
  color: #ffffff;
  text-align: center;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
