:root {
  --ht-navy: #082a46;
  --ht-blue: #0b66b2;
  --ht-blue-dark: #084f89;
  --ht-sky: #eaf4fb;
  --ht-ink: #172b3a;
  --ht-muted: #5f7180;
  --ht-border: #d9e3ea;
  --ht-surface: #ffffff;
  --ht-bg: #f5f8fa;
  --ht-radius: 6px;
  --ht-shadow: 0 12px 34px rgba(8, 42, 70, 0.09);
  --ht-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ht-ink); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
body.admin-bar .ht-site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ht-blue); text-decoration: none; }
a:hover, a:focus { color: var(--ht-blue-dark); }
button, input, select, textarea { font: inherit; }
.ht-container { width: min(100% - 40px, var(--ht-container)); margin-inline: auto; }
.ht-content-area { padding-block: 64px; min-height: 55vh; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; padding: 12px 16px; margin: 0; top: 8px; left: 8px; z-index: 100000; color: #fff; background: var(--ht-navy); }

.ht-site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--ht-border); box-shadow: 0 3px 18px rgba(8,42,70,.05); }
.ht-header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ht-brand { flex: 0 0 auto; }
.ht-brand .custom-logo { max-height: 54px; width: auto; }
.ht-wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ht-navy); font-weight: 800; font-size: 1.2rem; letter-spacing: .035em; }
.ht-logo-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; color: #fff; background: var(--ht-blue); font-size: .95rem; letter-spacing: 0; }
.ht-primary-nav { display: flex; align-items: center; gap: 26px; }
.ht-menu { list-style: none; display: flex; align-items: center; gap: 27px; margin: 0; padding: 0; }
.ht-menu li { position: relative; margin: 0; }
.ht-menu a { display: block; color: var(--ht-ink); font-size: .94rem; font-weight: 700; }
.ht-menu a:hover, .ht-menu .current-menu-item > a, .ht-menu .current-menu-ancestor > a { color: var(--ht-blue); }
.ht-menu .sub-menu { display: none; position: absolute; top: calc(100% + 12px); left: -18px; min-width: 230px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); box-shadow: var(--ht-shadow); }
.ht-menu .sub-menu::before { content: ""; position: absolute; inset: -13px 0 auto; height: 13px; }
.ht-menu li:hover > .sub-menu, .ht-menu li:focus-within > .sub-menu { display: block; }
.ht-menu .sub-menu a { padding: 9px 10px; font-weight: 600; }
.ht-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--ht-border); background: #fff; border-radius: 4px; }
.ht-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--ht-navy); }

