/* =========================================================
   PICKLE3D — Design System
   Dark industrial / molten filament aesthetic
   ========================================================= */

:root {
  /* surfaces */
  --bg: #0a0a0c;
  --bg-2: #101014;
  --surface: #141419;
  --surface-2: #1b1b21;
  --border: #26262e;
  --border-2: #34343f;

  /* ink */
  --text: #ededf2;
  --muted: #93939f;
  --faint: #8a8a95;

  /* brand — molten */
  --accent: #ff4d14;
  --accent-hot: #ff8a3d;
  --accent-dim: rgba(255, 77, 20, 0.14);
  --line: rgba(255, 77, 20, 0.35);

  /* secondary — tech cyan */
  --cyan: #26e0e0;
  --green: #34d17a;
  --red: #ff4d5e;

  /* geometry */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow: 0 2px 8px rgba(0, 0, 0, .4);
  --shadow-lg: 0 18px 50px -12px rgba(0, 0, 0, .75);
  --glow: 0 0 0 1px var(--line), 0 10px 40px -10px rgba(255, 77, 20, .5);

  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }

/* subtle page texture: layer lines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(255, 77, 20, .10), transparent 60%),
    radial-gradient(700px 500px at 8% 4%, rgba(38, 224, 224, .06), transparent 60%);
}

main { position: relative; z-index: 1; flex: 1; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.section { padding: 76px 0; }
.section-sm { padding: 46px 0; }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wrapf { flex-wrap: wrap; }
.grow { flex: 1; }
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.tc { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.eyebrow.plain::before { display: none; }

.h-xl { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
.h-lg { font-size: clamp(1.9rem, 4vw, 3rem); }
.h-md { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--mono); }
.tiny { font-size: 12px; }
.sm { font-size: 13.5px; }
.lg { font-size: 18px; }
.strong { font-weight: 650; }
.upper { text-transform: uppercase; letter-spacing: .12em; }

.grad {
  background: linear-gradient(105deg, var(--accent-hot), var(--accent) 45%, #ff2d6f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s, opacity .18s;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-hot), var(--accent));
  color: #fff;
  box-shadow: 0 6px 22px -6px rgba(255, 77, 20, .7);
}
.btn-primary:hover:not(:disabled) { box-shadow: 0 12px 32px -8px rgba(255, 77, 20, .85); filter: brightness(1.07); }

.btn-ghost { border-color: var(--border-2); color: var(--text); background: var(--surface); }
.btn-ghost:hover:not(:disabled) { border-color: var(--border-2); background: var(--surface-2); }

.btn-quiet { color: var(--muted); padding: 9px 14px; }
.btn-quiet:hover { color: var(--text); background: var(--surface-2); }

.btn-danger { border-color: rgba(255, 77, 94, .4); color: var(--red); background: rgba(255, 77, 94, .08); }
.btn-danger:hover { background: rgba(255, 77, 94, .16); }

.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
}
.badge-hot { border-color: var(--line); background: var(--accent-dim); color: var(--accent-hot); }
.badge-cyan { border-color: rgba(38, 224, 224, .32); background: rgba(38, 224, 224, .1); color: var(--cyan); }
.badge-green { border-color: rgba(52, 209, 122, .32); background: rgba(52, 209, 122, .1); color: var(--green); }
.badge-red { border-color: rgba(255, 77, 94, .32); background: rgba(255, 77, 94, .1); color: var(--red); }

.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 10, 12, .72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(10, 10, 12, .9); }
.nav-inner { display: flex; align-items: center; gap: 22px; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(255, 77, 20, .8);
}
.logo-mark svg { width: 18px; height: 18px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-link {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; color: var(--muted); font-weight: 500;
  transition: color .16s, background .16s;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.on { color: var(--accent-hot); background: var(--accent-dim); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 16px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--text);
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  transition: transform .18s var(--ease), border-color .18s, box-shadow .18s, background .18s;
  white-space: nowrap; user-select: none;
}
.cart-btn:hover {
  border-color: var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--accent-dim));
  box-shadow: 0 0 0 1px var(--line), 0 8px 24px -8px rgba(255, 77, 20, .55);
  transform: translateY(-1px);
}
.cart-btn:active { transform: translateY(0) scale(.96); }
.cart-btn.has-items { border-color: var(--line); }
.cart-icon { position: relative; display: grid; place-items: center; color: var(--muted); transition: color .18s; }
.cart-btn:hover .cart-icon, .cart-btn.has-items .cart-icon { color: var(--accent-hot); }
.cart-icon svg { width: 19px; height: 19px; }
.cart-label { color: var(--muted); font-weight: 500; }
.cart-btn:hover .cart-label { color: var(--text); }
.cart-count {
  position: absolute; top: -10px; right: -12px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent));
  color: #fff;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
  box-shadow: 0 3px 10px rgba(255, 77, 20, .6);
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.cart-count.on { transform: scale(1); }
.cart-count.pop { animation: pop .4s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-2); }
.burger svg { width: 18px; height: 18px; margin: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 92px 0 68px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero h1 { margin: 20px 0 0; }
.hero-sub { margin-top: 20px; max-width: 540px; }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { margin-top: 52px; display: flex; gap: 34px; flex-wrap: wrap; }
.stat-n { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.stat-l { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 2px; }

.float-obj {
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6));
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(2deg); } }

/* marquee */
.marquee {
  border-block: 1px solid var(--border);
  padding: 14px 0; overflow: hidden;
  background: var(--bg-2);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 46px; width: max-content; animation: slide 34s linear infinite; }
