:root {
  --bg: #070a0f;
  --bg-2: #0b1118;
  --panel: rgba(17, 27, 38, 0.78);
  --panel-solid: #111b26;
  --panel-2: rgba(25, 39, 52, 0.72);
  --text: #eff8ff;
  --muted: #8fa3b8;
  --soft: #b8c7d8;
  --line: rgba(170, 220, 255, 0.14);
  --cyan: #00d5ff;
  --lime: #b8ff2c;
  --amber: #ffb020;
  --coral: #ff4d6d;
  --violet: #8f5cff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Manrope, sans-serif;
  background:
    radial-gradient(circle at 12% 7%, rgba(0, 213, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(184, 255, 44, 0.12), transparent 28%),
    linear-gradient(140deg, #05070a 0%, #08101a 38%, #0b0c12 100%);
  overflow-x: hidden;
}

body.drawer-open { overflow: hidden; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  z-index: -2;
}

.orb {
  position: fixed;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(50px);
  opacity: .24;
  pointer-events: none;
  z-index: -1;
}
.orb-a { left: -130px; top: 18%; background: var(--cyan); }
.orb-b { right: -180px; top: 48%; background: var(--violet); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  backdrop-filter: blur(22px);
  background: rgba(5, 8, 12, 0.74);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 16px;
  background: #070912;
  box-shadow: 0 0 36px rgba(0, 213, 255, .24);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand strong {
  display: block;
  font-family: Unbounded, sans-serif;
  font-size: 15px;
  letter-spacing: .02em;
}
.brand small { color: var(--muted); font-size: 11px; }

.top-nav { display: flex; gap: 22px; }
.top-nav a {
  color: var(--soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.top-nav a:hover { color: var(--cyan); }

.header-actions { display: flex; gap: 10px; align-items: center; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.ghost-btn, .cart-pill, .icon-btn, .category-chip, .crm-tab {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,.05);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ghost-btn, .cart-pill {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
}
.cart-pill { display: inline-flex; gap: 8px; align-items: center; }
.ghost-btn:hover, .cart-pill:hover, .category-chip:hover, .crm-tab:hover { transform: translateY(-1px); border-color: rgba(0,213,255,.42); background: rgba(0,213,255,.08); }

.section-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 18px 0 26px;
}
.system-line {
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 18px;
}
.hero h1, .section-heading h2, .support-band h2 {
  font-family: Unbounded, sans-serif;
  letter-spacing: -0.055em;
  line-height: .98;
}
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  max-width: 640px;
}
.hero-lead {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
}
.primary-btn {
  color: #031014;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 18px 46px rgba(0, 213, 255, .24);
}
.secondary-btn {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
}
.full { width: 100%; }
.hero-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-metrics span {
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
}
.hero-metrics b { display: block; font-size: 19px; }
.hero-metrics small { color: var(--muted); font-weight: 800; }

.hero-visual {
  position: relative;
  min-height: 350px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 20%, rgba(0,213,255,.28), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(184,255,44,.16), transparent 32%),
    linear-gradient(160deg, rgba(255,255,255,.105), rgba(255,255,255,.026));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: var(--shadow);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.12);
}
.vape-device {
  position: absolute;
  width: 92px;
  height: 360px;
  border-radius: 40px;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.42), inset 0 0 40px rgba(255,255,255,.15);
}
.vape-device span {
  transform: rotate(90deg);
  font-family: Unbounded, sans-serif;
  font-size: 20px;
  letter-spacing: .14em;
}
.device-one { left: 18%; top: 16%; transform: rotate(-12deg); background: linear-gradient(180deg, #07151e, #00d5ff 48%, #b8ff2c); }
.device-two { right: 21%; top: 22%; transform: rotate(13deg); background: linear-gradient(180deg, #190a18, #ff4d6d 52%, #ffb020); }
.device-three { left: 39%; bottom: 10%; transform: rotate(4deg); background: linear-gradient(180deg, #130f2b, #8f5cff 48%, #00d5ff); }
.flavor-card {
  position: absolute;
  min-width: 190px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(8, 13, 19, .72);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.flavor-card b { display: block; }
.flavor-card small { color: var(--muted); }
.flavor-a { right: 8%; bottom: 23%; }
.flavor-b { left: 8%; bottom: 12%; }
.smoke-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(234,246,255,.18);
  box-shadow: inset 0 0 32px rgba(255,255,255,.06);
}
.ring-one { width: 260px; height: 110px; left: 12%; top: 18%; transform: rotate(-18deg); }
.ring-two { width: 330px; height: 130px; right: 0; top: 56%; transform: rotate(18deg); }

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 0 32px;
}
.category-chip {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
}
.category-chip.active { color: #041014; background: var(--lime); border-color: transparent; }

.split-panel, .crm-preview, .operations-grid, .support-band {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.section-heading { display: grid; grid-template-columns: .9fr 1fr; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-heading.compact { display: block; max-width: 760px; }
.section-heading h2, .support-band h2 { margin: 0; font-size: clamp(30px, 4vw, 54px); }
.section-heading p:not(.system-line), .support-band p { color: var(--soft); line-height: 1.7; margin: 0; }
.catalog-toolbar { display: grid; grid-template-columns: 1fr 220px; gap: 14px; margin-bottom: 20px; }
.search-box { position: relative; display: flex; align-items: center; }
.search-box span { position: absolute; left: 18px; color: var(--cyan); font-weight: 900; }
input, select, textarea {
  width: 100%;
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
}
.search-box input { padding-left: 48px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(0,213,255,.55); box-shadow: 0 0 0 4px rgba(0,213,255,.08); }

.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 5%, rgba(0,213,255,.16), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.032));
  transition: transform .2s ease, border-color .2s ease;
}
.model-card:hover { transform: translateY(-4px); border-color: rgba(184,255,44,.35); }
.model-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
}
.model-media {
  height: 210px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(0,213,255,.18), transparent 50%);
}
.model-image { max-width: 94%; max-height: 190px; object-fit: contain; filter: drop-shadow(0 26px 36px rgba(0,0,0,.48)); }
.product-placeholder {
  position: relative;
  width: min(82%, 220px);
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 30px;
  text-align: center;
  color: rgba(239,247,255,.86);
  font-weight: 1000;
  background:
    linear-gradient(150deg, rgba(0,213,255,.22), rgba(184,255,44,.12)),
    radial-gradient(circle at 50% 22%, rgba(255,255,255,.16), transparent 44%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 70px rgba(0,213,255,.16);
  overflow: hidden;
}
.product-placeholder::before {
  content: "";
  width: 58px;
  height: 116px;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  box-shadow: 0 18px 36px rgba(0,213,255,.26);
  opacity: .7;
}
.product-placeholder span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-size: 12px;
  line-height: 1.2;
}
.model-body { position: relative; z-index: 2; padding: 18px; }
.model-body h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.24; }
.model-body p { margin: 0 0 16px; color: var(--muted); min-height: 24px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-size: 22px; font-weight: 1000; color: var(--lime); }
.stock { color: var(--muted); font-size: 12px; font-weight: 900; }
.add-btn {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: 16px;
  border: 0;
  min-height: 44px;
  border-radius: 14px;
  color: #031014;
  font-weight: 1000;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}
.add-btn.compact { width: auto; min-width: 130px; margin-top: 0; padding: 0 16px; }
.flavor-panel { display: grid; gap: 16px; }
.model-detail-head {
  display: grid;
  grid-template-columns: auto 1fr minmax(180px, 260px);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.045);
}
.model-detail-head h3 { margin: 6px 0; font-family: Unbounded, sans-serif; font-size: clamp(24px, 3vw, 36px); }
.model-detail-head p { margin: 0; color: var(--muted); font-weight: 800; }
.model-detail-media {
  min-height: 150px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 35%, rgba(0,213,255,.18), transparent 60%);
}
.model-detail-image { max-width: 100%; max-height: 170px; object-fit: contain; filter: drop-shadow(0 22px 32px rgba(0,0,0,.5)); }
.flavor-list { display: grid; gap: 10px; }
.flavor-row {
  display: grid;
  grid-template-columns: 74px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.048);
}
.flavor-thumb {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 35%, rgba(184,255,44,.18), rgba(255,255,255,.04));
}
.flavor-image { max-width: 68px; max-height: 68px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.42)); }
.flavor-placeholder {
  width: 28px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
}
.flavor-row h4 { margin: 0 0 4px; font-size: 16px; }
.flavor-row p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 800; }
.flavor-row b { color: var(--lime); font-size: 20px; white-space: nowrap; }

