/*============================================================
   HESHAM INDUSTRIAL SOLUTIONS - SHARED SITE STYLES
   ------------------------------------------------------------
   Edit this file only for elements shared by multiple pages:
   header, navigation, drawer, common buttons, footer and globals.
   Every page also has its own CSS file in this folder.
   ============================================================*/

:root {
  --navy: #061a34;
  --navy2: #0b2b52;
  --blue: #0878ee;
  --blue2: #18a2f1;
  --lime: #b7df00;
  --ink: #0b1b31;
  --muted: #66758a;
  --soft: #f5f8fc;
  --white: #fff;
  --line: #dfe7f0;
  --shadow: 0 18px 50px rgba(8,33,65,.13);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px,calc(100% - 40px));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e3eaf2;
  box-shadow: 0 4px 18px rgba(5,27,53,.05);
}

.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  align-self: stretch;
  background: #fff;
}

.brand img {
  width: 170px;
  height: 60px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 30px 0;
}

.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--blue);
  transition: .25s;
}

.nav a:hover:after {
  right: 0;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .18s ease,box-shadow .18s ease,background .18s ease;
}

.btn-primary {
  background: linear-gradient(135deg,var(--blue),#0058c8);
  color: #fff;
  box-shadow: 0 9px 24px rgba(0,112,238,.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,112,238,.35);
}

.btn-outline {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
}

@keyframes buttonTap {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(.94) rotate(-.6deg);
  }

  100% {
    transform: scale(1);
  }
}

.hero {
  position: relative;
  min-height: 640px;
  color: #fff;
  background: #03172d;
  display: flex;
  align-items: center;
  padding: 90px 0 110px;
  overflow: visible;
}

.eyebrow,.section-kicker {
  font-size: 13px;
  letter-spacing: .11em;
  font-weight: 900;
  color: var(--lime);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(52px,6vw,78px);
  line-height: .98;
  margin: 0 0 22px;
  letter-spacing: -.04em;
}

.hero h1 span {
  background: linear-gradient(90deg,#168cff,#4bb5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-kicker {
  color: var(--blue);
}

.solution-card,.product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(8,33,65,.08);
  border: 1px solid #e6edf5;
  transition: .25s;
}

.solution-card:hover,.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(8,33,65,.14);
}

.media-wrap {
  aspect-ratio: 4/3;
  background: #e8edf4;
  position: relative;
  overflow: hidden;
}

.media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .4s,transform .6s;
}

.media-wrap img.loaded {
  opacity: 1;
  transform: scale(1);
}

.media-wrap:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,#e9eef4 20%,#f8fafc 40%,#e9eef4 60%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.media-wrap.loaded:before {
  display: none;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.product-card .media-wrap {
  aspect-ratio: 16/10;
}

.product-card .card-body {
  padding: 22px;
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

.review-card {
  width: 360px;
  flex: 0 0 auto;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 18px 20px;
}

.stars {
  color: #ffc13c;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #e9f2fb;
  margin: 10px 0;
}

.review-card b {
  font-size: 13px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: #e9eef4;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: .4s;
}

.gallery-item img.loaded {
  opacity: 1;
}

.gallery-item:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,#e7ecf2 20%,#f9fbfd 40%,#e7ecf2 60%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.gallery-item.loaded:before {
  display: none;
}

.gallery-item:after {
  content: "⌕";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
  transform: scale(.86);
  opacity: 0;
  transition: .2s;
}

