@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@1,700;1,800&family=Lexend:wght@500;600;700&display=swap");

/* Shared site header (built by /assets/header.js) */
.ssgh { display: contents; }
.ssgh, .ssgh * { box-sizing: border-box; }
.ssgh a { text-decoration: none; }
.ssgh a:focus-visible, .ssgh button:focus-visible, .ssgh select:focus-visible { outline: 3px solid #1e90ff; outline-offset: 2px; }

/* A) Top strip */
.ssgh-strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 38px; }
.ssgh-tab {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 0 8px;
  font: italic 700 20px/1 "Barlow Semi Condensed", "Arial Narrow", sans-serif; letter-spacing: -.01em;
  text-transform: uppercase; white-space: nowrap; color: #fff;
}
.ssgh-tab--blue { background: #1e90ff; }
.ssgh-tab--dark { background: #0b111c; }
.ssgh-tab--lime { background: #a8e63d; color: #0b111c; }
.ssgh-tab--black { background: #000; }
.ssgh-tab:hover { filter: brightness(1.08); }
.ssgh-badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 4px;
  font: italic 800 13px/1 "Barlow Semi Condensed", "Arial Narrow", sans-serif; letter-spacing: 0;
}
.ssgh-tab--lime .ssgh-badge { background: #0b111c; color: #fff; }
.ssgh-tab--black .ssgh-badge { background: #fff; color: #000; }

/* B) Utility bar */
.ssgh-util { background: #0b1220; color: #fff; font: 500 15px/1.2 Arial, Helvetica, sans-serif; }
.ssgh-util__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 1320px; height: 36px; margin: 0 auto; padding: 0 20px; white-space: nowrap; }
.ssgh-util a { color: #fff; font-weight: 700; }
.ssgh-util a:hover { text-decoration: underline; }
.ssgh-util__links { display: flex; align-items: center; gap: 18px; }
.ssgh-lang { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px; background: #fff; border: 1px solid #c9ced8; border-radius: 3px; }
.ssgh-lang label { color: #111; font: 700 14px/1 Arial, Helvetica, sans-serif; }
.ssgh-lang select {
  height: 22px; min-width: 110px; padding: 0 26px 0 8px; border: 1px solid #c9ced8; border-radius: 2px;
  font: 400 12px/1 Arial, Helvetica, sans-serif; color: #111; cursor: pointer; appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Cpath d='M2 2l10 10L22 2' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 6px center / 18px 10px;
}

/* Sticky block: main menu + ribbon */
.ssgh-sticky { position: sticky; top: 0; z-index: 1000; }

/* C) Main menu */
.ssgh-main { background: #fff; border-bottom: 1px solid #e3e7ee; }
.ssgh-main__in { display: flex; align-items: center; gap: 10px; max-width: 1320px; min-height: 72px; margin: 0 auto; padding: 6px 20px; }
.ssgh-logo { flex: none; display: block; padding-right: 10px; border-right: 1px solid #e3e7ee; }
.ssgh-logo img { display: block; width: 196px; height: auto; }
.ssgh-nav { display: flex; flex-wrap: wrap; align-items: center; flex: 1; min-width: 0; row-gap: 2px; }
.ssgh-pill {
  position: relative; flex: none; padding: 8px 9px; border-radius: 999px;
  font: 500 13px/1 Lexend, Arial, sans-serif; color: #0b2a5b; white-space: nowrap;
}
.ssgh-nav > * + *::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 20px; margin-top: -10px; background: #d5dae3; }
.ssgh-pill:hover { color: #1e6fd9; }
.ssgh-pill.is-active { background: #d6eeff; color: #1e6fd9; font-weight: 600; }
.ssgh-pill.is-active::before, .ssgh-nav > .is-active + *::before { display: none; }
.ssgh-pill--mobile { display: none; }

/* Main-menu dropdown (Specialty Gas) */
.ssgh-dd { position: relative; flex: none; display: flex; align-items: center; }
.ssgh-dd > .ssgh-pill { padding-right: 4px; }
.ssgh-dd > .ssgh-pill::before { display: none; }
.ssgh-dd.is-current > .ssgh-pill { color: #1e6fd9; font-weight: 600; }
.ssgh-dd__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 28px; margin-right: 4px; padding: 0;
  border: 0; border-radius: 6px; background: none; color: #0b2a5b; cursor: pointer;
}
.ssgh-dd__btn svg { transition: transform .15s; }
.ssgh-dd__btn:hover { color: #1e6fd9; background: #eef5ff; }
.ssgh-dd.is-open .ssgh-dd__btn svg { transform: rotate(180deg); }
.ssgh-dd__menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 1001; min-width: 200px; padding: 8px;
  background: #fff; border: 1px solid #e3e7ee; border-radius: 12px; box-shadow: 0 14px 30px rgba(10,45,107,.18);
}
.ssgh-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; }
.ssgh-dd.is-open .ssgh-dd__menu { display: block; }
@media (hover: hover) and (min-width: 900px) { .ssgh-dd:hover .ssgh-dd__menu { display: block; } }
.ssgh-dd__link { display: block; padding: 10px 12px; border-radius: 8px; font: 500 14px/1.2 Lexend, Arial, sans-serif; color: #0b2a5b; white-space: nowrap; }
.ssgh-dd__link:hover { background: #eef5ff; color: #1e6fd9; }
.ssgh-dd__link.is-active { background: #d6eeff; color: #1e6fd9; font-weight: 600; }
.ssgh-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.ssgh-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px;
  font: 600 13px/1 Lexend, Arial, sans-serif; letter-spacing: .02em; white-space: nowrap; border: 2px solid #0a2d6b;
}
.ssgh-btn--line { color: #0a2d6b; background: #fff; }
.ssgh-btn--line:hover, .ssgh-btn--line.is-active { background: #eaf2ff; }
.ssgh-btn--solid { color: #fff; background: #0a2d6b; }
.ssgh-btn--solid:hover, .ssgh-btn--solid.is-active { background: #0a3a8c; border-color: #0a3a8c; }
.ssgh-burger { display: none; }

/* D) Blue ribbon */
.ssgh-ribbon { background: #0a3a8c; }
.ssgh-ribbon__in { display: flex; justify-content: center; max-width: 1320px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.ssgh-ribbon__in::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .ssgh-ribbon__in { flex-wrap: wrap; } }
.ssgh-rib {
  position: relative; flex: 1 0 auto; display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 10px;
  font: 700 12px/1 Lexend, Arial, sans-serif; color: #fff; text-transform: uppercase; white-space: nowrap;
}
.ssgh-rib:nth-child(7) { text-transform: none; }
.ssgh-rib + .ssgh-rib::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 20px; margin-top: -10px; background: rgba(255,255,255,.45); }
.ssgh-rib:hover { background: rgba(255,255,255,.1); }
.ssgh-rib.is-active { background: #1e90ff; }
.ssgh-rib:focus-visible { outline-color: #fff; outline-offset: -3px; }

/* 50% off page keeps its own fixed timer bar; let it follow the shared header instead. */
.ssgh ~ #promo-header, .ssgh ~ #promo-bar { position: relative; top: auto; }
body:has(> .ssgh ~ #promo-header) { padding-top: 0 !important; }

/* Narrower desktops: tighten spacing so both menu rows stay on one line. */
@media (max-width: 1279px) {
  .ssgh-main__in { gap: 8px; padding: 6px 14px; }
  .ssgh-logo img { width: 160px; }
  .ssgh-pill { padding: 8px 7px; font-size: 12px; }
  .ssgh-btn { padding: 0 14px; font-size: 12px; }
  .ssgh-rib { padding: 0 7px; font-size: 11px; }
}

@media (max-width: 1279px) { .ssgh-util__tag { display: none; } }

@media (min-width: 900px) and (max-width: 1099px) {
  .ssgh-main__in { gap: 6px; padding: 6px 10px; }
  .ssgh-logo { padding-right: 6px; }
  .ssgh-logo img { width: 128px; }
  .ssgh-pill { padding: 7px 5px; font-size: 11px; }
  .ssgh-dd__btn { width: 18px; margin-right: 2px; }
  .ssgh-actions { gap: 6px; }
  .ssgh-btn { height: 34px; padding: 0 10px; font-size: 11px; }
  .ssgh-rib { padding: 0 4px; font-size: 10px; }
}

@media (min-width: 900px) and (max-width: 979px) {
  .ssgh-logo img { width: 112px; }
  .ssgh-pill { padding: 7px 4px; font-size: 10.5px; }
  .ssgh-btn { padding: 0 8px; font-size: 10.5px; }
  .ssgh-rib { padding: 0 3px; font-size: 9.5px; }
}

@media (max-width: 899px) {
  .ssgh-strip { height: 34px; }
  .ssgh-tab { font-size: 14px; gap: 4px; padding: 0 4px; }
  .ssgh-badge { height: 20px; padding: 0 5px; font-size: 10px; }
  .ssgh-util { font-size: 13px; }
  .ssgh-util__in { overflow-x: auto; scrollbar-width: none; gap: 12px; padding: 0 12px; }
  .ssgh-util__in::-webkit-scrollbar { display: none; }
  .ssgh-main__in { position: relative; height: 60px; min-height: 60px; padding: 0 12px; gap: 8px; }
  .ssgh-logo { border-right: 0; padding-right: 0; margin-right: auto; }
  .ssgh-logo img { width: 140px; }
  .ssgh-btn { height: 34px; padding: 0 14px; font-size: 12px; }
  .ssgh-burger {
    order: 3; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; flex: none;
    width: 40px; height: 40px; padding: 0 9px; border: 1px solid #d5dae3; border-radius: 10px; background: #fff; cursor: pointer;
  }
  .ssgh-burger span { display: block; height: 2px; background: #0a2d6b; border-radius: 2px; }
  .ssgh-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 1002; flex-direction: column; flex-wrap: nowrap; align-items: stretch;
    max-height: calc(100vh - 140px); overflow-y: auto; padding: 8px 12px 12px; background: #fff; border-bottom: 1px solid #e3e7ee;
    box-shadow: 0 12px 24px rgba(10,45,107,.15);
  }
  .ssgh-nav.is-open { display: flex; }
  .ssgh-pill { padding: 12px 14px; font-size: 15px; }
  .ssgh-nav > * + *::before { display: none; }
  .ssgh-pill--mobile { display: block; }
  .ssgh-dd { flex-wrap: wrap; }
  .ssgh-dd > .ssgh-pill { flex: 1; padding-right: 14px; }
  .ssgh-dd__btn { width: 44px; height: 40px; margin: 0; }
  .ssgh-dd__menu { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none; }
  .ssgh-dd__menu::before { display: none; }
  .ssgh-dd__link { padding: 10px 14px; font-size: 14px; }
  .ssgh-rib { height: 38px; padding: 0 14px; font-size: 12px; }
}

@media (max-width: 480px) {
  .ssgh-strip { grid-template-columns: repeat(2, 1fr); height: auto; }
  .ssgh-tab { height: 30px; font-size: 14px; gap: 5px; padding: 0 4px; }
  .ssgh-badge { height: 19px; padding: 0 5px; font-size: 10px; }
  .ssgh-logo img { width: 104px; }
  .ssgh-main__in { gap: 6px; }
  .ssgh-btn { height: 32px; padding: 0 10px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .ssgh * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
