:root {
  --ink: #0b1f35;
  --muted: #66788a;
  --line: #d7e0e8;
  --paper: #f4f7fa;
  --white: #ffffff;
  --green: #12345a;
  --green-dark: #061a2e;
  --green-soft: #e8eef5;
  --gold: #d7a84a;
  --shadow: 0 20px 52px rgba(6, 26, 46, 0.18);
}

/* Final production theme: full navy corporate look */
body {
  background: #061220;
  color: #ffffff;
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(6, 18, 32, 0.97);
}

.text-brand strong,
.nav a,
.menu-toggle {
  color: #ffffff;
}

.text-brand small {
  color: rgba(255, 255, 255, 0.66);
}

.nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.08);
}

.section,
.catalog-page,
.contact-page {
  min-height: calc(100vh - 150px);
  background:
    radial-gradient(circle at 78% 14%, rgba(215, 168, 74, 0.16), transparent 30%),
    linear-gradient(180deg, #071523 0%, #0b1f35 100%);
  color: #ffffff;
}

.catalog-header h1,
.section-title h2,
.contact-hero h1 {
  color: #ffffff;
}

.search-box,
.catalog-meta,
.product-kicker,
.product-details,
.site-footer {
  color: rgba(255, 255, 255, 0.72);
}

.search-box input {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.category-panel,
.product-card,
.product-dialog {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0f263f;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.category-panel-head,
.quote-row {
  border-color: rgba(255, 255, 255, 0.1);
}

.tab-button {
  color: rgba(255, 255, 255, 0.78);
}

.tab-button[aria-selected="true"] {
  background: #d7a84a;
  color: #071523;
}

.text-button,
.text-link,
.quote-row span {
  color: #d7a84a;
}

.product-title {
  color: #ffffff;
}

.product-media {
  background: linear-gradient(135deg, #ffffff, #dfe8ef);
}

.quote-row button {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(215, 168, 74, 0.16);
  color: #ffffff;
}

.metrics-band,
.site-footer {
  border-color: rgba(255, 255, 255, 0.08);
  background: #061220;
}

.metrics-band div {
  border-color: rgba(255, 255, 255, 0.08);
}

.metrics-band span {
  color: rgba(255, 255, 255, 0.68);
}

.empty-state {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.product-dialog {
  color: #ffffff;
}

.dialog-close {
  border-color: rgba(255, 255, 255, 0.14);
  background: #102840;
  color: #ffffff;
}

@media (max-width: 720px) {
  .nav {
    border-color: rgba(255, 255, 255, 0.12);
    background: #071523;
  }
}

/* Final production theme overrides */
body {
  background: #061220;
  color: #ffffff;
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(6, 18, 32, 0.97);
}

.text-brand strong,
.nav a,
.menu-toggle {
  color: #ffffff;
}

.text-brand small {
  color: rgba(255, 255, 255, 0.66);
}

.nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.08);
}

.section,
.catalog-page,
.contact-page {
  min-height: calc(100vh - 150px);
  background:
    radial-gradient(circle at 78% 14%, rgba(215, 168, 74, 0.16), transparent 30%),
    linear-gradient(180deg, #071523 0%, #0b1f35 100%);
  color: #ffffff;
}

.catalog-header h1,
.section-title h2,
.contact-hero h1 {
  color: #ffffff;
}

.search-box,
.catalog-meta,
.product-kicker,
.product-details,
.site-footer {
  color: rgba(255, 255, 255, 0.72);
}

.search-box input {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.category-panel,
.product-card,
.product-dialog {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0f263f;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.category-panel-head,
.quote-row {
  border-color: rgba(255, 255, 255, 0.1);
}

.tab-button {
  color: rgba(255, 255, 255, 0.78);
}

.tab-button[aria-selected="true"] {
  background: #d7a84a;
  color: #071523;
}

.text-button,
.text-link,
.quote-row span {
  color: #d7a84a;
}

.product-title {
  color: #ffffff;
}

.product-media {
  background: linear-gradient(135deg, #ffffff, #dfe8ef);
}

.quote-row button {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(215, 168, 74, 0.16);
  color: #ffffff;
}

.metrics-band,
.site-footer {
  border-color: rgba(255, 255, 255, 0.08);
  background: #061220;
}

.metrics-band div {
  border-color: rgba(255, 255, 255, 0.08);
}

.metrics-band span {
  color: rgba(255, 255, 255, 0.68);
}

.empty-state {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.product-dialog {
  color: #ffffff;
}

.dialog-close {
  border-color: rgba(255, 255, 255, 0.14);
  background: #102840;
  color: #ffffff;
}

@media (max-width: 720px) {
  .nav {
    border-color: rgba(255, 255, 255, 0.12);
    background: #071523;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 86px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(221, 229, 223, 0.9);
  background: rgba(244, 247, 250, 0.96);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 220px;
  height: auto;
}

.text-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.text-brand strong,
.text-brand small {
  display: block;
}

.text-brand strong {
  color: var(--ink);
  font-size: 20px;
}

.text-brand small {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a,
.menu-toggle {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 14px;
  color: #405149;
  font-weight: 700;
}

.nav a.is-active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.nav-phone {
  border-color: var(--line) !important;
  background: var(--white);
}

.nav-cta {
  border-color: var(--green) !important;
  background: var(--green);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  background: var(--white);
}

.page {
  display: none;
}

.page.is-active {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: clamp(36px, 7vw, 90px) clamp(18px, 5vw, 74px);
  background:
    linear-gradient(110deg, rgba(6, 26, 46, 0.96), rgba(18, 52, 90, 0.9)),
    url("assets/products/p-t-dyp-krf-50-3000-e5e4d83d7b68.png") right 8% center / 440px auto no-repeat;
  color: var(--white);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  opacity: 0.32;
}

.hero-overlay {
  background:
    radial-gradient(circle at 75% 20%, rgba(215, 168, 74, 0.18), transparent 32%),
    linear-gradient(110deg, rgba(6, 26, 46, 0.94), rgba(6, 26, 46, 0.76));
}

.hero-copy,
.quote-panel {
  position: relative;
  z-index: 1;
}

.label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.catalog-header h1,
.contact-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p,
.contact-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #201803;
}

.button.light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.button.outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--green-dark);
}

.button.danger {
  background: #b42318;
  color: var(--white);
}

.button.wide {
  width: 100%;
}

.hero-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(7, 25, 43, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.quote-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

.quote-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.quote-phones {
  display: grid;
  gap: 10px;
}

.quote-phones a {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
}

.hero-product {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
}

.hero-product-large {
  grid-row: span 2;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.metrics-band div {
  padding: 28px clamp(18px, 5vw, 74px);
  border-right: 1px solid var(--line);
}

.metrics-band strong,
.metrics-band span {
  display: block;
}

.metrics-band strong {
  font-size: 30px;
}

.metrics-band span {
  color: var(--muted);
}

.section,
.catalog-page,
.contact-page {
  padding: clamp(38px, 6vw, 74px) clamp(18px, 5vw, 74px);
}

.media-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(46px, 7vw, 90px) clamp(18px, 5vw, 74px);
  background: #111f2e;
  color: var(--white);
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 8px;
  background: #091725;
  box-shadow: var(--shadow);
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.84;
}

.media-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.media-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.featured-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.catalog-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-box input,
.admin-input,
.admin-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
}

.search-box input:focus,
.admin-input:focus,
.admin-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 107, 79, 0.13);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
}

.category-panel,
.contact-cards,
.product-card,
.product-dialog,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 35, 28, 0.05);
}

.category-panel {
  position: sticky;
  top: 110px;
  align-self: start;
  overflow: hidden;
}

.category-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.category-tabs {
  display: grid;
  max-height: calc(100vh - 190px);
  overflow: auto;
  padding: 8px;
}

.tab-button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #43534b;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
}

.tab-button[aria-selected="true"] {
  background: var(--green);
  color: var(--white);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.text-link {
  color: var(--green);
  font-weight: 900;
}

.catalog-meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
}

.product-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
}

.product-card.is-featured {
  grid-template-rows: 190px 1fr;
}

.product-media {
  display: grid;
  place-items: center;
  min-height: 0;
  background: linear-gradient(135deg, #fbfcf8, #e8f1ec);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-placeholder {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.32;
}

.product-details {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.quote-row span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.quote-row button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 900;
}

.contact-page {
  min-height: calc(100vh - 156px);
  background:
    linear-gradient(110deg, rgba(6, 26, 46, 0.96), rgba(18, 52, 90, 0.84)),
    url("assets/products/krs-brd-1000-9d1510fd7f56.png") right 10% center / 360px auto no-repeat;
  color: var(--white);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 28px;
  align-items: center;
}

.contact-cards {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.phone-card {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.phone-card strong {
  color: var(--white);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(18px, 5vw, 74px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.product-dialog {
  width: min(960px, calc(100vw - 28px));
  padding: 0;
}

.product-dialog::backdrop {
  background: rgba(12, 24, 19, 0.62);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
}

.dialog-product {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
}

.dialog-product .product-media {
  min-height: 340px;
  border-radius: 8px;
}

.dialog-product h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  color: var(--muted);
}

.admin-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  padding: 24px clamp(16px, 4vw, 48px);
}

.admin-body {
  min-height: 100vh;
  background: #eef3ef;
}

.admin-header {
  position: sticky;
}

.admin-nav {
  display: flex;
}

.login-shell {
  display: grid;
  min-height: calc(100vh - 86px);
  place-items: center;
  padding: 28px;
}

.login-card {
  display: grid;
  gap: 16px;
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.login-card img {
  width: 210px;
}

.login-card h1,
.admin-panel h1 {
  margin: 0;
}

.form-error {
  margin: 0;
  color: #b42318;
  font-weight: 800;
}

.admin-console {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  padding: 24px clamp(16px, 4vw, 48px);
}

.admin-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  align-content: start;
  gap: 8px;
  height: max-content;
}

.admin-tab {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 16px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.admin-tab.is-active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.admin-view {
  display: none;
}

.admin-view.is-active {
  display: block;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.panel-head.compact h1 {
  font-size: 26px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.file-drop {
  display: grid;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcf8;
  color: var(--muted);
  font-weight: 800;
}

.admin-products {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 18px;
}

.product-list-panel {
  position: sticky;
  top: 110px;
}

.admin-actions,
.export-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-note {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--muted);
}

.admin-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.admin-textarea {
  min-height: 94px;
  resize: vertical;
}

.admin-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 170px);
  overflow: auto;
}

.admin-item {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.admin-item strong {
  font-size: 14px;
}

.admin-item span {
  color: var(--muted);
  font-size: 12px;
}

.admin-item.is-selected {
  border-color: var(--green);
  background: var(--green-soft);
}

.image-preview {
  display: grid;
  min-height: 150px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--muted);
}

.image-preview img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  padding: 12px;
}

@media (max-width: 980px) {
  .hero,
  .media-section,
  .catalog-header,
  .catalog-layout,
  .contact-hero,
  .dialog-product,
  .admin-layout,
  .admin-console,
  .admin-products,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .category-panel,
  .admin-sidebar,
  .product-list-panel {
    position: static;
  }

  .category-tabs {
    display: flex;
    max-height: none;
    overflow-x: auto;
  }

  .tab-button {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
  }

  .brand img {
    width: 178px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-board {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-band {
    grid-template-columns: 1fr;
  }

  .metrics-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: none;
  }
}

/* Production polish */
body {
  background: #071523;
}

.site-header {
  background: #f4f7fa;
}

.hero {
  min-height: calc(100vh - 86px);
  background:
    linear-gradient(100deg, rgba(7, 21, 35, 0.98) 0%, rgba(11, 31, 53, 0.94) 52%, rgba(7, 21, 35, 0.86) 100%),
    url("assets/products/p-t-dyp-krf-50-3000-e5e4d83d7b68.png") right 9% bottom 8% / min(460px, 34vw) auto no-repeat;
}

.section {
  padding-top: clamp(46px, 6vw, 78px);
}

.catalog-page,
.quote-page,
.contact-page {
  padding: clamp(34px, 5vw, 74px) clamp(18px, 5vw, 74px);
  background:
    radial-gradient(circle at 80% 12%, rgba(215, 168, 74, 0.12), transparent 28%),
    linear-gradient(180deg, #071523 0%, #0b1f35 100%);
}

.product-media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.98), rgba(238, 244, 249, 0.92) 52%, rgba(213, 226, 236, 0.8));
}

.product-media img + .product-placeholder {
  display: none;
}

.product-media.has-fallback img {
  display: none;
}

.product-media.has-fallback .product-placeholder,
.product-media .product-placeholder:only-child {
  display: grid;
}

.product-placeholder {
  width: 92px;
  height: 92px;
  border: 1px solid rgba(215, 168, 74, 0.35);
  border-radius: 14px;
  background: #12345a;
  box-shadow: 0 16px 35px rgba(6, 18, 32, 0.22);
  color: #ffffff;
  font-size: 22px;
}

.product-card {
  border-radius: 14px;
  background: #ffffff;
  color: #0b1f35;
}

.product-card .product-title,
.product-card .product-kicker,
.product-card .product-details {
  color: #0b1f35;
}

.product-card .product-details {
  color: #617386;
}

.quote-row button {
  border: 0;
  background: #e8eef5;
  color: #0b1f35;
}

.quote-row button:hover,
.button.primary:hover,
.nav-cta:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.product-dialog {
  width: min(1080px, calc(100vw - 28px));
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  color: #0b1f35;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.product-dialog::backdrop {
  background: rgba(2, 10, 18, 0.72);
  backdrop-filter: blur(3px);
}

.dialog-close {
  top: 16px;
  right: 16px;
  border: 1px solid #d7e0e8;
  background: #ffffff;
  color: #0b1f35;
}

.dialog-product {
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: 28px;
  padding: 34px;
}

.dialog-product .product-media {
  min-height: 420px;
  border: 1px solid #e0e8ef;
  border-radius: 14px;
}

.dialog-product .product-media img {
  padding: 24px;
}

.dialog-product .product-body {
  display: grid;
  align-content: start;
  gap: 16px;
  color: #0b1f35;
}

.dialog-product .product-kicker {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  color: #12345a;
}

.dialog-product .product-kicker span {
  border-radius: 999px;
  background: #e8eef5;
  padding: 7px 10px;
  color: #12345a;
}

.dialog-product h2 {
  color: #0b1f35;
  font-size: clamp(28px, 4vw, 44px);
}

.dialog-product p {
  margin: 0;
  color: #43576b;
  font-size: 16px;
}

.dialog-product .product-details {
  display: grid;
  gap: 8px;
  border-top: 1px solid #e0e8ef;
  border-bottom: 1px solid #e0e8ef;
  padding: 16px 0;
  color: #43576b;
  font-size: 15px;
}

.dialog-actions .button {
  min-height: 48px;
}

.contact-box {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  border: 1px solid #d7e0e8;
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #f3f7fb, #ffffff);
}

.contact-box span {
  color: #d7a84a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-box strong {
  color: #0b1f35;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.contact-box .button {
  margin-top: 4px;
  justify-content: center;
}

.product-card,
.tab-button,
.button,
.nav a,
.dialog-close,
.phone-card {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.tab-button:hover {
  background: rgba(18, 52, 90, 0.12);
  color: #0b1f35;
}

.catalog-page .tab-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.dialog-close:hover,
.phone-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(6, 18, 32, 0.16);
}

.quote-page {
  min-height: calc(100vh - 150px);
}

.quote-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 34px;
  align-items: center;
}

.quote-shell h1 {
  max-width: 900px;
  margin: 10px 0 18px;
  color: #ffffff;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.95;
}

.quote-shell p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
}