.gallery-item:hover:after {
  opacity: 1;
  transform: scale(1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-status {
  font-size: 13px;
  margin-bottom: 0;
}

.footer {
  background: #03172d;
  color: #d9e6f5;
  padding: 56px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand img {
  width: 180px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}

.footer-brand p {
  max-width: 420px;
  color: #9fb1c8;
}

.footer-grid>div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid b {
  color: #fff;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 13px;
  color: #8da3bb;
}

.user-msg {
  margin-left: auto;
  background: #0878ee;
  color: #fff;
}

@media (max-width:1050px) {
  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 13px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width:820px) {
  .nav-wrap {
    height: 70px;
  }

  .brand img {
    width: 140px;
    height: 52px;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .nav a:after {
    display: none;
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .hero h1 {
    font-size: 50px;
  }
}

@media (max-width:560px) {
  .container {
    width: min(100% - 28px,1180px);
  }

  .card-grid,.product-grid,.gallery-grid,.form-row,.footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .hero h1 {
    font-size: 43px;
  }

  .review-card {
    width: 300px;
  }
}

/* ===== V4 commerce/search/gallery/admin additions ===== */

.search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 23px;
  color: #647991;
}

@keyframes searchPop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.search-label {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 900;
  color: #6f8297;
  background: #f7f9fc;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.search-result {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid #eef2f6;
}

.search-result:hover {
  background: #f7fbff;
}

.search-result img {
  width: 48px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.search-result span {
  display: flex;
  flex-direction: column;
}

.search-result b {
  font-size: 13px;
}

.search-result small {
  color: #718196;
  margin-top: 3px;
}

.search-result em {
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  color: #0a77df;
}

.search-all {
  display: block;
  text-align: center;
  padding: 13px;
  font-weight: 850;
  color: #0878ee;
  border-top: 1px solid #eef2f6;
}

.search-empty {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.search-empty b {
  font-size: 16px;
}

.search-empty span {
  font-size: 13px;
  color: #718196;
  line-height: 1.5;
}

.search-empty a {
  font-weight: 850;
  color: #0878ee;
  margin-top: 6px;
}

.mini-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 850;
  color: #0878ee;
  font-size: 13px;
}

.filter-chip {
  border: 1px solid #dce6f0;
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  color: #51667e;
  cursor: pointer;
  transition: .2s;
}

.filter-chip:hover,.filter-chip.active {
  background: #0878ee;
  color: #fff;
  border-color: #0878ee;
  transform: translateY(-1px);
}

.gallery-item .gallery-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(3,23,45,.82);
  color: #fff;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 850;
  z-index: 2;
}

.gallery-item .gallery-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  background: linear-gradient(transparent,rgba(1,15,30,.82));
  z-index: 2;
}

.empty-state {
  grid-column: 1/-1;
  padding: 36px;
  text-align: center;
  background: #f6f9fc;
  border-radius: 14px;
  color: #718196;
}

/* shared inner pages */

.inner-page {
  background: #f5f8fc;
  min-height: 100vh;
}

.inner-main {
  padding: 38px 0 80px;
}

.page-hero {
  background: linear-gradient(135deg,#061a34,#0a4d8e);
  color: #fff;
  padding: 48px 0;
}

.page-hero h1 {
  font-size: 42px;
  margin: 6px 0 10px;
}

.page-hero p {
  max-width: 720px;
  color: #ccdeef;
  line-height: 1.65;
}

.breadcrumb {
  font-size: 12px;
  color: #8eb8df;
}

.commerce-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
}

.commerce-search {
  flex: 1;
  max-width: 580px;
  border: 1px solid #dce6f0;
  border-radius: 12px;
  padding: 13px 15px;
  font: inherit;
}

.store-card {
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(7,30,56,.06);
}

.store-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.store-card-body {
  padding: 18px;
}

.store-card .cat {
  font-size: 10px;
  font-weight: 900;
  color: #0878ee;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.store-card h3 {
  font-size: 17px;
  margin: 7px 0;
}

.store-card p {
  font-size: 13px;
  color: #6d7f92;
  line-height: 1.55;
  min-height: 60px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
}

.price {
  font-size: 20px;
  font-weight: 950;
  color: #071d35;
}

.buy-btn,.cart-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 850;
  cursor: pointer;
}

.cart-btn {
  background: #eaf4ff;
  color: #086fcf;
}

.buy-btn {
  background: #0878ee;
  color: #fff;
}

.cart-line {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f5;
}

.cart-line img {
  width: 58px;
  height: 52px;
  object-fit: cover;
  border-radius: 9px;
}

.cart-line b {
  font-size: 13px;
}

.cart-line small {
  color: #74869a;
}

.cart-line button {
  border: 0;
  background: none;
  color: #c33;
  cursor: pointer;
}

.checkout-note {
  background: #fff6db;
  border: 1px solid #f2d988;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0;
}

.agree-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px;
  background: #f7f9fc;
  border-radius: 12px;
}

.agree-row input {
  margin-top: 3px;
}

.demo-badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff1c7;
  color: #8a6500;
  font-size: 10px;
  font-weight: 900;
}

.notice {
  padding: 14px 16px;
  border-radius: 12px;
  background: #eef7ff;
  color: #195b91;
  border: 1px solid #cde6fb;
  font-size: 13px;
  line-height: 1.55;
}

/* admin */

.admin-nav button.active,.admin-nav button:hover,.admin-nav a:hover {
  background: #0d3a68;
  color: #fff;
}

.admin-panel.active {
  display: block;
}

.metric {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #e1e9f2;
}

.metric strong {
  display: block;
  font-size: 26px;
  color: #071d35;
}

.metric span {
  font-size: 12px;
  color: #74869a;
}

