#hardcoded-mobile-header {
  display: none !important;
}

#hardcoded-mobile-panel {
  display: none !important;
}

#hardcoded-mobile-header .hardcoded-logo img {
  width: 100px;
  height: auto;
  display: block;
  opacity: 1;
  visibility: visible;
}

#hardcoded-mobile-header .hardcoded-actions .hardcoded-btn.is-plain {
  background: transparent;
  border: 0;
  padding: 0;
  width: auto;
}

#hardcoded-mobile-header .hardcoded-actions .hardcoded-btn img {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 1;
  visibility: visible;
}

html body #header {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 30 !important;
  background: #ffffff !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
}

html body .body-overflow-box {
  padding-top: 90px !important;
}

#header .nav .ui.container2.menu {
  position: relative !important;
}

#header .sg-cta-primary,
#header .sg-cta-primary:link,
#header .sg-cta-primary:visited {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 22px !important;
  border-color: #191f2f !important;
  background: linear-gradient(135deg, #27324a 0%, #191f2f 55%, #0f1726 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 10px 24px rgba(25, 31, 47, 0.22) !important;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease !important;
}

#header .sg-cta-primary:hover,
#header .sg-cta-primary:focus,
#header .sg-cta-primary:active {
  border-color: #2462db !important;
  background: linear-gradient(135deg, #27324a 0%, #191f2f 55%, #245fd4 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(25, 31, 47, 0.28) !important;
}

#header .sg-cta-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 8px 18px rgba(25, 31, 47, 0.2) !important;
}

body.quote-modal-open {
  overflow: hidden !important;
}

.sg-quote-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 999999;
}

.sg-quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sg-quote-modal__dialog {
  position: relative;
  width: min(860px, 100%);
  padding: 34px 28px 30px;
  border: 2px solid #191f2f;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.25);
}

.sg-quote-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #666666;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.sg-quote-modal__header {
  text-align: center;
}

.sg-quote-modal__header h2 {
  margin: 0;
  color: #111827;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: none;
}

.sg-quote-modal__header h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 14px auto 0;
  background: #191f2f;
}

.sg-quote-modal__header p {
  margin: 18px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.sg-quote-modal__form {
  margin-top: 24px;
}

.sg-quote-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.sg-quote-modal__form input,
.sg-quote-modal__form textarea {
  width: 100%;
  border: 1px solid #cdd4df;
  background: #ffffff;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sg-quote-modal__form input {
  height: 46px;
}

.sg-quote-modal__form textarea {
  min-height: 138px;
  margin-top: 14px;
  resize: vertical;
}

.sg-quote-modal__form input:focus,
.sg-quote-modal__form textarea:focus {
  border-color: #191f2f;
  box-shadow: 0 0 0 3px rgba(47, 116, 241, 0.12);
}

.sg-quote-modal__form input::placeholder,
.sg-quote-modal__form textarea::placeholder {
  color: #8a94a6;
}

.sg-quote-modal__actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.sg-quote-modal__submit {
  min-width: 124px;
  height: 42px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(135deg, #27324a 0%, #191f2f 55%, #0f1726 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(25, 31, 47, 0.22);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.sg-quote-modal__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(25, 31, 47, 0.28);
}

body.search-modal-open {
  overflow: hidden !important;
}

#header .search-box {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: rgba(15, 23, 42, 0.58) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
  transition: opacity 0.24s ease, visibility 0.24s ease !important;
  z-index: 999998 !important;
}

#header .search-box.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#header .search-box__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  width: min(760px, 100%);
  padding: 36px 56px 28px;
  border: 2px solid #191f2f;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.25);
}

#header .search-box .close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #20242c;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

#header .search-box__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  flex: none;
  clear: both;
  width: 100%;
  max-width: none;
  margin: 0 auto 8px;
  padding-top: 0;
}

#header .search-box__brand img {
  display: block !important;
  float: none !important;
  position: static !important;
  margin: 0 auto !important;
  width: 170px;
  max-width: 80%;
  height: auto;
}

#header .nav .search-box form,
#header .search-box form {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 1;
  flex: none;
  clear: both;
  width: min(100%, 620px) !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  margin-left: auto !important;
}

#header .search-box input[type="text"] {
  display: block;
  flex: 1;
  width: auto !important;
  min-width: 0;
  height: 52px;
  padding: 0 22px;
  border: 1px solid #cdd4df !important;
  border-right: 0 !important;
  border-radius: 999px 0 0 999px !important;
  background: #ffffff;
  color: #1f2937;
  font-size: 15px;
  outline: none;
  box-shadow: none !important;
}

#header .search-box input[type="text"]:focus {
  border-color: #191f2f !important;
  box-shadow: 0 0 0 3px rgba(47, 116, 241, 0.12) !important;
}

#header .search-box__submit,
#header .search-box input[type="submit"] {
  display: block;
  position: static !important;
  right: auto !important;
  top: auto !important;
  width: 122px;
  height: 52px;
  flex: 0 0 122px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(135deg, #27324a 0%, #191f2f 55%, #0f1726 100%);
  color: transparent;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(25, 31, 47, 0.22);
  transition: none;
}

#header .search-box__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header .search-box__submit-icon {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
}

