:root {
  --navy: #061f3d;
  --navy-2: #0b3158;
  --ink: #08213f;
  --muted: #617086;
  --line: #dde5ee;
  --lime: #9ad318;
  --lime-2: #b7e83d;
  --bg: #f5f8fb;
  --card: #ffffff;
  --shadow: 0 16px 45px rgba(6, 31, 61, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 clamp(20px, 6vw, 92px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e9eef4;
  box-shadow: 0 2px 18px rgba(8, 33, 63, .05);
}
.brand {
  min-width: 224px;
  display: grid;
  gap: 1px;
}
.logo-text {
  color: var(--navy);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1px;
}
.logo-text::first-letter { color: var(--navy); }
.brand small {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}
.brand img {
  max-height: 45px;
  max-width: 205px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 38px);
  flex: 1;
}
.nav a {
  position: relative;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  padding: 32px 0 28px;
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 3px;
  background: var(--lime);
}
.language {
  position: relative;
  white-space: nowrap;
}
.language-toggle {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}
.language-globe {
  width: 19px;
  height: 19px;
  border: 2px solid var(--navy);
  border-radius: 50%;
}
.language-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-3px);
}
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 210px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  display: none;
}
.language.open .language-menu { display: grid; }
.language-option {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}
.language-option:hover,
.language-option.active {
  background: #eef5e2;
  color: #5d9400;
}

html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .site-header { flex-direction: row-reverse; }
html[dir="rtl"] .brand { text-align: right; }
html[dir="rtl"] .language-menu { left: 0; right: auto; text-align: right; }
html[dir="rtl"] .hero::after {
  background: linear-gradient(270deg, rgba(5, 19, 35, .88) 0%, rgba(5, 19, 35, .52) 45%, rgba(5, 19, 35, .18) 100%);
}
html[dir="rtl"] .hero-content {
  margin-left: 0;
  margin-right: clamp(24px, 6.6vw, 96px);
  text-align: right;
}
html[dir="rtl"] .card-actions,
html[dir="rtl"] .form-grid,
html[dir="rtl"] .admin-grid { direction: rtl; }
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .footer-bottom { direction: rtl; text-align: right; }
html[dir="rtl"] .read-more,
html[dir="rtl"] .btn { flex-direction: row-reverse; }
.menu-btn { display: none; }