.thumb {
  width: 50px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.admin-form .full {
  grid-column: 1/-1;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.sm-btn {
  border: 0;
  border-radius: 8px;
  padding: 7px 9px;
  font-weight: 800;
  cursor: pointer;
}

.sm-edit {
  background: #eaf4ff;
  color: #086fcf;
}

.sm-del {
  background: #fff0f0;
  color: #b83636;
}

.order-step {
  text-align: center;
  position: relative;
}

.order-step:before {
  content: "";
  position: absolute;
  left: -50%;
  right: 50%;
  top: 12px;
  height: 3px;
  background: #dce6f0;
}

.order-step:first-child:before {
  display: none;
}

.order-step i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dce6f0;
  margin: auto;
  position: relative;
  z-index: 2;
  font-style: normal;
  font-size: 11px;
}

.order-step.done i,.order-step.current i {
  background: #0878ee;
  color: #fff;
}

.order-step.done:before,.order-step.current:before {
  background: #0878ee;
}

.order-step span {
  display: block;
  font-size: 10px;
  margin-top: 7px;
  color: #718196;
  font-weight: 800;
}

@media (max-width:600px) {
  .commerce-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-form .full {
    grid-column: auto;
  }

  .order-step {
    text-align: left;
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .order-step:before {
    display: none;
  }

  .order-step i {
    margin: 0;
  }

  .order-step span {
    margin: 0;
  }
}

.his-global-header {
  position: relative;
  z-index: 9999;
  background: #061a34;
  color: #fff;
  box-shadow: 0 3px 18px #0002;
}

.his-global-inner {
  max-width: 1240px;
  margin: auto;
  min-height: 74px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.his-global-brand img {
  width: 190px;
  max-height: 54px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
}

.his-global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 17px;
  flex-wrap: wrap;
}

.his-global-nav a {
  color: #fff !important;
  text-decoration: none !important;
  font: 600 14px Arial,sans-serif;
}

.his-global-nav a:hover {
  opacity: .75;
}

.his-menu {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid #ffffff55;
  color: #fff;
  border-radius: 8px;
  font-size: 24px;
  padding: 5px 10px;
}

@media (max-width:900px) {
  .his-menu {
    display: block;
  }

  .his-global-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .his-global-nav {
    display: none;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .his-global-nav.open {
    display: flex;
  }

  .his-global-nav a {
    padding: 10px 4px;
    border-top: 1px solid #ffffff18;
  }
}

/* V1.02.4 - Professional dynamic shop cards */

.store-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  cursor: pointer;
  transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(7,30,56,.12);
  border-color: #cbdced;
}

.store-card>img {
  display: block;
  width: 100%;
  height: 230px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f7f9fc;
  padding: 16px;
  border-bottom: 1px solid #edf2f7;
  box-sizing: border-box;
}

.store-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.store-card h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 8px 0 5px;
  color: #071d35;
}

.store-card .product-sku {
  font-size: 12px;
  color: #6d7f92;
  margin-bottom: 8px;
}

.store-card p {
  font-size: 13px;
  color: #6d7f92;
  line-height: 1.55;
  min-height: 0;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card .stock-label {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 850;
  margin-top: auto;
  margin-bottom: 13px;
}

.store-card .stock-label.in-stock {
  background: #ecf8f0;
  color: #18743b;
}

.store-card .stock-label.out-stock {
  background: #fff0f0;
  color: #b42318;
}

.store-card .price-row {
  display: block;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
}

.store-card .price {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
  color: #071d35;
  margin-bottom: 13px;
  overflow-wrap: anywhere;
}

.store-card .price-row>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.store-card .cart-btn,.store-card .buy-btn {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.store-card .cart-btn:disabled,.store-card .buy-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media (max-width:1100px) {
  .store-card>img {
    height: 210px;
  }

  .store-card .price-row>div {
    grid-template-columns: 1fr;
  }

  .store-card .price {
    font-size: 20px;
  }
}

@media (max-width:900px) {
  .store-card>img {
    height: 220px;
  }

  .store-card .price-row>div {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:600px) {
  .store-card>img {
    height: 240px;
  }

  .store-card-body {
    padding: 18px;
  }

  .store-card .price-row>div {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:390px) {
  .store-card .price-row>div {
    grid-template-columns: 1fr;
  }
}

/* V1.02.5 - unified public content pages */

.info-intro {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 28px;
}

.info-intro h2 {
  font-size: clamp(30px,4vw,46px);
  line-height: 1.1;
  margin: 8px 0 16px;
}

.info-intro p {
  color: var(--muted);
  line-height: 1.8;
}

.info-highlight {
  border-radius: 18px;
  background: linear-gradient(145deg,#061a34,#0b3b70);
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}

.info-highlight b {
  font-size: 25px;
  line-height: 1.25;
}

.info-highlight span {
  margin-top: 12px;
  color: #cbd9e8;
  line-height: 1.65;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin: 26px 0 34px;
}

.solutions-grid {
  grid-template-columns: repeat(2,1fr);
}

.info-cta {
  margin-top: 30px;
  padding: 28px 30px;
  border-radius: 18px;
  background: #071d35;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.info-cta h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.info-cta p {
  margin: 0;
  color: #bfd0e2;
}

.review-page-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.review-page-card {
  background: #fff;
  border: 1px solid #e1e9f2;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(7,30,56,.06);
}

.review-page-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #40566d;
  min-height: 78px;
}

.review-page-card b {
  font-size: 13px;
  color: #071d35;
}

.review-stars {
  color: #f6b51b;
  letter-spacing: 2px;
  font-size: 18px;
}

/* Product detail: customer sees dots + smooth auto carousel, no bulky thumbnails */

@media (max-width:1050px) {
  .site-header .nav {
    gap: 16px;
    font-size: 12px;
  }

  .site-header .nav-wrap {
    gap: 18px;
  }

  .site-header .brand img {
    width: 145px;
  }
}

@media (max-width:900px) {
  .info-grid,.review-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header .nav {
    overflow-x: auto;
    max-width: 100%;
    gap: 18px;
  }

  .site-header .nav a {
    white-space: nowrap;
  }
}

@media (max-width:620px) {
  .info-grid,.review-page-grid,.solutions-grid {
    grid-template-columns: 1fr;
  }

  .info-cta {
    padding: 24px;
  }
}

/* V1.02.7 premium merchandising + single-stage gallery transition */

.hot-card {
  flex: 0 0 min(280px,78vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #dfe9f4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(11,42,77,.08);
  cursor: pointer;
  transition: transform .25s ease,box-shadow .25s ease;
}

.hot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(11,42,77,.14);
}

.hot-media {
  height: 210px;
  position: relative;
  background: #f7f9fc;
  display: grid;
  place-items: center;
}

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

.hot-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #d71920;
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
}

.hot-body {
  padding: 17px;
}

.hot-body small {
  color: #0878ee;
  font-weight: 850;
  text-transform: uppercase;
  font-size: 10px;
}

.hot-body h3 {
  font-size: 17px;
  margin: 7px 0 12px;
  min-height: 42px;
  color: #0c2039;
}

.hot-body strong {
  font-size: 21px;
  color: #071b33;
}

.hot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}

.hot-view,.hot-buy {
  border: 1px solid #0878ee;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-weight: 850;
  font-size: 12px;
}

.hot-buy {
  background: #0878ee;
  color: #fff;
  cursor: pointer;
}

.hot-view {
  color: #0878ee;
}

.pd-image-changing {
  opacity: .12 !important;
  transform: scale(.985) !important;
}

@media (max-width:700px) {
  .hot-card {
    flex-basis: 82vw;
  }
}

.shop-hot-strip {
  margin: 0 0 28px;
  padding: 22px;
  border: 1px solid #dfe9f4;
  border-radius: 20px;
  background: linear-gradient(135deg,#f8fbff,#fff);
  box-shadow: 0 10px 32px rgba(8,44,82,.06);
}

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

.shop-hot-head span {
  font-size: 10px;
  font-weight: 900;
  color: #d71920;
  letter-spacing: .1em;
}

.shop-hot-head h2 {
  margin: 3px 0 0;
  color: #09213e;
}

.shop-hot-head button {
  border: 0;
  background: transparent;
  color: #0878ee;
  font-weight: 850;
  cursor: pointer;
}

.shop-hot-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 5px;
}

.shop-hot-track::-webkit-scrollbar {
  display: none;
}

.shop-hot-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  border: 1px solid #e1eaf3;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: .22s;
}

.shop-hot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(9,39,72,.1);
}

.shop-hot-img {
  height: 135px;
  position: relative;
  background: #f7f9fc;
}

.shop-hot-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.shop-hot-img b {
  position: absolute;
  left: 8px;
  top: 8px;
  background: #d71920;
  color: #fff;
  border-radius: 999px;
  padding: 5px 7px;
  font-size: 8px;
}

.shop-hot-card>div:last-child {
  padding: 11px;
}

.shop-hot-card small {
  font-size: 9px;
  color: #0878ee;
  font-weight: 800;
}

.shop-hot-card h3 {
  font-size: 13px;
  margin: 4px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-hot-card strong {
  font-size: 15px;
}

/* ===== HOT PRODUCTS VISIBILITY FIX v16 ===== */

.hot-loading-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 150px;
  border: 1px dashed #c9d9ea;
  border-radius: 16px;
  background: #fff;
  color: #66758a;
  font-weight: 700;
}

.shop-hot-strip {
  position: relative;
  margin: 0 0 30px;
  padding: 24px;
  border: 1px solid #dbe8f6;
  border-radius: 22px;
  background: linear-gradient(135deg,#fff 0%,#f5f9ff 55%,#fff7f4 100%);
  box-shadow: 0 14px 38px rgba(8,44,82,.08);
}

.shop-hot-strip:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(#ff6a00,#e31b23);
}

.shop-hot-head h2 {
  font-size: 28px !important;
}

.shop-hot-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff0ec;
  color: #d71920 !important;
  padding: 6px 10px;
  border-radius: 999px;
}

/*=====================================================
   V1.02.8 INDUSTRIAL MERCHANDISING / SPOTLIGHT
   =====================================================*/

.search-icon {
  display: none !important;
}

.industrial-spotlight {
  position: relative;
  margin: 0 0 34px;
  padding: 28px;
  border: 1px solid #dbe6f1;
  border-radius: 24px;
  background: linear-gradient(180deg,#fff 0%,#f8fbff 100%);
  box-shadow: 0 18px 48px rgba(8,35,68,.08);
  overflow: hidden;
}

.industrial-spotlight:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg,#0878ee,#10a7b8,#f39a24);
  opacity: .9;
}

.industrial-spotlight-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.industrial-kicker {
  display: block;
  color: #0a6fd8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  margin-bottom: 7px;
}

.industrial-spotlight-head h2 {
  margin: 0;
  color: #091f3a;
  font-size: clamp(26px,3vw,38px);
  letter-spacing: -.025em;
}

.industrial-spotlight-head p {
  margin: 7px 0 0;
  color: #66798f;
  max-width: 650px;
  line-height: 1.55;
}

.industrial-view-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cfe0f2;
  background: #fff;
  color: #096fd6 !important;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 11px;
  font-weight: 850;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: .2s;
}

