/* Talking Headsets Dealer Footer Layouts v1.1.1 — Astra/Spectra/WooCommerce */
.thdf-footer {
  --thdf-green: #08746d;
  --thdf-green-2: #0a8a80;
  --thdf-green-dark: #005a55;
  --thdf-green-deep: #043f3b;
  --thdf-red: #d8212f;
  --thdf-ink: #0b2630;
  --thdf-muted: #60777c;
  --thdf-soft: #f3f8f7;
  --thdf-soft-2: #e7f2f0;
  --thdf-line: #d7e7e4;
  --thdf-white: #ffffff;
  --thdf-shadow: 0 18px 54px rgba(4, 63, 59, .14);
  --thdf-shadow-soft: 0 10px 30px rgba(4, 63, 59, .09);
  color: var(--thdf-ink);
  background: #fff;
  font-family: inherit;
  line-height: 1.45;
  position: relative;
  z-index: 5;
}
.thdf-footer,
.thdf-footer * { box-sizing: border-box; }
.thdf-footer a { color: inherit; text-decoration: none !important; }
.thdf-footer p { margin-top: 0; }
.thdf-footer img { display: block; max-width: 100%; height: auto; }
.thdf-container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.thdf-icon { display: inline-flex; width: 1.05em; height: 1.05em; flex: 0 0 1.05em; line-height: 1; }
.thdf-icon svg { display: block; width: 100%; height: 100%; }
.thdf-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 10px; color: #b7eeea; font-size: .76rem; font-weight: 900; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.thdf-eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: currentColor; box-shadow: 0 0 0 5px rgba(183,238,234,.14); }

.thdf-footer :is(a,button,input,select,textarea):focus-visible { outline: 3px solid rgba(8,116,109,.32); outline-offset: 3px; }

