/* =========================================================
   CWShop v2 — Complete Stylesheet
   Matches CWFMS design language (Syne + DM Sans, dark premium)
   All classes prefixed sh- to avoid collisions
   ========================================================= */

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

:root {
  --sh-bg:        #07090f;
  --sh-surface:   #0e1120;
  --sh-surface2:  #141729;
  --sh-surface3:  #1a1f35;
  --sh-border:    rgba(255,255,255,0.07);
  --sh-border-hi: rgba(255,255,255,0.13);
  --sh-text:      #e8eaf4;
  --sh-muted:     rgba(232,234,244,0.55);
  --sh-muted2:    rgba(232,234,244,0.35);
  --sh-accent:    #6c5ce7;
  --sh-accent2:   #00cec9;
  --sh-gold:      #ffd166;
  --sh-danger:    #ef4444;
  --sh-success:   #22c55e;
  --sh-warning:   #f59e0b;
  --sh-radius:    20px;
  --sh-radius-sm: 12px;
  --sh-radius-xs: 8px;
  --sh-shadow:    0 20px 60px rgba(0,0,0,0.5);
  --sh-shadow-sm: 0 8px 30px rgba(0,0,0,0.3);
  --sh-container: 1020px;
  --sh-admin-w:   1100px;
  --sh-font:      'DM Sans', system-ui, -apple-system, sans-serif;
  --sh-font-head: 'Syne', system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--sh-bg); color: var(--sh-text);
  font-family: var(--sh-font); font-weight: 300;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; min-height: 100vh;
}
body::before {
  content:''; position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity:.024; pointer-events:none; z-index:0;
}
a { text-decoration:none; color:var(--sh-accent2); }
a:hover { text-decoration:underline; }

/* --- AURORA --- */
.sh-aurora { position:fixed; inset:0; pointer-events:none; z-index:0; overflow:hidden; }
.sh-aurora__blob { position:absolute; border-radius:50%; filter:blur(120px); animation:shDrift 20s ease-in-out infinite alternate; }
.sh-aurora__blob:nth-child(1) { width:700px;height:500px;background:rgba(108,92,231,.16);top:-10%;left:-10%;animation-duration:20s }
.sh-aurora__blob:nth-child(2) { width:600px;height:500px;background:rgba(0,206,201,.10);top:20%;right:-15%;animation-duration:25s;animation-delay:-8s }
.sh-aurora__blob:nth-child(3) { width:500px;height:400px;background:rgba(255,209,102,.06);bottom:-5%;left:30%;animation-duration:22s;animation-delay:-14s }
@keyframes shDrift { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(40px,30px) scale(1.08)} }

/* --- LAYOUT --- */
.sh-wrap { position:relative; z-index:1; width:min(var(--sh-container), calc(100% - 48px)); margin:0 auto; }
.sh-wrap-admin { position:relative; z-index:1; width:min(var(--sh-admin-w), calc(100% - 48px)); margin:0 auto; }
.sh-main { padding:28px 0 80px; }