.industrial-view-all:hover {
  border-color: #8fc4f5;
  box-shadow: 0 8px 20px rgba(8,86,158,.1);
  transform: translateY(-1px);
}

.industrial-category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1px 0 18px;
}

.industrial-category-tabs::-webkit-scrollbar {
  display: none;
}

.industrial-category-btn.active {
  background: #0a70d8;
  border-color: #0a70d8;
  color: #fff;
  box-shadow: 0 5px 14px rgba(10,112,216,.18);
}

.industrial-carousel {
  position: relative;
}

.industrial-viewport {
  overflow: hidden;
  border-radius: 19px;
  background: #071d36;
}

.industrial-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.industrial-loading {
  flex: 0 0 100%;
  min-height: 300px;
  display: grid;
  place-items: center;
  color: #c7d6e6;
}

.industrial-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 54px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  color: #0a315a;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  opacity: .92;
  transition: .2s;
}

.industrial-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
}

.industrial-prev {
  left: 12px;
}

.industrial-next {
  right: 12px;
}

.industrial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-top: 15px;
}

.industrial-dot.active {
  width: 26px;
  background: #0a70d8;
}

/* override old hot-product card styling without affecting legacy fallback sections */

.shop-hot-strip {
  all: unset;
}

.catalog-hot-section.industrial-spotlight {
  margin: 30px auto 36px !important;
  padding: 28px !important;
  background: linear-gradient(180deg,#fff,#f8fbff) !important;
  border: 1px solid #dbe6f1 !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 48px rgba(8,35,68,.08) !important;
  display: block !important;
}

@media (max-width:840px) {
  .industrial-spotlight {
    padding: 20px;
  }

  .industrial-spotlight-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .industrial-arrow {
    width: 36px;
    height: 46px;
  }

  .industrial-prev {
    left: 6px;
  }

  .industrial-next {
    right: 6px;
  }
}

@media (max-width:560px) {
  .industrial-spotlight {
    padding: 15px;
    border-radius: 18px;
  }

  .industrial-category-tabs {
    padding-bottom: 13px;
  }
}

/*==========================================================
   V1.04 RESPONSIVE NAVIGATION + MOBILE STABILITY
   ==========================================================*/

html,body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 0;
}