.marquee span { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 46px; }
.marquee span::after { content: "◆"; color: var(--accent); font-size: 8px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- section head ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { margin-top: 12px; }

/* ---------- filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--surface);
  font-size: 13.5px; color: var(--muted); font-weight: 500;
  transition: all .18s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 650; }

/* ---------- product grid + card ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
}
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }

.card-media-wrap { position: relative; }
.card-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.card-quick {
  position: absolute; inset: auto 12px 12px; z-index: 2;
  opacity: 0; transform: translateY(10px);
  transition: all .28s var(--ease);
}
.card:hover .card-quick, .card:focus-within .card-quick { opacity: 1; transform: none; }

.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.card-title { font-family: var(--display); font-size: 17px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.card-meta { font-size: 12.5px; color: var(--faint); }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.price { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.price-old { font-size: 13.5px; color: var(--faint); text-decoration: line-through; font-weight: 400; margin-left: 7px; }

.stock-dot { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.stock-dot .dot { box-shadow: 0 0 8px currentColor; }
.in { color: var(--green); } .low { color: var(--accent-hot); } .out { color: var(--red); }

/* ---------- image placeholder (layer lines) ---------- */
.ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 50% 40%, rgba(255, 77, 20, .16), transparent 62%),
    var(--bg-2);
}
.ph svg { width: 38px; height: 38px; color: var(--faint); opacity: .5; }
.ph-txt { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--faint); text-transform: uppercase; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.label .req { color: var(--accent); }
.hint { font-size: 12px; color: var(--faint); }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  color: var(--text);
  font-size: 14.5px;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  background: var(--bg);
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393939f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 38px;
}
.input.err, .textarea.err, .select.err { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 77, 94, .14); }
.err-msg { font-size: 12px; color: var(--red); display: none; }
.err-msg.on { display: block; }

.check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 14px; color: var(--muted); line-height: 1.5; }
.check input { appearance: none; width: 20px; height: 20px; flex: none; margin-top: 1px; border: 1px solid var(--border-2); border-radius: 6px; background: var(--bg-2); transition: all .16s; position: relative; cursor: pointer; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field, .panel { min-width: 0; }

/* ---------- qty stepper ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-2); border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.qty button { width: 38px; height: 40px; display: grid; place-items: center; color: var(--muted); transition: background .16s, color .16s; }
.qty button:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty span { min-width: 34px; text-align: center; font-family: var(--mono); font-size: 14px; font-weight: 600; }

/* ---------- drawer (cart) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.overlay.on { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(430px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
}
.drawer.on { transform: none; }
.drawer-head { padding: 20px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex: none; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { border-top: 1px solid var(--border); padding: 20px 22px; background: var(--surface); flex: none; }
.x-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--muted); transition: all .16s; }
.x-btn:hover { color: var(--text); background: var(--surface-2); }
.x-btn svg { width: 16px; height: 16px; }

/* ---------- cart line item ---------- */
.ci { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ci:last-child { border-bottom: none; }
.ci-img { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; flex: none; background: var(--surface-2); border: 1px solid var(--border); }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.ci-meta { font-size: 12px; color: var(--faint); margin-top: 2px; }
.ci-ctl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.qty-sm { display: inline-flex; align-items: center; border: 1px solid var(--border-2); border-radius: 8px; overflow: hidden; }
.qty-sm button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); font-size: 15px; line-height: 1; }
.qty-sm button:hover { background: var(--surface-2); color: var(--text); }
.qty-sm span { min-width: 26px; text-align: center; font-family: var(--mono); font-size: 12.5px; }
.rm { font-size: 12px; color: var(--faint); transition: color .16s; }
.rm:hover { color: var(--red); }