.crm-layout { display: grid; grid-template-columns: 230px 1fr; gap: 18px; margin-top: 26px; }
.crm-sidebar { display: flex; flex-direction: column; gap: 10px; }
.crm-tab { text-align: left; border-radius: 18px; padding: 15px; font-weight: 900; }
.crm-tab.active { background: rgba(0,213,255,.16); border-color: rgba(0,213,255,.4); }
.crm-main {
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(3,7,11,.42);
  overflow: hidden;
}
.crm-content { padding: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card, .order-row, .admin-product-row {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
}
.stat-card { padding: 18px; }
.stat-card small { color: var(--muted); font-weight: 900; }
.stat-card b { display: block; font-size: 28px; margin-top: 8px; }
.order-list, .admin-list { display: grid; gap: 10px; }
.order-row, .admin-product-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}
.order-row h4, .admin-product-row h4 { margin: 0 0 5px; }
.order-row p, .admin-product-row p { margin: 0; color: var(--muted); }
.status-pill {
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 900;
  background: rgba(255,176,32,.14);
  color: var(--amber);
}

.operations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.operations-grid article {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
}
.icon-bubble {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(0,213,255,.12);
  margin-bottom: 18px;
}
.operations-grid h3 { margin: 0 0 10px; }
.operations-grid p { margin: 0; color: var(--soft); line-height: 1.65; }
.support-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}

.drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
  background: rgba(0,0,0,.55);
}
.drawer.open { display: block; }
.drawer-panel {
  position: absolute;
  right: 18px;
  top: 18px;
  bottom: 18px;
  width: min(460px, calc(100vw - 36px));
  padding: 22px;
  border-radius: 30px;
  background: rgba(10,15,22,.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: auto;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer-head small { color: var(--lime); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.drawer-head h2 { margin: 0; font-family: Unbounded, sans-serif; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 22px;
}
.cart-list { display: grid; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
}
.cart-item h4 { margin: 0 0 6px; }
.cart-item p { margin: 0; color: var(--muted); }
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-controls button { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.07); }
.cart-summary { display: flex; justify-content: space-between; padding: 20px 0; font-size: 20px; }

.modal { border: 0; padding: 0; background: transparent; }
.modal::backdrop { background: rgba(0,0,0,.64); backdrop-filter: blur(10px); }
.modal-card {
  width: min(560px, calc(100vw - 32px));
  padding: 28px;
  border-radius: 30px;
  color: var(--text);
  background: rgba(10,15,22,.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.checkout-card { width: min(760px, calc(100vw - 32px)); }
.modal-card h2 { margin: 0 0 10px; font-family: Unbounded, sans-serif; }
.modal-card p { color: var(--soft); line-height: 1.6; }
.modal-close { float: right; }
.modal-card input, .modal-card textarea, .modal-card select { margin-top: 10px; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid textarea { grid-column: 1 / -1; }
.form-note {
  min-height: 22px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.form-note[data-type="error"] { color: #ff9d9d; }
.form-note[data-type="success"] { color: #98ff8c; }
.modal-actions button:disabled {
  cursor: progress;
  filter: grayscale(.35);
  opacity: .68;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  z-index: 100;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(8,13,19,.92);
  color: var(--text);
  border: 1px solid var(--line);
  transition: .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.hidden { display: none !important; }
.empty-state { text-align: center; color: var(--muted); padding: 36px; }

@media (max-width: 980px) {
  .top-nav { display: none; }
  .hero, .section-heading, .crm-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 320px; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-detail-head { grid-template-columns: 1fr; }
  .operations-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .support-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .header-actions { width: 100%; justify-content: space-between; }
  .hero { padding-top: 26px; gap: 22px; }
  .hero h1 { font-size: 34px; letter-spacing: -0.06em; }
  .hero-lead { margin-top: 12px; font-size: 15px; }
  .hero-actions { margin-top: 18px; }
  .primary-btn, .secondary-btn { min-height: 46px; padding: 0 18px; }
  .hero-metrics { gap: 8px; margin-top: 16px; }
  .hero-metrics span { min-width: calc(33.333% - 6px); padding: 10px; border-radius: 16px; }
  .hero-metrics b { font-size: 17px; }
  .hero-metrics small { font-size: 11px; }
  .hero-visual { min-height: 170px; max-height: 190px; border-radius: 28px; }
  .vape-device { width: 68px; height: 270px; }
  .model-grid, .operations-grid, .stat-grid, .form-grid { grid-template-columns: 1fr; }
  .flavor-row { grid-template-columns: 58px 1fr; }
  .flavor-row b, .flavor-row .add-btn { grid-column: 2; }
  .flavor-thumb { width: 58px; height: 58px; }
  .flavor-image { max-width: 54px; max-height: 54px; }
  .split-panel, .crm-preview, .operations-grid, .support-band { padding: 20px; border-radius: 24px; }
}

/* 2026-05-26 public site completion layer */
.hero-product {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 36px 48px rgba(0,0,0,.55));
  z-index: 2;
}
.hero-product-main { width: min(54%, 360px); left: 12%; top: 10%; transform: rotate(-10deg); }
.hero-product-side { width: min(40%, 270px); right: 8%; top: 22%; transform: rotate(12deg); }
.hero-product-pod { width: min(34%, 220px); left: 39%; bottom: 8%; transform: rotate(4deg); }
.category-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #061014;
  background: rgba(184,255,44,.9);
  font-size: 11px;
  font-weight: 1000;
}
.promo-panel, .reviews-panel, .partners-panel, .loyalty-grid, .admin-gate {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.promo-grid, .review-grid, .demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.promo-card, .review-card, .demo-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
}
.promo-card span { font-size: 32px; }
.promo-card h3, .review-card h3, .demo-card h3 { margin: 12px 0 8px; }
.promo-card p, .review-card p, .demo-card p { color: var(--soft); line-height: 1.6; margin: 0; }
.promo-card b { display: inline-flex; margin-top: 14px; color: var(--lime); font-size: 22px; }
.loyalty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.loyalty-grid article { padding: 22px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.045); }
.loyalty-grid h3 { margin: 0 0 10px; }
.loyalty-grid p { margin: 0; color: var(--soft); line-height: 1.65; }
.review-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 116px;
  padding: 14px;
  border-radius: 22px;
}
.review-card img, .review-photo-placeholder {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  object-fit: cover;
  background: radial-gradient(circle at 50% 30%, rgba(0,213,255,.18), rgba(255,255,255,.04));
}
.review-photo-placeholder { display: grid; place-items: center; font-size: 30px; }
.review-content { min-width: 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.review-head span {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  line-height: 1;
}
.review-card h3 { margin: 7px 0 5px; font-size: 16px; }
.review-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 14px;
  line-height: 1.45;
}
.review-card b { color: var(--amber); letter-spacing: .06em; font-size: 13px; }
.admin-reviews .review-card { grid-template-columns: 1fr; min-height: auto; }
.partners-panel, .admin-gate { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.partners-panel h2, .admin-gate h2 { font-family: Unbounded, sans-serif; font-size: clamp(30px, 4vw, 54px); margin: 0 0 14px; }
.partners-panel p, .admin-gate p { color: var(--soft); line-height: 1.7; margin: 0; }
.partner-actions, .admin-actions, .row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.account-card { width: min(920px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; }
.account-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 20%, rgba(184,255,44,.14), transparent 42%),
    rgba(255,255,255,.045);
}
.account-hero h3 { margin: 4px 0 8px; font-family: Unbounded, sans-serif; font-size: clamp(24px, 4vw, 38px); }
.account-hero p { margin: 0; }
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.account-stats article, .account-columns section, .account-order {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.052);
}
.account-stats article { padding: 14px; }
.account-stats span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; }
.account-stats b { display: block; margin-top: 7px; color: var(--lime); font-size: 22px; }
.account-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.account-columns section { padding: 16px; }
.account-columns h4, .account-section-head h4 { margin: 0 0 10px; font-family: Unbounded, sans-serif; }
.account-columns p { margin: 5px 0; color: var(--soft); overflow-wrap: anywhere; }
.account-link { font-size: 12px; }
.account-section-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 10px; }
.account-section-head span { color: var(--muted); font-weight: 900; }
.account-orders { display: grid; gap: 9px; }
.account-order {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
}
.account-order b { display: block; }
.account-order span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.account-order strong { color: var(--lime); white-space: nowrap; }
.account-order p { grid-column: 1 / -1; margin: 0; color: var(--soft); line-height: 1.45; }
.admin-card { width: min(1180px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; }
.admin-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; margin-top: 22px; }
.admin-sidebar { display: grid; align-content: start; gap: 10px; }
.admin-tab {
  text-align: left;
  border-radius: 18px;
  padding: 15px;
  font-weight: 900;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.admin-tab.active { background: rgba(0,213,255,.16); border-color: rgba(0,213,255,.4); }
.admin-main { min-height: 520px; padding: 20px; border: 1px solid var(--line); border-radius: 26px; background: rgba(3,7,11,.42); }
.admin-lock { display: grid; gap: 14px; max-width: 520px; }
.admin-lock h3 { margin: 0; font-family: Unbounded, sans-serif; }
.admin-list { display: grid; gap: 10px; margin-top: 16px; }
.admin-actions { margin-bottom: 16px; }
.admin-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fallback-open { display: block; }
@media (max-width: 980px) {
  .promo-grid, .review-grid, .demo-grid, .loyalty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-stats, .account-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-panel, .admin-gate, .admin-layout { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .admin-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}
@media (max-width: 620px) {
  .promo-grid, .review-grid, .demo-grid, .loyalty-grid, .admin-reviews { grid-template-columns: 1fr; }
  .account-hero { flex-direction: column; }
  .account-stats, .account-columns { grid-template-columns: 1fr; }
  .review-card { grid-template-columns: 72px minmax(0, 1fr); padding: 12px; min-height: 96px; }
  .review-card img, .review-photo-placeholder { width: 72px; height: 72px; border-radius: 16px; }
  .review-card p { -webkit-line-clamp: 2; }
  .admin-sidebar { grid-template-columns: 1fr; }
  .hero-product-main { width: 50%; left: 7%; top: 8%; }
  .hero-product-side { width: 38%; right: 5%; top: 18%; }
  .hero-product-pod { width: 32%; left: 38%; bottom: 4%; }
}
