/*
 * AMMO company band — matches ammo.solutions exactly.
 * Always dark, whatever the page theme.
 * Consumers' CSP blocks inline styles, so colours are class-based and this
 * sheet is linked from the Site Parts origin they allow-list. Font faces live
 * in footer-fonts.css because Chrome ignores @font-face inside shadow roots.
 */

:host {
  display: block;
}

.ammo-footer,
.ammo-footer *,
.ammo-footer *::before,
.ammo-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ammo-footer {
  --ab-slab: "Roboto Slab", Georgia, serif;
  --ab-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ab-grad: linear-gradient(90deg, #2f6bff, #7a3ff2, #ef4a4a);

  flex-shrink: 0;
  position: relative;
  font-family: var(--ab-sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

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

.ammo-footer a:hover,
.ammo-footer a:focus,
.ammo-footer a:focus-visible,
.ammo-footer a:active,
.ammo-footer a:visited,
.ammo-footer a *,
.ammo-footer a:hover * {
  text-decoration: none;
}

.ammo-footer a:focus-visible {
  outline: 2px solid #8fb0ff;
  outline-offset: 2px;
}

/* Full variant — always dark */
.ammo-footer-full {
  background: #151413;
  color: #d9d5cc;
}

.ammo-footer-full::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--ab-grad);
}

.ammo-footer-full .ammo-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px max(36px, var(--ammo-feedback-clearance, 0px));
}

.ammo-footer-full .ammo-top {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.15fr;
  gap: 44px;
  align-items: start;
}

/* Extra groups stack under Company so the product column keeps the band's width. */
.ammo-footer-full .ammo-navs .ammo-links + .ammo-links {
  margin-top: 36px;
}

.ammo-footer-full .ammo-top-noproducts .ammo-navs {
  grid-column: 3;
}

.ammo-footer-full .ammo-logo {
  display: block;
  width: auto;
  height: 46px;
  color: #fff;
}

.ammo-footer-full .ammo-co b {
  display: block;
  margin-top: 18px;
  color: #fff;
  font: 500 18px var(--ab-slab);
}

.ammo-footer-full .ammo-origin {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: #a19d94;
  font-size: 14px;
}

.ammo-footer-full .dutch-heart {
  display: flex;
  flex: none;
}

.ammo-footer-full .dutch-heart svg {
  display: block;
}

.ammo-footer-full .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ammo-footer-full .ammo-heading {
  margin: 0 0 16px;
  color: #827e75;
  font: 600 12px var(--ab-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ammo-footer-full .prods {
  display: grid;
  gap: 10px;
}

.ammo-footer-full .prod {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, border-color 0.2s;
}

.ammo-footer-full a.prod:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.ammo-footer-full .prod .pm {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: 700 16px/1 var(--ab-slab);
}

.ammo-footer-full .prod .pm::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--ab-grad);
}

.ammo-footer-full .prod .pm > span {
  margin-top: -3px;
}

.ammo-footer-full .prod .pm--tools {
  background: #0b8a7a;
}

.ammo-footer-full .prod .pm--host,
.ammo-footer-full .prod .pm--graphics {
  background: #141312;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.ammo-footer-full .prod .pm--cooking {
  background: #141312;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.ammo-footer-full .prod .pm--solutions {
  background: linear-gradient(135deg, #0b8a7a, #2f6bff 40%, #7a3ff2 70%, #ef4a4a);
}

.ammo-footer-full .prod .pm .pm-pan {
  width: 26px;
  height: 26px;
}

.ammo-footer-full .prod .pm .pm-graffiti {
  width: auto;
  height: 14px;
  color: #fff;
}

.ammo-footer-full .tld--tools {
  color: #6fd3c3;
}

.ammo-footer-full .tld--host {
  color: #8fb0ff;
}

.ammo-footer-full .tld--graphics {
  color: #b8a0ff;
}

.ammo-footer-full .tld--cooking {
  color: #ffb27a;
}

.ammo-footer-full .tld--solutions {
  color: #d9b8ff;
}

.ammo-footer-full .prod b {
  display: block;
  color: #fff;
  font: 500 16px var(--ab-slab);
}

.ammo-footer-full .prod small {
  display: block;
  color: #9a968d;
  font-size: 13px;
  line-height: 1.4;
}

.ammo-footer-full .prod .here {
  flex: none;
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cfcbc2;
  font-size: 11px;
  font-weight: 600;
}

.ammo-footer-full .prod .go {
  flex: none;
  margin-left: auto;
  color: #7d7970;
}

.ammo-footer-full .ammo-links ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  list-style: none;
}