.his-old-search-hidden {
  display: none !important;
}

.his-pro-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #fff;
  border-bottom: 1px solid #e5edf5;
  box-shadow: 0 5px 24px rgba(5,31,59,.07);
}

.his-pro-inner {
  width: min(1220px,calc(100% - 36px));
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  min-width: 0;
}

.his-pro-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
}

.his-pro-brand img {
  width: 152px;
  height: 56px;
  object-fit: contain;
  background: #fff;
}

.his-pro-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  min-width: 0;
}

.his-pro-nav a {
  font-size: 13px;
  font-weight: 800;
  color: #14263d;
  white-space: nowrap;
  position: relative;
  padding: 29px 0;
}

.his-pro-nav a:after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 100%;
  bottom: 21px;
  background: #0878ee;
  transition: .22s;
}

.his-pro-nav a:hover:after,.his-pro-nav a.active:after {
  right: 0;
}

.his-pro-nav a.active {
  color: #0878ee;
}

.his-pro-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.his-search-trigger,.his-menu-trigger {
  width: 42px;
  height: 42px;
  border: 1px solid #dce7f2;
  border-radius: 12px;
  background: #fff;
  color: #0b2d50;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .2s;
}

.his-search-trigger:hover,.his-menu-trigger:hover {
  border-color: #9ccdfd;
  background: #eef7ff;
  color: #0878ee;
}