.totals { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.totals .r { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.totals .r.big { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--text); letter-spacing: -.02em; padding-top: 11px; border-top: 1px solid var(--border); }

.empty { text-align: center; padding: 56px 22px; }
.empty svg { width: 54px; height: 54px; color: var(--faint); margin: 0 auto 18px; opacity: .5; }

/* ---------- product detail ---------- */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); padding: 22px 0; }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { opacity: .4; }

.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; padding-bottom: 60px; }

.gallery { position: sticky; top: 90px; }
.gallery-main {
  aspect-ratio: 1 / 1; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface); position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
  width: 74px; height: 74px; border-radius: 12px; overflow: hidden;
  border: 1.5px solid var(--border); background: var(--surface); transition: all .18s;
  padding: 0; flex: none;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on, .thumb:hover { border-color: var(--accent); }

.pd h1 { margin: 12px 0 0; }
.pd-price { display: flex; align-items: baseline; gap: 4px; margin: 22px 0; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin: 24px 0; }
.spec { background: var(--surface); padding: 13px 15px; }
.spec-l { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.spec-v { font-size: 14px; font-weight: 550; margin-top: 3px; }

.buy { display: flex; gap: 12px; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.buy .btn-primary { flex: 1; min-width: 190px; }

.trust { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }
.trust-item { display: flex; gap: 11px; font-size: 13.5px; color: var(--muted); align-items: flex-start; }
.trust-item svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.tab { padding: 12px 18px; font-size: 14.5px; color: var(--muted); font-weight: 550; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .18s; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--accent-hot); border-bottom-color: var(--accent); }
.prose { color: var(--muted); line-height: 1.75; max-width: 70ch; }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--text); }

/* ---------- checkout ---------- */
.steps { display: flex; align-items: center; gap: 8px; margin-bottom: 34px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--faint); }
.step .n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; }
.step.on { color: var(--text); }
.step.on .n { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-line { width: 28px; height: 1px; background: var(--border-2); }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 7px 0; }
.summary-line .n { color: var(--muted); }
.summary-line .v { font-weight: 600; text-align: right; }

.pay-opt { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--border-2); border-radius: var(--r); cursor: pointer; transition: all .18s; }
.pay-opt:hover { border-color: var(--muted); background: var(--surface-2); }
.pay-opt.on { border-color: var(--accent); background: var(--accent-dim); }
.pay-opt input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.success { text-align: center; padding: 40px 20px 60px; max-width: 560px; margin-inline: auto; }
.success-ring {
  width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 26px;
  background: rgba(52, 209, 122, .12); border: 1.5px solid rgba(52, 209, 122, .45);
  display: grid; place-items: center; color: var(--green);
  animation: ring .55s var(--ease);
}
@keyframes ring { from { transform: scale(.4); opacity: 0; } }
.success-ring svg { width: 36px; height: 36px; }
.order-box { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; margin-top: 26px; }

/* ---------- admin ---------- */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
.side { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px; }
.side-btn { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 13px; border-radius: var(--r-sm); font-size: 14px; color: var(--muted); font-weight: 500; transition: all .16s; text-align: left; }
.side-btn:hover { background: var(--surface-2); color: var(--text); }
.side-btn.on { background: var(--accent-dim); color: var(--accent-hot); }
.side-btn svg { width: 17px; height: 17px; flex: none; }
.side-sep { height: 1px; background: var(--border); margin: 8px 10px; }