.ht-button, .elementor a.elementor-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; color: #fff; background: var(--ht-blue); border: 1px solid var(--ht-blue); border-radius: 4px; font-weight: 700; line-height: 1.2; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.ht-button:hover, .ht-button:focus, .elementor a.elementor-button:hover { color: #fff; background: var(--ht-blue-dark); border-color: var(--ht-blue-dark); transform: translateY(-1px); }
.ht-button-outline { color: var(--ht-blue); background: transparent; }
.ht-button-outline:hover, .ht-button-outline:focus { color: #fff; }
.ht-button-small { min-height: 42px; padding: 10px 18px; font-size: .9rem; }

.ht-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ht-card-grid.ht-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ht-product-card, .ht-category-card { display: flex; flex-direction: column; min-width: 0; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); box-shadow: 0 8px 25px rgba(8,42,70,.06); transition: transform .2s ease, box-shadow .2s ease; }
.ht-product-card:hover, .ht-category-card:hover { transform: translateY(-4px); box-shadow: var(--ht-shadow); }
.ht-card-image { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f3f6f8; border-bottom: 1px solid var(--ht-border); }
.ht-card-image img { width: 100%; height: 100%; object-fit: cover; }
.ht-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px; }
.ht-card-kicker { margin: 0 0 6px; color: var(--ht-blue); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ht-card-title { margin: 0 0 9px; font-size: 1.1rem; line-height: 1.3; }
.ht-card-title a { color: var(--ht-navy); }
.ht-card-copy { margin: 0 0 18px; color: var(--ht-muted); font-size: .94rem; }
.ht-card-body .ht-button { margin-top: auto; }
.ht-empty-state { padding: 28px; background: var(--ht-bg); border: 1px solid var(--ht-border); text-align: center; }

.ht-site-footer { color: #dce9f3; background: var(--ht-navy); }
.ht-footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .8fr 1fr; gap: 48px; padding-block: 62px 48px; }
.ht-footer-title { margin: 0 0 16px; color: #fff; font-size: 1.45rem; }
.ht-footer-heading { margin: 0 0 16px; color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.ht-site-footer p { color: #b8cddd; }
.ht-footer-links { list-style: none; padding: 0; margin: 0; }
.ht-footer-links li { margin-bottom: 8px; }
.ht-footer-links a { color: #c9dae7; }
.ht-footer-links a:hover { color: #fff; }
.ht-footer-bottom { padding-block: 18px; color: #9fbbce; background: #061f34; font-size: .88rem; }

.ht-page-hero { padding: 92px 0; color: #fff; background: linear-gradient(110deg, rgba(8,42,70,.97), rgba(11,102,178,.82)); }
.ht-page-hero h1 { max-width: 830px; margin: 0 0 16px; color: #fff; font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1.08; }
.ht-page-hero p { max-width: 720px; margin: 0; color: #dcecf8; font-size: 1.12rem; }

.ht-product-detail { padding-block: 64px 82px; }
.ht-breadcrumbs { margin-bottom: 28px; color: var(--ht-muted); font-size: .9rem; }
.ht-breadcrumbs a { color: var(--ht-muted); }
.ht-product-main { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 58px; align-items: start; }
.ht-product-gallery { position: sticky; top: 110px; }
.ht-product-main-image { aspect-ratio: 1 / 1; overflow: hidden; background: #fff; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); }
.ht-product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.ht-product-summary h1 { margin: 0 0 14px; color: var(--ht-navy); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; }
.ht-product-intro { color: var(--ht-muted); font-size: 1.05rem; }
.ht-spec-list { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0; border-top: 1px solid var(--ht-border); border-left: 1px solid var(--ht-border); }
.ht-spec { padding: 14px 16px; border-right: 1px solid var(--ht-border); border-bottom: 1px solid var(--ht-border); }
.ht-spec dt { margin-bottom: 3px; color: var(--ht-muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.ht-spec dd { margin: 0; color: var(--ht-navy); font-weight: 700; }
.ht-product-description, .ht-parameter-section { margin-top: 58px; }
.ht-product-description h2, .ht-parameter-section h2 { color: var(--ht-navy); font-size: 1.7rem; }
.ht-table-wrap { overflow-x: auto; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); }
.ht-parameter-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.ht-parameter-table th, .ht-parameter-table td { padding: 13px 16px; border-bottom: 1px solid var(--ht-border); text-align: left; }
.ht-parameter-table th { color: var(--ht-navy); background: var(--ht-sky); font-size: .88rem; }
.ht-parameter-table tr:last-child td { border-bottom: 0; }

.ht-form { max-width: 820px; }
.ht-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ht-field { margin-bottom: 20px; }
.ht-field-full { grid-column: 1 / -1; }
.ht-field label { display: block; margin-bottom: 7px; color: var(--ht-navy); font-weight: 700; }
.ht-field input, .ht-field select, .ht-field textarea { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ht-ink); background: #fff; border: 1px solid #bacbd7; border-radius: 4px; }
.ht-field textarea { min-height: 140px; resize: vertical; }
.ht-field input:focus, .ht-field select:focus, .ht-field textarea:focus { outline: 3px solid rgba(11,102,178,.16); border-color: var(--ht-blue); }
.ht-required { color: #b3261e; }
.ht-form-note { color: var(--ht-muted); font-size: .88rem; }
.ht-form-message { margin-bottom: 22px; padding: 14px 16px; border-radius: 4px; }
.ht-form-success { color: #0d5b35; background: #e9f7ef; border: 1px solid #a6d9bc; }
.ht-form-error { color: #8a1c16; background: #fff0ef; border: 1px solid #efb7b2; }
.ht-honeypot { position: absolute !important; left: -9999px !important; }

/* Elementor page helpers. All content using these classes remains editable in Elementor. */
.ht-eyebrow { color: #6fc2ff; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ht-section-heading { color: var(--ht-navy); }
.ht-industrial-panel { border-left: 4px solid var(--ht-blue); }
.ht-hero-actions .elementor-widget-button { width: auto; }
.ht-contact-form-shell { padding: 34px; background: #fff; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); box-shadow: var(--ht-shadow); }

@media (max-width: 980px) {
  .ht-card-grid, .ht-card-grid.ht-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ht-footer-grid { grid-template-columns: 1fr 1fr; }
  .ht-menu-toggle { display: block; }
  .ht-primary-nav { display: none; position: absolute; inset: 80px 0 auto; align-items: stretch; flex-direction: column; gap: 16px; padding: 22px 20px 26px; background: #fff; border-bottom: 1px solid var(--ht-border); box-shadow: var(--ht-shadow); }
  .ht-primary-nav.is-open { display: flex; }
  .ht-menu { align-items: stretch; flex-direction: column; gap: 0; }
  .ht-menu a { padding: 11px 0; }
  .ht-menu .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 4px 18px; border: 0; box-shadow: none; }
  .ht-header-cta { align-self: flex-start; }
  .ht-product-main { gap: 34px; }
}

@media (max-width: 767px) {
  body.admin-bar .ht-site-header { top: 46px; }
  .ht-container { width: min(100% - 28px, var(--ht-container)); }
  .ht-header-inner { min-height: 70px; }
  .ht-primary-nav { top: 70px; }
  .ht-page-hero { padding: 64px 0; }
  .ht-product-main { grid-template-columns: 1fr; }
  .ht-product-gallery { position: static; }
  .ht-spec-list { grid-template-columns: 1fr; }
  .ht-form-grid { grid-template-columns: 1fr; gap: 0; }
  .ht-field-full { grid-column: auto; }
  .ht-footer-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 46px 38px; }
}

@media (max-width: 520px) {
  .ht-card-grid, .ht-card-grid.ht-category-grid { grid-template-columns: 1fr; }
  .ht-button { width: 100%; }
  .ht-header-cta { width: 100%; }
  .ht-contact-form-shell { padding: 22px 16px; }
}