.quote-contact-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .dialog-product,
  .quote-shell {
    grid-template-columns: 1fr;
  }

  .dialog-product .product-media {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(7, 21, 35, 0.98), rgba(11, 31, 53, 0.96)),
      url("assets/products/p-t-dyp-krf-50-3000-e5e4d83d7b68.png") right bottom / 260px auto no-repeat;
  }

  .product-dialog {
    width: calc(100vw - 16px);
  }

  .dialog-product {
    padding: 18px;
  }
}

/* Final visual refinement */
.site-header {
  min-height: 88px;
  border-bottom: 1px solid rgba(215, 168, 74, 0.22);
  background:
    linear-gradient(90deg, rgba(6, 18, 32, 0.98), rgba(11, 31, 53, 0.98));
  box-shadow: 0 16px 42px rgba(2, 10, 18, 0.24);
}

.brand-emblem {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, #12345a, #061a2e);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.text-brand strong {
  color: #ffffff;
}

.text-brand small {
  color: rgba(255, 255, 255, 0.74);
}

.nav a,
.menu-toggle {
  color: rgba(255, 255, 255, 0.82);
}

.nav a {
  position: relative;
  background: transparent;
}

.nav a:not(.nav-cta)::after {
  position: absolute;
  right: 14px;
  bottom: 7px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  border-color: rgba(215, 168, 74, 0.55) !important;
  background: linear-gradient(135deg, #d7a84a, #f0c665) !important;
  color: #061a2e !important;
  box-shadow: 0 14px 32px rgba(215, 168, 74, 0.22);
}

.nav-cta:hover {
  box-shadow: 0 18px 40px rgba(215, 168, 74, 0.3);
}

.hero {
  align-items: start;
  min-height: 680px;
  padding-top: clamp(54px, 6vw, 76px);
  padding-bottom: clamp(48px, 6vw, 76px);
  background:
    radial-gradient(circle at 70% 12%, rgba(215, 168, 74, 0.13), transparent 24%),
    linear-gradient(100deg, rgba(4, 16, 29, 0.99) 0%, rgba(8, 30, 53, 0.96) 54%, rgba(5, 18, 32, 0.95) 100%),
    url("assets/products/p-t-dyp-krf-50-3000-e5e4d83d7b68.png") right 6% bottom 7% / min(420px, 30vw) auto no-repeat;
}

.hero-copy {
  padding-top: clamp(18px, 2vw, 28px);
}

.hero h1 {
  max-width: 950px;
  text-wrap: balance;
}

.hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.quote-panel {
  align-self: start;
  margin-top: clamp(20px, 2vw, 34px);
  border-color: rgba(215, 168, 74, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(15, 38, 63, 0.9), rgba(7, 25, 43, 0.74));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.quote-panel h2 {
  max-width: 440px;
}

.quote-phones a {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
}

.quote-phones a:hover {
  border-color: rgba(215, 168, 74, 0.42);
  background: rgba(215, 168, 74, 0.16);
  transform: translateY(-2px);
}

.button.primary {
  box-shadow: 0 12px 28px rgba(215, 168, 74, 0.18);
}

.button:hover {
  transform: translateY(-2px);
}

.section {
  background:
    linear-gradient(180deg, #071523 0%, #0b1f35 100%);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .quote-panel {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 76px;
  }

  .text-brand small {
    max-width: 190px;
    font-size: 12px;
    line-height: 1.25;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 46px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .nav {
    background: #071523;
  }
}

/* Mobile finish */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    align-items: center;
    min-height: 74px;
    padding: 10px 14px;
    gap: 10px;
  }

  .brand-emblem {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-size: 19px;
  }

  .text-brand {
    min-width: 0;
    gap: 10px;
  }

  .text-brand strong {
    max-width: 170px;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .text-brand small {
    max-width: 190px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    line-height: 1.2;
  }

  .menu-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(215, 168, 74, 0.34);
    border-radius: 12px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    z-index: 80;
    display: none;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    border: 1px solid rgba(215, 168, 74, 0.28);
    border-radius: 16px;
    padding: 10px;
    background: #071523;
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.45);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    border-radius: 12px;
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
  }

  .nav a::after {
    display: none;
  }

  .nav a.is-active {
    background: rgba(215, 168, 74, 0.16);
  }

  .nav-cta {
    text-align: center !important;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding: 30px 16px 38px;
    background:
      radial-gradient(circle at 90% 8%, rgba(215, 168, 74, 0.18), transparent 28%),
      linear-gradient(180deg, rgba(4, 16, 29, 0.99), rgba(8, 30, 53, 0.98));
  }

  .hero-copy {
    padding-top: 0;
  }

  .label {
    margin-bottom: 9px;
    font-size: 11px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 54px);
    line-height: 1;
  }

  .hero p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    min-height: 48px;
    padding-inline: 10px;
  }

  .quote-panel {
    width: 100%;
    margin: 0;
    border-radius: 16px;
    padding: 18px;
  }

  .quote-panel h2 {
    font-size: 28px;
  }

  .quote-panel p {
    font-size: 15px;
    line-height: 1.5;
  }

  .quote-phones a {
    padding: 13px;
    font-size: 25px;
  }

  .section,
  .catalog-page,
  .contact-page,
  .quote-page {
    min-height: auto;
    padding: 30px 16px;
  }

  .section-title,
  .catalog-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-title h2,
  .catalog-header h1,
  .contact-hero h1,
  .quote-shell h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.02;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    min-height: 52px;
    width: 100%;
  }

  .catalog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .category-panel {
    position: static;
    border-radius: 16px;
    padding: 12px;
  }

  .category-panel-head {
    padding-bottom: 10px;
  }

  .category-tabs {
    display: flex;
    max-height: none;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 6px;
    scrollbar-width: thin;
  }

  .tab-button {
    flex: 0 0 auto;
    width: auto;
    max-width: 240px;
    border-radius: 12px;
    padding: 12px 14px;
    white-space: nowrap;
  }

  .catalog-meta {
    margin-bottom: 12px;
  }

  .product-grid,
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    border-radius: 16px;
  }

  .product-card .product-media {
    min-height: 230px;
  }

  .quote-row {
    align-items: center;
    gap: 10px;
  }

  .quote-row button {
    min-width: 96px;
  }

  .product-dialog {
    width: calc(100vw - 14px);
    max-height: 92dvh;
    border-radius: 18px;
    overflow: auto;
  }

  .dialog-close {
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 42px;
    height: 42px;
  }

  .dialog-product {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .dialog-product .product-media {
    min-height: 260px;
    max-height: 340px;
  }

  .dialog-product .product-media img {
    padding: 16px;
  }

  .dialog-product h2 {
    font-size: clamp(25px, 8.5vw, 34px);
    line-height: 1.05;
  }

  .dialog-product .product-kicker {
    padding-right: 48px;
  }

  .dialog-product p,
  .dialog-product .product-details {
    font-size: 15px;
  }

  .contact-box {
    padding: 15px;
  }

  .contact-box strong {
    font-size: 25px;
  }

  .contact-hero,
  .quote-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-cards,
  .quote-contact-panel {
    width: 100%;
  }

  .phone-card {
    padding: 16px;
  }

  .phone-card strong {
    font-size: clamp(25px, 8vw, 34px);
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 16px;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .text-brand strong {
    max-width: 145px;
    font-size: 17px;
  }

  .text-brand small {
    max-width: 160px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .quote-phones a,
  .contact-box strong,
  .phone-card strong {
    font-size: 23px;
  }

  .tab-button {
    max-width: 210px;
  }
}

/* Catalog clarity pass */
.catalog-page .category-panel {
  background: #ffffff;
  color: #0b1f35;
}

.catalog-page .category-panel-head {
  min-height: 58px;
  border-bottom: 1px solid #d7e0e8;
}

.catalog-page .category-panel-head strong {
  color: #0b1f35;
  font-size: 18px;
  font-weight: 900;
}

.catalog-page .category-panel .text-button {
  color: #12345a;
  font-weight: 900;
}

.catalog-page .tab-button {
  color: #314437;
}

.catalog-page .tab-button:hover {
  background: #e8eef5;
  color: #0b1f35;
  transform: translateX(2px);
}

.catalog-page .tab-button[aria-selected="true"],
.catalog-page .tab-button[aria-selected="true"]:hover {
  background: #12345a;
  color: #ffffff;
}

.catalog-page .search-box {
  color: rgba(255, 255, 255, 0.78);
}

.catalog-page .search-box span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.catalog-page .search-box input {
  border: 1px solid rgba(215, 168, 74, 0.42);
  background: #ffffff;
  color: #0b1f35;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.catalog-page .search-box input::placeholder {
  color: #617386;
  opacity: 1;
}

.catalog-page .search-box input:focus {
  border-color: #d7a84a;
  box-shadow: 0 0 0 4px rgba(215, 168, 74, 0.18), 0 16px 34px rgba(0, 0, 0, 0.2);
  outline: none;
}

.catalog-page .product-card:hover {
  background: #ffffff;
  color: #0b1f35;
}

.catalog-page .quote-row button:hover {
  background: #12345a;
  color: #ffffff;
}

@media (max-width: 760px) {
  .catalog-page .category-panel-head strong {
    display: inline-block;
  }

  .catalog-page .category-tabs {
    background: #ffffff;
  }

  .catalog-page .tab-button:hover {
    transform: translateY(-1px);
  }
}