.gate { max-width: 400px; margin: 90px auto; text-align: center; }
.gate .logo-mark { width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 20px; }
.gate .logo-mark svg { width: 28px; height: 28px; }

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; padding: 11px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--border); font-weight: 500; white-space: nowrap; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: background .14s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }

.thumb-xs { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; background: var(--surface-2); flex: none; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.on { opacity: 1; pointer-events: auto; }
.modal-box {
  width: min(760px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98);
  transition: transform .3s var(--ease);
}
.modal.on .modal-box { transform: none; }
.modal-head { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--bg-2); z-index: 2; }
.modal-body { padding: 26px; }
.modal-foot { padding: 18px 26px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; position: sticky; bottom: 0; background: var(--bg-2); }

.drop {
  border: 1.5px dashed var(--border-2); border-radius: var(--r);
  padding: 26px; text-align: center; cursor: pointer;
  transition: all .18s; background: var(--bg-2);
}
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-dim); }
.drop svg { width: 26px; height: 26px; color: var(--faint); margin: 0 auto 9px; }

.img-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 9px; margin-top: 12px; }
.img-pick { position: relative; aspect-ratio: 1; border-radius: 11px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.img-pick img { width: 100%; height: 100%; object-fit: cover; }
.img-pick .x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 7px; background: rgba(0, 0, 0, .78); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .16s; }
.img-pick:hover .x { opacity: 1; }
.img-pick .x:hover { background: var(--red); }