.his-menu-trigger {
  display: none;
  font-size: 23px;
}

.his-account-link {
  font-size: 13px;
  font-weight: 800;
  color: #16324f;
  white-space: nowrap;
}

.his-quote-link {
  background: linear-gradient(135deg,#087df1,#0060d0);
  color: #fff !important;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(8,125,241,.2);
}

.his-header-search {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: scaleX(.96);
  transform-origin: right center;
  transition: opacity .2s ease,transform .25s ease,visibility .2s;
  z-index: 5;
}

.his-pro-header.search-active .his-header-search {
  opacity: 1;
  visibility: visible;
  transform: scaleX(1);
}

.his-pro-header.search-active .his-pro-nav,.his-pro-header.search-active .his-pro-actions {
  opacity: 0;
  pointer-events: none;
}

.his-search-symbol {
  font-size: 25px;
  color: #0878ee;
}

.his-header-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  border-bottom: 2px solid #dce7f2;
  background: transparent;
  outline: none;
  font: 600 16px/1.2 inherit;
  color: #10263f;
  padding: 0 5px;
}

.his-header-search input:focus {
  border-color: #0878ee;
}

#hisHeaderSearchClose {
  width: 42px;
  height: 42px;
  border: 0;
  background: #eef4fa;
  border-radius: 50%;
  font-size: 27px;
  color: #183653;
  cursor: pointer;
}

.his-header-search-results {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 70px;
  background: #fff;
  border: 1px solid #e0e9f2;
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(7,31,58,.18);
  display: none;
  overflow: hidden;
  max-height: min(70vh,520px);
  overflow-y: auto;
}

.his-header-search-results.open {
  display: block;
}

.his-search-result {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 13px;
  border-bottom: 1px solid #eef3f7;
}

.his-search-result:hover {
  background: #f7fbff;
}

.his-search-result img {
  width: 58px;
  height: 48px;
  object-fit: contain;
  background: #f7f9fc;
  border-radius: 8px;
}

.his-search-result span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.his-search-result b {
  font-size: 13px;
}

.his-search-result small {
  color: #708296;
  margin-top: 3px;
}

.his-search-all {
  display: block;
  padding: 12px;
  text-align: center;
  color: #0878ee;
  font-weight: 850;
}

.his-search-empty {
  padding: 20px;
  color: #607286;
}

.his-search-empty a {
  display: block;
  color: #0878ee;
  font-weight: 850;
  margin-top: 8px;
}

.his-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1,14,29,.44);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: .28s ease;
  backdrop-filter: blur(2px);
}

.his-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.his-mobile-drawer {
  position: fixed;
  z-index: 10002;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(86vw,350px);
  background: #fff;
  box-shadow: -24px 0 55px rgba(3,24,49,.22);
  transform: translateX(103%);
  transition: transform .32s cubic-bezier(.22,.8,.28,1);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.his-mobile-drawer.open {
  transform: translateX(0);
}

body.his-drawer-open {
  overflow: hidden;
}

.his-drawer-head {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #e6edf5;
}

.his-drawer-brand img {
  width: 132px;
  height: 56px;
  object-fit: contain;
}

#hisDrawerClose {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eef4fa;
  font-size: 27px;
  color: #17334f;
}

.his-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
}

.his-drawer-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8px;
  border-bottom: 1px solid #edf2f6;
  color: #13273d;
  font-weight: 800;
  font-size: 15px;
}

.his-drawer-nav a.active {
  color: #0878ee;
}

.his-drawer-nav a span {
  color: #8ea1b5;
  font-weight: 500;
}

.his-drawer-footer {
  margin-top: auto;
  padding: 18px;
  background: #061a34;
  color: #dce9f6;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
}

/* Inner/public page safety */

.inner-page,.ab-wrap,.sol-wrap,.inner-main,.page-hero,.products-hero,.commerce-hero,.gallery-page {
  max-width: 100%;
  overflow-x: hidden;
}

