/* PVazio corrected marketplace UI
   Direction: AccsZone-style dense marketplace structure + PVAGalaxy-style light violet/blue palette.
   HTML5 / vanilla CSS only. */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f8f9ff;
  --surface-blue: #f3f7ff;
  --surface-violet: #f6f3ff;
  --text: #182033;
  --text-strong: #111827;
  --muted: #667085;
  --muted-2: #8a94a6;
  --line: #e5e9f2;
  --line-strong: #d8deea;
  --brand: #6c5ce7;
  --brand-dark: #5643d8;
  --brand-2: #4d7df3;
  --brand-3: #1eb6d9;
  --success: #16a56b;
  --danger: #dc3b52;
  --shadow-sm: 0 6px 20px rgba(37, 45, 76, 0.06);
  --shadow-md: 0 16px 40px rgba(48, 55, 93, 0.10);
  --shadow-lg: 0 24px 70px rgba(48, 55, 93, 0.16);
  --radius: 12px;
  --radius-lg: 18px;
  --wrap: 1340px;
  --sidebar: 250px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(21, 27, 49, 0.34);
  backdrop-filter: blur(2px);
  z-index: 105;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }

/* top utility */
.utility {
  background: #fbfbfe;
  color: #667085;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.utility .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.utility .wrap > div { display: flex; align-items: center; gap: 9px; }
.utility a { color: #4f5a70; font-weight: 650; }
.utility a:hover { color: var(--brand); }

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(32, 40, 70, 0.035);
}
.header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: 230px minmax(360px, 1fr) auto;
  gap: 22px;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.brand-galaxy {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 62%, var(--brand-3) 100%);
  box-shadow: 0 8px 22px rgba(108, 92, 231, .23);
  font-size: 19px;
  font-weight: 900;
}
.brand-galaxy::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  right: -7px;
  top: -7px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.brand b {
  display: block;
  color: #171d2d;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: #929bad;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.global-search {
  height: 46px;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.global-search:focus-within {
  border-color: #bbb3ff;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, .08);
}
.global-search > span {
  display: grid;
  place-items: center;
  color: #8d96a8;
  font-size: 18px;
}
.global-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font-size: 13px;
}
.global-search input::placeholder { color: #9aa3b3; }
.global-search button {
  height: 100%;
  min-width: 92px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.primary-btn, .outline-btn, .buy-btn, .tiny-order, .table-buy {
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  padding: 10px 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 7px 16px rgba(91, 79, 215, .15);
}
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  padding: 10px 15px;
  background: #fff;
  color: #374151;
}
.primary-btn:hover, .buy-btn:hover, .table-buy:hover, .tiny-order:hover { transform: translateY(-1px); }
.outline-btn:hover { border-color: #bbb3ff; color: var(--brand-dark); background: #faf9ff; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* category navigation */
.category-bar {
  background: #fff;
  border-top: 1px solid #f2f3f8;
}
.category-inner {
  min-height: 48px;
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.all-cats {
  min-width: var(--sidebar);
  border: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}
.quick-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav a {
  white-space: nowrap;
  padding: 9px 11px;
  border-radius: 7px;
  color: #46516a;
  font-size: 12.5px;
  font-weight: 750;
}
.quick-nav a:hover { color: var(--brand-dark); background: var(--surface-violet); }

/* mega menu */
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: .16s ease;
}
.header.mega-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  padding: 20px 0 22px;
}
.mega-group {
  padding: 2px 20px;
  border-right: 1px solid var(--line);
}
.mega-group:first-child { padding-left: 0; }
.mega-group:last-child { border-right: 0; padding-right: 0; }
.mega-group strong {
  display: block;
  margin-bottom: 8px;
  color: #222a3b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.mega-group a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding: 5px 7px;
  border-radius: 7px;
  color: #596579;
  font-size: 12px;
}
.mega-group a:hover { color: var(--brand-dark); background: #f7f5ff; }
.mini-logo {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--logo) 18%, white);
  border-radius: 7px;
  background: color-mix(in srgb, var(--logo) 9%, white);
  color: var(--logo);
  font-size: 10px;
  font-weight: 900;
}
.mobile-menu { display: none; }

