body[data-view="home"] { background: #f7f7f7; }

#home.sf-home {
  --store-ink: #242126;
  --store-plum: #654456;
  --store-gutter: clamp(14px, 3.7vw, 38px);
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 0 24px;
  color: var(--store-ink);
}

.sf-home [hidden] { display: none !important; }
.store-features { background: white; }
.store-slides {
  position: relative;
  display: flex;
  column-gap: 9px;
  align-items: stretch;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: var(--store-gutter);
  scroll-padding-inline: var(--store-gutter);
}
.store-slides::-webkit-scrollbar, .store-guide-links::-webkit-scrollbar { display: none; }
.store-slide {
  position: relative;
  isolation: isolate;
  flex: 0 0 calc(100% - 9px);
  display: flex;
  align-items: flex-end;
  min-width: 0;
  aspect-ratio: 1.87;
  max-height: 365px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #473e35;
  color: white;
  border-radius: 9px;
  text-decoration: none;
}
.store-slide img, .store-dept-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.store-slide:first-child img { object-position: 55% 49%; }
.store-slide:nth-child(2) img { object-position: 50% 45%; }
.store-slide:nth-child(3) img { object-position: 50% 43%; }
.store-slide::after, .store-dept-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(19 15 16 / .79), rgb(18 15 15 / .30) 37%, transparent 74%);
}
.store-slide-copy {
  display: grid;
  row-gap: 1px;
  padding: 15px 50px 15px 16px;
  color: white;
}
.store-slide-copy small {
  font-size: clamp(.75rem, 2.5vw, .8125rem);
  letter-spacing: .08em;
  font-weight: 600;
}
.store-slide-copy strong {
  font-size: clamp(20px, 5.4vw, 35px);
  line-height: 1.4;
  font-weight: 740;
  letter-spacing: .015em;
  text-wrap: balance;
}
.store-next-mark {
  display: grid;
  place-items: center;
  position: absolute;
  right: 15px;
  bottom: 18px;
  width: 28px;
  height: 28px;
  border: 1px solid rgb(255 255 255 / .76);
  border-radius: 50%;
  background: rgb(0 0 0 / .08);
}
.store-next-mark::after {
  content: "";
  border: solid white;
  border-width: 1.5px 1.5px 0 0;
  width: 6px; height: 6px;
  transform: translateX(-1px) rotate(45deg);
}

.store-pager {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-pager button {
  display: grid;
  place-items: center;
  padding: 0;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
}
.store-pager button::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: #d2ccd0;
}
.store-pager button[aria-current]::after { width: 14px; background: var(--store-plum); }

.store-shortcuts {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  padding: 11px var(--store-gutter) 14px;
  border-bottom: 1px solid #ebe8ea;
  background: white;
}
.store-shortcuts > :is(a,button) {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
  color: var(--store-ink);
  background: transparent;
  border: 0;
  padding: 0;
}
.store-orb {
  position: relative;
  width: clamp(43px,12vw,62px);
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.store-orb img { width: 100%; height: 100%; object-fit: cover; }
.store-orb-categories {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  padding: 12px;
  background: #eee7e9;
}
.store-orb-categories i { width: 100%; height: 100%; border-radius: 2px; background: #6b4857; }
.store-orb-categories i:nth-child(2) { border-radius: 50%; background: #bca4ad; }
.store-orb-categories i:nth-child(3) { border-radius: 50% 2px 2px 2px; background: #997b89; }
.store-orb-budget {
  background: #674654;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.875rem,3.7vw,1.125rem);
  letter-spacing: -.07em;
}
.store-orb-journal img { object-position: 63% 60%; transform: scale(1.14); }
.store-orb-gift img { object-position: 53% center; }
.store-shelves { padding: 0 var(--store-gutter); }
.store-shelf { margin: 0; padding: 20px 0 3px; }
.store-shelf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 9px;
}
.store-shelf-head h2, .store-dept-cover h2 {
  margin: 0;
  font: inherit;
  font-size: clamp(16px,4.4vw,24px);
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: .015em;
  color: var(--store-ink);
}
.store-shelf-head > :is(a,button) {
  flex-shrink: 0;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 0 1px 0 8px;
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
  color: var(--store-plum);
  text-decoration: none;
}
.store-shelf-head > :is(a,button)::after {
  content: "";
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 1.4px 1.4px 0 0;
  transform: rotate(45deg);
}
.sf-home .store-products {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 2px;
  min-width: 0;
  border-radius: 8px;
  overflow: clip;
  background: transparent;
  align-items: stretch;
}
.sf-home .store-products .sf-tile { background: white; }
.sf-home .store-products .sf-photo { border-radius: 0; }
.sf-home .store-products .sf-info { padding-inline: 6px; }
.sf-home .store-products .sf-price-row { margin-inline: 6px 3px; }
.sf-home .store-products .sf-heart { right: -1px; }
.store-department { padding: 0 var(--store-gutter); }
.store-dept-cover {
  display: flex;
  position: relative;
  align-items: flex-end;
  padding: 13px 17px;
  overflow: hidden;
  isolation: isolate;
  height: clamp(95px,27vw,170px);
  border-radius: 9px;
  background: #585253;
}
.store-dept-cover img { object-position: 50% 47%; }
.store-dept-cover h2 { color: white; font-size: clamp(23px,5vw,34px); }
.store-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0 0;
}
.store-guide-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid #d9d4d6;
  border-radius: 20px;
  color: #4d4049;
  background: white;
  text-decoration: none;
  font-size: .875rem;
}
.store-slides a:focus-visible { outline: 3px solid #99627d; outline-offset: -3px; }
.sf-home :is(button,a):focus-visible { outline-offset: -3px; }

@media (max-width: 650px) {
  .sf-home .store-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (min-width: 680px) {
  #home.sf-home { padding-top: 22px; }
  .store-slides { gap: 14px; }
  .store-slide { flex-basis: 69%; aspect-ratio: 2.18; border-radius: 12px; }
  .store-slide-copy { padding: 20px 65px 20px 25px; }
  .store-next-mark { width: 36px; height: 36px; right: 22px; bottom: 24px; }
  .store-shortcuts { padding: 12px max(var(--store-gutter), calc((100% - 630px)/2)) 18px; }
  .store-orb-categories { padding: 16px; }
  .store-shelf { padding-top: 27px; }
  .sf-home .store-products { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .sf-home .store-shelf:not(:has(.sf-tile:nth-child(4))) .store-products { max-width: 64%; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .store-shelf-head { margin-bottom: 12px; }
}
@media (min-width: 980px) {
  .store-slide { flex-basis: 62%; }
  .sf-home .store-shelf:not(:has(.sf-tile:nth-child(4))) .store-products { max-width: calc(50% - 1px); }
}