.hero {
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #10243a;
}
.hero.compact { min-height: 350px; }
.hero-home {
  min-height: 320px;
  align-items: center;
}
.hero-home .hero-content {
  width: min(520px, 92vw);
}
.hero.hero-home h1 {
  max-width: 520px;
  font-size: var(--hero-title-size, 28px);
  line-height: 1.08;
}
.hero.hero-home p {
  margin: 12px 0 18px;
  font-size: 18px;
}
.hero.hero-home .hero-actions {
  gap: 12px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 18%;
  filter: saturate(.98);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 19, 35, .88) 0%, rgba(5, 19, 35, .52) 45%, rgba(5, 19, 35, .18) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 92vw);
  margin-left: clamp(24px, 6.6vw, 96px);
}
.eyebrow {
  color: var(--lime-2);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1 .accent, .accent { color: var(--lime); }
.hero p {
  margin: 18px 0 30px;
  font-size: clamp(18px, 2vw, 26px);
  color: rgba(255, 255, 255, .92);
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.btn {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border .16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(6, 31, 61, .12); }
.btn.primary {
  border-color: #8fc711;
  color: #10233d;
  background: linear-gradient(135deg, var(--lime-2), #87c800);
}
.btn.dark {
  color: #fff;
  background: rgba(5, 19, 35, .64);
  border-color: rgba(255, 255, 255, .7);
}
.btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.btn.no-arrow::after { display: none; }

.section {
  width: min(1390px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0;
}
.section-title {
  text-align: center;
  margin: 0 0 34px;
  color: var(--navy);
  text-transform: uppercase;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin: 12px auto 0;
  background: var(--lime);
  border-radius: 99px;
}
.feature-strip {
  width: min(1390px, calc(100% - 48px));
  margin: -40px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-item {
  min-height: 138px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--line);
  font-weight: 800;
}
.feature-item:last-child { border-right: 0; }
.feature-icon, .round-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid #dce6ef;
  border-radius: 50%;
  color: var(--navy);
  font-weight: 900;
}
.feature-icon {
  border: 0;
  font-size: 34px;
}
.feature-item small {
  color: var(--muted);
  font-weight: 700;
}

.product-family,
.news-grid,
.topic-grid,
.quality-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.product-family.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-card,
.news-card,
.solution-card,
.topic-card,
.download-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(6, 31, 61, .06);
}
.product-card {
  position: relative;
  padding: 24px;
  min-height: 338px;
  display: grid;
  grid-template-rows: 190px auto;
}
.product-card .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--lime);
  border-radius: 999px;
  padding: 4px 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.product-art {
  height: 180px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 60%, #eaf0f5 0, transparent 52%);
  border-radius: 8px;
}
.product-art img {
  max-height: 172px;
  max-width: 100%;
  object-fit: contain;
}
.device {
  position: relative;
  width: 92px;
  height: 156px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f7f8f8, #fff 42%, #d9dee3);
  box-shadow: 18px 18px 25px rgba(6, 31, 61, .15), inset -8px 0 18px rgba(6, 31, 61, .08);
}
.device::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #223a4d 0 24%, #061f3d 25% 55%, #96d414 56% 61%, #0a213b 62%);
}
.device::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 3px;
  height: 52px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: linear-gradient(#80e8ff, var(--lime));
}
.device.rack {
  width: 120px;
  height: 142px;
  border-radius: 6px;
  background: linear-gradient(90deg, #202832, #111924);
  box-shadow: 16px 18px 25px rgba(6, 31, 61, .18);
  padding: 12px;
}
.device.rack::before {
  inset: 14px;
  width: auto;
  height: auto;
  transform: none;
  border-radius: 4px;
  background: repeating-linear-gradient(to bottom, #263241 0 22px, #0f1721 22px 31px);
}
.device.rack::after {
  left: 20px;
  top: 22px;
  height: 92px;
  width: 3px;
  background: repeating-linear-gradient(to bottom, #f6a21a 0 5px, transparent 5px 18px);
}
.device.portable {
  width: 150px;
  height: 106px;
  margin-top: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #333b43, #101820);
}
.device.portable::before {
  top: -24px;
  width: 76px;
  height: 28px;
  border-radius: 14px 14px 0 0;
  border: 12px solid #2d353d;
  border-bottom: 0;
  background: transparent;
}
.device.portable::after {
  width: 102px;
  height: 34px;
  left: 50%;
  bottom: 38px;
  border-radius: 5px;
  background: linear-gradient(90deg, #182532, #405061);
}
.device.container {
  width: 176px;
  height: 96px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #e8ecef 0 16px, #cdd5dc 16px 18px);
  border: 2px solid #b6c1c9;
}
.device.container::before {
  left: auto;
  right: 20px;
  top: 18px;
  width: 28px;
  height: 42px;
  transform: none;
  border-radius: 3px;
  background: #edf2f4;
  border: 2px solid #9ba9b5;
}
.device.container::after {
  left: 18px;
  top: 15px;
  width: 3px;
  height: 58px;
  transform: none;
  background: #f2c24b;
}
.product-card h3,
.news-card h3,
.topic-card h3 {
  margin: 12px 0 4px;
  font-size: 20px;
  line-height: 1.15;
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.product-gallery img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f9fc;
  padding: 12px;
}
.product-card p { margin: 0 0 12px; color: var(--muted); font-weight: 700; }
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 6px;
  color: #203b57;
  font-size: 14px;
}
.spec-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: middle;
}
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.mini-btn {
  height: 38px;
  border: 1px solid #9cafc0;
  border-radius: 5px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}
.mini-btn.primary { background: var(--lime); border-color: var(--lime); color: #fff; }

.solutions-layout {
  display: grid;
  grid-template-columns: 1.08fr 1.32fr;
  gap: 24px;
  align-items: stretch;
}
.diagram, .architecture {
  min-height: 370px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f3f7fb);
  position: relative;
  overflow: hidden;
  padding: 34px;
}
.image-diagram {
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f6f9fc;
}
.image-diagram img {
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: contain;
}
.diagram-node {
  position: absolute;
  width: 94px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid #c7d5e2;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
  font-size: 12px;
}
.diagram-node.pv { left: 9%; top: 42%; }
.diagram-node.inv { left: 31%; top: 34%; }
.diagram-node.bat { left: 47%; top: 58%; }
.diagram-node.grid { right: 12%; top: 27%; }
.diagram-node.load { right: 9%; bottom: 18%; }
.wire {
  position: absolute;
  height: 3px;
  background: #4fa2e8;
  transform-origin: left center;
}
.wire.green { background: var(--lime); }
.wire.w1 { left: 22%; top: 52%; width: 105px; }
.wire.w2 { left: 43%; top: 45%; width: 170px; transform: rotate(90deg); }
.wire.w3 { left: 57%; top: 44%; width: 190px; }
.wire.w4 { left: 57%; top: 70%; width: 210px; }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.solution-card {
  min-height: 174px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  background: linear-gradient(135deg, rgba(5, 22, 40, .28), rgba(5, 22, 40, .95)), var(--scene);
  background-size: cover;
  background-position: center;
}
.solution-card h3 { margin: 0 0 4px; font-size: 22px; }
.solution-card p { margin: 0; color: rgba(255,255,255,.82); }
.solution-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
}
.scene-home { --scene: linear-gradient(135deg, #654, #234 55%, #152); }
.scene-backup { --scene: linear-gradient(135deg, #10233d, #07101e 58%, #21314c); }
.scene-peak { --scene: linear-gradient(135deg, #041a35, #122b55 48%, #07101e); }
.scene-load { --scene: linear-gradient(135deg, #263d5d, #111c2a 60%, #06101d); }
.scene-offgrid { --scene: linear-gradient(135deg, #253e5f, #69879d 40%, #142617); }
.scene-ci { --scene: linear-gradient(135deg, #6c7884, #263644 58%, #0b1725); }

.news-section { background: var(--bg); padding: 54px 0; }
.news-card { background: #fff; padding-bottom: 20px; }
.news-image {
  height: 150px;
  background: linear-gradient(135deg, #dce4ea, #fff);
  position: relative;
  overflow: hidden;
}
.news-image::before {
  content: "";
  position: absolute;
  inset: 24px 32px;
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, #d5dde4 0 24px, #f6f8fa 24px 28px);
  box-shadow: 0 20px 25px rgba(6,31,61,.16);
}
.news-card .body { padding: 18px 22px 0; }
.meta { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.read-more { margin-top: 14px; color: #6fb400; font-weight: 900; display: inline-flex; gap: 8px; }

.inquiry-band {
  width: min(1390px, calc(100% - 48px));
  margin: 0 auto 0;
  display: grid;
  grid-template-columns: .95fr 1.25fr .72fr;
  gap: 28px;
  align-items: stretch;
  padding: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #f1f6fb);
  border: 1px solid var(--line);
  overflow: hidden;
}
.inquiry-band h2 { margin: 0 0 18px; font-size: 32px; line-height: 1.08; text-transform: uppercase; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #31465d; font-weight: 700; }
.check-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  vertical-align: -3px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid textarea { grid-column: 1 / -1; min-height: 96px; resize: vertical; }
.form-grid .wide { grid-column: 1 / -1; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
}
.agent {
  min-height: 260px;
  border-radius: 9px;
  background: linear-gradient(150deg, #ffffff 0 48%, #e5edf4 49%);
  position: relative;
}
.agent::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 180px;
  height: 230px;
  transform: translateX(-50%);
  border-radius: 90px 90px 0 0;
  background: linear-gradient(#f6d2bb 0 32%, #fff 33% 68%, #dfe8ef 69%);
  box-shadow: 0 18px 30px rgba(6,31,61,.15);
}
body.form-sent .toast { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  padding: 14px 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.products-page {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
}
.filters {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(6,31,61,.05);
  border-radius: 8px;
  background: #fff;
  position: sticky;
  top: 104px;
}
.filters h3 { margin: 0 0 18px; text-transform: uppercase; }
.filter-group { padding: 18px 0; border-top: 1px solid var(--line); }
.filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0;
  color: #293f58;
  font-weight: 700;
  font-size: 14px;
}
.filter-group input { width: 16px; height: 16px; accent-color: var(--lime); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tabs {
  width: min(1260px, calc(100% - 48px));
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(6,31,61,.06);
  overflow-x: auto;
}
.tabs button {
  min-width: 150px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 18px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}
.tabs button.active {
  color: #74ae00;
  box-shadow: inset 0 -3px var(--lime);
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 510px;
  background: #eef3f7;
}
.detail-copy {
  padding: clamp(46px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 4.6vw, 76px);
  line-height: 1.06;
}
.detail-copy h2 { color: var(--lime); margin: 12px 0 20px; font-size: 36px; }
.detail-visual {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #846b4c, #f4f2ed 40%, #466177);
  padding: 34px;
}
.detail-visual img {
  width: min(82%, 560px);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(6, 31, 61, .18));
}
.detail-visual .device { transform: scale(1.8); }
.detail-stats { margin-top: -34px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.copy h2 { font-size: 32px; margin: 0 0 14px; }
.copy p { color: #344a62; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.benefit { display: grid; grid-template-columns: 50px 1fr; gap: 12px; }
.benefit h3 { margin: 0 0 4px; }
.feature-mini { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.feature-mini div { padding: 20px; min-height: 112px; border-right: 1px solid var(--line); }
.feature-mini div:last-child { border-right: 0; }
.feature-mini b { display: block; margin-bottom: 6px; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
}
th { background: #f1f5f8; color: var(--navy); }

.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.ok { color: #77b900; font-weight: 900; }
.dash { color: #9aaaBA; }

.about-stats {
  display: flex;
  gap: 44px;
  margin-top: 34px;
  color: #fff;
}
.about-intro {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: start;
}
.about-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
}
.about-intro p {
  margin: 0;
  color: #344a62;
  font-size: 18px;
  line-height: 1.75;
}
.about-stats b { display: block; color: var(--lime); font-size: 32px; }
.quality-card {
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #a9b4bd, #233b52 52%, #071629);
  border-radius: 8px;
  overflow: hidden;
}
.quality-card h3 { margin: 0 0 6px; }
.download-card {
  display: grid;
  grid-template-columns: 50px 1fr 22px;
  gap: 14px;
  align-items: center;
  padding: 18px;
}
.download-icon {
  width: 42px;
  height: 52px;
  border: 3px solid var(--navy);
  border-radius: 4px;
}

.footer {
  margin-top: 56px;
  background: linear-gradient(135deg, #071d36, #092744);
  color: #d9e5ef;
  padding: 46px clamp(24px, 6vw, 82px) 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: 34px;
  width: min(1390px, 100%);
  margin: 0 auto;
}
.footer h3, .footer h4 { color: #fff; margin: 0 0 14px; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer li, .footer p { color: #c8d6e3; margin: 0 0 8px; font-size: 14px; }
.footer a {
  color: #c8d6e3;
  transition: color .16s ease;
}
.footer a:hover { color: var(--lime); }
.footer-bottom {
  width: min(1390px, 100%);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  color: #b7c6d6;
  font-size: 13px;
}

.admin-body { background: #eef3f8; }
.admin-shell { min-height: 100vh; }
.admin-login {
  width: min(420px, calc(100% - 36px));
  margin: 12vh auto;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.admin-login h1 { margin: 0 0 10px; }
.admin-login p { color: var(--muted); }
.admin-login input { margin: 16px 0; }
.hidden { display: none !important; }
.admin-app {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
.admin-side {
  background: var(--navy);
  color: #fff;
  padding: 28px 18px;
}
.admin-brand {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 30px;
}
.admin-tab, .admin-link {
  width: 100%;
  display: block;
  padding: 13px 14px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #dfeaf4;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}
.admin-tab.active { background: rgba(154, 211, 24, .18); color: #fff; }
.admin-link { border: 1px solid rgba(255,255,255,.22); margin-top: 30px; text-align: center; }
.admin-main { padding: 34px; }
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.admin-top h1 { margin: 0 0 6px; }
.admin-top p { margin: 0; color: var(--muted); }
.admin-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(6,31,61,.07);
}
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.admin-field label { display: block; font-weight: 900; margin-bottom: 8px; }
.admin-field small { display: block; margin-top: 6px; color: var(--muted); }
.banner-editor, .product-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-top: 18px;
}
.banner-editor h3, .product-editor h3 { margin: 0 0 14px; }
.admin-preview {
  width: 100%;
  height: 120px;
  border: 1px dashed #bdcad6;
  border-radius: 6px;
  object-fit: cover;
  background: #f3f6f9;
}
.product-editor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
}
.product-editor .admin-preview { height: 110px; object-fit: contain; }
.product-editor-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.danger { color: #bf3333; border-color: #e9b5b5; }
.inquiry-tools { display: flex; gap: 12px; margin-bottom: 18px; }
.table-wrap { overflow-x: auto; }
.admin-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--lime);
  background: #f5faeb;
  color: #40536a;
  font-weight: 700;
}
.admin-note-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.article-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-top: 18px;
  background: #fff;
}
.article-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.article-editor-head h3 { margin: 0 0 4px; }
.article-content-input { min-height: 240px; }
.article-preview { height: 180px; margin-top: 14px; object-fit: cover; }

.article-page {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
}
.article-page h1 {
  margin: 10px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  color: var(--navy);
}
.article-excerpt {
  font-size: 20px;
  color: #40536a;
  font-weight: 700;
}
.article-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  margin: 30px 0;
}
.article-content {
  color: #203b57;
  font-size: 18px;
}
.article-content p { margin: 0 0 22px; }
.article-source {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.article-source a { color: #6fae00; font-weight: 800; }

@media (max-width: 1100px) {
  .site-header { height: auto; min-height: 72px; flex-wrap: wrap; gap: 16px; padding: 16px 24px; }
  .menu-btn { display: inline-flex; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 8px 12px; font-weight: 800; }
  .nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav a.active::after { bottom: 6px; }
  .language { display: block; order: 3; }
  .language-toggle {
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }
  .language-menu {
    max-height: min(70vh, 430px);
    overflow-y: auto;
    z-index: 40;
  }
  .feature-strip, .feature-mini { grid-template-columns: repeat(3, 1fr); }
  .product-family.five, .product-grid, .solution-grid, .news-grid, .topic-grid, .quality-grid, .download-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-layout, .inquiry-band, .products-page, .two-col, .detail-hero, .about-intro, .admin-app { grid-template-columns: 1fr; }
  .filters { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-side { position: static; }
}

@media (max-width: 680px) {
  .hero, .hero.compact { min-height: 470px; }
  .hero-home { min-height: 330px; }
  .hero-content { margin: 0 24px; }
  .section { width: min(100% - 28px, 1390px); padding: 38px 0; }
  .feature-strip, .feature-mini, .product-family, .product-family.five, .product-grid, .solution-grid, .news-grid, .topic-grid, .quality-grid, .download-grid { grid-template-columns: 1fr; }
  .feature-strip { margin-top: 20px; }
  .feature-item, .feature-mini div { border-right: 0; border-bottom: 1px solid var(--line); }
  .inquiry-band { width: calc(100% - 28px); padding: 22px; grid-template-columns: 1fr; }
  .form-grid, .admin-grid { grid-template-columns: 1fr; }
  .products-page, .tabs { width: calc(100% - 28px); }
  .detail-visual { min-height: 360px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; gap: 18px; }
  .admin-main { padding: 18px; }
  .admin-top { align-items: stretch; flex-direction: column; }
  .product-editor { grid-template-columns: 1fr; }
}

/* Redesigned admin CMS */
.admin-body {
  background: #edf2f7;
  color: #0a2540;
}
.admin-login {
  border-radius: 12px;
  padding: 38px;
}
.admin-login-mark {
  color: #7fb800;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.admin-app {
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 18px;
  background: #071f39;
}
.admin-brand {
  display: grid;
  gap: 4px;
  margin-bottom: 28px;
  padding: 0 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.admin-brand b {
  font-size: 24px;
  color: #fff;
}
.admin-brand span {
  color: #b9cadb;
  font-size: 13px;
}
.admin-tab {
  min-height: 44px;
  border-radius: 8px;
  margin-bottom: 8px;
  color: #cfe0ef;
}
.admin-tab:hover {
  background: rgba(255, 255, 255, .08);
}
.admin-tab.active {
  background: #99d318;
  color: #061f3d;
}
.admin-link {
  margin-top: 22px;
  border-radius: 8px;
}
.admin-main {
  padding: 30px;
}
.admin-top {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 18px 0 22px;
  margin-bottom: 18px;
  background: #edf2f7;
}
.admin-top h1 {
  font-size: 30px;
}
.admin-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.admin-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.admin-section-title {
  margin: 0 0 18px;
}
.admin-section-title h2 {
  margin: 0 0 6px;
  color: #071f39;
  font-size: 22px;
}
.admin-section-title p,
.admin-card p,
.admin-help {
  margin: 0;
  color: #63758a;
}
.admin-card {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 12px 26px rgba(6, 31, 61, .07);
}
.admin-spaced-card {
  margin-top: 20px;
}
.admin-card h3 {
  margin: 0 0 14px;
  color: #071f39;
}
.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.admin-card-head h3 {
  margin-bottom: 4px;
}
.admin-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 20px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.admin-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}
.admin-field span {
  color: #193852;
}
.admin-field small {
  color: #708196;
  font-weight: 500;
}
.admin-field input,
.admin-field textarea,
.admin-field select,
.admin-upload-row input,
.admin-card > input[type="file"],
.admin-product-media input,
.admin-scene-card input,
.admin-article-cover input {
  border: 1px solid #d7e1ea;
  border-radius: 8px;
  background: #fbfdff;
}
.admin-field textarea {
  min-height: 92px;
}
.admin-image-preview,
.admin-image-empty {
  width: 100%;
  height: 190px;
  border: 1px solid #dbe5ef;
  border-radius: 9px;
  background: #f5f8fb;
}
.admin-image-preview {
  object-fit: cover;
}
.admin-image-empty {
  display: grid;
  place-items: center;
  color: #75879b;
  font-weight: 800;
}
.admin-upload-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 16px 0;
  align-items: center;
}
.admin-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.admin-banner-card .admin-image-preview,
.admin-banner-card .admin-image-empty {
  height: 230px;
  margin-bottom: 16px;
}
.admin-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.admin-product-list,
.admin-article-list {
  display: grid;
  gap: 18px;
}
.admin-article-workbench {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.admin-article-nav {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 10px;
}
.admin-article-nav-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.admin-article-nav-head h3 {
  margin: 0;
}
.admin-article-nav-head small {
  color: #718398;
  font-weight: 700;
}
.admin-article-nav-item {
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #dbe5ef;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.admin-article-nav-item b {
  color: #071f39;
  line-height: 1.25;
}
.admin-article-nav-item span {
  color: #60758a;
  font-size: 13px;
}
.admin-article-nav-item small {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #edf3f8;
  color: #60758a;
  font-weight: 900;
}
.admin-article-nav-item small.published {
  background: #edf8d9;
  color: #5f9700;
}
.admin-article-nav-item.active {
  border-color: #99d318;
  box-shadow: 0 0 0 3px rgba(153, 211, 24, .18);
}
.admin-product-workbench {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.admin-product-nav {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 10px;
}
.admin-product-nav h3 {
  margin: 0 0 4px;
}
.admin-product-nav-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px;
  border: 1px solid #dbe5ef;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.admin-product-nav-item b {
  color: #071f39;
}
.admin-product-nav-item span {
  color: #5f7185;
  font-size: 13px;
}
.admin-product-nav-item small {
  color: #6ca700;
  font-weight: 800;
}
.admin-product-nav-item.active {
  border-color: #99d318;
  box-shadow: 0 0 0 3px rgba(153, 211, 24, .18);
}
.admin-product-card {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}
.admin-product-impact {
  display: grid;
  gap: 16px;
}
.admin-product-preview {
  display: grid;
  gap: 16px;
}
.admin-product-preview small {
  display: block;
  margin-bottom: 8px;
  color: #63758a;
  font-weight: 800;
}
.admin-mini-product-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid #dbe5ef;
  border-radius: 9px;
  background: #f9fbfd;
}
.admin-mini-product-card img,
.admin-mini-device {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 7px;
  background: #eef3f7;
}
.admin-mini-device {
  position: relative;
}
.admin-mini-device::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 78px;
  height: 118px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: linear-gradient(90deg, #f7f8f8, #fff 42%, #d9dee3);
  box-shadow: 10px 12px 18px rgba(6, 31, 61, .12);
}
.admin-mini-product-card b {
  color: #071f39;
}
.admin-mini-product-card span {
  color: #62768a;
}
.admin-subcard {
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid #e0e8f0;
  border-radius: 9px;
  background: #fbfdff;
}
.admin-subcard h3 {
  margin: 0 0 14px;
}
.admin-image-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.admin-image-role-grid b {
  display: block;
  margin-bottom: 4px;
  color: #071f39;
}
.admin-image-role-grid p,
.admin-gallery-manager p {
  margin: 0 0 10px;
  color: #63758a;
}
.admin-image-role-grid .admin-image-preview,
.admin-image-role-grid .admin-image-empty {
  height: 170px;
  margin-bottom: 10px;
  object-fit: contain;
}
.admin-gallery-manager {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2eaf2;
}
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.admin-gallery-item {
  display: grid;
  gap: 8px;
}
.admin-gallery-item img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: #f5f8fb;
}
.admin-product-media {
  display: grid;
  gap: 12px;
}
.admin-product-media .admin-image-preview,
.admin-product-media .admin-image-empty {
  height: 210px;
  object-fit: contain;
}
.admin-product-fields textarea {
  min-height: 118px;
}
.admin-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.admin-scene-card p {
  margin-bottom: 12px;
}
.admin-scene-card .admin-image-preview,
.admin-scene-card .admin-image-empty {
  height: 170px;
  margin-bottom: 12px;
}
.admin-article-toolbar {
  margin-bottom: 18px;
}
.admin-article-list-view {
  display: grid;
  gap: 16px;
}
.admin-article-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2eaf2;
}
.admin-article-list-head h3 {
  margin-bottom: 4px;
}
.admin-article-list-head span,
.admin-article-row-main small {
  color: #718398;
  font-weight: 700;
}
.admin-article-list-table {
  display: grid;
  gap: 12px;
}
.admin-article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dbe5ef;
  border-radius: 9px;
  background: #fbfdff;
}
.admin-article-row-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.admin-article-row-main b {
  color: #071f39;
  font-size: 17px;
  line-height: 1.35;
}
.admin-article-row-meta,
.admin-article-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-article-row-meta span {
  color: #5f7185;
  font-size: 13px;
}
.admin-status-pill {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef3f7;
  color: #526579 !important;
  font-weight: 800;
}
.admin-status-pill.published {
  background: #edf8d9;
  color: #5f9700 !important;
}
.admin-article-empty {
  padding: 18px;
  border: 1px dashed #cbd8e4;
  border-radius: 9px;
  color: #63758a;
  background: #fbfdff;
}
.article-form-note {
  margin-top: 16px;
}
.admin-article-body {
  border-top: 1px solid #e2eaf2;
  padding-top: 18px;
}
.article-content-input {
  min-height: 260px;
}
.admin-article-cover {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.admin-article-cover .admin-image-preview,
.admin-article-cover .admin-image-empty {
  height: 150px;
}
.admin-seo-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.admin-seo-summary div {
  padding: 16px;
  border: 1px solid #dbe5ef;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(6, 31, 61, .05);
}
.admin-seo-summary b {
  display: block;
  color: #071f39;
  font-size: 28px;
}
.admin-seo-summary span {
  color: #63758a;
  font-weight: 800;
}
.table-wrap {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(6, 31, 61, .07);
}
.table-wrap table {
  border: 0;
}

.admin-body {
  background: #eef3f7;
}
.admin-app {
  grid-template-columns: 236px minmax(0, 1fr);
}
.admin-side {
  background: linear-gradient(180deg, #061f3d 0%, #082b4b 100%);
  box-shadow: 10px 0 30px rgba(6, 31, 61, .08);
}
.admin-tab,
.admin-link {
  width: 100%;
  justify-content: flex-start;
  padding: 0 14px;
  font-weight: 900;
}
.admin-main {
  max-width: 1480px;
  width: 100%;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(6, 31, 61, .06);
}
.admin-top h1 {
  margin: 0 0 4px;
}
.admin-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2eaf2;
}
.admin-list-head h3 {
  margin-bottom: 4px;
}
.admin-list-head span {
  color: #718398;
  font-weight: 800;
}
.admin-product-toolbar {
  margin-bottom: 18px;
}
.admin-product-list-view,
.admin-product-table,
.admin-product-row-main {
  display: grid;
  gap: 14px;
}
.admin-product-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  background: #fbfdff;
}
.admin-product-row:hover {
  border-color: #b9cfdf;
  box-shadow: 0 10px 22px rgba(6, 31, 61, .06);
}
.admin-product-row-image {
  width: 96px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe5ef;
  border-radius: 9px;
  background: #f5f8fb;
  overflow: hidden;
}
.admin-product-row-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.admin-product-row-image .admin-mini-device {
  width: 74px;
  height: 74px;
  transform: scale(.55);
  transform-origin: center;
}
.admin-product-row-main b {
  color: #071f39;
  font-size: 18px;
}
.admin-product-row-main small {
  color: #718398;
  font-weight: 700;
}
.admin-product-row-meta,
.admin-product-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-product-row-meta span {
  color: #5f7185;
  font-size: 13px;
}
.admin-category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.admin-category-list {
  display: grid;
  gap: 10px;
}
.admin-category-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 90px 110px auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dbe5ef;
  border-radius: 9px;
  background: #fbfdff;
}
.admin-category-row input,
.admin-category-row select {
  height: 40px;
  border: 1px solid #d7e1ea;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
}
.admin-product-edit-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.admin-product-edit-card .admin-subcard {
  margin-bottom: 0;
}
.admin-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 4px 0 16px;
  padding: 14px;
  border: 1px solid #e0e8f0;
  border-radius: 9px;
  background: #f8fbfd;
}
.admin-check-grid b {
  grid-column: 1 / -1;
  color: #193852;
}
.admin-check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #38536d;
  font-weight: 800;
}
.admin-account-list,
.admin-account-table {
  display: grid;
  gap: 14px;
}
.admin-account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  background: #fbfdff;
}
.admin-account-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.admin-permission-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e0e8f0;
  border-radius: 9px;
  background: #fff;
}
.admin-permission-box b {
  color: #193852;
}
.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.admin-permission-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  color: #38536d;
  font-weight: 800;
  background: #f8fbfd;
}
.admin-account-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}
.admin-current-user {
  color: #5f7185;
  font-weight: 800;
  font-size: 13px;
  text-align: right;
}
.admin-empty-state,
.empty-results {
  padding: 22px;
  border: 1px dashed #cbd8e4;
  border-radius: 10px;
  color: #63758a;
  background: #fbfdff;
  font-weight: 800;
}
.product-card.clickable-card,
.product-art.clickable,
.product-title-link {
  cursor: pointer;
}
.product-card.clickable-card:hover,
.product-art.clickable:hover {
  border-color: #9ad318;
  box-shadow: 0 14px 30px rgba(6, 31, 61, .11);
}
.product-title-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.product-title-link:hover {
  color: #6ca700;
}
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
}
.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 35, .68);
}
.product-modal-panel {
  position: relative;
  width: min(980px, 96vw);
  max-height: min(760px, 92vh);
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto auto;
  gap: 16px;
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  overflow: auto;
}
.product-modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #071f39;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.product-modal-media {
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  background: #f6f9fc;
}
.product-modal-media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.gallery-placeholder {
  display: grid;
  place-items: center;
  gap: 18px;
  color: #63758a;
  font-weight: 800;
}
.product-modal-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-modal-info h3 {
  margin: 0;
  color: #071f39;
  font-size: 24px;
}
.product-modal-info p {
  margin: 4px 0 0;
  color: #63758a;
  font-weight: 800;
}
.product-modal-actions,
.product-modal-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-modal-thumbs button {
  width: 82px;
  height: 64px;
  padding: 4px;
  border: 2px solid #dbe5ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.product-modal-thumbs button.active {
  border-color: #9ad318;
}
.product-modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-open {
  overflow: hidden;
}

.admin-section-title p,
.admin-help,
.article-form-note {
  display: none;
}

.admin-note {
  border-left: 0;
  background: transparent;
  padding: 0;
}

@media (max-width: 1180px) {
  .admin-banner-grid,
  .admin-two-col,
  .admin-product-workbench,
  .admin-article-workbench,
  .admin-product-card {
    grid-template-columns: 1fr;
  }
  .admin-product-nav {
    position: static;
  }
  .admin-article-nav {
    position: static;
  }
  .admin-scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-category-layout,
  .admin-check-grid,
  .admin-permission-grid {
    grid-template-columns: 1fr;
  }
  .admin-product-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .admin-product-row-actions {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .admin-app {
    grid-template-columns: 1fr;
  }
  .admin-side {
    position: static;
    height: auto;
  }
  .admin-main {
    padding: 18px;
  }
  .admin-top {
    position: static;
    align-items: stretch;
  }
  .admin-grid,
  .admin-scene-grid,
  .admin-image-role-grid,
  .admin-gallery-grid,
  .admin-category-row,
  .admin-article-row,
  .admin-product-row,
  .admin-account-row,
  .admin-permission-grid,
  .admin-seo-summary,
  .admin-article-cover,
  .admin-upload-row {
    grid-template-columns: 1fr;
  }
  .admin-product-row-actions {
    grid-column: auto;
  }
  .product-modal {
    padding: 14px;
  }
  .product-modal-info {
    align-items: flex-start;
    flex-direction: column;
  }
}