/* layout */
.page { padding: 24px 0 64px; }
.market-layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0,1fr);
  gap: 20px;
  align-items: start;
}
.market-main { min-width: 0; }
.sidebar {
  position: sticky;
  top: 142px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(34, 40, 72, .035);
}
.side-title {
  padding: 13px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 13px;
  font-weight: 850;
}
.side-group { border-top: 1px solid var(--line); }
.side-group:first-of-type { border-top: 0; }
.side-group-title {
  width: 100%;
  min-height: 40px;
  border: 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfbfe;
  color: #30394d;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.side-group-title:hover { background: #f7f6ff; color: var(--brand-dark); }
.side-group-title span:last-child { transition: transform .18s ease; }
.side-group.collapsed .side-group-title span:last-child { transform: rotate(-90deg); }
.side-links { padding: 5px; }
.side-group.collapsed .side-links { display: none; }
.side-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 7px;
  border-radius: 7px;
  color: #5e687b;
  font-size: 11.5px;
}
.side-links a:hover { background: #f8f7ff; color: var(--brand-dark); }
.side-links a.active {
  background: #f0edff;
  color: var(--brand-dark);
  font-weight: 800;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 1px 0 12px;
  color: #8a94a6;
  font-size: 11px;
}
.breadcrumb a { color: var(--brand-dark); }

/* homepage hero */
.hero-compact {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid #e0e4ee;
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 14%, rgba(108,92,231,.12), transparent 25%),
    linear-gradient(115deg, #ffffff 0%, #fbfaff 54%, #f4f8ff 100%);
}
.hero-copy { position: relative; z-index: 2; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
}
.hero-compact h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  color: var(--text-strong);
  font-size: clamp(32px, 4.3vw, 48px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero-compact p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #626d80;
  font-size: 14px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.hero-badges span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #657084;
  font-size: 10px;
  font-weight: 700;
}
.hero-visual { position: relative; min-height: 190px; z-index: 2; }
.visual-card {
  position: absolute;
  right: 0;
  top: 10px;
  width: 246px;
  padding: 17px;
  border: 1px solid #e0e4ef;
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-md);
}
.visual-card .big-logo {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 20px;
  font-weight: 900;
}
.visual-card b { display: block; font-size: 13px; }
.visual-card strong { display: block; margin: 3px 0; color: #30256f; font-size: 24px; letter-spacing: -.03em; }
.visual-card small { color: #8b94a5; font-size: 10px; }
.floating-pill {
  position: absolute;
  z-index: 3;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: #566175;
  font-size: 10px;
  font-weight: 800;
}
.fp1 { left: 0; top: 32px; }
.fp2 { left: 10px; bottom: 15px; }
.trust-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.trust-strip div { padding: 11px 13px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip b { display: block; color: #2c3549; font-size: 11px; }
.trust-strip small { display: block; margin-top: 1px; color: #8a94a6; font-size: 9px; }

/* shared sections */
.section { padding: 28px 0; }
.section-title {
  margin-bottom: 13px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.section-title h2, .block-head h2 {
  margin: 3px 0 0;
  color: #1b2232;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -.03em;
}
.section-title p { max-width: 610px; margin: 0; color: var(--muted); font-size: 12px; }
.filterbar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.filter-chip {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  background: #fff;
  color: #5b6579;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.filter-chip:hover { border-color: #cfc9ff; color: var(--brand-dark); }
.filter-chip.active { border-color: #ccc4ff; background: #efecff; color: var(--brand-dark); }

/* accszone-inspired dense product list */
.market-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.market-list-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) 96px 145px 132px;
  gap: 12px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--line);
  background: #f8f9fc;
  color: #788396;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.market-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 96px 145px 132px;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 11px 13px;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
  transition: background .14s ease, box-shadow .14s ease;
}
.market-row:last-child { border-bottom: 0; }
.market-row:hover { background: #fcfbff; box-shadow: inset 3px 0 0 var(--brand); }
.row-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  gap: 11px;
  align-items: center;
}
.service-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--logo) 17%, white);
  border-radius: 10px;
  background: color-mix(in srgb, var(--logo) 8%, white);
  color: var(--logo);
  font-size: 13px;
  font-weight: 900;
}
.row-product h3 { margin: 0 0 2px; color: #222a3a; font-size: 13.5px; line-height: 1.25; }
.row-product p { max-width: 670px; margin: 0; color: #727c8f; font-size: 10.8px; line-height: 1.45; }
.row-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; color: #98a0ae; font-size: 9px; }
.row-tags b { color: var(--brand-dark); font-weight: 800; }
.row-stock { color: #3f4a60; font-size: 10.5px; }
.row-stock b { font-weight: 800; }
.row-stock small { display: block; margin-top: 1px; color: #9aa2af; font-size: 9px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #20b578; box-shadow: 0 0 0 3px rgba(32,181,120,.09); }
.row-price small { display: block; color: #8c95a6; font-size: 9.5px; }
.row-price strong { display: block; margin-top: 1px; color: #1d2854; font-size: 13.5px; }
.row-buy { display: flex; justify-content: flex-end; gap: 6px; }
.buy-btn, .tiny-order, .table-buy {
  border: 1px solid transparent;
  padding: 7px 10px;
  font-size: 10.5px;
  line-height: 1.2;
}
.buy-btn { color: var(--brand-dark); border-color: #ddd8ff; background: #f5f3ff; }
.buy-btn:hover { background: #eeeaff; }
.tiny-order, .table-buy { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

/* supporting cards */
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 11px; }
.feature {
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(37,45,76,.025);
}
.feature i {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f1eeff;
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 900;
}
.feature h3 { margin: 0 0 5px; color: #293247; font-size: 13px; }
.feature p { margin: 0; color: #717b8e; font-size: 10.8px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.content-card, .info-panel, .article {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.content-card { padding: 21px; }
.content-card h2 { margin: 4px 0 10px; color: #20283a; font-size: 22px; letter-spacing: -.03em; }
.content-card h3 { margin: 16px 0 5px; color: #30394d; font-size: 14px; }
.content-card p, .content-card ul { color: #657084; font-size: 12px; }
.content-card ul { padding-left: 18px; }

/* FAQ */
.faq { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  min-height: 50px;
  border: 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  color: #2a3346;
  font-size: 12.5px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { background: #fbfbfe; }
.faq-q span:last-child { color: var(--brand-dark); font-size: 17px; transition: transform .18s; }
.faq-item.open .faq-q span:last-child { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { margin: 0; padding: 0 14px 14px; color: #6c7689; font-size: 11.8px; }

/* CTA */
.cta {
  padding: 24px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #ddd9ff;
  border-radius: 13px;
  background: linear-gradient(115deg, #f6f3ff, #f7faff 58%, #eef8ff);
}
.cta h2 { margin: 0 0 4px; color: #28234f; font-size: 23px; letter-spacing: -.03em; }
.cta p { margin: 0; color: #69748a; font-size: 12px; }

/* product/service pages */
.product-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1fr) 270px;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    radial-gradient(circle at 88% 15%, rgba(108,92,231,.11), transparent 25%),
    linear-gradient(115deg, #fff 0%, #fbfaff 56%, #f3f8ff 100%);
}
.product-hero h1 {
  max-width: 760px;
  margin: 7px 0 10px;
  color: var(--text-strong);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.product-hero p { max-width: 760px; margin: 0 0 16px; color: #647084; font-size: 13px; }
.product-summary {
  position: relative;
  z-index: 2;
  padding: 16px;
  border: 1px solid #e0e5ef;
  border-radius: 11px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
}
.product-summary .service-logo { width: 50px; height: 50px; margin-bottom: 10px; font-size: 16px; }
.summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
}
.summary-line span { color: #8b94a5; }
.summary-line b { color: #30394d; text-align: right; }

.pricing-block {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.block-head {
  padding: 15px 16px 11px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.price-note { color: #8e97a7; font-size: 9.5px; }
.table-wrap { width: 100%; overflow-x: auto; }
.price-table { width: 100%; min-width: 610px; border-collapse: collapse; }
.price-table th {
  padding: 9px 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8f9fc;
  color: #7d8798;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .055em;
  text-align: left;
  text-transform: uppercase;
}
.price-table td {
  padding: 10px 13px;
  border-bottom: 1px solid #edf0f5;
  color: #3b4558;
  font-size: 11.5px;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: #fcfbff; }
.price-table td:first-child { display: flex; align-items: center; gap: 9px; }
.price-table td:nth-child(2) { color: #1d2854; font-size: 12.5px; font-weight: 850; }
.table-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--logo) 17%, white);
  border-radius: 8px;
  background: color-mix(in srgb, var(--logo) 8%, white);
  color: var(--logo);
  font-size: 10px;
  font-weight: 900;
}
.price-table td:first-child b { display: block; color: #30394d; font-size: 11.5px; }
.price-table td:first-child small { display: block; margin-top: 1px; color: #929bad; font-size: 9px; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.info-panel { padding: 19px; }
.info-panel h2 { margin: 4px 0 9px; color: #252d40; font-size: 21px; letter-spacing: -.03em; }
.info-panel p { margin: 0 0 10px; color: #657084; font-size: 11.8px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.checklist span {
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfe;
  color: #5e697d;
  font-size: 10.5px;
}
.checklist span::before { content: "✓"; margin-right: 6px; color: var(--success); font-weight: 900; }
.article { margin-top: 18px; padding: 22px; }
.article h2 { margin: 4px 0 11px; color: #222a3d; font-size: 23px; letter-spacing: -.03em; }
.article h3 { margin: 18px 0 5px; color: #333c50; font-size: 15px; }
.article p { max-width: 930px; color: #606c80; font-size: 12px; }
.article .callout {
  margin: 15px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: #f7f5ff;
  color: #59637a;
  font-size: 11.5px;
}

/* footer: keep the page light */
.footer {
  margin-top: 56px;
  padding: 38px 0 18px;
  border-top: 1px solid var(--line);
  background: #fbfbfe;
  color: #566175;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 28px; }
.footer-brand b { color: #1f2738; }
.footer-brand small { color: #929bad; }
.footer p { max-width: 430px; color: #7b8597; font-size: 11.5px; }
.footer h4 { margin: 0 0 9px; color: #30394b; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.footer a { display: block; padding: 4px 0; color: #707b8e; font-size: 11px; }
.footer a:hover { color: var(--brand-dark); }
.footer-bottom {
  margin-top: 25px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: #98a0ae;
  font-size: 10px;
}

/* order modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(22, 29, 51, .48);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
}
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-card {
  width: min(500px, 100%);
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.modal-card h3 { margin: 6px 42px 8px 0; color: #242c3e; font-size: 23px; letter-spacing: -.03em; }
.modal-card p { color: #707b8e; font-size: 11.5px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #4c5569;
  cursor: pointer;
}
.selected-order {
  margin: 13px 0;
  padding: 11px;
  border: 1px solid #ddd8ff;
  border-radius: 9px;
  background: #f7f5ff;
  color: #50458b;
  font-size: 11px;
  font-weight: 800;
}
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.channel {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 850;
}
.whatsapp { background: #effbf5; color: #12865a; }
.telegram { background: #eff8ff; color: #1886c2; }
.email { background: #fff7ee; color: #ad5b1d; }
.neutral { background: #f7f8fb; color: #525d72; }
.empty-state {
  display: none;
  padding: 32px;
  border: 1px dashed #cdd4e2;
  border-radius: 10px;
  color: #7f899b;
  text-align: center;
}

/* responsive */
@media (max-width: 1120px) {
  :root { --sidebar: 224px; }
  .header-main { grid-template-columns: 205px minmax(280px,1fr) auto; gap: 16px; }
  .header-actions .outline-btn { display: none; }
  .market-list-head, .market-row { grid-template-columns: minmax(0,1fr) 80px 120px 118px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .quick-nav a:nth-child(n+7) { display: none; }
}

@media (max-width: 900px) {
  .utility { display: none; }
  .header { position: sticky; top: 0; }
  .header-main {
    min-height: auto;
    padding: 11px 0;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .header-actions .primary-btn, .header-actions .outline-btn { display: none; }
  .menu-toggle { display: block; }
  .global-search {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 42px;
  }
  .category-bar, .mega-menu { display: none !important; }
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(370px, 90vw);
    z-index: 110;
    overflow-y: auto;
    background: #fff;
    box-shadow: -22px 0 60px rgba(20, 29, 55, .18);
    transform: translateX(105%);
    transition: transform .22s ease;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-top {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .mobile-top strong { color: #273043; font-size: 13px; }
  .menu-close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }
  .mobile-links { padding: 7px 10px 16px; }
  .mobile-links > a {
    min-height: 42px;
    padding: 7px 5px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid #eff1f5;
    color: #566176;
    font-size: 11.5px;
    font-weight: 700;
  }
  .page { padding-top: 16px; }
  .market-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero-compact, .product-hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .product-summary { max-width: 520px; }
  .market-list-head { display: none; }
  .market-row { grid-template-columns: minmax(0,1fr) 120px 120px; }
  .row-stock { display: none; }
  .content-grid, .intro-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 20px), var(--wrap)); }
  .brand-galaxy { width: 39px; height: 39px; flex-basis: 39px; border-radius: 10px; }
  .brand b { font-size: 16px; }
  .brand small { display: none; }
  .global-search { grid-template-columns: 38px 1fr auto; }
  .global-search button { min-width: 74px; padding: 0 12px; }
  .hero-compact, .product-hero { padding: 20px; border-radius: 11px; }
  .hero-compact h1, .product-hero h1 { font-size: 31px; line-height: 1.06; }
  .hero-compact p, .product-hero p { font-size: 12.5px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 22px 0; }
  .section-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .section-title h2, .block-head h2 { font-size: 21px; }
  .market-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }
  .row-product { grid-template-columns: 42px minmax(0,1fr); align-items: start; }
  .service-logo { width: 42px; height: 42px; }
  .row-price { display: flex; align-items: baseline; gap: 7px; }
  .row-buy { justify-content: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .block-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .price-table { min-width: 530px; }
  .checklist { grid-template-columns: 1fr; }
  .content-card, .info-panel, .article { padding: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .cta { align-items: flex-start; flex-direction: column; padding: 20px; }
  .cta h2 { font-size: 21px; }
  .modal-card { padding: 20px; }
  .modal-actions { grid-template-columns: 1fr; }
}
