/* Give the arrows a solid background on both paper and dark sections. */
.strip-controls > button[data-strip-direction] {
  background: var(--ink);
  border-color: #a0a0a0;
  color: #fff;
}

.strip-controls > button[data-strip-direction]:not(:disabled):is(:hover, :focus-visible) {
  background: var(--action);
  border-color: var(--action);
  color: var(--ink);
}

[data-pointer-focus]:focus {
  outline: none;
}

.footer-badge > svg {
  display: block;
}

@media (max-width: 1024px) {
  .city-page > .commerce-ticker.city-ticker--top {
    height: 84px;
  }

  .city-page .city-services {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  }

  .lang-switch--footer {
    width: min(100%, 226px);
    scroll-margin-block: 16px;
  }

  .lang-switch--footer .lang-switch__btn {
    min-height: 44px;
    height: auto;
    gap: 8px;
  }

  .lang-switch--footer .lang-switch__list {
    position: static;
    margin-top: 8px;
    width: 100%;
    min-width: 0;
  }

  .lang-switch--footer .lang-switch__list a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  body:has(.lang-switch--footer [data-lang-toggle][aria-expanded="true"]) :is(.quick-call, .back-to-top) {
    display: none;
  }

  html[lang="en-AU"] .site-footer .footer-links-pod {
    padding: 32px 20px 30px;
  }

  html[lang="en-AU"] .footer-panel__grid--regional {
    gap: 24px 16px;
  }

  html[lang="en-AU"] .site-footer .footer-heading {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.3;
  }

  html[lang="en-AU"] .site-footer .footer-links {
    gap: 0;
  }

  html[lang="en-AU"] .site-footer .footer-links a {
    display: block;
    padding-block: 6px;
    font-size: 15px;
    line-height: 1.4;
  }

  html[lang="en-AU"] .footer-panel__grid .footer-regional-office {
    margin: 0;
  }

  html[lang="en-AU"] .footer-panel__grid .footer-phone {
    margin-top: 16px;
  }

  html[lang="en-AU"] .site-footer .footer-panel__bottom {
    margin: 24px 0 0;
    gap: 16px;
  }

  .city-page > .commerce-hero.city-hero {
    padding-bottom: 64px;
  }

  .city-page > .commerce-ticker.city-ticker--top {
    height: 72px;
  }

  .platform-page > .commerce-hero:has(+ .commerce-ticker--short) .commerce-hero__panel {
    padding-bottom: 50px;
  }

  .platform-page > .commerce-hero + .commerce-ticker--short {
    height: 70px;
  }

  .platform-page > .commerce-hero + .commerce-ticker--short + .platform-features {
    padding-top: 44px;
  }

  .platform-features .commerce-section-intro h2 {
    text-wrap: balance;
  }

  .seo-page:not(.city-seo-page) .commerce-strategy__panel {
    padding-block: 36px;
  }

  .ecommerce-page .commerce-strategy .commerce-accordions details > summary {
    padding-block: 10px;
    font-size: 17px;
    line-height: 1.35;
  }

  .ecommerce-page--shop .commerce-inclusions__panel {
    height: auto;
    min-height: 0;
  }

  .ecommerce-page--shop .commerce-inclusions h2 {
    margin-bottom: 0;
  }

  .ecommerce-page--shop .commerce-tags {
    margin-top: 32px;
    gap: 18px 10px;
  }

  .ecommerce-page--shop .commerce-feature-icons span {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 9px;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  /* Keep the source stagger and bounce inside the space between mobile rows. */
  .ecommerce-page--shop .commerce-tags.is-visible li,
  .ecommerce-page--shop .commerce-tags.is-visible + .commerce-feature-icons span {
    animation: commerce-feature-bounce 2s var(--tag-delay) both;
  }

  .commerce-feature-icons span:nth-child(1) { --tag-delay: 8000ms; }
  .commerce-feature-icons span:nth-child(2) { --tag-delay: 5000ms; }
  .commerce-feature-icons span:nth-child(3) { --tag-delay: 4500ms; }
  .commerce-feature-icons span:nth-child(4) { --tag-delay: 1000ms; }
}

@keyframes commerce-feature-bounce {
  0% { opacity: 0; translate: 0 -8px; }
  60% { opacity: 1; translate: 0 2px; }
  80% { translate: 0 -1px; }
  100% { opacity: 1; translate: 0 0; }
}
