/* Homepage measurements follow the reference at normal browser scale. */
html:has(body.home-page) {
  scrollbar-width: auto;
}
body.home-page:not(.catalog-mode) {
  --product-image-padding: 10px;
  --home-rail-start: 16px;
  --home-rail-end: 0px;
  --home-arrow-left: 4px;
  --home-arrow-right: 0px;
}
body.home-page:not(.catalog-mode) > .partner-bar {
  position: sticky;
  top: var(--public-header-space, 71px);
  z-index: 49;
  backdrop-filter: blur(12px);
}
body.home-page:not(.catalog-mode) .product-card {
  --border: #252528;
}
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 {
  width: calc(100% + var(--home-rail-start) + var(--home-rail-end));
  margin-inline: calc(-1 * var(--home-rail-start)) calc(-1 * var(--home-rail-end));
  padding-inline: var(--home-rail-start);
  scroll-padding-inline: var(--home-rail-start);
  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 {
  color: #ececee;
  overflow-wrap: normal;
  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;
}
body.home-page:not(.catalog-mode) .rail-wrap > :is(.rail-prev, .rail-next) {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  transform: none;
  scale: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid #ececee;
  border-radius: 9999px;
  background: hsl(240 3% 7% / 0.8);
  color: #ececee;
  backdrop-filter: blur(8px);
  box-shadow: none;
  z-index: 10;
  cursor: pointer;
  transition: scale 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms, border-color 200ms;
}
body.home-page:not(.catalog-mode) .rail-wrap > .rail-prev {
  left: var(--home-arrow-left);
  right: auto;
}
body.home-page:not(.catalog-mode) .rail-wrap > .rail-next {
  right: var(--home-arrow-right);
  left: auto;
}
body.home-page:not(.catalog-mode) .rail-wrap > :is(.rail-prev, .rail-next)[hidden] {
  display: none;
}
body.home-page:not(.catalog-mode) .rail-wrap > :is(.rail-prev, .rail-next):enabled:hover {
  border-color: hsl(225 87% 69% / 0.4);
  color: hsl(225 87% 69%);
  scale: 1.05;
}
body.home-page:not(.catalog-mode) .rail-wrap > :is(.rail-prev, .rail-next):enabled:active {
  scale: 0.95;
}
body.home-page:not(.catalog-mode) .rail-wrap > :is(.rail-prev, .rail-next) svg {
  width: 20px;
  height: 20px;
}
@media (prefers-reduced-motion: reduce) {
  body.home-page:not(.catalog-mode) .rail-wrap > :is(.rail-prev, .rail-next) {
    transition: none;
  }
}
.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 (min-width: 640px) and (max-width: 767px) {
  body.home-page:not(.catalog-mode) .product-rail,
  body.home-page:not(.catalog-mode) .public-rail {
    grid-auto-columns: 200px;
  }
}
@media (max-width: 639px) {
  body.home-page:not(.catalog-mode) {
    --home-rail-start: 14px;
    --home-rail-end: 14px;
    --home-arrow-left: 14px;
    --home-arrow-right: 10px;
  }
  body.home-page:not(.catalog-mode) .product-rail,
  body.home-page:not(.catalog-mode) .public-rail {
    grid-auto-columns: 176px;
    gap: 16px;
  }
  :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;
  }
}
.home-page :is(.product-rail, .public-rail) { overflow-anchor: none; }
.home-page .home-rail-tail {
  scroll-snap-align: none;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-rail-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 66px;
  border: 1px dashed rgb(38 38 42 / 60%);
  border-radius: 16px;
  color: #8f8f94;
  background: rgb(26 26 29 / 40%);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.home-rail-more svg { width: 32px; height: 32px; }
.home-rail-more:hover, .home-rail-more:focus-visible { border-color: #6b8af5; }
.home-rail-status { margin: 0; font-size: 12px; }
.home-rail-status:empty { display: none; }
@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;
  }
}