#header .search-box__submit-icon::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 8px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transform: rotate(45deg);
}

#header .search-box__submit:hover,
#header .search-box input[type="submit"]:hover {
  transform: none;
  box-shadow: 0 10px 24px rgba(25, 31, 47, 0.22);
}

#header .sg-mega {
  z-index: 35;
}

#header .sg-mega-inner-links {
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 300px;
}

#header .sg-mega-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#header .sg-mega-tab {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #7b8798;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: color 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

#header .sg-mega-tab:hover,
#header .sg-mega-tab.is-active {
  color: #191f2f;
  border-color: rgba(49, 111, 218, 0.45);
  background: rgba(49, 111, 218, 0.06);
}

#header .sg-mega-grid-links {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

#header .sg-mega-grid-links.is-active {
  display: grid;
}

#header .sg-mega-card-link {
  min-height: 176px;
  padding: 20px 16px 18px;
  border: 1px solid rgba(49, 111, 218, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  justify-content: flex-start;
}

#header .sg-mega-card-link:hover {
  border-color: rgba(49, 111, 218, 0.16);
  box-shadow: 0 16px 32px rgba(11, 43, 71, 0.08);
}

#header .sg-mega-card-thumb {
  width: 122px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(49, 111, 218, 0.16), rgba(49, 111, 218, 0.04)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 255, 0.96));
  box-shadow: inset 0 0 0 1px rgba(49, 111, 218, 0.08);
}

#header .sg-mega-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#header .sg-mega-card-title {
  color: #6c7890;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 919px) {
  #hardcoded-mobile-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999999999 !important;
    height: 76px !important;
    padding: 0 18px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #hardcoded-mobile-header .hardcoded-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 120px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #hardcoded-mobile-header .hardcoded-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #hardcoded-mobile-header .hardcoded-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-size: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer !important;
  }

  #hardcoded-mobile-header .hardcoded-menu-btn {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  #hardcoded-mobile-header .hardcoded-menu-btn span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: #0f172a !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #hardcoded-mobile-panel {
    display: none !important;
    position: fixed !important;
    top: 76px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 76px) !important;
    background: #ffffff !important;
    z-index: 9999999998 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-y: auto !important;
  }

  #hardcoded-mobile-panel.hardcoded-open {
    display: block !important;
  }

  #hardcoded-mobile-panel .hardcoded-panel-close {
    position: absolute !important;
    top: 12px !important;
    right: 18px !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #hardcoded-mobile-panel .hardcoded-menu-item {
    padding: 26px 18px !important;
    background: #f1f2f5 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }

  #hardcoded-mobile-panel .hardcoded-menu-item.is-home {
    background: #191f2f !important;
    color: #ffffff !important;
  }

  #hardcoded-mobile-panel .hardcoded-menu-item a {
    color: inherit !important;
    text-decoration: none !important;
    flex: 1 !important;
  }

  #hardcoded-mobile-panel .hardcoded-menu-item .hardcoded-arrow {
    width: 12px !important;
    height: 12px !important;
    border-right: 2px solid #9ca3af !important;
    border-bottom: 2px solid #9ca3af !important;
    transform: rotate(-45deg) !important;
    transition: transform 0.2s ease !important;
  }

  #hardcoded-mobile-panel .hardcoded-menu-item.hardcoded-expanded {
    background: #191f2f !important;
    color: #ffffff !important;
  }

  #hardcoded-mobile-panel .hardcoded-menu-item.hardcoded-expanded .hardcoded-arrow {
    border-right-color: #ffffff !important;
    border-bottom-color: #ffffff !important;
    transform: rotate(225deg) !important;
  }

  #hardcoded-mobile-panel .hardcoded-submenu {
    display: none !important;
    background: #191f2f !important;
    padding: 0 0 6px 30px !important;
  }

  #hardcoded-mobile-panel .hardcoded-submenu.hardcoded-submenu-open {
    display: block !important;
  }

  #hardcoded-mobile-panel .hardcoded-submenu a {
    position: relative !important;
    display: block !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    padding: 16px 0 !important;
    text-decoration: none !important;
  }

  #hardcoded-mobile-panel .hardcoded-submenu a::before {
    content: "" !important;
    position: absolute !important;
    left: -22px !important;
    top: 50% !important;
    width: 7px !important;
    height: 7px !important;
    margin-top: -3.5px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.95) !important;
  }

  html body #header {
    display: none !important;
  }

  html body .body-overflow-box {
    padding-top: 76px !important;
  }

  body.hardcoded-menu-open {
    overflow: hidden !important;
  }

  .sg-quote-modal {
    padding: 16px;
  }

  .sg-quote-modal__dialog {
    padding: 26px 18px 22px;
  }

  .sg-quote-modal__header h2 {
    font-size: 30px;
  }

  .sg-quote-modal__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sg-quote-modal__form textarea {
    min-height: 120px;
  }

  #header .search-box {
    padding: 16px !important;
  }

  #header .search-box__dialog {
    width: min(100%, 640px);
    padding: 28px 20px 22px;
    gap: 18px;
  }

  #header .search-box form {
    width: 100%;
  }

  #header .search-box__submit,
  #header .search-box input[type="submit"] {
    width: 92px;
    flex-basis: 92px;
  }
}