/* ---------- toast ---------- */
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 9px; align-items: center; pointer-events: none; }
.toast {
  background: var(--surface-2); border: 1px solid var(--border-2);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 8px;
  max-width: min(92vw, 520px); pointer-events: auto;
  animation: toastIn .35s var(--ease);
}
.toast span { min-width: 0; }
.toast.out { animation: toastOut .28s var(--ease) forwards; }
.toast svg { width: 16px; height: 16px; flex: 0 0 16px; }
.toast.ok svg { color: var(--green); }
.toast.bad svg { color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 70px; padding: 52px 0 30px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot h4, .foot .foot-h { font-size: 12px; font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 14px; }
.foot-links { display: flex; flex-direction: column; gap: 9px; }
.foot-links a { font-size: 14px; color: var(--muted); transition: color .16s; }
.foot-links a:hover { color: var(--accent-hot); }
.foot-bot { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }

.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--muted); transition: all .18s; }
.social a:hover { color: var(--accent-hot); border-color: var(--line); background: var(--accent-dim); }
.social svg { width: 17px; height: 17px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .pd { grid-template-columns: 1fr; gap: 30px; }
  .gallery { position: static; }
  .admin-shell { grid-template-columns: 1fr; gap: 16px; }
  .side { position: static; max-height: none; display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; }
  .side-btn { white-space: nowrap; flex: none; }
  .side-sep { display: none; }
  #pane { overflow: visible; }
  /* admin table: let page scroll naturally on tablets */
  body.admin .pickletable .divTable { max-height: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 10px; gap: 2px; margin: 0;
  }
  .burger { display: block; }
  .nav-inner { position: relative; }
  .cart-btn { height: 40px; padding: 0 13px 0 12px; }
  .cart-label { display: none; }
  .section { padding: 52px 0; }
  .hero { padding: 54px 0 44px; }
  .hero-stats { gap: 22px; }
  .specs, .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
  .card-body { padding: 13px 14px 15px; }
  .card-title { font-size: 15px; }
  .price { font-size: 17px; }
  .card-quick { position: static; opacity: 1; transform: none; margin-top: 10px; }
  .panel { padding: 20px; }
  .modal-body, .modal-head, .modal-foot { padding-inline: 18px; }
  .wrap { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- admin: wide + sticky sidebar ---------- */
body.admin main.wrap { max-width: none; padding-inline: clamp(16px, 3vw, 40px); }
.admin-top { padding: 14px 0 8px; }
.admin-top .h-lg { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-top: 4px; }
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px; margin-bottom: 10px;
}
.admin-stats .panel { padding: 12px 16px; }
.admin-stats .stat-n { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1; margin-top: 4px; }
.admin-shell {
  display: grid; grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px; align-items: start; padding: 10px 0 20px;
}
.admin-shell > * { min-width: 0; }
.side { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
#pane { min-width: 0; overflow: visible; }

/* non-dashboard admin pages — same wrap, no special lock */
body.admin main.wrap.admin-page { height: auto; overflow: visible; max-width: none; padding-inline: clamp(16px, 3vw, 40px); padding-block: 14px 20px; }
/* print form: full-bleed two-column, fits one viewport, no page scroll */
.product-form-page { max-width: none; }
.product-form-grid { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 16px; align-items: start; }
.form-topbar { position: sticky; top: 0; z-index: 10; background: var(--bg); padding: 12px 0; margin: 0 0 16px; border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
@media (max-width: 980px) { .product-form-grid { grid-template-columns: 1fr; } }

/* ---------- Category chips (product form, multi-select) ---------- */
.cat-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pick { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface-2); cursor: pointer; font-size: 13px; font-weight: 600; user-select: none; transition: border-color .15s, background .15s; }
.cat-pick:hover { border-color: var(--muted); }
.cat-pick input { margin: 0; accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.cat-pick:has(input:checked) { border-color: var(--accent); background: var(--accent-dim); color: var(--accent-hot); }

/* ---------- Photo picker (product form) ---------- */
.photos-panel .photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; margin-top: 12px; }
.photo-card { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card .photo-cover,
.photo-card .photo-pending { position: absolute; bottom: 6px; left: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; border: 1px solid var(--border-2); background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); }
.photo-card:not(:first-child) .photo-cover { display: none; }
.photo-card.is-new .photo-pending { background: var(--accent-dim); border-color: var(--line); color: var(--accent-hot); }
.photo-card.is-url .photo-pending { background: rgba(38,224,224,.12); border-color: rgba(38,224,224,.3); color: var(--cyan); }
.photo-card .photo-remove { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 8px; background: rgba(0,0,0,.72); color: #fff; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: scale(.9); transition: all .16s; }
.photo-card:hover .photo-remove, .photo-card:focus-within .photo-remove { opacity: 1; transform: scale(1); }
.photo-card .photo-remove:hover { background: var(--red); border-color: var(--red); }
.photo-card.removed { opacity: .35; filter: grayscale(1); }
.photo-card.removed::after { content: "will be removed"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.photo-drop { margin-top: 14px; border: 1.5px dashed var(--border-2); border-radius: var(--r-lg); background: var(--bg-2); padding: 22px 16px; text-align: center; cursor: pointer; transition: all .18s; }
.photo-drop:hover { border-color: var(--muted); background: var(--surface); }
.photo-drop.drag { border-color: var(--accent); background: var(--accent-dim); transform: scale(1.01); }
.photo-drop svg { width: 28px; height: 28px; color: var(--faint); margin: 0 auto 10px; display: block; }

/* ---------- Account panel (settings → Account) ---------- */
.account-panel { padding: 20px 22px; }
.account-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.account-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-dim); border: 1px solid var(--line); color: var(--accent-hot); }
.account-form { display: flex; flex-direction: column; gap: 0; }
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.account-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
@media (max-width: 760px) { .account-grid { grid-template-columns: 1fr; } .account-actions { flex-direction: column; align-items: stretch; } .account-actions .btn { width: 100%; } }

/* ---------- Team (users) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.team-card { display: flex; align-items: center; gap: 14px; padding: 18px; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
.team-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.team-card.is-me { border-color: var(--line); background: linear-gradient(180deg, var(--accent-dim), var(--surface)); }
.team-avatar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -.02em; }
.team-avatar.is-you { background: linear-gradient(135deg, var(--accent-hot), var(--accent)); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px -6px rgba(255,77,20,.7); }
.team-add { justify-content: center; gap: 12px; border-style: dashed; background: transparent; cursor: pointer; color: var(--muted); text-align: left; }
.team-add:hover { border-color: var(--line); background: var(--accent-dim); color: var(--accent-hot); }
.team-add-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-2); font-size: 18px; flex: none; }

/* ---------- Flag toggles (product form) ---------- */
.flags-panel { background: var(--surface); }
.flag-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer; transition: all .18s; user-select: none; }
.flag-row:hover { background: var(--surface-2); border-color: var(--border); }
.flag-row:has(input:checked) { background: var(--accent-dim); border-color: var(--line); }
.flag-row:has(input:checked) + .flag-sep + .flag-row:has(input:checked) { border-color: var(--line); }
.flag-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--bg-2); border: 1px solid var(--border); color: var(--muted); transition: all .18s; }
.flag-row:has(input:checked) .flag-icon { background: linear-gradient(135deg, var(--accent-hot), var(--accent)); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px -6px rgba(255,77,20,.7); }
.flag-icon.is-cyan { color: var(--cyan); }
.flag-row:has(input:checked) .flag-icon.is-cyan { background: rgba(38,224,224,.14); border-color: rgba(38,224,224,.32); color: var(--cyan); box-shadow: none; }
.flag-title { display: block; line-height: 1.2; }
.flag-desc { display: block; margin-top: 2px; }
.flag-row:has(input:checked) .flag-title { color: var(--text); }
.flag-sep { height: 1px; background: var(--border); margin: 8px 0; }
.flag-toggle { width: 44px; height: 26px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border-2); position: relative; flex: none; transition: all .22s var(--ease); }
.flag-row:has(input:checked) .flag-toggle { background: var(--accent); border-color: var(--accent); }
.flag-row:has(input:checked) .flag-toggle.is-cyan { background: var(--cyan); border-color: var(--cyan); }
.flag-knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .22s var(--ease); }
.flag-row:has(input:checked) .flag-knob { transform: translateX(18px); }

