/* Mobile-first shared navigation, homepage and informational chat. */
.gw-header-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--bs-border-color, #cbd5e1);
  border-radius: 999px;
  background: var(--bs-body-bg, #fff);
  color: var(--bs-body-color, #183d32);
  padding: 6px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}
.gw-header-chat img {
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.gw-header-chat-label {
  display: none;
}
.gw-header-chat:focus-visible,
.gw-home a:focus-visible,
.gw-home button:focus-visible {
  outline: 3px solid #7c9f83;
  outline-offset: 4px;
}
.gw-products-menu {
  padding: 12px;
  max-height: 70dvh;
  overflow: auto;
  width: 100%;
}
.gw-products-menu .dropdown-item {
  min-height: 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  white-space: normal;
  gap: 4px;
  border-radius: 10px;
  padding: 12px;
}
.gw-menu-marketplace {
  border-bottom: 1px solid var(--bs-border-color, #ddd);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
#gw-website-chat[hidden] {
  display: none !important;
}
.gw-chat-controls {
  position: fixed;
  top: calc(76px + env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 1100;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--bs-border-color, #ddd);
  border-radius: 12px;
  background: var(--bs-body-bg, #fff);
  color: var(--bs-body-color, #183d32);
  box-shadow: 0 4px 18px #0002;
}
.gw-chat-controls button {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  color: inherit;
  border: 0;
  font: inherit;
}
.gw-chat-status {
  max-width: 240px;
  font-size: 0.8rem;
  margin: 0;
}
.gw-home {
  color: var(--bs-body-color);
  padding-top: 24px;
}
.gw-home-hero {
  padding-top: clamp(32px, 7vw, 88px);
  padding-bottom: 48px;
  display: grid;
  gap: 32px;
}
.gw-home-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bs-secondary-color);
  margin: 0 0 16px;
}
.gw-home h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 700px;
  margin: 0 0 24px;
  color: var(--gw-heading-color, var(--bs-body-color));
}
.gw-home-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  max-width: 580px;
  color: var(--bs-secondary-color);
}
.gw-home-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 20px;
}
.gw-home-actions .btn,
.gw-home-help .btn {
  min-height: 48px;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 20px;
}
.gw-home-note {
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
}
.gw-home-spotlight {
  align-self: center;
  padding: 20px;
  border: 1px solid var(--bs-border-color);
  border-radius: 24px;
  background: var(--bs-tertiary-bg);
  box-shadow: 0 16px 60px #0000000a;
}
.gw-home-spotlight-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.gw-home-spotlight-heading img {
  border-radius: 50%;
  background: white;
}
.gw-home-spotlight h2 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 650;
}
.gw-home-shortcut {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  min-height: 76px;
}
.gw-home-shortcut:hover {
  background: var(--bs-secondary-bg);
  color: inherit;
}
.gw-home-shortcut > i:first-child {
  font-size: 1.4rem;
  width: 36px;
  color: #72aa8a;
}
.gw-home-shortcut > i:last-child {
  margin-left: auto;
}
.gw-home-shortcut strong,
.gw-home-shortcut small {
  display: block;
}
.gw-home-shortcut small {
  color: var(--bs-secondary-color);
  margin-top: 4px;
}
.gw-home-products {
  padding-top: 24px;
  padding-bottom: 56px;
}
.gw-home-section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.gw-home h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}
.gw-home .gw-home-spotlight h2 {
  font-size: 1.1rem;
  letter-spacing: 0;
}
.gw-home-section-heading > p {
  color: var(--bs-secondary-color);
  max-width: 280px;
}
.gw-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.gw-home-product {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--bs-border-color);
  border-radius: 20px;
  padding: 26px;
  background: var(--bs-body-bg);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.gw-home-product:hover {
  color: inherit;
  border-color: #72aa8a;
  box-shadow: 0 8px 24px #00000010;
}
.gw-home-product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #73ad8e20;
  color: #65a680;
  margin-bottom: 24px;
}
.gw-home-product small {
  color: var(--bs-secondary-color);
  font-size: 0.75rem;
  margin-bottom: 8px;
}
.gw-home-product h3 {
  font-size: 1.2rem;
  font-weight: 650;
  margin-bottom: 12px;
}
.gw-home-product p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--bs-secondary-color);
  margin-bottom: 24px;
}
.gw-home-product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
}
.gw-home-help {
  margin-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--bs-border-color);
  padding-top: 36px;
}
.gw-home-help > div {
  flex: 1 1 100%;
}
.gw-home-help p {
  color: var(--bs-secondary-color);
  margin-bottom: 0;
}
@media (min-width: 480px) {
  .gw-home-actions {
    flex-direction: row;
  }
  .gw-header-chat {
    padding: 6px 12px 6px 6px;
  }
  .gw-header-chat-label {
    display: inline;
  }
}
@media (min-width: 640px) {
  .gw-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-home-spotlight {
    padding: 28px;
  }
  .gw-home-section-heading {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }
}
@media (min-width: 1200px) {
  .gw-home-hero {
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    padding-bottom: 72px;
  }
  .gw-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gw-products-menu {
    width: 520px;
  }
  .gw-products-menu .dropdown-item {
    padding: 14px 18px;
  }
  .gw-header-chat {
    order: 3;
    margin-left: 16px !important;
    margin-right: 0 !important;
  }
  .gw-home-help > div {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gw-home-product {
    transition: none;
  }
}

@media (min-width: 1200px) {
  .gw-products-menu.show {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-products-menu li:has(.dropdown-header),
  .gw-products-menu li:has(.dropdown-divider),
  .gw-menu-marketplace {
    grid-column: 1 / -1;
  }
}
[data-bs-theme="light"] .gw-home-product-icon,
[data-bs-theme="light"] .gw-home-shortcut > i:first-child {
  color: #387650;
}