.ammo-footer-full .ammo-links li {
  margin: 0;
  padding: 0;
}

.ammo-footer-full .ammo-links a {
  color: #cfcbc2;
}

.ammo-footer-full .ammo-links a:hover {
  color: #fff;
}

.ammo-footer-full .ammo-bot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #827e75;
  font-size: 12.5px;
}

.ammo-footer-full .ammo-bot span + span::before {
  content: "·";
  margin-right: 18px;
  color: #55524c;
}

@media (max-width: 900px) {
  .ammo-footer-full .ammo-top {
    grid-template-columns: 1fr 1fr;
  }

  .ammo-footer-full .ammo-top-noproducts .ammo-navs {
    grid-column: auto;
  }

  .ammo-footer-full .ammo-co {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .ammo-footer-full .ammo-band-inner {
    padding: 44px 20px max(36px, var(--ammo-feedback-clearance, 0px));
  }

  .ammo-footer-full .ammo-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ammo-footer-full .ammo-bot {
    flex-direction: column;
  }

  .ammo-footer-full .ammo-bot span + span::before {
    display: none;
  }
}

@media (pointer: coarse) {
  .ammo-footer-full .ammo-co > a,
  .ammo-footer-full .ammo-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Compact variant */
.ammo-footer-compact {
  background: transparent;
  border-top-width: 1px;
  border-top-style: solid;
}

.ammo-footer-compact[data-theme="light"] {
  border-top-color: #e2ded6;
  color: #86827a;
}

.ammo-footer-compact[data-theme="dark"] {
  border-top-color: rgba(244, 242, 238, 0.10);
  color: #8a867e;
}

.ammo-footer-compact .ammo-band-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 24px max(20px, var(--ammo-feedback-clearance, 0px));
}

.ammo-footer-compact .ammo-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ammo-footer-compact .ammo-logo {
  display: block;
  height: 16px;
  width: auto;
}

.ammo-footer-compact[data-theme="light"] .ammo-logo {
  color: #141312;
}

.ammo-footer-compact[data-theme="dark"] .ammo-logo {
  color: #f4f2ee;
}

.ammo-footer-compact .ammo-bot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 12.5px;
}

.ammo-footer-compact .ammo-bot span + span::before {
  content: "·";
  margin-right: 18px;
  color: inherit;
  opacity: 0.5;
}

.ammo-footer-compact[data-theme="light"] a:hover {
  color: #141312;
  text-decoration: underline;
}

.ammo-footer-compact[data-theme="dark"] a:hover {
  color: #f4f2ee;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .ammo-footer-compact .ammo-band-inner {
    padding: 20px 16px max(20px, var(--ammo-feedback-clearance, 0px));
  }

  .ammo-footer-compact .ammo-compact {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ammo-footer-compact .ammo-compact > a {
    flex-basis: 100%;
  }

  .ammo-footer-compact .ammo-bot {
    flex-direction: column;
    align-items: flex-start;
  }

  .ammo-footer-compact .ammo-bot span + span::before {
    display: none;
  }
}

:host-context(html[data-theme="light"]) .ammo-footer-compact[data-follow-page] {
  border-top-color: #e2ded6;
  color: #86827a;
}

:host-context(html[data-theme="light"]) .ammo-footer-compact[data-follow-page] .ammo-logo {
  color: #141312;
}

:host-context(html[data-theme="light"]) .ammo-footer-compact[data-follow-page] a:hover {
  color: #141312;
  text-decoration: underline;
}

:host-context(html[data-theme="dark"]) .ammo-footer-compact[data-follow-page],
.ammo-footer-compact[data-follow-page] {
  border-top-color: rgba(244, 242, 238, 0.10);
  color: #8a867e;
}

:host-context(html[data-theme="dark"]) .ammo-footer-compact[data-follow-page] .ammo-logo,
.ammo-footer-compact[data-follow-page] .ammo-logo {
  color: #f4f2ee;
}

:host-context(html[data-theme="dark"]) .ammo-footer-compact[data-follow-page] a:hover,
.ammo-footer-compact[data-follow-page] a:hover {
  color: #f4f2ee;
  text-decoration: underline;
}