/* --- NAV --- */
.sh-nav { position:sticky; top:0; z-index:100; background:rgba(7,9,15,.76); backdrop-filter:blur(20px); border-bottom:1px solid var(--sh-border); }
.sh-nav-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; }
.sh-brand { display:flex; align-items:center; gap:12px; color:var(--sh-text); }
.sh-brand:hover { text-decoration:none; }
.sh-brand-mark { width:34px;height:34px; border-radius:9px; background:linear-gradient(135deg,var(--sh-accent),var(--sh-accent2)); display:flex;align-items:center;justify-content:center; font-family:var(--sh-font-head);font-weight:800;font-size:13px;color:#fff;flex-shrink:0; }
.sh-brand-name { font-family:var(--sh-font-head);font-weight:700;font-size:1rem; }
.sh-brand-tag  { font-size:.75rem;color:var(--sh-muted); }
.sh-nav-links  { display:flex;align-items:center;gap:4px; }
.sh-nav-link   { font-size:.86rem;color:var(--sh-muted);padding:7px 14px;border-radius:var(--sh-radius-sm);transition:color .2s,background .2s; }
.sh-nav-link:hover { color:var(--sh-text);background:rgba(255,255,255,.05);text-decoration:none; }
.sh-nav-link.active { color:var(--sh-text); }

/* --- ADMIN NAV --- */
.sh-admin-topbar { background:rgba(7,9,15,.9); border-bottom:1px solid var(--sh-border); padding:10px 0; position:sticky;top:0;z-index:100; }
.sh-admin-topbar-inner { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap;position:relative; }
.sh-admin-brand { font-family:var(--sh-font-head);font-weight:800;font-size:.95rem;color:var(--sh-text);display:flex;align-items:center;gap:8px;flex-shrink:0; }
.sh-admin-brand-pill { background:linear-gradient(135deg,var(--sh-accent),var(--sh-accent2));padding:3px 10px;border-radius:99px;font-size:.72rem;color:#fff; }
.sh-admin-nav { display:flex;gap:4px;flex-wrap:wrap; }
.sh-admin-nav a { font-size:.82rem;color:var(--sh-muted);padding:6px 12px;border-radius:var(--sh-radius-xs);transition:color .2s,background .2s; }
.sh-admin-nav a:hover,.sh-admin-nav a.active { color:var(--sh-text);background:rgba(255,255,255,.06);text-decoration:none; }
.sh-admin-main { padding:24px 0 60px; }
/* Admin hamburger button — hidden on desktop */
.sh-admin-hamburger { display:none;flex-direction:column;justify-content:center;gap:5px;width:36px;height:36px;background:rgba(255,255,255,.06);border:1px solid var(--sh-border-hi);border-radius:var(--sh-radius-xs);cursor:pointer;padding:8px;flex-shrink:0;transition:background .2s; }
.sh-admin-hamburger:hover { background:rgba(255,255,255,.1); }
.sh-admin-hamburger span { display:block;height:2px;background:var(--sh-text);border-radius:2px;transform-origin:center;transition:transform .25s,opacity .2s,width .2s; }
.sh-admin-hamburger.sh-admin-hamburger-open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.sh-admin-hamburger.sh-admin-hamburger-open span:nth-child(2) { opacity:0;width:0; }
.sh-admin-hamburger.sh-admin-hamburger-open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
@media(max-width:1100px) {
  .sh-admin-hamburger { display:flex; }
  .sh-admin-nav { display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background:rgba(7,9,15,.98);border-bottom:1px solid var(--sh-border-hi);backdrop-filter:blur(20px);padding:8px 0 12px;z-index:200;margin-top:10px; }
  .sh-admin-nav.sh-admin-nav-open { display:flex; }
  .sh-admin-nav a { padding:11px 20px;border-radius:0;font-size:.92rem;border-bottom:1px solid var(--sh-border);width:100%; }
  .sh-admin-nav a:last-child { border-bottom:none; }
}

/* --- CARDS --- */
.sh-card { background:var(--sh-surface);border:1px solid var(--sh-border);border-radius:var(--sh-radius);box-shadow:var(--sh-shadow-sm); }
.sh-card-pad { padding:24px 28px; }
.sh-card-sm { padding:16px 20px; }

/* --- BUTTONS --- */
.sh-btn {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 22px;border-radius:var(--sh-radius-sm);border:none;cursor:pointer;
  font-family:var(--sh-font);font-size:.92rem;font-weight:500;
  color:#fff; background:linear-gradient(135deg,var(--sh-accent),color-mix(in srgb,var(--sh-accent2) 55%,var(--sh-accent)));
  box-shadow:0 0 24px rgba(108,92,231,.28);
  transition:filter .2s,transform .15s,opacity .2s;text-decoration:none;width:100%;
}
.sh-btn:hover { filter:brightness(1.1);text-decoration:none; }
.sh-btn:active { transform:scale(0.98); }
.sh-btn:disabled { opacity:.5;cursor:not-allowed;filter:none;transform:none; }
.sh-btn-ghost { background:rgba(255,255,255,.04);border:1px solid var(--sh-border-hi);box-shadow:none;color:var(--sh-text); }
.sh-btn-ghost:hover { background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2); }
.sh-btn-danger { background:rgba(239,68,68,.15);border:1px solid rgba(239,68,68,.3);box-shadow:none;color:#f87171; }
.sh-btn-danger:hover { background:rgba(239,68,68,.25); }
.sh-btn-success { background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.3);box-shadow:none;color:#4ade80; }
.sh-btn-success:hover { background:rgba(34,197,94,.22); }
.sh-btn-sm { padding:8px 16px;font-size:.82rem;width:auto; }
.sh-btn-xs { padding:5px 12px;font-size:.76rem;width:auto; }

/* --- BADGES --- */
.sh-badge { display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:99px;font-size:.72rem;font-weight:500; }
.sh-badge-purple { background:rgba(108,92,231,.15);color:#a29bfe;border:1px solid rgba(108,92,231,.25); }
.sh-badge-teal   { background:rgba(0,206,201,.12);color:var(--sh-accent2);border:1px solid rgba(0,206,201,.25); }
.sh-badge-gold   { background:rgba(255,209,102,.12);color:var(--sh-gold);border:1px solid rgba(255,209,102,.25); }
.sh-badge-success{ background:rgba(34,197,94,.1);color:#4ade80;border:1px solid rgba(34,197,94,.25); }
.sh-badge-danger { background:rgba(239,68,68,.1);color:#f87171;border:1px solid rgba(239,68,68,.25); }
.sh-badge-warning{ background:rgba(245,158,11,.1);color:#fbbf24;border:1px solid rgba(245,158,11,.25); }
.sh-badge-blue   { background:rgba(96,165,250,.1);color:#93c5fd;border:1px solid rgba(96,165,250,.25); }
.sh-badge-gray   { background:rgba(255,255,255,.07);color:var(--sh-muted);border:1px solid var(--sh-border-hi); }

/* --- ALERTS --- */
.sh-alert { padding:13px 16px;border-radius:var(--sh-radius-sm);border:1px solid var(--sh-border);background:rgba(255,255,255,.04);font-size:.9rem;line-height:1.55; }
.sh-alert-danger  { border-color:rgba(239,68,68,.4);background:rgba(239,68,68,.07); }
.sh-alert-success { border-color:rgba(34,197,94,.4);background:rgba(34,197,94,.07); }
.sh-alert-warning { border-color:rgba(245,158,11,.4);background:rgba(245,158,11,.07); }
.sh-alert-info    { border-color:rgba(0,206,201,.35);background:rgba(0,206,201,.07); }

/* --- FORMS --- */
.sh-input {
  width:100%;background:rgba(255,255,255,.04);border:1px solid var(--sh-border-hi);
  border-radius:var(--sh-radius-sm);outline:none;padding:11px 14px;
  color:var(--sh-text);font-family:var(--sh-font);font-weight:300;font-size:.95rem;
  transition:border-color .2s,background .2s;
}
.sh-input:focus { border-color:color-mix(in srgb,var(--sh-accent2) 60%,transparent);background:rgba(255,255,255,.06); }
.sh-input::placeholder { color:var(--sh-muted); }
select.sh-input option { background:#0e1120;color:#e8eaf4; }

.sh-field { display:grid;gap:7px; }
.sh-field label { font-size:.86rem;color:var(--sh-muted);font-weight:400; }
.sh-field small  { font-size:.77rem;color:var(--sh-muted); }
.sh-form-row { display:grid;grid-template-columns:1fr 1fr;gap:14px; }
@media(max-width:520px) { .sh-form-row { grid-template-columns:1fr; } }

/* --- TABLE --- */
.sh-table-wrap { overflow-x:auto; }
.sh-table { width:100%;border-collapse:collapse;font-size:.85rem; }
.sh-table th { text-align:left;padding:10px 12px;color:var(--sh-muted);font-size:.73rem;text-transform:uppercase;letter-spacing:.06em;font-weight:500;border-bottom:1px solid var(--sh-border-hi);white-space:nowrap; }
.sh-table td { padding:10px 12px;border-bottom:1px solid var(--sh-border);vertical-align:middle; }
.sh-table tr:last-child td { border-bottom:none; }
.sh-table tr:hover td { background:rgba(255,255,255,.02); }

/* --- STAT CARDS --- */
.sh-stats-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:12px; }
@media(max-width:700px) { .sh-stats-grid { grid-template-columns:repeat(2,1fr); } }
.sh-stat { background:var(--sh-surface2);border:1px solid var(--sh-border);border-radius:14px;padding:18px; }
.sh-stat-label { font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:var(--sh-muted);margin-bottom:7px; }
.sh-stat-val { font-family:var(--sh-font-head);font-size:1.5rem;font-weight:800; }

/* --- TABS --- */
.sh-tabs { display:flex;gap:4px;border-bottom:1px solid var(--sh-border);margin-bottom:24px; }
.sh-tab { padding:10px 18px;font-size:.88rem;color:var(--sh-muted);cursor:pointer;border-bottom:2px solid transparent;transition:color .2s,border-color .2s;background:none;border-top:none;border-left:none;border-right:none;font-family:var(--sh-font); }
.sh-tab:hover { color:var(--sh-text); }
.sh-tab.active { color:var(--sh-text);border-bottom-color:var(--sh-accent); }

/* --- SECTION LABEL --- */
.sh-label { font-size:.75rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--sh-accent2);margin-bottom:8px;display:block; }

/* --- DIVIDER --- */
.sh-divider { height:1px;background:linear-gradient(90deg,transparent,var(--sh-border-hi),transparent);margin:22px 0; }

/* --- FOOTER --- */
.sh-footer { border-top:1px solid var(--sh-border);padding:24px 0 18px;margin-top:40px; }
.sh-footer-inner { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px; }
.sh-footer-copy { font-size:.82rem;color:var(--sh-muted); }
.sh-footer-links { display:flex;gap:18px; }
.sh-footer-links a { font-size:.82rem;color:var(--sh-muted);transition:color .2s; }
.sh-footer-links a:hover { color:var(--sh-text);text-decoration:none; }
.sh-footer-note { font-size:.75rem;color:rgba(232,234,244,.3);text-align:center;margin-top:10px; }

/* =========================================================
   PAGE: STORE / INDEX
   ========================================================= */
.sh-store-hero { padding:52px 0 36px;text-align:center; }
.sh-eyebrow { display:inline-flex;align-items:center;gap:8px;padding:5px 13px;border-radius:99px;background:rgba(108,92,231,.12);border:1px solid rgba(108,92,231,.25);font-size:.75rem;font-weight:500;color:var(--sh-accent2);letter-spacing:.08em;text-transform:uppercase;margin-bottom:18px; }
.sh-eyebrow-dot { width:6px;height:6px;border-radius:50%;background:var(--sh-accent2);animation:shPulse 2s ease-in-out infinite; }
@keyframes shPulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.sh-store-title { font-family:var(--sh-font-head);font-weight:800;font-size:clamp(1.9rem,4vw,2.8rem);letter-spacing:-.03em;margin-bottom:14px; }
.sh-gradient-text { background:linear-gradient(90deg,var(--sh-accent),var(--sh-accent2));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sh-store-desc { color:var(--sh-muted);font-size:1rem;max-width:52ch;margin:0 auto 36px; }

.sh-product-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px; }
.sh-product-card { background:var(--sh-surface);border:1px solid var(--sh-border);border-radius:var(--sh-radius);padding:28px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:border-color .25s,transform .2s; }
.sh-product-card:hover { border-color:var(--sh-border-hi);transform:translateY(-3px); }
.sh-product-card::before { content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(108,92,231,.04),transparent 50%);pointer-events:none; }
.sh-product-icon { width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,rgba(108,92,231,.25),rgba(0,206,201,.18));display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:18px; }
.sh-product-name { font-family:var(--sh-font-head);font-weight:700;font-size:1.1rem;margin-bottom:6px; }
.sh-product-tagline { color:var(--sh-muted);font-size:.88rem;line-height:1.55;margin-bottom:18px; }
.sh-product-price { font-family:var(--sh-font-head);font-weight:800;font-size:1.6rem;margin-bottom:4px; }
.sh-product-price-sub { font-size:.78rem;color:var(--sh-muted);margin-bottom:20px; }
.sh-product-card .sh-btn { margin-top:auto; }

/* =========================================================
   PAGE: PRODUCT DETAIL / CHECKOUT
   ========================================================= */
.sh-product-layout { display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:start;padding:28px 0 60px; }
@media(max-width:740px) { .sh-product-layout { grid-template-columns:1fr; } }

.sh-features-list { list-style:none; }
.sh-features-list li { display:flex;align-items:flex-start;gap:10px;font-size:.9rem;color:var(--sh-muted);padding:8px 0;border-bottom:1px solid var(--sh-border);line-height:1.5; }
.sh-features-list li:last-child { border-bottom:none; }
.sh-features-list li::before { content:'✓';color:var(--sh-accent2);font-size:.8rem;flex-shrink:0;margin-top:2px;font-weight:600; }

.sh-price-box { background:var(--sh-surface);border:1px solid var(--sh-border-hi);border-radius:var(--sh-radius);padding:28px;position:sticky;top:80px;overflow:hidden; }
.sh-price-box::before { content:'';position:absolute;inset:0;background:linear-gradient(160deg,rgba(108,92,231,.07),transparent 50%);pointer-events:none; }
.sh-price-amount { font-family:var(--sh-font-head);font-weight:800;font-size:2.5rem;line-height:1;margin-bottom:4px; }
.sh-price-amount span { font-size:1rem;font-weight:300;color:var(--sh-muted); }
.sh-price-term { font-size:.8rem;color:var(--sh-muted);margin-bottom:20px; }
.sh-meta-row { display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px; }

/* Gateway selector */
.sh-gateway-options { display:grid;gap:10px;margin:16px 0; }
.sh-gateway-option { display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid var(--sh-border-hi);border-radius:var(--sh-radius-sm);cursor:pointer;transition:border-color .2s,background .2s; }
.sh-gateway-option:hover { border-color:rgba(108,92,231,.4);background:rgba(108,92,231,.04); }
.sh-gateway-option.selected { border-color:rgba(108,92,231,.5);background:rgba(108,92,231,.08); }
.sh-gateway-option input[type=radio] { accent-color:var(--sh-accent);width:16px;height:16px;flex-shrink:0; }
.sh-gateway-icon { font-size:18px;flex-shrink:0; }
.sh-gateway-label { font-size:.92rem;font-weight:500;flex:1; }
.sh-gateway-sub { font-size:.76rem;color:var(--sh-muted); }

/* Checkout layout */
.sh-checkout-layout { display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:start;padding:20px 0 60px; }
@media(max-width:740px) { .sh-checkout-layout { grid-template-columns:1fr; } }
.sh-checkout-card { background:var(--sh-surface);border:1px solid var(--sh-border);border-radius:var(--sh-radius);padding:28px; }
.sh-section-title { font-family:var(--sh-font-head);font-weight:800;font-size:1.25rem;margin-bottom:20px; }

.sh-order-summary { background:var(--sh-surface2);border:1px solid var(--sh-border);border-radius:var(--sh-radius-sm);padding:18px;position:sticky;top:80px; }
.sh-order-product { display:flex;align-items:center;gap:14px;margin-bottom:16px; }
.sh-order-icon { width:50px;height:50px;border-radius:10px;background:linear-gradient(135deg,rgba(108,92,231,.3),rgba(0,206,201,.2));display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0; }
.sh-order-name { font-family:var(--sh-font-head);font-weight:700;font-size:.98rem;margin-bottom:4px; }
.sh-order-type { font-size:.78rem;color:var(--sh-muted); }
.sh-order-line { display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-top:1px solid var(--sh-border);font-size:.88rem;color:var(--sh-muted); }
.sh-order-total { font-family:var(--sh-font-head);font-weight:800;font-size:1.1rem;color:var(--sh-text);padding:10px 0;border-top:1px solid var(--sh-border-hi);margin-top:4px;display:flex;justify-content:space-between;align-items:center; }

#payment-element { margin:14px 0 18px; }
.sh-error-msg { color:#f87171;font-size:.85rem;margin-top:8px;display:none; }
.sh-error-msg.visible { display:block; }
.sh-spinner { display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:shSpin .6s linear infinite;vertical-align:middle;margin-right:6px; }
@keyframes shSpin { to { transform:rotate(360deg); } }

/* Trust badges */
.sh-trust-badges { display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:14px; }
.sh-trust-item { display:flex;align-items:center;gap:6px;font-size:.75rem;color:var(--sh-muted); }

/* =========================================================
   PAGE: CONFIRMATION
   ========================================================= */
.sh-confirm-wrap { max-width:640px;margin:40px auto; }
.sh-confirm-icon { width:70px;height:70px;border-radius:50%;margin:0 auto 22px;background:linear-gradient(135deg,rgba(34,197,94,.2),rgba(0,206,201,.15));border:2px solid rgba(34,197,94,.35);display:flex;align-items:center;justify-content:center;font-size:30px; }
.sh-confirm-title { text-align:center;font-size:clamp(1.4rem,3vw,2rem);margin-bottom:8px; }
.sh-confirm-sub   { text-align:center;color:var(--sh-muted);margin-bottom:28px;font-size:.95rem; }
.sh-download-cta { background:linear-gradient(135deg,rgba(108,92,231,.12),rgba(0,206,201,.08));border:1px solid rgba(108,92,231,.3);border-radius:var(--sh-radius);padding:26px;text-align:center;margin-bottom:22px; }
.sh-download-cta h2 { font-size:1.1rem;margin-bottom:8px; }
.sh-download-cta p  { color:var(--sh-muted);font-size:.88rem;margin-bottom:18px; }
.sh-download-btn { display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 30px;border-radius:var(--sh-radius-sm);background:linear-gradient(135deg,var(--sh-accent),color-mix(in srgb,var(--sh-accent2) 55%,var(--sh-accent)));color:#fff;font-family:var(--sh-font-head);font-weight:700;font-size:1rem;box-shadow:0 0 28px rgba(108,92,231,.35);text-decoration:none;transition:filter .2s,transform .15s; }
.sh-download-btn:hover { filter:brightness(1.1);text-decoration:none; }
.sh-download-btn:active { transform:scale(0.98); }

.sh-detail-row { display:flex;justify-content:space-between;align-items:flex-start;padding:9px 0;border-bottom:1px solid var(--sh-border);font-size:.88rem;gap:16px; }
.sh-detail-row:last-child { border-bottom:none; }
.sh-detail-label { color:var(--sh-muted);flex-shrink:0; }
.sh-detail-value { text-align:right;word-break:break-all; }

/* =========================================================
   PAGE: VOLET PENDING
   ========================================================= */
.sh-volet-wrap { max-width:640px;margin:40px auto; }
.sh-volet-box { background:var(--sh-surface);border:1px solid rgba(96,165,250,.3);border-radius:var(--sh-radius);padding:28px; }
.sh-volet-ref { font-family:monospace;font-size:1.2rem;letter-spacing:.1em;color:var(--sh-accent2);background:rgba(0,206,201,.07);border:1px solid rgba(0,206,201,.2);border-radius:var(--sh-radius-xs);padding:12px 16px;text-align:center;margin:14px 0; }

/* =========================================================
   PAGE: CUSTOMER ACCOUNT
   ========================================================= */
.sh-account-layout { display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:start; }
@media(max-width:700px) { .sh-account-layout { grid-template-columns:1fr; } }
.sh-account-sidebar { background:var(--sh-surface);border:1px solid var(--sh-border);border-radius:var(--sh-radius);padding:20px; }
.sh-sidebar-link { display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:var(--sh-radius-xs);font-size:.9rem;color:var(--sh-muted);transition:color .2s,background .2s;text-decoration:none; }
.sh-sidebar-link:hover,.sh-sidebar-link.active { color:var(--sh-text);background:rgba(255,255,255,.05);text-decoration:none; }
.sh-sidebar-link.active { color:var(--sh-accent2); }

.sh-purchase-card { background:var(--sh-surface);border:1px solid var(--sh-border);border-radius:var(--sh-radius);padding:22px;display:flex;align-items:flex-start;gap:16px;transition:border-color .2s; }
.sh-purchase-card:hover { border-color:var(--sh-border-hi); }
.sh-purchase-icon { width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg,rgba(108,92,231,.25),rgba(0,206,201,.18));display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0; }
.sh-purchase-body { flex:1;min-width:0; }
.sh-purchase-name { font-weight:500;font-size:.95rem;margin-bottom:4px; }
.sh-purchase-meta { font-size:.78rem;color:var(--sh-muted);display:flex;gap:12px;flex-wrap:wrap; }
.sh-purchase-actions { display:flex;gap:8px;flex-wrap:wrap;margin-top:12px; }

/* =========================================================
   PAGE: DOWNLOAD
   ========================================================= */
.sh-dl-wrap { max-width:540px;margin:60px auto;text-align:center; }
.sh-dl-icon { font-size:48px;margin-bottom:18px; }

/* =========================================================
   PAGE: LOGIN / REGISTER
   ========================================================= */
.sh-auth-wrap { max-width:420px;margin:40px auto; }
.sh-auth-tabs { display:flex;gap:0;border-bottom:1px solid var(--sh-border);margin-bottom:24px; }
.sh-auth-tab { flex:1;text-align:center;padding:11px;font-size:.9rem;color:var(--sh-muted);cursor:pointer;border-bottom:2px solid transparent;background:none;border-top:none;border-left:none;border-right:none;font-family:var(--sh-font);transition:color .2s,border-color .2s; }
.sh-auth-tab.active { color:var(--sh-text);border-bottom-color:var(--sh-accent); }

/* =========================================================
   ADMIN PANEL
   ========================================================= */
.sh-admin-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:14px; }
@media(max-width:800px) { .sh-admin-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:520px) { .sh-admin-grid { grid-template-columns:1fr; } }

.sh-admin-card { background:var(--sh-surface);border:1px solid var(--sh-border);border-radius:var(--sh-radius);padding:22px;transition:border-color .2s,transform .2s; }
.sh-admin-card:hover { border-color:var(--sh-border-hi);transform:translateY(-2px); }
.sh-admin-card-icon { width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:14px; }
.sh-admin-card-icon.purple { background:rgba(108,92,231,.15); }
.sh-admin-card-icon.teal   { background:rgba(0,206,201,.12); }
.sh-admin-card-icon.gold   { background:rgba(255,209,102,.12); }
.sh-admin-card-title { font-family:var(--sh-font-head);font-weight:700;font-size:1rem;margin-bottom:6px; }
.sh-admin-card-desc { font-size:.82rem;color:var(--sh-muted); }

.sh-settings-section { background:var(--sh-surface);border:1px solid var(--sh-border);border-radius:var(--sh-radius);padding:26px;margin-bottom:16px; }
.sh-settings-title { font-family:var(--sh-font-head);font-weight:700;font-size:1rem;margin-bottom:18px;display:flex;align-items:center;gap:10px; }
.sh-settings-grid { display:grid;gap:14px; }
.sh-settings-grid.cols-2 { grid-template-columns:1fr 1fr; }
@media(max-width:640px) { .sh-settings-grid.cols-2 { grid-template-columns:1fr; } }

.sh-toggle-row { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--sh-border); }
.sh-toggle-row:last-child { border-bottom:none; }
.sh-toggle-label { font-size:.9rem; }
.sh-toggle-sub { font-size:.78rem;color:var(--sh-muted);margin-top:2px; }
.sh-toggle { position:relative;width:38px;height:22px;flex-shrink:0; }
.sh-toggle input { opacity:0;width:0;height:0; }
.sh-toggle-track { position:absolute;inset:0;background:rgba(255,255,255,.1);border-radius:99px;cursor:pointer;transition:background .2s;border:1px solid var(--sh-border-hi); }
.sh-toggle input:checked + .sh-toggle-track { background:var(--sh-accent); }
.sh-toggle-thumb { position:absolute;height:16px;width:16px;left:2px;bottom:2px;background:#fff;border-radius:50%;transition:transform .2s;pointer-events:none; }
.sh-toggle input:checked ~ .sh-toggle-thumb { transform:translateX(16px); }

/* Product list admin */
.sh-product-row { display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--sh-border); }
.sh-product-row:last-child { border-bottom:none; }
.sh-product-row-icon { width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,rgba(108,92,231,.25),rgba(0,206,201,.18));display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0; }
.sh-product-row-body { flex:1;min-width:0; }
.sh-product-row-name { font-weight:500;font-size:.92rem; }
.sh-product-row-meta { font-size:.76rem;color:var(--sh-muted);margin-top:2px; }
.sh-product-row-actions { display:flex;gap:6px; }

/* Monospace order IDs */
.sh-mono { font-family:monospace;color:var(--sh-accent2); }

/* =========================================================
   MISC
   ========================================================= */
.sh-page-header { padding:32px 0 20px; }
.sh-page-title  { font-family:var(--sh-font-head);font-weight:800;font-size:clamp(1.4rem,3vw,2rem);margin-bottom:6px; }
.sh-page-sub    { color:var(--sh-muted);font-size:.95rem; }

.sh-breadcrumb { font-size:.82rem;color:var(--sh-muted);margin-bottom:20px; }
.sh-breadcrumb a { color:var(--sh-muted); }
.sh-breadcrumb a:hover { color:var(--sh-text); }

.sh-empty { text-align:center;padding:48px 24px;color:var(--sh-muted); }
.sh-empty-icon { font-size:36px;margin-bottom:14px; }

@media(max-width:960px) {
  /* Hide links by default on mobile — shown when open */
  .sh-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7,9,15,.98);
    border-bottom: 1px solid var(--sh-border-hi);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    z-index: 200;
  }
  .sh-nav-links.sh-nav-open {
    display: flex;
  }
  .sh-nav-inner {
    position: relative;
    flex-wrap: nowrap;
  }
  .sh-nav-link {
    padding: 12px 24px;
    border-radius: 0;
    font-size: .95rem;
    border-bottom: 1px solid var(--sh-border);
  }
  .sh-nav-link:last-child {
    border-bottom: none;
  }
  /* Hamburger button */
  .sh-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--sh-border-hi);
    border-radius: var(--sh-radius-xs);
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    transition: background .2s;
  }
  .sh-hamburger:hover { background: rgba(255,255,255,.1); }
  .sh-hamburger span {
    display: block;
    height: 2px;
    background: var(--sh-text);
    border-radius: 2px;
    transform-origin: center;
    transition: transform .25s, opacity .2s, width .2s;
  }
  /* Animate to X when open */
  .sh-hamburger-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .sh-hamburger-open span:nth-child(2) { opacity: 0; width: 0; }
  .sh-hamburger-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hide hamburger on desktop */
@media(min-width:961px) {
  .sh-hamburger { display: none; }
}
@media(prefers-reduced-motion:reduce) {
  .sh-aurora__blob,.sh-eyebrow-dot,.sh-spinner { animation:none; }
}
