.teg-footer {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  padding: 14px 16px !important;
  border: 1px solid rgba(23, 33, 31, 0.1) !important;
  border-radius: 28px !important;
  color: rgba(23, 33, 31, 0.68) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 150, 63, 0.15), transparent 26rem),
    rgba(255, 254, 249, 0.9) !important;
  box-shadow: 0 18px 44px rgba(35, 27, 16, 0.08) !important;
  backdrop-filter: blur(18px);
  text-align: left;
}

.teg-footer-bar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center !important;
  gap: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.teg-footer-copy,
.teg-footer-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  min-width: 0;
  color: rgba(23, 33, 31, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
}

.teg-footer-copy {
  flex: 1 1 0;
  justify-content: flex-start !important;
  text-align: left;
}

.teg-footer-links {
  flex: 1 1 0;
  justify-content: flex-end !important;
  gap: 10px;
  text-align: right;
}

.teg-footer-links nav,
.teg-footer-links span {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.teg-footer-toggle {
  flex: 0 0 auto;
  justify-self: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  color: rgba(23, 33, 31, 0.5);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.teg-footer-launch-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  justify-items: center;
}

.teg-footer-launch-form label {
  display: grid;
  gap: 5px;
  width: min(100%, 30rem);
  color: rgba(23, 33, 31, 0.72);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: center;
}

.teg-footer-launch-form input[type="email"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: 12px;
  color: #17211f;
  background: rgba(255, 254, 249, 0.9);
  font: inherit;
}

.teg-footer-launch-consent {
  grid-template-columns: 16px minmax(0, 1fr) !important;
  align-items: start;
  justify-self: center;
  text-align: left !important;
}

.teg-footer-launch-consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: #9b6c20;
}

.teg-footer-launch-form button {
  width: fit-content;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  color: #171712;
  background: #d8b75f;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 950;
}

.teg-footer-launch-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.teg-footer-launch-form p {
  width: min(100%, 30rem);
  min-height: 1.3em;
  margin: 0;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.teg-footer-launch-form p.success {
  color: #31543c;
}

.teg-footer-launch-form p.message {
  color: #7b322f;
}

.teg-footer-toggle:hover,
.teg-footer-toggle:focus {
  outline: none;
  color: #8e6425;
  background: rgba(201, 150, 63, 0.08);
  box-shadow: 0 0 0 3px rgba(201, 150, 63, 0.06);
}

.teg-footer a {
  color: inherit;
  text-decoration: none;
}

.teg-footer-links a {
  color: #8e6425;
  text-decoration: underline;
  text-decoration-color: rgba(201, 150, 63, 0.45);
  text-underline-offset: 4px;
}

.teg-footer-directory {
  display: block;
  width: 100%;
  overflow: hidden;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 33, 31, 0.08);
}

.teg-footer-directory[hidden] {
  display: none !important;
}

.teg-footer-grid {
  display: grid !important;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(230px, 1.45fr) minmax(150px, 1.05fr) minmax(140px, 1fr);
  column-gap: clamp(24px, 2.05vw, 34px);
  row-gap: 0;
  align-items: stretch;
}

.teg-footer-column {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 7px;
  align-content: start;
  min-width: 0;
  min-height: 100%;
  padding: 10px clamp(3px, 0.45vw, 8px);
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
}

.teg-footer-column + .teg-footer-column {
  border-radius: 0;
}

.teg-footer-column + .teg-footer-column::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 12px;
  left: calc(clamp(24px, 2.05vw, 34px) / -2);
  width: 1px;
  background: rgba(201, 150, 63, 0.22);
}

.teg-footer-column:nth-child(2)::before {
  left: calc(clamp(24px, 2.05vw, 34px) / -2 - 20px);
}

.teg-footer-column:nth-child(3)::before {
  left: calc(clamp(24px, 2.05vw, 34px) / -2 - 18px);
}

.teg-footer-column:nth-child(4)::before {
  left: calc(clamp(24px, 2.05vw, 34px) / -2 - 8px);
}

.teg-footer-column:nth-child(5)::before {
  left: calc(clamp(24px, 2.05vw, 34px) / -2 - 14px);
}

