.adl-homepage {
  --adl-home-ink: #16343d;
  --adl-home-muted: #60747b;
  --adl-home-line: #e2e9e9;
  --adl-home-soft: #f6f9f8;
  --adl-home-accent: #12aaa7;
  box-sizing: border-box;
  color: var(--adl-home-ink);
  margin: 0 auto;
  max-width: 1320px;
  padding: 8px 12px 34px;
  width: 100%;
}

.adl-homepage *,
.adl-homepage *::before,
.adl-homepage *::after {
  box-sizing: border-box;
}

.adl-homepage__intro {
  margin: 0 auto 30px;
  max-width: 920px;
  text-align: center;
}

.adl-homepage__intro h1 {
  color: var(--adl-home-ink);
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  line-height: 1.16;
  margin: 0 0 10px;
}

.adl-homepage__intro p {
  color: var(--adl-home-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.adl-homepage__section {
  margin: 0 0 38px;
}

.adl-homepage__section-header {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 16px;
}

.adl-homepage__section-header h2 {
  color: var(--adl-home-ink);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.2;
  margin: 0;
}

.adl-homepage__section-header p {
  color: var(--adl-home-muted);
  line-height: 1.5;
  margin: 5px 0 0;
}

.adl-homepage__section-cta {
  align-items: center;
  color: #117f7d;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 650;
  min-height: 44px;
  padding: 8px 2px;
  text-decoration: none;
}

.adl-homepage__section-cta:hover {
  color: #0c6664;
  text-decoration: underline;
}

.adl-homepage a:focus-visible,
.adl-homepage button:focus-visible,
.adl-homepage input:focus-visible {
  outline: 3px solid rgba(18, 170, 167, .35);
  outline-offset: 3px;
}

.adl-homepage__items {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.adl-homepage__items--categories {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adl-homepage__category {
  background: #fff;
  border: 1px solid var(--adl-home-line);
  border-radius: 14px;
  min-width: 0;
  overflow: hidden;
}

.adl-homepage__category a {
  color: var(--adl-home-ink);
  display: block;
  height: 100%;
  text-decoration: none;
}

.adl-homepage__category img {
  aspect-ratio: 16 / 9;
  background: #f7faf9;
  display: block;
  height: auto;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.adl-homepage__category span {
  display: block;
  padding: 13px 14px 15px;
}

.adl-homepage__category strong,
.adl-homepage__category small {
  display: block;
}

.adl-homepage__category strong {
  font-size: .98rem;
  line-height: 1.35;
}

.adl-homepage__category small {
  color: var(--adl-home-muted);
  font-size: .78rem;
  margin-top: 4px;
}

.adl-homepage__category:hover {
  border-color: #bedad9;
}

.adl-homepage__items--shortcuts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adl-homepage__shortcut a {
  align-items: center;
  background: var(--adl-home-soft);
  border: 1px solid var(--adl-home-line);
  border-radius: 12px;
  color: var(--adl-home-ink);
  display: flex;
  gap: 12px;
  min-height: 62px;
  padding: 12px 16px;
  text-decoration: none;
}

.adl-homepage__shortcut svg {
  fill: currentColor;
  flex: 0 0 22px;
  height: 22px;
  width: 22px;
}

.adl-homepage__shortcut a:hover {
  background: #eef7f6;
  border-color: #bedad9;
}

.adl-homepage__items--new_products,
.adl-homepage__items--best_sellers,
.adl-homepage__items--restock,
.adl-homepage__items--offers,
.adl-homepage__items--recently_viewed {
  align-items: stretch;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.adl-homepage .adl-product-card {
  height: 100%;
  min-width: 0;
}

.adl-homepage__items--editorial {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adl-homepage__editorial {
  border-radius: 16px;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.adl-homepage__editorial > a {
  color: #fff;
  display: block;
  min-height: 100%;
  position: relative;
  text-decoration: none;
}

.adl-homepage__editorial img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.adl-homepage__editorial-copy {
  background: linear-gradient(0deg, rgba(8, 25, 30, .88), rgba(8, 25, 30, .02));
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  left: 0;
  padding: 54px 18px 17px;
  position: absolute;
  right: 0;
}

.adl-homepage__editorial-copy strong {
  font-size: 1.15rem;
  line-height: 1.25;
}

.adl-homepage__editorial-copy span,
.adl-homepage__editorial-copy em {
  font-size: .86rem;
  font-style: normal;
  line-height: 1.35;
}

.adl-homepage__editorial-copy em {
  font-weight: 700;
  margin-top: 4px;
}

@media (max-width: 991px) {
  .adl-homepage__items--categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .adl-homepage__items--new_products,
  .adl-homepage__items--best_sellers,
  .adl-homepage__items--restock,
  .adl-homepage__items--offers,
  .adl-homepage__items--recently_viewed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .adl-homepage {
    padding-left: 9px;
    padding-right: 9px;
  }

  .adl-homepage__intro {
    margin-bottom: 24px;
    text-align: left;
  }

  .adl-homepage__intro p {
    font-size: .92rem;
  }

  .adl-homepage__section {
    margin-bottom: 30px;
  }

  .adl-homepage__section-header {
    align-items: start;
    margin-bottom: 12px;
  }

  .adl-homepage__section-header p {
    font-size: .86rem;
  }

  .adl-homepage__section-cta {
    font-size: .84rem;
    min-height: 42px;
  }

  .adl-homepage__items {
    gap: 10px;
  }

  .adl-homepage__items--categories,
  .adl-homepage__items--new_products,
  .adl-homepage__items--best_sellers,
  .adl-homepage__items--restock,
  .adl-homepage__items--offers,
  .adl-homepage__items--recently_viewed,
  .adl-homepage__items--editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adl-homepage__items--shortcuts {
    grid-template-columns: 1fr;
  }

  .adl-homepage__shortcut a {
    min-height: 52px;
  }

  .adl-homepage__category span {
    padding: 10px 11px 12px;
  }

  .adl-homepage__category strong {
    font-size: .9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adl-homepage *,
  .adl-homepage *::before,
  .adl-homepage *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