/* Main footer */
.thdf-main {
  background:
    radial-gradient(circle at 11% 15%, rgba(8,116,109,.08), transparent 31%),
    linear-gradient(180deg, #fff, var(--thdf-soft));
  padding: 62px 0;
}
.thdf-grid { display: grid; gap: 22px; align-items: stretch; }
.thdf-grid-trust { grid-template-columns: minmax(280px, 1.08fr) minmax(200px, .72fr) minmax(240px, .82fr) minmax(260px, .88fr); }
.thdf-grid-support { grid-template-columns: minmax(280px, 1fr) minmax(210px, .75fr) minmax(240px, .85fr) minmax(260px, .9fr); }
.thdf-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--thdf-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--thdf-shadow-soft);
}
.thdf-panel h2 { margin: 0 0 16px; color: var(--thdf-ink); font-size: 1.05rem; font-weight: 950; line-height: 1.15; letter-spacing: -.02em; }
.thdf-panel p { color: var(--thdf-muted); }
.thdf-brand-panel { background: linear-gradient(135deg, #fff, #f8fcfb); }
.thdf-logo { display: inline-flex; align-items: center; max-width: 260px; margin-bottom: 20px; }
.thdf-logo-img { width: 240px; max-width: 100%; }
.thdf-logo-text { color: var(--thdf-green-dark) !important; font-size: 1.35rem; font-weight: 950; }
.thdf-footer-intro { margin: 0 0 18px; color: var(--thdf-muted); font-size: 1rem; }
.thdf-mini-proof { display: flex; flex-wrap: wrap; gap: 10px; }
.thdf-mini-proof span { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; border-radius: 999px; background: var(--thdf-soft-2); color: var(--thdf-green-dark); font-size: .86rem; font-weight: 900; }

/* Menu */
.thdf-menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.thdf-menu li { margin: 0; padding: 0; list-style: none; }
.thdf-menu a,
.thdf-menu a:visited {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 12px;
  color: var(--thdf-green-deep) !important;
  font-size: .95rem;
  font-weight: 850;
  line-height: 1.2;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}
.thdf-menu a:hover { color: var(--thdf-green-deep) !important; background: var(--thdf-soft-2); transform: translateX(3px); }
.thdf-menu .sub-menu { display: grid; gap: 5px; margin: 5px 0 4px 14px; padding: 0 0 0 12px; border-left: 2px solid var(--thdf-line); list-style: none; }
.thdf-menu .sub-menu a { min-height: 32px; color: var(--thdf-muted) !important; font-size: .9rem; font-weight: 760; }
.thdf-menu .sub-menu a:hover { color: var(--thdf-green-deep) !important; background: var(--thdf-soft); }

/* Contact */
.thdf-contact-list { display: grid; gap: 12px; }
.thdf-contact-item,
.thdf-contact-item:visited {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: flex-start;
  color: var(--thdf-ink) !important;
  font-weight: 830;
}
.thdf-contact-item .thdf-icon { width: 22px; height: 22px; color: var(--thdf-green); margin-top: 1px; }
.thdf-contact-item:hover span { color: var(--thdf-green-dark); }
.thdf-address address { margin: 0; color: var(--thdf-muted); font-style: normal; font-weight: 720; line-height: 1.5; }

/* ISO */
.thdf-iso-panel { background: linear-gradient(135deg, #fff, #f8fcfb); }
.thdf-iso-head {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-bottom: 14px;
}
.thdf-iso-head h2 {
  margin: 0;
  color: var(--thdf-ink);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.15;
}
.thdf-iso-image-link {
  display: inline-flex;
  align-items: center;
  max-width: 184px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease;
}
.thdf-iso-image-link:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(4,63,59,.10); }
.thdf-iso-img {
  display: block;
  width: min(184px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.thdf-text-link,
.thdf-text-link:visited { display: inline-flex; align-items: center; gap: 7px; color: var(--thdf-green-dark) !important; font-weight: 900; }
.thdf-text-link::after { content: "→"; transition: transform .16s ease; }
.thdf-text-link:hover::after { transform: translateX(3px); }

/* Account/action links */
.thdf-action-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.thdf-action-link,
.thdf-action-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--thdf-green);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(8,116,109,.17);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.thdf-action-link:hover { transform: translateY(-2px); background: var(--thdf-green-dark); box-shadow: 0 14px 28px rgba(4,63,59,.22); color: #fff !important; }
.thdf-action-link .thdf-icon { width: 17px; height: 17px; }

/* Compact layout */
.thdf-layout-compact .thdf-main { padding: 48px 0; }
.thdf-compact-top {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--thdf-line);
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: var(--thdf-shadow-soft);
}
.thdf-compact-top .thdf-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.thdf-compact-bottom {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr) minmax(220px, .8fr);
  gap: 0;
  border: 1px solid var(--thdf-line);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--thdf-shadow-soft);
}
.thdf-compact-bottom .thdf-panel { border: 0; border-radius: 0; box-shadow: none; }
.thdf-compact-bottom .thdf-panel + .thdf-panel { border-left: 1px solid var(--thdf-line); }
.thdf-layout-compact .thdf-action-links { display: grid; }

/* Support hub */
.thdf-support-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.thdf-support-card,
.thdf-support-card:visited {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  color: #fff !important;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 30%),
    linear-gradient(135deg, var(--thdf-green-deep), var(--thdf-green));
  box-shadow: var(--thdf-shadow-soft);
  transition: transform .16s ease, box-shadow .16s ease;
}
.thdf-support-card:hover { transform: translateY(-3px); box-shadow: var(--thdf-shadow); color: #fff !important; }
.thdf-support-card .thdf-icon { width: 28px; height: 28px; margin-bottom: 15px; color: #d8fffb; }
.thdf-support-card strong { display: block; margin-bottom: 6px; color: #fff; font-size: 1.05rem; line-height: 1.15; }
.thdf-support-card span { display: block; color: rgba(255,255,255,.82); font-size: .94rem; }

/* Bottom bar */
.thdf-bottom-bar { color: #dcefed; background: var(--thdf-green-deep); }
.thdf-bottom-inner { min-height: 56px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.thdf-bottom-inner p { margin: 0; font-size: .9rem; font-weight: 800; }
.thdf-bottom-inner p:last-child { color: rgba(255,255,255,.68); text-align: right; }

@media (max-width: 1100px) {
  .thdf-grid-trust,
  .thdf-grid-support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thdf-compact-top,
  .thdf-compact-bottom { grid-template-columns: 1fr; }
  .thdf-compact-bottom .thdf-panel + .thdf-panel { border-left: 0; border-top: 1px solid var(--thdf-line); }
}
@media (max-width: 780px) {
  .thdf-container { width: min(100% - 28px, 1240px); }
  .thdf-main { padding: 42px 0; }
  .thdf-grid-trust,
  .thdf-grid-support,
  .thdf-support-cards { grid-template-columns: 1fr; }
  .thdf-panel { padding: 22px; border-radius: 22px; }
  .thdf-logo { margin-bottom: 16px; }
  .thdf-logo-img { width: 220px; }
  .thdf-menu a { min-height: 42px; padding: 9px 10px; }
  .thdf-menu .sub-menu { margin-left: 8px; }
  .thdf-action-links { display: grid; grid-template-columns: 1fr; }
  .thdf-action-link { justify-content: center; }
  .thdf-iso-head { justify-items: center; text-align: center; }
  .thdf-iso-panel p { text-align: center; }
  .thdf-iso-panel .thdf-text-link { justify-content: center; width: 100%; }
  .thdf-compact-top { padding: 22px; border-radius: 24px; }
  .thdf-compact-top .thdf-menu { grid-template-columns: 1fr; }
  .thdf-compact-bottom { border-radius: 0 0 24px 24px; }
  .thdf-bottom-inner { display: grid; justify-items: start; gap: 6px; }
  .thdf-bottom-inner p:last-child { text-align: left; }
}
