/* Site foundation R1: discovery, performance and accessibility. */

.aj-site-foundation-r1 .aj-responsive-product-hero {
  display: block;
  width: 100%;
  height: 100%;
}

.aj-site-foundation-r1 .aj-responsive-product-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.aj-site-foundation-r1 .aj-foundation-feature-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.4rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(122, 67, 38, 0.22);
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #fffaf3, #f7eee3);
  color: #5c321c;
}

.aj-site-foundation-r1 .aj-foundation-feature-link > span {
  color: #7b5540;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.aj-site-foundation-r1 .aj-foundation-feature-link a {
  color: #5c321c;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.aj-site-foundation-r1 .aj-catalogue-progress {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin: 2rem auto 0;
  text-align: center;
}

.aj-site-foundation-r1 .aj-catalogue-progress__status {
  margin: 0;
  color: #6f5547;
  font-size: 0.92rem;
}

.aj-site-foundation-r1 .aj-catalogue-progress__more {
  min-width: 12rem;
  min-height: 2.9rem;
  cursor: pointer;
}

.aj-site-foundation-r1 .aj-catalogue-progress__more[hidden] {
  display: none;
}

.aj-site-foundation-r1 :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #9f4f27;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .aj-site-foundation-r1 .aj-foundation-feature-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .aj-site-foundation-r1 .aj-catalogue-progress__more {
    width: min(100%, 20rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aj-site-foundation-r1,
  .aj-site-foundation-r1 * {
    scroll-behavior: auto !important;
  }

  .aj-site-foundation-r1 *,
  .aj-site-foundation-r1 *::before,
  .aj-site-foundation-r1 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