.teg-footer-column strong {
  color: #17211f;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.teg-footer-column-featured {
  padding-inline: clamp(16px, 1.35vw, 22px);
  justify-items: center;
  text-align: center;
}

.teg-footer-column-featured > strong {
  justify-self: center;
  text-align: center;
}

.teg-footer-status {
  justify-self: center;
  padding: 5px 10px;
  border: 1px solid rgba(201, 150, 63, 0.28);
  border-radius: 999px;
  color: #8e6425;
  background: rgba(201, 150, 63, 0.09);
  font-size: 0.65rem;
  font-weight: 1000;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.teg-footer-description,
.teg-footer-group-note {
  margin: 0;
  color: rgba(23, 33, 31, 0.62);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.5;
}

.teg-footer-description {
  max-width: 30rem;
  justify-self: center;
  text-align: center;
}

.teg-footer-group-note {
  margin-top: 4px;
  color: #8e6425;
}

.teg-footer-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.teg-footer-subgroup {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}

.teg-footer-subgroup span {
  color: #8e6425;
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.teg-footer-column a {
  display: block !important;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  width: 100% !important;
  padding: 6px 0;
  color: rgba(23, 33, 31, 0.72);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.teg-footer-column a::after {
  content: none;
  display: none;
}

.teg-footer-column a:hover,
.teg-footer-column a:focus {
  color: #8e6425;
  outline: none;
}

.teg-footer-note {
  margin: 0;
  color: rgba(23, 33, 31, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .teg-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(22px, 4vw, 34px);
    row-gap: 0;
  }

  .teg-footer-column + .teg-footer-column::before {
    display: none;
  }

  .teg-footer-column + .teg-footer-column {
    border-top-color: rgba(201, 150, 63, 0.14);
  }

  .teg-footer-column:nth-child(2) {
    border-top-color: transparent;
  }

  .teg-footer-column-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .teg-footer {
    padding: 12px !important;
  }

  .teg-footer-bar {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .teg-footer-copy,
  .teg-footer-links,
  .teg-footer-toggle {
    justify-self: center;
    justify-content: center !important;
    text-align: center;
  }

  .teg-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .teg-footer-subgrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .teg-footer-column-featured {
    padding-inline: 4px;
  }

  .teg-footer-column + .teg-footer-column {
    border-top-color: rgba(201, 150, 63, 0.16);
    padding-top: 14px;
  }
}
.gallery-nav-toggle { display: none; }
.gallery-responsive-nav.gallery-responsive-nav { align-items: center; }
.gallery-responsive-nav .brand { display: inline-flex; align-items: center; align-self: center; }
.gallery-responsive-nav .brand-copy, .gallery-responsive-nav .brand > span { align-self: center; }
.gallery-responsive-nav .gallery-icon-link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; }
.gallery-link-icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gallery-responsive-nav .gallery-icon-link:focus-visible { outline: 2px solid #8c6327; outline-offset: 3px; }
@media (min-width: 768px) and (max-width: 1200px) {
  .gallery-responsive-nav .gallery-icon-link .gallery-nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .gallery-responsive-nav .gallery-icon-link { padding: 10px; }
  .gallery-responsive-nav .gallery-icon-link:is(:hover, :focus-visible)::after { content: attr(data-gallery-label); position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; padding: 7px 10px; border-radius: 8px; background: #163a31; color: #fff; font-size: .8rem; white-space: nowrap; pointer-events: none; }
}
@media (min-width: 768px) {
  .gallery-responsive-nav.gallery-responsive-nav { display: flex; flex-wrap: wrap; gap: 12px; }
  .gallery-responsive-nav .brand { flex: 0 1 auto; min-width: 0; max-width: 100%; }
  .gallery-responsive-nav > [data-gallery-nav-panel] { display: flex; flex-wrap: wrap; min-width: 0; max-width: 100%; gap: 8px; }
  .page > .nav.gallery-responsive-nav .nav-links { flex: 1 1 360px; min-width: 0; max-width: 100%; flex-wrap: wrap; }
  .gallery-responsive-nav .nav-actions, .gallery-responsive-nav .top-actions { flex: 0 1 auto; margin-left: auto; justify-content: flex-end; }
  .gallery-responsive-nav > .global-search { display: grid; flex: 1 1 240px; width: auto; }
  .gallery-responsive-nav .global-search input { min-width: 0; }
  .gallery-responsive-nav .auth-actions.logged-in { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .gallery-responsive-nav.gallery-responsive-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 24px;
    max-width: 100%;
    max-height: calc(100dvh - 28px);
    overflow: auto;
  }
  .gallery-responsive-nav .brand { min-width: 0; gap: 9px; }
  .gallery-responsive-nav .brand-mark { flex: 0 0 36px; width: 36px; height: 36px; }
  .gallery-responsive-nav .brand-copy, .gallery-responsive-nav .brand > span { min-width: 0; }
  .gallery-responsive-nav .brand strong { font-size: clamp(1rem, 3.8vw, 1.4rem); overflow-wrap: anywhere; line-height: 1.05; }
  .gallery-responsive-nav .brand span span { font-size: 0.52rem; letter-spacing: 0.02em; }
  .gallery-responsive-nav .gallery-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #b68a40;
    border-radius: 999px;
    background: #f7eddc;
    color: #211b14;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
  }
  .gallery-nav-icon { width: 20px; height: 2px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; }
  .gallery-responsive-nav :focus-visible { outline: 2px solid #8c6327; outline-offset: 3px; }
  .gallery-responsive-nav [data-gallery-nav-panel] { grid-column: 1 / -1; min-width: 0; max-width: 100%; }
  .gallery-responsive-nav[data-gallery-nav-open="false"] > [data-gallery-nav-panel] { display: none !important; }
  .gallery-responsive-nav[data-gallery-nav-open="true"] > .nav-links,
  .gallery-responsive-nav[data-gallery-nav-open="true"] > .page-tabs,
  .gallery-responsive-nav[data-gallery-nav-open="true"] > .nav-actions,
  .gallery-responsive-nav[data-gallery-nav-open="true"] > .top-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; justify-content: flex-start; }
  .gallery-responsive-nav [data-gallery-nav-panel] a { min-height: 44px; display: inline-flex; align-items: center; }
  .gallery-responsive-nav .global-search { width: 100%; }
  .gallery-responsive-nav .global-search input { min-width: 0; }
  .gallery-responsive-nav .auth-actions.logged-in { width: 100%; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; }
  .gallery-responsive-nav .menu-wrap[open] { flex: 1 1 100%; min-width: 0; }
  .gallery-responsive-nav .menu-wrap .dropdown-panel { position: static; inset: auto; width: 100%; min-width: 0; box-sizing: border-box; margin-top: 10px; }
  .gallery-responsive-nav .dropdown-panel::before { display: none; }
  .gallery-responsive-nav .dropdown-panel button { min-height: 44px; }
}

/* Match the pricing comparison's quiet body text without shrinking consent. */
.page > .nav.gallery-responsive-nav .nav-actions > .btn-ghost {
  border: 1px solid rgba(31, 26, 22, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.55);
}

.teg-footer .teg-footer-description,
.teg-footer .teg-footer-launch-form .teg-footer-launch-consent {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  color: #526059;
}

.teg-footer .teg-footer-related {
  grid-column: 1 / -1;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-top: 16px;
}
.teg-footer .teg-footer-related > strong { flex-basis: 100%; }
.teg-footer .teg-footer-related::before { display: none; }
.teg-footer .teg-footer-related > a { width: auto !important; max-width: 100%; min-height: 44px; display: inline-flex !important; overflow-wrap: anywhere; }
.page > .nav.gallery-responsive-nav .nav-actions > .gallery-sign-in.gallery-icon-link,
.gallery-responsive-nav .gallery-sign-in.gallery-icon-link {
  color: #fffaf0;
  background: #17211f;
  border: 1px solid #17211f;
}
.page > .nav.gallery-responsive-nav .nav-actions > .gallery-sign-in.gallery-icon-link:hover,
.gallery-responsive-nav .gallery-sign-in.gallery-icon-link:hover { background: #294237; }