.ab-wrap,.sol-wrap {
  width: min(1180px,100%);
  box-sizing: border-box;
}

.ab-hero>div,.sol-hero>div {
  width: min(1180px,100%);
  box-sizing: border-box;
}

.ab-card,.sol-card {
  min-width: 0;
}

.ab-card img,.sol-card img {
  max-width: 100%;
  height: auto;
}

/* Review carousel */

.client-review-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: #cbd9e6;
  padding: 0;
  cursor: pointer;
  transition: .3s;
}

.client-review-dot.active {
  width: 27px;
  background: #0878ee;
}

@media (max-width:1120px) {
  .his-pro-nav {
    gap: 13px;
  }

  .his-pro-nav a {
    font-size: 12px;
  }

  .his-account-link {
    display: none;
  }

  .his-quote-link {
    padding: 11px 13px;
  }

  .his-pro-inner {
    gap: 15px;
  }
}

@media (max-width:900px) {
  .his-pro-inner {
    height: 72px;
    width: calc(100% - 28px);
  }

  .his-pro-brand img {
    width: 126px;
    height: 50px;
  }

  .his-pro-nav,.his-account-link,.his-quote-link {
    display: none !important;
  }

  .his-menu-trigger {
    display: grid;
  }

  .his-pro-actions {
    margin-left: auto;
  }

  .his-search-trigger {
    width: 40px;
    height: 40px;
  }

  .his-header-search {
    left: 0;
    right: 0;
  }

  .his-header-search-results {
    left: 0;
    right: 0;
    top: 65px;
  }

  .hero {
    padding: 54px 0 34px !important;
    min-height: auto !important;
  }

  .hero h1 {
    font-size: clamp(42px,12vw,60px) !important;
    line-height: 1.02 !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .ab-grid,.address-grid,.sol-grid {
    grid-template-columns: 1fr !important;
  }

  .ab-hero,.sol-hero {
    padding: 46px 0 !important;
  }

  .ab-hero>div,.sol-hero>div {
    padding: 0 18px !important;
  }

  .ab-hero h1,.sol-hero h1 {
    font-size: clamp(30px,9vw,44px) !important;
    line-height: 1.08 !important;
    margin: 10px 0 14px !important;
  }

  .ab-hero p,.sol-hero p {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .ab-wrap,.sol-wrap {
    padding: 32px 18px !important;
  }
}

@media (max-width:560px) {
  .his-pro-inner {
    width: calc(100% - 22px);
    height: 68px;
  }

  .his-pro-brand img {
    width: 112px;
  }

  .his-pro-actions {
    gap: 7px;
  }

  .his-search-trigger,.his-menu-trigger {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .his-header-search input {
    font-size: 14px;
    height: 44px;
  }

  .his-search-symbol {
    font-size: 21px;
  }

  #hisHeaderSearchClose {
    width: 36px;
    height: 36px;
    font-size: 23px;
  }

  .his-mobile-drawer {
    width: min(88vw,330px);
  }

  .container {
    width: calc(100% - 28px) !important;
  }

  .hero {
    padding: 42px 0 30px !important;
  }

  .hero h1 {
    font-size: 43px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }

  .client-names {
    font-size: 13px;
    line-height: 1.8 !important;
  }

  .clients-img {
    border-radius: 10px !important;
  }

  .products-hero,.commerce-hero,.page-hero {
    padding: 48px 0 !important;
  }

  .products-hero h1,.commerce-hero h1,.page-hero h1 {
    font-size: clamp(36px,10vw,50px) !important;
    line-height: 1.05 !important;
  }

  .industrial-spotlight,.catalog-hot-section {
    margin-left: 14px !important;
    margin-right: 14px !important;
    padding: 20px !important;
    border-radius: 18px !important;
  }

  .industrial-visual {
    min-height: 240px !important;
  }

  .industrial-info {
    padding: 22px !important;
  }
}

/*=========================================
   V1.05 MOBILE POLISH / CLEAN CATALOGUE
=========================================*/

@media (max-width: 900px) {
  /*Keep the home hero clean on phones/tablets: the desktop feature strip was
       competing with the hero copy and causing overlap on narrow viewports.*/

  .hero .feature-strip {
    display: none !important;
  }

  .hero {
    overflow: hidden !important;
  }

  /*Product category summary cards are useful on desktop but take too much
       vertical space on mobile. The catalogue itself remains unchanged.*/
}

@media (max-width: 560px) {
  .hero {
    padding: 38px 0 34px !important;
  }

  .hero h1 {
    font-size: clamp(39px,12vw,48px) !important;
    line-height: 1.01 !important;
    max-width: 100% !important;
  }

  .hero .eyebrow {
    font-size: 11px !important;
    line-height: 1.45 !important;
    max-width: 300px !important;
  }

  .products-hero-actions .btn,.products-hero-actions .catalog-secondary {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

[hidden] {
  display: none !important;
}

/*============================================================
   V6.2 DESKTOP HEADER EDGE ALIGNMENT
   ------------------------------------------------------------
   Desktop: brand uses the left side and navigation/actions use
   the right side so the header does not look empty in the middle.
   Mobile widths below 900px keep the existing responsive drawer.
   ============================================================*/

@media (min-width:901px) {
  .his-pro-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 30px;
    box-sizing: border-box;
    gap: 22px;
  }

  .his-pro-brand {
    margin-right: 18px;
  }

  .his-pro-nav {
    margin-left: auto;
    justify-content: flex-end;
  }

  .his-pro-actions {
    margin-left: 6px;
  }
}

@media (min-width:1400px) {
  .his-pro-inner {
    padding-left: 42px;
    padding-right: 42px;
  }

  .his-pro-nav {
    gap: 24px;
  }
}

/* V9 customer session controls */
.his-signout-link{border:1px solid #d6e1ec;background:#fff;color:#52677b;border-radius:10px;padding:10px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.his-signout-link:hover{background:#f6f9fc;color:#173b5e}.his-signout-link[hidden],.his-drawer-signout[hidden]{display:none!important}.his-drawer-signout{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px 8px;border:0;border-bottom:1px solid #edf2f6;background:transparent;color:#a72a2a;font:inherit;font-weight:800;font-size:15px;text-align:left;cursor:pointer}.his-drawer-signout span{color:#c68b8b;font-weight:500}
@media(max-width:900px){.his-signout-link{display:none!important}}

/* V10 transient-network indicator. It never changes auth state; it disappears automatically after reconnect. */
.his-connection-banner{position:fixed;left:50%;bottom:18px;z-index:13000;transform:translateX(-50%);padding:8px 13px;border:1px solid #f0cf91;border-radius:999px;background:#fff8e8;color:#775215;box-shadow:0 10px 28px rgba(14,32,49,.16);font-size:11px;font-weight:800;white-space:nowrap}
@media(max-width:760px){.his-connection-banner{bottom:98px;max-width:calc(100vw - 24px);white-space:normal;text-align:center}}

/* =====================================================
   V11 SHARED HEADER / SEARCH / FOOTER POLISH
   ===================================================== */
.his-header-search {
  padding: 0 4px;
}

.his-header-search input {
  height: 48px;
  border: 1.5px solid #d8e4ef;
  border-radius: 999px;
  background: #f9fbfd;
  outline: none;
  padding: 0 18px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.his-header-search input:focus {
  border-color: #0878ee;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8,120,238,.10);
}

.his-drawer-nav a {
  justify-content: flex-start;
}

.his-drawer-nav a span,
.his-drawer-signout span {
  display: none !important;
}

.his-pro-footer {
  background: #03172d;
  color: #d9e6f5;
  padding: 54px 0 0;
}

.his-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px,1.7fr) repeat(3,minmax(150px,1fr));
  gap: 40px;
  align-items: start;
}

.his-footer-brand img {
  width: 180px;
  max-width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}

.his-footer-brand p {
  max-width: 430px;
  margin: 16px 0 18px;
  color: #9fb1c8;
  line-height: 1.7;
  font-size: 13px;
}

.his-footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.his-footer-column b {
  color: #fff;
  margin-bottom: 5px;
  font-size: 14px;
}

.his-footer-column a,
.his-footer-column span {
  color: #a9bdd2;
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.his-footer-column a:hover {
  color: #fff;
}

.his-social-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.his-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  transition: transform .18s ease, background .18s ease;
}

.his-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.15);
}

.his-social-link.is-disabled {
  opacity: .35;
  cursor: default;
}

.his-social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.his-footer-bottom {
  margin-top: 38px;
  padding: 18px 0 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #829bb5;
  font-size: 11.5px;
}

@media (max-width: 900px) {
  .his-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .his-footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .his-footer-contact b {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .his-header-search {
    gap: 8px;
  }
  .his-search-symbol {
    display: none;
  }
  .his-header-search input {
    height: 44px;
    padding: 0 15px;
  }
  .his-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  .his-footer-brand,
  .his-footer-contact {
    grid-column: 1 / -1;
  }
  .his-footer-contact {
    display: flex;
  }
  .his-footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 390px) {
  .his-footer-grid {
    grid-template-columns: 1fr;
  }
  .his-footer-brand,
  .his-footer-contact {
    grid-column: auto;
  }
}