/* ---------- PickleTable dark theme (overrides vendor light skin) ---------- */
body.admin .pickletable { font-family: var(--font); }
/* table panel — natural page flow, table body scrolls only if it would overflow viewport */
body.admin .tbl-pane { padding: 14px; }
#printsTable { min-height: 260px; }
body.admin .pickletable .divTable { border: 1px solid var(--border); border-radius: var(--r); overflow: auto; background: var(--surface); max-height: min(62vh, 560px); }
body.admin .pickletable table { font-family: var(--font); border: none; width: 100%; table-layout: auto; }
body.admin .pickletable td,
body.admin .pickletable th { border: none; border-bottom: 1px solid var(--border); background: transparent; color: var(--text); padding: 12px 10px; font-size: 14px; white-space: nowrap; }
/* name column keeps its multi-line look; everything else stays one line */
body.admin .pickletable td:nth-child(2) { white-space: normal; }
/* actions column: never wrap, never ellipsis — table scrolls to it if tight */
body.admin .pickletable td:last-child,
body.admin .pickletable th:last-child { overflow: visible; text-overflow: clip; }
body.admin .pickletable td:last-child > span { display: inline-flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
body.admin .pickletable thead th {
  background: var(--bg-2); color: var(--faint);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 500;
  position: sticky; top: 0; z-index: 2; box-shadow: none; white-space: nowrap;
}
body.admin .pickletable tbody tr { transition: background .14s; }
body.admin .pickletable tbody tr:hover { background: var(--surface-2); cursor: pointer; }
body.admin .pickletable .orderable span::after { content: '⇅'; font-family: var(--mono); font-size: 10px; color: var(--faint); margin-left: 8px; }
body.admin .pickletable .orderable:hover span::after { color: var(--accent-hot); }
body.admin .pickletable .search-input {
  width: 100%; margin-top: 8px; padding: 8px 10px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 8px;
  color: var(--text); font-size: 13px; font-family: var(--font);
}
body.admin .pickletable .search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
body.admin .pickletable .search-input::placeholder { color: var(--faint); }
body.admin .pickletable .divPagination { gap: 6px; padding: 14px 0 4px; }
body.admin .pickletable .divPagination button {
  min-width: 34px; height: 34px; padding: 0 12px;
  display: inline-grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 9px;
  color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .16s; line-height: 1;
}
body.admin .pickletable .divPagination button svg { display: block; }
body.admin .pickletable .divPagination button:hover { color: var(--text); border-color: var(--muted); background: var(--surface-2); }
body.admin .pickletable .divPagination button.current { background: var(--accent-dim); border-color: var(--line); color: var(--accent-hot); }
body.admin .pickletable .ploader { width: 44px; height: 44px; border-width: 4px; border-color: var(--surface-2); border-top-color: var(--accent); }
