/* Compact navigation: the three programs share one accessible dropdown. */
.avm-header-inner { position: relative; }
.avm-menu { gap: clamp(18px, 2.2vw, 34px); }
.avm-program-trigger { display: flex; align-items: center; gap: 7px; padding: 30px 0; border: 0; color: var(--avm-navy); background: none; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.avm-program-trigger > span { font-size: 18px; transition: transform .2s; }
.avm-program-trigger[aria-expanded="true"] > span { transform: rotate(180deg); }
.avm-program-trigger:focus-visible, .avm-program-menu a:focus-visible { outline: 2px solid var(--avm-orange); outline-offset: 3px; }
.avm-program-menu[hidden] { display: none!important; }
.avm-program-menu { position: absolute; top: calc(100% + 1px); left: 50%; width: min(980px, calc(100vw - 40px)); padding: 24px; border: 1px solid #dceaf0; border-radius: 0 0 22px 22px; background: #fff; box-shadow: 0 20px 48px rgba(3,45,70,.18); transform: translateX(-50%); z-index: 12; }
.avm-program-menu-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.avm-program-menu-column { padding: 17px 20px 14px; border-radius: 15px; background: #f3f9fb; }
.avm-program-menu-column:nth-child(2) { background: #f3f8f3; }
.avm-program-menu-column:nth-child(3) { background: #fff7ee; }
.avm-program-menu .avm-program-menu-heading { min-height: 58px; display: flex; align-items: center; gap: 9px; padding: 0 0 12px; border-bottom: 1px solid rgba(8,61,92,.13); color: var(--avm-navy); font-size: 13px; font-weight: 800; white-space: normal; }
.avm-program-menu-heading img { width: 84px; height: 41px; flex: 0 0 84px; object-fit: contain; }
.avm-pet-mark { display: grid; flex: 0 0 46px; width: 46px; height: 36px; place-items: center; border-radius: 10px; color: #fff; background: #e47b2f; font-size: 12px; font-weight: 900; letter-spacing: .05em; }
.avm-program-menu ul { margin: 12px 0 0; padding: 0; list-style: none; }
.avm-program-menu li { margin: 0; }
.avm-program-menu .avm-program-menu-column li a { padding: 7px 0; font-size: 12px; font-weight: 650; white-space: normal; }
.avm-program-menu a::after { display: none; }
.avm-program-menu a:hover { color: var(--avm-orange-dark); }

/* Keep the overlapping product row above the following section and show full packs. */
.avm-hero { z-index: 2; }
.avm-program-showcase, .avm-products-section { z-index: 1; }
.avm-hero-products { bottom: -67px; }
.avm-product-viewport { min-width: 0; padding: 16px 4px 17px; overflow: hidden; }
.avm-product-track { scroll-behavior: auto; }
.avm-hero-product { flex-shrink: 0; }
.avm-hero-product img { height: 166px; max-width: 100%; object-fit: contain; }
.avm-program-showcase { padding-top: 135px; }

/* The footer columns are always stacked lists, including theme/menu fallbacks. */
.avm-site-footer { background: radial-gradient(circle at 8% -15%,#12577a,#063b59 42%,#022b43 100%); }
.avm-site-footer .avm-footer-top { gap: clamp(25px,3.3vw,52px); padding-top: 68px; padding-bottom: 62px; }
.avm-site-footer .avm-footer-column h2 { margin-bottom: 17px; color: #fff; font-size: 15px; letter-spacing: .02em; }
.avm-site-footer .avm-footer-links { display: flex!important; flex-direction: column!important; align-items: flex-start!important; gap: 10px!important; width: 100%; margin: 0!important; padding: 0!important; list-style: none!important; }
.avm-site-footer .avm-footer-links > li { display: block!important; width: 100%; margin: 0!important; padding: 0!important; float: none!important; }
.avm-site-footer .avm-footer-links a { display: inline-block; padding: 0; color: rgba(255,255,255,.79); font-size: 13px; line-height: 1.45; white-space: normal; }
.avm-site-footer .avm-footer-links a:hover { color: #ffc393; }
.avm-pdf-label { margin-left: 4px; color: #9bc8dc; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.avm-footer-brand > p { line-height: 1.55; }
.avm-footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.avm-footer-contact a { color: #dceef4; font-size: 13px; }
.avm-footer-contact a:hover { color: #ffc393; }

@media (max-width: 1180px) {
  .avm-program-trigger { font-size: 12px; }
  .avm-program-menu-heading img { width: 68px; flex-basis: 68px; }
}
@media (max-width: 940px) {
  .avm-primary-navigation { inset: 74px 0 0; visibility: hidden; }
  body.nav-open .avm-primary-navigation { visibility: visible; }
  .avm-program-trigger { width: 100%; justify-content: space-between; padding: 15px 5px; border-bottom: 1px solid #edf1f3; font-size: 17px; }
  .avm-program-menu { position: static; width: 100%; padding: 12px 0 18px; border: 0; border-radius: 0; box-shadow: none; transform: none; }
  .avm-program-menu-grid { grid-template-columns: 1fr; gap: 9px; }
  .avm-program-menu-column { padding: 10px 15px; }
  .avm-program-menu .avm-program-menu-heading { min-height: 44px; }
  .avm-program-menu .avm-program-menu-column li a { padding: 8px 0; border: 0; font-size: 14px; }
  .avm-hero-product img { height: 148px; }
}
@media (max-width: 640px) {
  .avm-primary-navigation { top: 68px; }
  .avm-hero-products { bottom: -55px; }
  .avm-product-viewport { padding: 13px 3px 14px; }
  .avm-hero-product img { height: 122px; }
  .avm-products-section { z-index: 1; padding-top: 83px; }
  .avm-program-showcase { padding-top: 54px; }
  .avm-site-footer .avm-footer-top { gap: 33px 18px; }
}
