/* Homepage measurements follow the reference at normal browser scale. */
html:has(body.home-page) {
  scrollbar-width: auto;
}
body.home-page::-webkit-scrollbar {
  width: 15px;
}
@media (min-width: 1024px) {
  body.home-page:not(.catalog-mode) .landing-hero {
    padding-bottom: 112px !important;
  }
}
body.home-page:not(.catalog-mode) .product-rail {
  padding-bottom: 0;
}
.public-rail:has(.discovery-empty) {
  display: block;
}
.public-rail .discovery-empty {
  margin: 0;
  min-height: 290.65625px;
}
body.home-page:not(.catalog-mode) .section-heading {
  margin-bottom: 22px;
}
body.home-page:not(.catalog-mode) .home-audience {
  display: none;
}
body.home-page:not(.catalog-mode) .product-rail,
body.home-page:not(.catalog-mode) .public-rail {
  grid-auto-columns: 218px;
  gap: 16px;
}
:is(body.home-page:not(.catalog-mode), .public-recommendations) .product-body {
  padding: 13px 15px 12px !important;
}
:is(body.home-page:not(.catalog-mode), .public-recommendations) .product-title h3 {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  min-height: 2.6em;
  letter-spacing: -0.01em;
}
:is(body.home-page:not(.catalog-mode), .public-recommendations) .product-subline {
  font-size: 12.5px;
  line-height: 18.75px;
  margin: 4px 0 0;
  min-height: 18.75px;
}
:is(body.home-page:not(.catalog-mode), .public-recommendations) .product-footer {
  padding: 11px 15px !important;
  min-height: 44px;
}
:is(body.home-page:not(.catalog-mode), .public-recommendations) .product-card {
  border-radius: 10px !important;
}
.discovery-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #303032;
  border-radius: 10px;
  background: #1b1b1d;
  aspect-ratio: 3/4;
  min-width: 0;
}
.discovery-poster .poster-image {
  position: absolute;
  inset: 0;
  background: #202022;
}
.poster-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 48px 12px 12px;
  color: #fff;
  background: linear-gradient(transparent, #000b 50%, #000e);
}
.poster-caption strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.poster-caption small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #d3d3d6;
}
.poster-caption > span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
}
.poster-count {
  position: absolute;
  right: 7px;
  top: 7px;
  padding: 4px 7px;
  font-size: 11px;
  border: 1px solid #ffffff4d;
  border-radius: 7px;
  color: #fff;
  background: #111b;
}
.poster-no-image {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 180px;
  color: #929299;
  font-size: 12px;
}
.poster-image-error::after {
  content: attr(data-error);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #999;
  font-size: 12px;
}
.poster-skeleton {
  aspect-ratio: 3/4;
  border-radius: 10px;
  background: #202022;
  border: 1px solid #303032;
}
.discovery-empty {
  grid-column: 1/-1;
  padding: 32px 20px;
  min-height: 180px;
  color: #999;
  border: 1px solid #303032;
  border-radius: 10px;
}
body.home-page:not(.catalog-mode) .home-outfits .public-rail {
  grid-auto-columns: 212px;
}
.outfit-poster {
  aspect-ratio: auto;
  min-height: 444px;
}
.outfit-poster .poster-image {
  position: relative;
  aspect-ratio: 9/16;
}
.outfit-poster .poster-caption {
  position: static;
  padding: 12px;
  min-height: 65px;
  background: #19191b;
}
.outfit-poster .poster-caption strong {
  font-size: 14px;
}
.outfit-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 444px;
  padding: 24px;
  border: 1px dashed #3a3a40;
  border-radius: 10px;
  color: #a5a5ae !important;
  background: #19191b;
}
.outfit-empty-card > span:first-child {
  font-size: 28px;
}
.outfit-empty-card p {
  font-size: 12px;
  line-height: 1.6;
}
body.home-page:not(.catalog-mode) .home-sellers.public-rail {
  grid-auto-columns: 300px;
}
.home-seller-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #303032;
  border-radius: 20px;
  background: #1b1b1d;
  transition: border-color 150ms;
}
.home-seller-card:hover {
  border-color: #45454b;
}
.home-seller-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 16px 14px;
}
.home-seller-identity {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 11px;
  min-width: 0;
  border-radius: 8px;
}
.home-seller-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #ececee;
  color: #1b1b1d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.home-seller-copy {
  flex: 1;
  min-width: 0;
}
.home-seller-name {
  margin: 0;
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 600;
}
.home-seller-description {
  margin: 3px 0 0;
  color: #a1a1aa;
  font-size: 11px;
  line-height: 13px;
}
.home-seller-name,
.home-seller-description {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-seller-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 5px;
  min-width: 84px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ececee;
  color: #111 !important;
  font-size: 13px;
  line-height: 19.5px;
  font-weight: 600;
}
.home-seller-cover {
  display: block;
  position: relative;
  aspect-ratio: 16 / 11;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 14px;
  background: #1d1d20;
}
.home-seller-cover > img,
.home-seller-thumbnail > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-seller-cover .poster-no-image {
  min-height: 0;
}
.home-seller-caption {
  margin: 0;
  padding: 14px 16px 8px;
  color: #a1a1aa;
  font-size: 12.5px;
  line-height: 18.75px;
  font-weight: 600;
}
.home-seller-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 14px;
}
.home-seller-thumbnail {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #303032;
  border-radius: 8px;
  background: #1d1d20;
}
.home-seller-thumbnail .poster-no-image {
  min-height: 0;
  padding: 3px;
  text-align: center;
  font-size: 10px;
}
.home-seller-card a:focus-visible {
  outline: 2px solid #ececee;
  outline-offset: 2px;
}
.campaign-custom {
  padding: 0 !important;
}
.campaign-slide {
  position: absolute;
  inset: 0;
}
.campaign-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.campaign-pagination {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  z-index: 4;
}
.campaign-pagination button {
  position: relative;
  border: 0;
  background: transparent;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  padding: 0;
}
.campaign-pagination button::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 11px;
  left: 11px;
  background: #ffffff70;
}
.campaign-pagination button[aria-pressed="true"]::after {
  background: #fff;
  width: 10px;
  left: 9px;
  border-radius: 4px;
}
.published-outfits {
  margin-bottom: 36px;
}
@media (max-width: 700px) {
  body.home-page:not(.catalog-mode) .product-rail,
  body.home-page:not(.catalog-mode) .public-rail {
    grid-auto-columns: 176px;
    gap: 12px;
  }
  :is(body.home-page:not(.catalog-mode), .public-recommendations) .product-title h3 {
    font-size: 14.5px;
  }
  :is(body.home-page:not(.catalog-mode), .public-recommendations) .product-body {
    padding: 13px 15px 12px !important;
  }
  :is(body.home-page:not(.catalog-mode), .public-recommendations) .product-subline {
    font-size: 12.5px;
  }
  :is(body.home-page:not(.catalog-mode), .public-recommendations) .product-footer {
    padding: 11px 15px !important;
  }
  body.home-page:not(.catalog-mode) .home-outfits .public-rail {
    grid-auto-columns: 172px;
  }
  .home-outfits .outfit-poster,
  .outfit-empty-card {
    min-height: 371px;
  }
  .discovery-section .rail-next,
  .discovery-section .rail-prev {
    display: grid !important;
    width: 36px;
    height: 36px;
    right: 0;
  }
  .discovery-section .rail-prev {
    left: 0;
    right: auto;
  }
  .discovery-section .rail-next[hidden],
  .discovery-section .rail-prev[hidden] {
    display: none !important;
  }
}
@media (max-width: 767px) {
  body.home-page:not(.catalog-mode) .home-sellers.public-rail {
    grid-auto-columns: 280px;
  }
}
@media (max-width: 639px) {
  body.home-page:not(.catalog-mode) .home-sellers.public-rail {
    grid-auto-columns: 248px;
  }
}
