.page--featured-hub {
  --homepage-shell-width: var(--jp-page-shell-width);
  --homepage-shell-inset: var(--jp-page-shell-inset);
  --featured-hub-shell: var(--homepage-shell-width);
  --featured-hub-hero-top-gap: 15px;
  --featured-hub-hero-title-size: 42px;
  --featured-hub-hero-title-mobile-size: 26px;
  --featured-hub-hero-subtitle-size: 14px;
  --featured-hub-hero-subtitle-mobile-size: 13px;
  --featured-hub-hero-shape-color: var(--color-forest);
  --featured-hub-hero-copy-color: var(--color-cream);
  --featured-hub-hero-badge-bg: rgba(255, 249, 241, 0.16);
  --featured-hub-tile-size: 174px;
  --featured-hub-tile-gap: 30px;
  --featured-hub-tile-row-width: calc((var(--featured-hub-tile-size) * 6) + (var(--featured-hub-tile-gap) * 5));
  padding-top: calc(72px * var(--scale, 1));
  background: var(--color-page-bg);
  overflow-x: clip;
}

.featured-hub-page {
  padding: 0 0 72px;
  /* Prevent horizontal scrollbar caused by full-bleed hero (width:100vw)
     when the page has a vertical scrollbar. */
  overflow-x: clip;
}

.featured-hub-root {
  width: var(--featured-hub-shell);
  margin: 0 auto;
}

.featured-hub-root--home-guide {
  width: var(--featured-hub-shell);
}

.featured-hub-root--gift-finder {
  position: relative;
  isolation: isolate;
}

.featured-hub-home {
  color: var(--color-ink);
}

.featured-hub-root--gift-finder .featured-hub-home {
  position: relative;
  isolation: isolate;
}

@property --assistant-ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --assistant-ring-gap-start {
  syntax: "<angle>";
  inherits: false;
  initial-value: 292deg;
}

@property --gift-finder-hero-overlap {
  syntax: "<length>";
  inherits: true;
  initial-value: -291px;
}

.featured-hub-search {
  position: relative;
  width: min(100%, 920px);
  margin: 22px auto 0;
  font-family: var(--font-body);
  --gift-hub-search-rest-height: 58px;
  --gift-hub-search-expanded-height: 364px;
  --gift-hub-search-compact-height: 68px;
  --gift-hub-search-radius: 30px;
  --gift-hub-search-reveal-duration: 0.56s;
  --gift-hub-search-reveal-ease: cubic-bezier(0.2, 0.78, 0.18, 1);
}

.featured-hub-search.has-attachments {
  --gift-hub-search-expanded-height: 458px;
}

.featured-hub-search__bar {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  height: var(--gift-hub-search-rest-height);
  min-height: 0;
  padding: 8px;
  border-radius: var(--gift-hub-search-radius);
  background: var(--color-cream);
  color: var(--color-ink);
  box-shadow: 0 16px 38px rgb(0 0 0 / 0.16);
  overflow: hidden;
  transform: none;
  transform-origin: top center;
  transition:
    height var(--gift-hub-search-reveal-duration) var(--gift-hub-search-reveal-ease),
    box-shadow 0.28s ease,
    background-color 0.18s ease,
    color 0.18s ease;
  will-change: height;
}

.featured-hub-search__composer {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  width: auto;
  min-width: 0;
}

.featured-hub-search.is-expanded .featured-hub-search__composer,
.featured-hub-search:focus-within .featured-hub-search__composer {
  grid-template-areas:
    "drafts drafts drafts drafts"
    "input input input input"
    "add . tools submit";
  align-items: end;
  row-gap: 20px;
}

.featured-hub-search__add,
.featured-hub-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.featured-hub-search__add {
  appearance: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-line) 34%, transparent);
  color: var(--color-ink);
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.featured-hub-search__add-icon {
  width: 19px;
  height: 19px;
  background: currentColor;
  mask: url("/assets/gift-room-icons/shared/plus.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/gift-room-icons/shared/plus.svg") center / contain no-repeat;
  transition: transform 0.18s ease;
}

.featured-hub-search__add:hover,
.featured-hub-search__add:focus-visible,
.featured-hub-search.is-attach-menu-open .featured-hub-search__add {
  background: color-mix(in srgb, var(--color-forest) 14%, transparent);
  color: var(--color-forest);
}

.featured-hub-search.is-attach-menu-open .featured-hub-search__add-icon {
  transform: rotate(45deg);
}

.featured-hub-search__add:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-forest) 48%, transparent);
  outline-offset: 3px;
}

.featured-hub-search__submit img {
  display: block;
}

.featured-hub-search__assistant-panel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  max-height: 168px;
  margin: 84px 20px 0;
  padding: 2px 8px 1px 0;
  overflow: hidden;
  animation: giftHubAssistantPanelFade 0.16s ease-out both;
}

.featured-hub-search__assistant-panel[hidden],
.featured-hub-search:not(.is-expanded):not(.is-collapsing):not(.is-processing) .featured-hub-search__assistant-panel,
.featured-hub-search.is-voice-mode .featured-hub-search__assistant-panel,
.featured-hub-search.is-processing .featured-hub-search__assistant-panel {
  display: none;
}

.featured-hub-search__assistant-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-ink);
  --assistant-mark-ring:
    conic-gradient(
      from var(--assistant-ring-angle, 0deg),
      rgb(95 88 184 / 0.72) 0deg,
      rgb(67 134 220 / 0.78) 58deg,
      rgb(58 154 137 / 0.7) 122deg,
      rgb(222 177 74 / 0.62) 190deg,
      rgb(95 88 184 / 0.72) 252deg,
      color-mix(in srgb, rgb(67 134 220) 12%, transparent) calc(var(--assistant-ring-gap-start, 292deg) - 8deg),
      color-mix(in srgb, rgb(67 134 220) 12%, transparent) calc(var(--assistant-ring-gap-start, 292deg) + 14deg),
      rgb(67 134 220 / 0.78) calc(var(--assistant-ring-gap-start, 292deg) + 32deg),
      rgb(95 88 184 / 0.72) 360deg
    );
}

.featured-hub-search__assistant-mark::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: 0;
  padding: 3px;
  border-radius: inherit;
  background: var(--assistant-mark-ring);
  opacity: 0;
  mask:
    linear-gradient(rgb(0 0 0) 0 0) content-box,
    linear-gradient(rgb(0 0 0) 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(rgb(0 0 0) 0 0) content-box,
    linear-gradient(rgb(0 0 0) 0 0);
  -webkit-mask-composite: xor;
  transition: opacity 0.18s ease;
}

.featured-hub-search__assistant-panel.is-typing .featured-hub-search__assistant-mark::before,
.featured-hub-search__assistant-panel:hover .featured-hub-search__assistant-mark::before {
  opacity: 0.78;
  animation:
    giftHubAssistantRingWander 12.8s cubic-bezier(0.42, 0, 0.18, 1) infinite,
    giftHubAssistantGapBreath 6.2s ease-in-out infinite alternate;
}

.featured-hub-search__assistant-mark img {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
}

.featured-hub-search__assistant-panel.is-typing .featured-hub-search__assistant-mark img,
.featured-hub-search__assistant-panel:hover .featured-hub-search__assistant-mark img {
  animation: giftHubAssistantIconTurn 2.2s ease-in-out infinite;
}

.featured-hub-search__assistant-copy {
  min-width: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
}

.featured-hub-search__assistant-copy p {
  position: relative;
  display: inline;
  margin: 1px 0 0;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.48;
}

.featured-hub-search__assistant-copy p.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  border-radius: var(--radius-pill);
  background: var(--color-forest);
  vertical-align: -0.14em;
  animation: giftHubTypingCaret 0.74s steps(2, end) infinite;
}

.featured-hub-search__drafts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-area: drafts;
}

.featured-hub-search__drafts[hidden] {
  display: none;
}

.featured-hub-search__draft {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.12);
}

.featured-hub-search__draft--image {
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--color-line) 56%, var(--color-cream));
}

.featured-hub-search__draft-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-line);
}

.featured-hub-search__draft--file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(100%, 320px);
  min-height: 48px;
  padding: 0 14px 0 12px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--color-line) 56%, var(--color-cream));
  color: var(--color-ink);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--color-ink) 8%, transparent),
    0 6px 16px rgb(0 0 0 / 0.06);
}

.featured-hub-search__draft-file-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  mask: url("/assets/admin-icons/file-text.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/admin-icons/file-text.svg") center / contain no-repeat;
}

.featured-hub-search__draft-file-name {
  min-width: 0;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-hub-search__draft-remove {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgb(255 249 241 / 0.96);
  color: var(--color-ink);
  cursor: pointer;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.12);
}

.featured-hub-search__draft-remove--file {
  position: static;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-left: auto;
  background: color-mix(in srgb, var(--color-ink) 8%, transparent);
  box-shadow: none;
}

.featured-hub-search__draft-remove span {
  width: 11px;
  height: 11px;
  background: currentColor;
  mask: url("/assets/header-icons/close.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/header-icons/close.svg") center / contain no-repeat;
}

.featured-hub-search__draft-remove:hover,
.featured-hub-search__draft-remove:focus-visible {
  background: color-mix(in srgb, var(--color-ink) 14%, transparent);
  color: var(--color-ink);
  outline: none;
}

.featured-hub-search__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  outline: 0;
  resize: none;
  overflow: hidden;
  background: transparent;
  color: var(--color-ink);
  caret-color: var(--color-forest);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  align-self: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.featured-hub-search.is-expanded .featured-hub-search__input,
.featured-hub-search:focus-within .featured-hub-search__input {
  grid-area: input;
  min-height: 52px;
  height: auto;
  margin-top: 25px;
  padding: 0 0 0 10px;
}

.featured-hub-search__input::placeholder {
  color: color-mix(in srgb, var(--color-ink-soft) 72%, transparent);
  opacity: 1;
}

.featured-hub-search__tools {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.featured-hub-search.is-expanded .featured-hub-search__add,
.featured-hub-search:focus-within .featured-hub-search__add {
  grid-area: add;
}

.featured-hub-search.is-expanded .featured-hub-search__tools,
.featured-hub-search:focus-within .featured-hub-search__tools {
  grid-area: tools;
  justify-self: end;
}

.featured-hub-search__tool {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.featured-hub-search__tool span {
  width: 22px;
  height: 22px;
  background: currentColor;
}

.featured-hub-search__tool--voice span {
  mask: url("/assets/header-icons/voice-message.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/header-icons/voice-message.svg") center / contain no-repeat;
}

.featured-hub-search__tool:hover,
.featured-hub-search__tool:focus-visible {
  background: color-mix(in srgb, var(--color-forest) 12%, transparent);
  color: var(--color-forest);
  outline: none;
}

.featured-hub-search__tool:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-forest) 38%, transparent);
}

.featured-hub-search__submit {
  appearance: none;
  position: relative;
  isolation: isolate;
  overflow: visible;
  box-sizing: border-box;
  border: 3px solid transparent;
  min-height: 42px;
  padding: 0 19px;
  border-radius: var(--radius-pill);
  gap: 8px;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  --assistant-ring-gradient:
    conic-gradient(
      from var(--assistant-ring-angle, 0deg),
      rgb(95 88 184 / 0.66) 0deg,
      rgb(67 134 220 / 0.78) 54deg,
      rgb(58 154 137 / 0.72) 122deg,
      rgb(222 177 74 / 0.68) 190deg,
      rgb(95 88 184 / 0.72) 250deg,
      color-mix(in srgb, rgb(67 134 220) 34%, var(--color-cream)) calc(var(--assistant-ring-gap-start, 292deg) - 22deg),
      color-mix(in srgb, rgb(67 134 220) 8%, var(--color-cream)) calc(var(--assistant-ring-gap-start, 292deg) - 7deg),
      color-mix(in srgb, rgb(67 134 220) 8%, var(--color-cream)) calc(var(--assistant-ring-gap-start, 292deg) + 12deg),
      rgb(67 134 220 / 0.78) calc(var(--assistant-ring-gap-start, 292deg) + 30deg),
      rgb(95 88 184 / 0.66) 360deg
    );
  --assistant-ring-glow:
    conic-gradient(
      from var(--assistant-ring-angle, 0deg),
      rgb(95 88 184 / 0.9) 0deg,
      rgb(67 134 220 / 0.98) 54deg,
      rgb(58 154 137 / 0.92) 122deg,
      rgb(222 177 74 / 0.86) 190deg,
      rgb(95 88 184 / 0.9) 250deg,
      color-mix(in srgb, rgb(67 134 220) 46%, var(--color-cream)) calc(var(--assistant-ring-gap-start, 292deg) - 24deg),
      color-mix(in srgb, rgb(67 134 220) 10%, var(--color-cream)) calc(var(--assistant-ring-gap-start, 292deg) - 7deg),
      color-mix(in srgb, rgb(67 134 220) 10%, var(--color-cream)) calc(var(--assistant-ring-gap-start, 292deg) + 12deg),
      rgb(67 134 220 / 0.98) calc(var(--assistant-ring-gap-start, 292deg) + 32deg),
      rgb(95 88 184 / 0.9) 360deg
    );
  transition:
    color 0.18s ease;
}

.featured-hub-search__submit img {
  position: relative;
  z-index: 2;
  width: 20px;
  height: 20px;
}

.featured-hub-search__submit span {
  position: relative;
  z-index: 2;
}

.featured-hub-search__submit::before,
.featured-hub-search__submit::after {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: 1;
  padding: 5px;
  border-radius: inherit;
  background: var(--assistant-ring-glow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  will-change: filter, opacity;
  mask: linear-gradient(var(--color-ink) 0 0) content-box, linear-gradient(var(--color-ink) 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(var(--color-ink) 0 0) content-box, linear-gradient(var(--color-ink) 0 0);
  -webkit-mask-composite: xor;
}

.featured-hub-search__submit::before {
  inset: -1px;
  padding: 4px;
  filter: blur(1.15px) saturate(1.18);
}

.featured-hub-search__submit::after {
  inset: -5px;
  padding: 7px;
  filter: blur(7px) saturate(1.16);
}

.featured-hub-search__submit:hover,
.featured-hub-search__submit:focus-visible {
  background:
    linear-gradient(var(--color-cream), var(--color-cream)) padding-box,
    var(--assistant-ring-gradient) border-box;
  color: var(--color-ink);
  box-shadow:
    0 0 4px rgb(67 134 220 / 0.18),
    0 0 10px rgb(58 154 137 / 0.12);
  animation:
    giftHubAssistantRingWander 12.8s cubic-bezier(0.42, 0, 0.18, 1) infinite,
    giftHubAssistantGapBreath 6.2s ease-in-out infinite alternate;
}

.featured-hub-search__submit:hover::before,
.featured-hub-search__submit:focus-visible::before {
  opacity: 0.62;
  animation:
    giftHubAssistantRingWander 12.8s cubic-bezier(0.42, 0, 0.18, 1) infinite,
    giftHubAssistantGapBreath 6.2s ease-in-out infinite alternate;
}

.featured-hub-search__submit:hover::after,
.featured-hub-search__submit:focus-visible::after {
  opacity: 0.28;
  animation:
    giftHubAssistantRingWander 12.8s cubic-bezier(0.42, 0, 0.18, 1) infinite,
    giftHubAssistantGapBreath 6.2s ease-in-out infinite alternate;
}

.featured-hub-search__submit:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-forest) 48%, transparent);
  outline-offset: 3px;
}

.featured-hub-search.is-expanded .featured-hub-search__bar,
.featured-hub-search:focus-within .featured-hub-search__bar {
  align-items: stretch;
  justify-content: flex-start;
  height: var(--gift-hub-search-expanded-height);
  min-height: 0;
  padding: 8px;
  border-radius: var(--gift-hub-search-radius);
  box-shadow: var(--shadow-elevated);
}

.featured-hub-search.is-voice-mode .featured-hub-search__bar,
.featured-hub-search.is-processing .featured-hub-search__bar {
  align-items: stretch;
  justify-content: center;
  height: var(--gift-hub-search-compact-height);
  min-height: 0;
  padding: 8px 10px;
  border-radius: var(--gift-hub-search-radius);
  box-shadow: var(--shadow-elevated);
}

.featured-hub-search.is-expanded .featured-hub-search__input,
.featured-hub-search:focus-within .featured-hub-search__input {
  min-height: 32px;
  height: auto;
  padding-top: 0;
  padding-bottom: 0;
}

.featured-hub-search.is-expanded .featured-hub-search__submit,
.featured-hub-search:focus-within .featured-hub-search__submit {
  grid-area: submit;
  justify-self: end;
  min-height: 42px;
}

.featured-hub-search.is-assistant-chatting .featured-hub-search__bar {
  height: var(--gift-hub-search-expanded-height);
  min-height: 0;
}

.featured-hub-search.is-voice-mode .featured-hub-search__bar,
.featured-hub-search.is-processing .featured-hub-search__bar {
  padding: 8px 10px;
  background: var(--color-ink);
  color: var(--color-cream);
  box-shadow:
    inset 0 0 0 1px rgb(255 249 241 / 0.08),
    0 16px 38px rgb(0 0 0 / 0.18);
}

.featured-hub-search.is-voice-mode .featured-hub-search__composer,
.featured-hub-search.is-processing .featured-hub-search__composer {
  display: none;
}

.featured-hub-search__voice-panel,
.featured-hub-search__processing {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-cream);
  box-shadow: none;
  animation: giftHubAssistantPanelDrop 0.16s ease-out both;
}

.featured-hub-search__voice-panel[hidden],
.featured-hub-search__processing[hidden] {
  display: none;
}

.featured-hub-search__voice-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgb(255 249 241 / 0.1);
  color: var(--color-cream);
  cursor: pointer;
}

.featured-hub-search__voice-action span {
  width: 22px;
  height: 22px;
  background: currentColor;
}

.featured-hub-search__voice-action--cancel span {
  mask: url("/assets/header-icons/close-cream.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/header-icons/close-cream.svg") center / contain no-repeat;
}

.featured-hub-search__voice-action--accept {
  background: var(--color-cream);
  color: var(--color-ink);
}

.featured-hub-search__voice-action--accept span {
  mask: url("/assets/header-icons/check-toggle.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/header-icons/check-toggle.svg") center / contain no-repeat;
}

.featured-hub-search__voice-action:hover,
.featured-hub-search__voice-action:focus-visible {
  transform: scale(var(--hover-grow-scale, 1.035));
  outline: none;
}

.featured-hub-search__voice-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 0;
}

.featured-hub-search__wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--color-cream) 58%, transparent);
}

.featured-hub-search__wave i {
  width: 3px;
  height: var(--wave-h, 14px);
  border-radius: var(--radius-pill);
  background: currentColor;
  animation: giftHubVoiceWave 0.84s ease-in-out infinite;
}

.featured-hub-search__wave i:nth-child(1) { --wave-h: 12px; animation-delay: 0ms; }
.featured-hub-search__wave i:nth-child(2) { --wave-h: 20px; animation-delay: 80ms; }
.featured-hub-search__wave i:nth-child(3) { --wave-h: 28px; animation-delay: 160ms; }
.featured-hub-search__wave i:nth-child(4) { --wave-h: 22px; animation-delay: 240ms; }
.featured-hub-search__wave i:nth-child(5) { --wave-h: 16px; animation-delay: 320ms; }
.featured-hub-search__wave i:nth-child(6) { --wave-h: 25px; animation-delay: 400ms; }

.featured-hub-search__voice-label {
  min-width: 0;
  color: color-mix(in srgb, var(--color-cream) 76%, transparent);
  font-size: 15px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-hub-search__voice-panel[data-voice-state="ready"] .featured-hub-search__wave i {
  animation-play-state: paused;
}

.featured-hub-search__processing {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr);
  overflow: hidden;
}

.featured-hub-search__processing-spinner,
.gift-finder-loading__spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

/* Canonical spinner (styles/components/skeleton.css) sits where the old
   spinner-ring.svg <img> used to; size comes from --jp-spinner-size inline. */
.featured-hub-search__processing-spinner .jp-canonical-spinner,
.gift-finder-loading__spinner .jp-canonical-spinner {
  flex: 0 0 auto;
}

.featured-hub-search__processing-copy {
  color: var(--color-cream);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.25;
}

.featured-hub-search__processing-spark,
.gift-finder-loading__spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--color-jedi-picks-yellow);
  box-shadow:
    0 0 0 3px rgb(255 196 77 / 0.18),
    0 0 16px rgb(255 196 77 / 0.38);
  animation: giftHubSparkFloat 1.8s ease-in-out infinite;
}

.featured-hub-search__processing-spark--one {
  right: 18px;
  top: 14px;
}

.featured-hub-search__processing-spark--two {
  right: 54px;
  bottom: 14px;
  animation-delay: 0.42s;
}

.featured-hub-search__attach-menu {
  position: absolute;
  z-index: 6;
  top: auto;
  bottom: calc(100% + 10px);
  left: 6px;
  width: min(212px, calc(100vw - 42px));
  padding: 7px;
  border: 1px solid color-mix(in srgb, var(--color-line) 72%, transparent);
  border-radius: 18px;
  background: var(--color-cream);
  color: var(--color-ink);
  box-shadow: 0 18px 42px rgb(0 0 0 / 0.18);
  overflow: hidden;
  transform-origin: 22px calc(100% + 8px);
  animation: giftHubAttachMenuIn 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-hub-search__attach-menu[hidden],
.featured-hub-search__file {
  display: none;
}

.featured-hub-search__attach-option {
  appearance: none;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 720;
  text-align: left;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.featured-hub-search__attach-option:hover,
.featured-hub-search__attach-option:focus-visible {
  background: color-mix(in srgb, var(--color-forest) 14%, transparent);
  color: var(--color-ink);
  outline: none;
}

.featured-hub-search__attach-option img {
  width: 18px;
  height: 18px;
}

@keyframes giftHubAssistantRingWander {
  0% { --assistant-ring-angle: -8deg; }
  18% { --assistant-ring-angle: 44deg; }
  37% { --assistant-ring-angle: 128deg; }
  58% { --assistant-ring-angle: 202deg; }
  79% { --assistant-ring-angle: 284deg; }
  100% { --assistant-ring-angle: 352deg; }
}

@keyframes giftHubAssistantGapBreath {
  0% { --assistant-ring-gap-start: 292deg; }
  42% { --assistant-ring-gap-start: 302deg; }
  68% { --assistant-ring-gap-start: 296deg; }
  100% { --assistant-ring-gap-start: 306deg; }
}

@keyframes giftHubAttachMenuIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes giftHubAssistantPanelDrop {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes giftHubAssistantPanelFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes giftHubTypingCaret {
  0%,
  48% { opacity: 1; }
  49%,
  100% { opacity: 0; }
}

@keyframes giftHubVoiceWave {
  0%,
  100% { transform: scaleY(0.52); opacity: 0.45; }
  45% { transform: scaleY(1); opacity: 1; }
}

@keyframes giftHubAssistantIconTurn {
  0%,
  100% { transform: rotate(-5deg) scale(1); }
  48% { transform: rotate(10deg) scale(1.06); }
}

@keyframes giftHubSparkFloat {
  0%,
  100% { transform: translateY(0) scale(0.9); opacity: 0.48; }
  48% { transform: translateY(-8px) scale(1.08); opacity: 1; }
}

.featured-hub-home-hero {
  /* Full-bleed: the hero stretches to the viewport edges (not the parent
     shell container, which is capped by var(--container-max)).
     Technique: 100vw + a negative margin that accounts for the difference
     between the center of the current block and the center of the viewport.
     Inner content (.featured-hub-home-hero__copy) is centered via max-width. */
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 260px;
  padding: var(--featured-hub-hero-top-gap) 36px 96px;
  overflow: hidden;
  text-align: center;
  background: transparent;
  color: var(--featured-hub-hero-copy-color, #232030);
  isolation: isolate;
}

.featured-hub-home-hero::after {
  content: none;
}

.featured-hub-home-hero::before,
.featured-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background: var(--featured-hub-hero-shape-color, var(--color-forest));
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    95.22% 96.95%,
    90.61% 94.17%,
    86.14% 91.65%,
    81.81% 89.40%,
    77.59% 87.41%,
    73.48% 85.69%,
    69.45% 84.23%,
    65.50% 83.04%,
    61.60% 82.11%,
    57.75% 81.45%,
    53.93% 81.06%,
    50.12% 80.93%,
    46.30% 81.06%,
    42.48% 81.46%,
    38.62% 82.12%,
    34.71% 83.05%,
    30.74% 84.24%,
    26.70% 85.70%,
    22.56% 87.42%,
    18.32% 89.41%,
    13.96% 91.66%,
    9.46% 94.18%,
    4.81% 96.96%,
    0 100%
  );
  pointer-events: none;
}

.featured-hub-home--navy .featured-hub-home-hero { --featured-hub-hero-shape-color: var(--color-forest-dark); }
.featured-hub-home--evergreen .featured-hub-home-hero { --featured-hub-hero-shape-color: var(--color-forest); }
.featured-hub-home--violet .featured-hub-home-hero { --featured-hub-hero-shape-color: #7a563d; }

.featured-hub-home-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}

.featured-hub-home-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--featured-hub-hero-badge-bg, rgba(35, 32, 48, 0.08));
  color: inherit;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-hub-home-hero__title {
  max-width: 860px;
  margin: 10px auto 0;
  color: inherit;
  font-family: var(--font-heading);
  font-size: var(--featured-hub-hero-title-size);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.featured-hub-home-hero__subtitle {
  max-width: 760px;
  margin: 8px auto 0;
  color: inherit;
  font-family: var(--font-heading);
  font-size: var(--featured-hub-hero-subtitle-size);
  font-weight: 500;
  line-height: 1.5;
}

.featured-hub-home-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--featured-hub-tile-gap);
  width: min(100%, var(--featured-hub-tile-row-width));
  margin: -92px auto 78px;
  padding: 0;
}

.featured-hub-home-tile {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: var(--featured-hub-tile-size);
  min-width: var(--featured-hub-tile-size);
  color: var(--color-ink);
  text-align: center;
  text-decoration: none;
}

.featured-hub-home-tile__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--featured-hub-tile-size);
  border-radius: 30px;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
  background: var(--home-tile-bg, var(--color-sand-dark));
  box-shadow: none;
}

.featured-hub-home-tile__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-hub-home-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(251, 247, 240, 0.04), rgba(35, 32, 48, 0.08));
  pointer-events: none;
}

.featured-hub-home-tile__label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 34px;
  margin-top: 0;
  color: var(--color-ink);
  font-family: Montserrat, var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-underline-offset: 3px;
  word-wrap: break-word;
}

.featured-hub-home-tile__arrow {
  display: none;
}

.featured-hub-home-tile:hover .featured-hub-home-tile__image,
.featured-hub-home-tile:focus-visible .featured-hub-home-tile__image {
  transform: translate3d(0, 0, 0) scale(1.035);
}

.featured-hub-home-tile:hover .featured-hub-home-tile__label,
.featured-hub-home-tile:focus-visible .featured-hub-home-tile__label {
  text-decoration: underline;
}

.featured-hub-home-tile--rose { --home-tile-bg: #ead8dc; }
.featured-hub-home-tile--sage { --home-tile-bg: #dfe8df; }
.featured-hub-home-tile--sky { --home-tile-bg: var(--color-line); }
.featured-hub-home-tile--gold { --home-tile-bg: #eee2ba; }
.featured-hub-home-tile--peach { --home-tile-bg: #efd9cc; }
.featured-hub-home-tile--denim { --home-tile-bg: var(--color-sand-dark); }
.featured-hub-home-tile--green,
.featured-hub-home-tile--evergreen { --home-tile-bg: #dce8d8; }
.featured-hub-home-tile--red { --home-tile-bg: #ead3cc; }
.featured-hub-home-tile--brown,
.featured-hub-home-tile--wood { --home-tile-bg: #e5d7c8; }
.featured-hub-home-tile--slate { --home-tile-bg: var(--color-line-dark); }
.featured-hub-home-tile--purple { --home-tile-bg: #e1d1bc; }
.featured-hub-home-tile--cream,
.featured-hub-home-tile--linen { --home-tile-bg: var(--color-sand); }

.featured-hub-sellers {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 0 0 70px;
}

.featured-hub-sellers--products-only {
  gap: 0;
}

.featured-hub-sellers__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 100%;
  margin: 0;
  text-align: center;
}

.featured-hub-sellers__title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.featured-hub-seller-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.featured-hub-seller-tab {
  --featured-hub-seller-tab-bg: var(--sort-control-bg);
  --featured-hub-seller-tab-text: var(--color-ink);
  --featured-hub-seller-tab-pad-left: 26px;
  --featured-hub-seller-tab-pad-right: 26px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 150px;
  min-height: 44px;
  padding: 0 var(--featured-hub-seller-tab-pad-right) 0 var(--featured-hub-seller-tab-pad-left);
  border-radius: 999px;
  background: transparent;
  color: var(--featured-hub-seller-tab-text);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  isolation: isolate;
  overflow: visible;
  transition: color 0.18s ease;
}

.featured-hub-seller-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--featured-hub-seller-tab-bg);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.18s ease;
  will-change: transform;
}

.featured-hub-seller-tab.is-active {
  --featured-hub-seller-tab-bg: var(--color-ink);
  --featured-hub-seller-tab-text: var(--color-page-bg);
  --featured-hub-seller-tab-pad-left: 18px;
  --featured-hub-seller-tab-pad-right: 0px;
  min-width: 0;
  gap: 4px;
}

.featured-hub-seller-tab:hover::before,
.featured-hub-seller-tab:focus-visible::before {
  transform: scale(var(--hover-grow-scale));
}

.featured-hub-seller-tab:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-ink) 24%, transparent);
  outline-offset: 2px;
}

.featured-hub-seller-tab__label,
.featured-hub-seller-tab__remove {
  position: relative;
  z-index: 1;
}

.featured-hub-seller-tab__label {
  white-space: nowrap;
}

.featured-hub-seller-tab__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 34px;
  min-width: 0;
  margin: 4px 0;
  flex: 0 0 0;
  border-radius: 999px;
  background: var(--featured-hub-seller-tab-bg);
  color: inherit;
  opacity: 0;
  position: relative;
  transform: scale(0.82);
  overflow: hidden;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    width 0.18s ease,
    min-width 0.18s ease,
    flex-basis 0.18s ease,
    margin 0.18s ease;
}

.featured-hub-seller-tab__remove:hover,
.featured-hub-seller-tab:focus-visible .featured-hub-seller-tab__remove {
  background: var(--featured-hub-seller-tab-bg);
}

.featured-hub-seller-tab.is-active .featured-hub-seller-tab__remove {
  width: 34px;
  min-width: 34px;
  margin: 4px 4px 4px 0;
  flex-basis: 34px;
  opacity: 1;
  transform: scale(1);
}

.featured-hub-seller-tab__remove-icon {
  display: block;
  width: 17px;
  height: 14px;
  max-width: none;
  opacity: 0;
  pointer-events: none;
}

.featured-hub-seller-tab__remove::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 17px;
  height: 14px;
  background: var(--color-page-bg);
  transform: translate(-50%, -50%);
  -webkit-mask: url("../../assets/header-icons/check-toggle.svg") center / contain no-repeat;
  mask: url("../../assets/header-icons/check-toggle.svg") center / contain no-repeat;
  pointer-events: none;
}

.featured-hub-sellers__shelf {
  --featured-hub-seller-gap: var(--homepage-rail-card-gap, 17.5px);
  --featured-hub-seller-card-height: 397px;
  --featured-hub-seller-gradient-width: var(--homepage-rail-fade-width, 52px);
  --featured-hub-seller-gradient-overhang: var(--homepage-rail-fade-overhang, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: visible;
}

.featured-hub-sellers__row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.featured-hub-sellers__row-title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.featured-hub-sellers__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-hub-sellers__arrow {
  width: 56px;
  min-width: 56px;
  height: 46px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  overflow: visible;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 50% 50%;
  transition: opacity 0.18s ease;
  backface-visibility: hidden;
  z-index: 6;
}

.featured-hub-sellers__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-ink);
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.18s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.featured-hub-sellers__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 14px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}

.featured-hub-sellers__arrow--prev::after {
  background-image: url("../../assets/header-icons/pager-pill-prev.svg");
}

.featured-hub-sellers__arrow--next::after {
  background-image: url("../../assets/header-icons/pager-pill-next.svg");
}

.featured-hub-sellers__arrow img {
  display: none;
}

.featured-hub-sellers__arrow:hover:not(.is-disabled),
.featured-hub-sellers__arrow:focus-visible:not(.is-disabled) {
  transform: translate3d(0, 0, 0) scale(1);
}

.featured-hub-sellers__arrow:hover:not(.is-disabled)::before,
.featured-hub-sellers__arrow:focus-visible:not(.is-disabled)::before {
  transform: translate3d(0, 0, 0) scale(1.04);
}

.featured-hub-sellers__arrow:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-ink) 18%, transparent);
  outline-offset: 3px;
}

.featured-hub-sellers__arrow.is-disabled,
.featured-hub-sellers__arrow.is-hidden {
  display: inline-flex;
  pointer-events: none;
  cursor: default;
  opacity: 0.35;
}

.featured-hub-sellers__shelf.is-at-start.is-at-end .featured-hub-sellers__arrow {
  display: none;
}

.featured-hub-sellers__viewport {
  position: relative;
  z-index: 1;
  width: calc(100% + 24px);
  margin: -12px;
  padding: 12px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.featured-hub-sellers__viewport::-webkit-scrollbar {
  display: none;
}

.featured-hub-sellers__track {
  width: max-content;
  display: flex;
  gap: var(--featured-hub-seller-gap);
  align-items: flex-start;
  padding-right: var(--featured-hub-seller-end-pad, 0px);
  box-sizing: content-box;
  transform: translate3d(0, 0, 0);
}

.featured-hub-sellers__gradient {
  position: absolute;
  top: 56px;
  width: var(--featured-hub-seller-gradient-width);
  height: calc(var(--featured-hub-seller-card-height) + 24px);
  pointer-events: none;
  z-index: 3;
  opacity: 1;
  transition: opacity 0.62s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.featured-hub-sellers__gradient--left {
  left: calc(-1 * var(--featured-hub-seller-gradient-overhang));
  background: linear-gradient(90deg, var(--color-page-bg) 0%, transparent 100%);
}

.featured-hub-sellers__gradient--right {
  right: calc(-1 * var(--featured-hub-seller-gradient-overhang));
  background: linear-gradient(270deg, var(--color-page-bg) 0%, transparent 100%);
}

.featured-hub-sellers__shelf.is-at-start .featured-hub-sellers__gradient--left,
.featured-hub-sellers__shelf.is-at-end .featured-hub-sellers__gradient--right {
  opacity: 0;
}

.featured-hub-seller-card {
  flex: 0 0 325px;
  width: 325px;
  height: 397px;
  padding: 10px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--color-page-bg);
  box-shadow: none;
  outline: 1px solid var(--color-line);
  outline-offset: -1px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: box-shadow 0.18s ease, outline-color 0.18s ease;
}

.featured-hub-seller-card:hover,
.featured-hub-seller-card:focus-within {
  box-shadow: var(--shadow-card-hover);
  outline-color: transparent;
}

.featured-hub-seller-card__profile {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 62px;
  margin-bottom: 10px;
}

.featured-hub-seller-card__avatar {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--seller-avatar-bg, var(--color-line));
}

.featured-hub-seller-card__identity {
  min-width: 0;
  width: 151px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-hub-seller-card__name {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-hub-seller-card__rating {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.featured-hub-seller-card__stars {
  color: var(--color-warn);
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.featured-hub-seller-card__count {
  color: var(--color-ink);
  white-space: nowrap;
}

.featured-hub-seller-card__media-grid {
  display: grid;
  grid-template-columns: repeat(2, 148px);
  gap: 9px;
}

.featured-hub-seller-card__media {
  width: 148px;
  height: 148px;
  border-radius: 27px;
  background: var(--color-line);
}

.featured-hub-seller-card--sage { --seller-avatar-bg: #dfe8df; }
.featured-hub-seller-card--peach { --seller-avatar-bg: #efd9cc; }
.featured-hub-seller-card--sky { --seller-avatar-bg: var(--color-line); }
.featured-hub-seller-card--gold { --seller-avatar-bg: #eee2ba; }
.featured-hub-seller-card--rose { --seller-avatar-bg: #ead8dc; }
.featured-hub-seller-card--wood { --seller-avatar-bg: #e5d7c8; }
.featured-hub-seller-card--slate { --seller-avatar-bg: var(--color-line-dark); }
.featured-hub-seller-card--linen { --seller-avatar-bg: var(--color-sand); }
.featured-hub-seller-card--green,
.featured-hub-seller-card--evergreen { --seller-avatar-bg: #dce8d8; }
.featured-hub-seller-card--red { --seller-avatar-bg: #ead3cc; }
.featured-hub-seller-card--purple { --seller-avatar-bg: #e1d1bc; }
.featured-hub-seller-card--denim { --seller-avatar-bg: var(--color-sand-dark); }

.featured-hub-seller-card__media--sage { background: #dfe8df; }
.featured-hub-seller-card__media--peach { background: #efd9cc; }
.featured-hub-seller-card__media--sky { background: var(--color-line); }
.featured-hub-seller-card__media--gold { background: #eee2ba; }
.featured-hub-seller-card__media--rose { background: #ead8dc; }
.featured-hub-seller-card__media--wood { background: #e5d7c8; }
.featured-hub-seller-card__media--slate { background: var(--color-line-dark); }
.featured-hub-seller-card__media--linen { background: var(--color-sand); }
.featured-hub-seller-card__media--cream { background: var(--color-sand); }
.featured-hub-seller-card__media--green,
.featured-hub-seller-card__media--evergreen { background: #dce8d8; }
.featured-hub-seller-card__media--red { background: #ead3cc; }
.featured-hub-seller-card__media--purple { background: #e1d1bc; }
.featured-hub-seller-card__media--denim { background: var(--color-sand-dark); }

@media (max-width: 1024px) {
  .featured-hub-sellers__controls,
  .featured-hub-sellers__gradient {
    display: none;
  }

  .featured-hub-sellers__viewport {
    width: calc(100% + 32px);
    margin: -12px -16px;
    padding: 12px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .featured-hub-sellers__track {
    width: max-content;
    gap: var(--homepage-rail-card-gap, 17.5px);
    transform: translate3d(0, 0, 0) !important;
  }

  .featured-hub-seller-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  .featured-hub-sellers {
    margin-bottom: 44px;
  }

  .featured-hub-sellers__shelf {
    --featured-hub-seller-gap: 12px;
    --featured-hub-seller-card-height: 148px;
    gap: 8px;
  }

  .featured-hub-sellers__row-head {
    gap: 8px;
  }

  .featured-hub-sellers__row-title {
    padding-inline: 10px;
    font-size: 18px;
    line-height: 1.2;
  }

  .featured-hub-seller-card {
    flex: 0 0 min(292px, calc(100vw - 40px));
    width: min(292px, calc(100vw - 40px));
    height: auto;
    min-height: 148px;
    padding: 8px;
    border-radius: 20px;
  }

  .featured-hub-seller-card__profile {
    height: 44px;
    margin-bottom: 8px;
    gap: 8px;
  }

  .featured-hub-seller-card__avatar {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .featured-hub-seller-card__identity {
    flex: 1 1 auto;
    width: auto;
    gap: 5px;
  }

  .featured-hub-seller-card__name {
    font-size: 14px;
  }

  .featured-hub-seller-card__rating {
    gap: 5px;
    font-size: 13px;
  }

  .featured-hub-seller-card__stars {
    font-size: 13px;
    letter-spacing: 0;
  }

  .featured-hub-seller-card__media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .featured-hub-seller-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .featured-hub-sellers__shelf + .featured-hub-curated-products {
    margin-top: 112px;
  }
}

.featured-hub-marketplace__grid {
  --featured-hub-card-scale: 1;
  margin-top: 0;
}

.featured-hub-marketplace__grid .cat-card {
  --cat-card-scale: var(--featured-hub-card-scale, 1);
}

.featured-hub-marketplace__grid .cat-card__store-icon {
  width: calc(25 * var(--cat-card-unit-x));
  height: calc(25 * var(--cat-card-unit-y));
  object-fit: contain;
  flex: 0 0 calc(25 * var(--cat-card-unit-x));
}

.featured-hub-curated-products {
  position: relative;
  margin: 72px 0 80px;
}

.featured-hub-curated-products--no-seller-shelf {
  margin-top: 22px;
}

.featured-hub-curated-products__head {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.featured-hub-curated-products__title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
}

.featured-hub-products__filter {
  justify-self: start;
}

.featured-hub-show-more-block > .featured-hub-marketplace__grid {
  width: 100%;
}

.featured-hub-card--show-more-reveal {
  animation: featuredHubShowMoreCardIn 0.48s var(--ease-out-expo) both;
  animation-delay: var(--featured-hub-reveal-delay, 0ms);
}

@keyframes featuredHubShowMoreCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.page--featured-hub .cat-filters-drawer {
  z-index: var(--z-modal-front, 13000);
}

.featured-hub-filter-note {
  margin: -2px 13px 8px;
  color: var(--color-ink-soft);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.featured-hub-funnel-links {
  margin: 0 0 80px;
}

.featured-hub-funnel-links__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 38px 48px;
}

.featured-hub-funnel-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  width: min(100%, 620px);
  min-height: 162px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-cream);
  color: var(--color-ink);
  text-decoration: none;
  /* Hover effect — the same modest outline as .cat-card on the listing.
     No huge drop-shadow. */
  box-shadow: none;
  transition: box-shadow 0.18s ease;
}

.featured-hub-funnel-card:hover,
.featured-hub-funnel-card:focus-visible {
  box-shadow: var(--shadow-card-hover);
}

.featured-hub-funnel-card__media {
  align-self: stretch;
  background: var(--funnel-card-bg, #dfe8df);
}

.featured-hub-funnel-card__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 32px;
}

.featured-hub-funnel-card__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
}

.featured-hub-funnel-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
}

.featured-hub-funnel-card__cta img,
.featured-hub-product__more img {
  display: block;
  width: 17px;
  height: 10px;
  flex: 0 0 17px;
  transform: translate3d(0, 0, 0);
  transition: transform 0.18s ease;
  backface-visibility: hidden;
  will-change: transform;
}

.featured-hub-funnel-card--sage { --funnel-card-bg: #dfe8df; }
.featured-hub-funnel-card--peach { --funnel-card-bg: #efd9cc; }
.featured-hub-funnel-card--sky { --funnel-card-bg: var(--color-line); }
.featured-hub-funnel-card--gold { --funnel-card-bg: #eee2ba; }
.featured-hub-funnel-card--rose { --funnel-card-bg: #ead8dc; }
.featured-hub-funnel-card--wood,
.featured-hub-funnel-card--brown { --funnel-card-bg: #e5d7c8; }
.featured-hub-funnel-card--slate { --funnel-card-bg: var(--color-line-dark); }
.featured-hub-funnel-card--linen { --funnel-card-bg: var(--color-sand); }
.featured-hub-funnel-card--green,
.featured-hub-funnel-card--evergreen { --funnel-card-bg: #dce8d8; }

.featured-hub-nav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 56px;
  margin: 0 auto 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.featured-hub-nav::-webkit-scrollbar {
  display: none;
}

.featured-hub-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--color-ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  padding: 12px 16px;
  border-radius: 999px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.featured-hub-nav__link:hover,
.featured-hub-nav__link:focus-visible,
.featured-hub-nav__link.is-active {
  background: #dcddd4;
}

.featured-hub-nav__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.featured-hub-hero {
  /* Full-bleed: the hero stretches to the viewport edges (see the comment
     on .featured-hub-home-hero — same technique). Used by the
     Style Finds, Vintage Edit hubs, seasonal guides, etc. */
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 190px;
  padding: var(--featured-hub-hero-top-gap) 32px 72px;
  text-align: center;
  color: var(--featured-hub-hero-copy-color, #232030);
  background: transparent;
  border-radius: 0;
  isolation: isolate;
}

.featured-hub-hero > * {
  position: relative;
  z-index: 1;
}

.featured-hub-hero--navy { --featured-hub-hero-shape-color: var(--color-forest-dark); }
.featured-hub-hero--cream { --featured-hub-hero-shape-color: #6a6f3f; }
.featured-hub-hero--linen { --featured-hub-hero-shape-color: #7a563d; }
.featured-hub-hero--violet { --featured-hub-hero-shape-color: #7a563d; }
.featured-hub-hero--rose { --featured-hub-hero-shape-color: #923a3c; }
.featured-hub-hero--denim { --featured-hub-hero-shape-color: var(--color-forest); }
.featured-hub-hero--pumpkin { --featured-hub-hero-shape-color: #7a563d; }
.featured-hub-hero--evergreen { --featured-hub-hero-shape-color: #1c665b; }
.featured-hub-hero--sage { --featured-hub-hero-shape-color: #3f6f4f; }

.featured-hub-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--featured-hub-hero-badge-bg, rgba(35, 32, 48, 0.08));
  color: inherit;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-hub-hero--cream .featured-hub-hero__badge,
.featured-hub-hero--linen .featured-hub-hero__badge,
.featured-hub-hero--sage .featured-hub-hero__badge {
  background: var(--featured-hub-hero-badge-bg, rgba(35, 32, 48, 0.08));
}

.featured-hub-hero__title {
  max-width: 860px;
  margin: 10px auto 0;
  color: inherit;
  font-family: var(--font-heading);
  font-size: var(--featured-hub-hero-title-size);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.featured-hub-hero__subtitle {
  max-width: 760px;
  margin: 8px auto 0;
  color: inherit;
  font-family: var(--font-heading);
  font-size: var(--featured-hub-hero-subtitle-size);
  font-weight: 500;
  line-height: 1.5;
}

.featured-hub-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  width: min(100%, 1080px);
  margin: -24px auto 60px;
  padding: 0;
}

.featured-hub-category {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-width: 0;
  color: var(--color-ink);
  text-align: left;
  text-decoration: none;
}

.featured-hub-category__media {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: var(--color-sand-dark);
  display: grid;
  place-items: center;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
  box-shadow: 0 0 0 rgba(35, 32, 48, 0);
  transition: box-shadow 0.2s ease;
}

.featured-hub-category__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-hub-category__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  pointer-events: none;
}

.featured-hub-category__media--rose { background: #ead8dc; }
.featured-hub-category__media--sage { background: #dfe8df; }
.featured-hub-category__media--sky { background: var(--color-line); }
.featured-hub-category__media--gold { background: #eee2ba; }
.featured-hub-category__media--peach { background: #efd9cc; }
.featured-hub-category__media--denim { background: var(--color-sand-dark); }
.featured-hub-category__media--green { background: #dce8d8; }
.featured-hub-category__media--red { background: #ead3cc; }
.featured-hub-category__media--brown { background: #e5d7c8; }
.featured-hub-category__media--slate { background: var(--color-line-dark); }
.featured-hub-category__media--purple { background: #e1d1bc; }
.featured-hub-category__media--wood { background: #eadcc9; }
.featured-hub-category__media--cream { background: var(--color-sand); }
.featured-hub-category__media--linen { background: var(--color-sand); }
.featured-hub-category__media--evergreen { background: #dce8d8; }

.featured-hub-category__label {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 26px;
  color: var(--color-ink);
  font-family: Montserrat, var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-underline-offset: 3px;
  word-wrap: break-word;
}

.featured-hub-category__arrow {
  display: none;
}

.featured-hub-category:hover .featured-hub-category__media,
.featured-hub-category:focus-visible .featured-hub-category__media {
  box-shadow: var(--homepage-card-hover-shadow, var(--shadow-card-hover));
}

@media (max-width: 600px) {
  .featured-hub-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: -16px auto 44px;
  }
  .featured-hub-category__label { font-size: 15px; }
}

/* marketplace-style "Shop by recipient / occasion / price" funnel groups */
.featured-hub-shop-by {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0;
}
.featured-hub-shop-by:first-of-type {
  margin-top: -28px;
}
.featured-hub-shop-by__title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: 0;
}
.featured-hub-categories--group {
  width: 100%;
  margin: 0 0 46px;
}
@media (max-width: 600px) {
  .featured-hub-shop-by:first-of-type { margin-top: -4px; }
  .featured-hub-shop-by__title { font-size: 20px; margin-bottom: 12px; }
  .featured-hub-categories--group { width: 100%; margin: 0 0 30px; }
}

.featured-hub-category:hover .featured-hub-category__image,
.featured-hub-category:focus-visible .featured-hub-category__image {
  transform: translate3d(0, 0, 0) scale(1.035);
}

.featured-hub-category:hover .featured-hub-category__label,
.featured-hub-category:focus-visible .featured-hub-category__label {
  text-decoration: underline;
}

.featured-hub-assistant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 58px;
  padding: 26px 32px;
  border-radius: 24px;
  background: var(--color-cream);
  box-shadow: inset 0 0 0 1px var(--color-line);
}

.featured-hub-assistant__copy {
  min-width: 0;
}

.featured-hub-assistant__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-hub-assistant__title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.2vw, 38px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.featured-hub-assistant__text {
  max-width: 800px;
  margin: 10px 0 0;
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.featured-hub-assistant__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 68px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--color-ink);
  color: var(--color-cream);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  gap: 10px;
}

.featured-hub-assistant__button img {
  width: 22px;
  height: 14px;
  flex: 0 0 auto;
}

.featured-hub-section {
  margin: 0 0 86px;
}

.featured-hub-section__head {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
  text-align: center;
}

.featured-hub-section__title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.featured-hub-section__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--color-sand-dark);
  color: var(--color-ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.featured-hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.featured-hub-filter {
  --featured-hub-filter-bg: var(--color-sand-dark);
  --featured-hub-filter-text: var(--color-ink);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--featured-hub-filter-text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: capitalize;
  position: relative;
  isolation: isolate;
  overflow: visible;
  transition: color 0.18s ease;
}

.featured-hub-filter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--featured-hub-filter-bg);
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
  will-change: transform;
}

.featured-hub-filter:hover,
.featured-hub-filter:focus-visible {
  --featured-hub-filter-bg: var(--sort-control-bg);
}

.featured-hub-filter.is-active {
  --featured-hub-filter-bg: var(--sort-control-bg);
  --featured-hub-filter-text: var(--color-ink);
  font-weight: 600;
}

.featured-hub-filter:hover::before,
.featured-hub-filter:focus-visible::before {
  transform: scale(var(--hover-grow-scale, 1.035));
}

.featured-hub-filter:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-ink) 24%, transparent);
  outline-offset: 2px;
}

.featured-hub-curated-products__quick {
  margin-bottom: 12px;
}

.featured-hub-curated-products__filter-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.featured-hub-filter--drawer {
  flex: 0 0 auto;
}

.featured-hub-curated-products__quick .featured-hub-filter {
  --featured-hub-filter-bg: var(--bg-pill);
  --featured-hub-filter-text: var(--color-ink);
  gap: 6px;
}

.featured-hub-curated-products__quick .featured-hub-filter:hover,
.featured-hub-curated-products__quick .featured-hub-filter:focus-visible {
  --featured-hub-filter-bg: var(--bg-pill);
}

.featured-hub-curated-products__quick .featured-hub-filter.is-active,
.featured-hub-curated-products__quick .featured-hub-filter.is-active:hover,
.featured-hub-curated-products__quick .featured-hub-filter.is-active:focus-visible {
  --featured-hub-filter-bg: var(--color-ink);
  --featured-hub-filter-text: var(--color-cream);
  gap: 4px;
  padding: 0 0 0 14px;
  font-weight: 600;
}

.featured-hub-filter__label,
.featured-hub-filter__remove {
  position: relative;
  z-index: 1;
}

.featured-hub-filter__label {
  white-space: nowrap;
}

.featured-hub-filter__remove {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  flex: 0 0 34px;
  margin: 4px 4px 4px 0;
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.18s ease;
}

.featured-hub-curated-products__quick .featured-hub-filter.is-active .featured-hub-filter__remove {
  display: inline-flex;
}

.featured-hub-filter__remove:hover,
.featured-hub-filter:focus-visible .featured-hub-filter__remove {
  background: color-mix(in srgb, var(--color-page-bg) 12%, transparent);
}

.featured-hub-filter__remove-icon {
  display: block;
  width: 13px;
  height: 13px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.featured-hub-filter-empty {
  width: min(640px, 100%);
  margin: 24px auto 4px;
  text-align: center;
}

.featured-hub-filter-empty__title,
.featured-hub-filter-empty__text {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.featured-hub-filter-empty__title {
  color: var(--color-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.16;
}

.featured-hub-filter-empty__text {
  margin-top: 6px;
  color: var(--color-ink-soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.featured-hub-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.featured-hub-product {
  min-width: 0;
}

.featured-hub-product__media {
  position: relative;
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 249, 241, 0.72) 0%, rgba(255, 249, 241, 0) 36%),
    linear-gradient(135deg, var(--featured-product-tone) 0%, var(--color-sand) 100%);
  box-shadow: inset 0 0 0 1px rgba(35, 32, 48, 0.08);
}

.featured-hub-product__pick {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  opacity: 0.7;
}

.featured-hub-product__body {
  padding: 12px 0 0;
}

.featured-hub-product__title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-hub-product__meta,
.featured-hub-product__price {
  margin: 4px 0 0;
  color: var(--color-forest);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.featured-hub-product__price {
  color: var(--color-ink);
  font-size: 19px;
  font-weight: 800;
}

.featured-hub-product__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  min-height: 44px;
  color: var(--color-ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
}

.featured-hub-product__more:hover img,
.featured-hub-product__more:focus-visible img,
.featured-hub-funnel-card:hover .featured-hub-funnel-card__cta img,
.featured-hub-funnel-card:focus-visible .featured-hub-funnel-card__cta img {
  transform: translate3d(4px, 0, 0);
}

.featured-hub-note {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--color-cream);
  box-shadow: inset 0 0 0 1px var(--color-line);
}

.featured-hub-note__title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.05;
}

.featured-hub-note__text {
  margin: 10px 0 0;
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 1142px) {
  .page--featured-hub {
    --homepage-shell-width: var(--jp-page-shell-width);
    --homepage-shell-inset: var(--jp-page-shell-inset);
  }
}

@media (max-width: 980px) {
  .page--featured-hub {
    --featured-hub-shell: var(--homepage-shell-width);
  }

  .featured-hub-page {
    padding-top: 0;
  }

  .featured-hub-root--home-guide {
    width: min(100% - 28px, 760px);
  }

  .featured-hub-home-hero {
    min-height: 238px;
    padding: var(--featured-hub-hero-top-gap) 22px 86px;
  }

  .featured-hub-home-grid {
    gap: var(--featured-hub-tile-gap);
    margin-top: -78px;
    padding: 0;
  }

  .featured-hub-nav {
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .featured-hub-hero {
    padding: var(--featured-hub-hero-top-gap) 20px 68px;
    min-height: 190px;
  }

  .featured-hub-categories {
    gap: var(--featured-hub-tile-gap);
    margin-top: -58px;
    padding: 0;
  }

  .featured-hub-assistant {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }

  .featured-hub-assistant__button {
    width: 100%;
    min-width: 0;
  }

  .featured-hub-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-hub-product__media {
    min-height: 280px;
  }

  .featured-hub-curated-products__head {
    grid-template-columns: 1fr;
  }

  .featured-hub-products__filter {
    justify-self: center;
    order: 2;
  }

  .featured-hub-curated-products__head-spacer {
    display: none;
  }
}

@media (max-width: 760px) {
  .page--featured-hub {
    --homepage-shell-width: var(--jp-page-shell-width);
    --homepage-shell-inset: var(--jp-page-shell-inset);
  }
}

@media (max-width: 880px) {
  /* The fixed header collapses to a flat 68px in mobile mode (<=880px, the
     .is-mobile-414 state). The site-wide 99/103px top padding is sized for the
     taller desktop header, so on these pages it leaves a cream gap between the
     header and the full-bleed green hero. Tuck the page top edge just under the
     mobile header so the green meets it flush (mirrors the gift-finder rule
     further down). body.* keeps the specificity above the global .page rule. */
  body.page--featured-hub {
    padding-top: 66px;
  }
}

@media (max-width: 980px) {
  .featured-hub-filters {
    width: 100vw;
    max-width: none;
    min-height: 58px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    gap: 16px;
    padding: 7px 16px 10px;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .featured-hub-curated-products__quick::after {
    content: "";
    flex: 0 0 48px;
    width: 48px;
    height: 1px;
  }

  .featured-hub-filters::-webkit-scrollbar {
    display: none;
  }

  .featured-hub-filter {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  /* padding-top is handled by the <=880px mobile-header rule above. */
  .featured-hub-product__more {
    display: none;
  }

  .featured-hub-products {
    width: calc(100vw - 20px);
    margin-left: calc(50% - 50vw + 10px);
    margin-right: 0;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .page--featured-hub {
    --featured-hub-tile-size: clamp(128px, calc((100vw - 58px) / 2), 158px);
    --featured-hub-tile-gap: 14px;
    --featured-hub-tile-row-width: 100%;
  }

  .featured-hub-root--home-guide {
    width: var(--featured-hub-shell);
  }

  .featured-hub-home-hero {
    min-height: 230px;
    padding: var(--featured-hub-hero-top-gap) 16px 78px;
  }

  .featured-hub-home-hero__title,
  .featured-hub-hero__title {
    font-size: var(--featured-hub-hero-title-mobile-size);
  }

  .featured-hub-home-hero__subtitle,
  .featured-hub-hero__subtitle {
    font-size: var(--featured-hub-hero-subtitle-mobile-size);
  }

  .featured-hub-home-tile__label {
    min-height: 30px;
    font-size: 13px;
  }

  .featured-hub-home-grid,
  .featured-hub-categories {
    width: 100%;
    gap: 14px;
    margin-bottom: 44px;
  }

  /* Two columns on phones (down from the 3-col desktop grid) so the tiles
     stay comfortably tappable instead of cramming three across. */
  .featured-hub-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-hub-home-tile__media,
  .featured-hub-category__media {
    border-radius: 24px;
  }

  .featured-hub-category__label {
    min-height: 30px;
    font-size: 13px;
  }

  .featured-hub-seller-tabs {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .featured-hub-seller-tabs::-webkit-scrollbar {
    display: none;
  }

  .featured-hub-seller-tab {
    flex: 0 0 auto;
    min-width: max-content;
    width: auto;
    font-size: 16px;
    scroll-snap-align: start;
  }

  .featured-hub-sellers__row-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-hub-sellers__controls {
    width: 100%;
    justify-content: space-between;
  }

  .featured-hub-curated-products__title {
    font-size: 30px;
  }

  .featured-hub-funnel-card {
    grid-template-columns: 1fr;
  }

  .featured-hub-funnel-card__media {
    min-height: 150px;
  }

  .featured-hub-products {
    grid-template-columns: 1fr;
  }

  .featured-hub-section__head {
    align-items: center;
    flex-direction: column;
  }
}

/* ============================================================
   Jedi Picks badge (on product cards in the hubs)
   A warm "insider" vibe (like Vimeo Staff Pick), but in our
   evergreen colors. Sits as an overlay in the top-left corner of the media
   and follows the same corner-badge sizing as AD / proof labels.
   ============================================================ */
.cat-card__jedi-pick {
  position: absolute;
  top: var(--cat-card-corner-badge-top, 8px);
  left: var(--cat-card-corner-badge-left, 8px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--cat-card-corner-badge-size, 38px);
  height: var(--cat-card-corner-badge-size, 38px);
  gap: var(--cat-card-corner-badge-gap, 6px);
  padding: 0 var(--cat-card-corner-badge-pad-x, 13px);
  border-radius: 999px;
  background: var(--jedi-picks-badge-bg, var(--color-jedi-picks-yellow));
  color: var(--jedi-picks-badge-ink, var(--color-ink));
  font-family: var(--font-body);
  font-size: var(--cat-card-corner-badge-font-size, 13px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  opacity: 1;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.16s ease;
}

.cat-card:hover .cat-card__jedi-pick,
.cat-card:has(:focus-visible) .cat-card__jedi-pick,
.cat-card.is-actions-open .cat-card__jedi-pick {
  opacity: 0;
}

.cat-card__jedi-pick-icon {
  width: var(--cat-card-corner-badge-icon-size, 14px);
  height: var(--cat-card-corner-badge-icon-size, 14px);
  display: block;
  object-fit: contain;
}

.cat-card__jedi-pick-label {
  display: inline-block;
}

.cat-card__jedi-pick-label::after {
  content: none;
}

/* ============================================================
   Shop by Room — section in Home Finds (between tile-grid and sellers).
   Large visual cards by room.
   Lead into the living-room/bedding/kitchen-dining/entryway sub-hubs,
   or into curated-search. marketplace pattern for home guides.
   ============================================================ */
.featured-hub-room-section {
  margin: 0 0 80px;
}

.featured-hub-room-section__head {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 720px;
}

.featured-hub-room-section__title {
  margin: 0;
  color: #232030;
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.featured-hub-room-section__subtitle {
  margin: 8px 0 0;
  color: #6b6571;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.featured-hub-room-section__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.featured-hub-room-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-cream);
  color: var(--color-ink);
  text-decoration: none;
  /* The same hover effect as .cat-card and funnel-card —
     a modest outline instead of a huge shadow. */
  box-shadow: none;
  transition: box-shadow 0.18s ease;
}

.featured-hub-room-card:hover,
.featured-hub-room-card:focus-visible {
  box-shadow: var(--shadow-card-hover);
}

.featured-hub-room-card__media {
  display: block;
  height: 160px;
  background: var(--room-card-bg, #dfe8df);
}

.featured-hub-room-card__label {
  padding: 14px 18px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.featured-hub-room-card--sage { --room-card-bg: #cfe1d2; }
.featured-hub-room-card--rose { --room-card-bg: #ead8dc; }
.featured-hub-room-card--peach { --room-card-bg: #efd9cc; }
.featured-hub-room-card--sky { --room-card-bg: var(--color-line); }
.featured-hub-room-card--wood,
.featured-hub-room-card--brown { --room-card-bg: #e0d2c2; }
.featured-hub-room-card--cream,
.featured-hub-room-card--linen { --room-card-bg: #ebe2cf; }
.featured-hub-room-card--green,
.featured-hub-room-card--evergreen { --room-card-bg: #c9dcc9; }
.featured-hub-room-card--gold { --room-card-bg: #eee2ba; }
.featured-hub-room-card--slate { --room-card-bg: var(--color-line-dark); }
.featured-hub-room-card--denim { --room-card-bg: var(--color-sand-dark); }

.featured-hub-seo.category-seo-summary {
  --featured-hub-seo-shell-width: min(var(--jp-page-shell-max), calc(100vw - 68px));
  width: var(--featured-hub-seo-shell-width);
  max-width: none;
  margin-inline: calc((100% - var(--featured-hub-seo-shell-width)) / 2);
}

@media (max-width: 1142px) {
  .featured-hub-seo.category-seo-summary {
    --featured-hub-seo-shell-width: calc(100vw - 48px);
  }
}

@media (max-width: 760px) {
  .featured-hub-seo.category-seo-summary {
    --featured-hub-seo-shell-width: calc(100vw - 32px);
  }
}

@media (max-width: 980px) {
  .featured-hub-room-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .featured-hub-room-card__media {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .featured-hub-room-section__grid {
    grid-template-columns: 1fr;
  }
  .featured-hub-room-card__media {
    height: 140px;
  }
}


/* ===== Gift Finder funnel (gifts-hub only) — light, full-width, media-cards ===== */
.gift-finder {
  --gift-finder-inline-pad: 40px;
  /* Full content-grid width — the same grid as the header / page shell, with no
     contained panel, so the finder and its results read as part of the page
     (not a floating plate). Aligns flush with the browse rails below. */
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: clamp(-82px, -5.5vw, -46px) 0 44px;
  padding: 18px var(--gift-finder-inline-pad) 0;
  box-sizing: border-box;
  overflow: visible;
}

.gift-finder__torn-band {
  position: absolute;
  z-index: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  top: 0;
  height: clamp(330px, 23vw, 360px);
  color: var(--color-forest);
  pointer-events: none;
  opacity: 1;
  overflow: hidden;
}

.gift-finder__torn-band-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gift-finder__steps,
.gift-finder__actions,
.gift-finder__result {
  position: relative;
  z-index: 1;
}

.gift-finder__refine,
.gift-finder__cta {
  appearance: none;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 800;
  cursor: pointer;
}

.gift-finder.is-started .gift-finder__steps {
  position: relative;
  z-index: 1;
}

/* On the gifts hub, pull the browse rails out to the same full content grid as
   the finder + product sections, so every block lines up with the header edges.
   Scoped via :has(.gift-finder) → only the gifts hub, other hubs untouched. */
.featured-hub-root--gift-finder .featured-hub-shop-by,
.featured-hub-root--gift-finder .featured-hub-categories,
.featured-hub-root:has(.gift-finder) .featured-hub-shop-by,
.featured-hub-root:has(.gift-finder) .featured-hub-categories {
  width: 100%;
  max-width: none;
}

.featured-hub-root--gift-finder .featured-hub-home-hero,
.featured-hub-root--gift-finder .gift-finder {
  position: relative;
  z-index: 1;
}

.featured-hub-root--gift-finder .featured-hub-home-hero,
.featured-hub-root--gift-finder .featured-hub-hero,
.featured-hub-root:has(.gift-finder) .featured-hub-home-hero,
.featured-hub-root:has(.gift-finder) .featured-hub-hero {
  min-height: clamp(660px, 88vh, 860px);
  padding: clamp(83px, calc(16vh - 25px), 131px) 36px clamp(126px, 15vh, 172px);
  color: var(--color-cream);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.44) 0%, rgb(0 0 0 / 0.16) 76%, rgb(0 0 0 / 0.04) 100%),
    url("../../assets/gift-hub/hero/gift-hub-search-hero.webp") center top / cover no-repeat;
}

.featured-hub-root--gift-finder .featured-hub-home-hero::before,
.featured-hub-root--gift-finder .featured-hub-hero::before,
.featured-hub-root:has(.gift-finder) .featured-hub-home-hero::before,
.featured-hub-root:has(.gift-finder) .featured-hub-hero::before {
  content: none;
}

.featured-hub-root--gift-finder .featured-hub-home-hero::after,
.featured-hub-root:has(.gift-finder) .featured-hub-home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: clamp(84px, 10vh, 132px);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--color-page-bg) 12%, transparent) 22%,
    color-mix(in srgb, var(--color-page-bg) 55%, transparent) 62%,
    var(--color-page-bg) 100%
  );
  pointer-events: none;
}

.featured-hub-root--gift-finder .featured-hub-home-hero__copy,
.featured-hub-root:has(.gift-finder) .featured-hub-home-hero__copy {
  z-index: 1;
}

.featured-hub-root--gift-finder .featured-hub-home-hero__badge,
.featured-hub-root--gift-finder .featured-hub-hero__badge,
.featured-hub-root:has(.gift-finder) .featured-hub-home-hero__badge,
.featured-hub-root:has(.gift-finder) .featured-hub-hero__badge {
  display: none;
}

.featured-hub-root--gift-finder .featured-hub-home-hero__title,
.featured-hub-root--gift-finder .featured-hub-hero__title,
.featured-hub-root:has(.gift-finder) .featured-hub-home-hero__title,
.featured-hub-root:has(.gift-finder) .featured-hub-hero__title {
  margin-top: 0;
  max-width: none;
  position: relative;
  top: 0;
  font-size: clamp(58px, 6.8vw, 104px);
  line-height: 0.9;
  text-shadow: 0 16px 46px rgb(0 0 0 / 0.34);
}

.featured-hub-root--gift-finder .featured-hub-home-hero__subtitle,
.featured-hub-root--gift-finder .featured-hub-hero__subtitle,
.featured-hub-root:has(.gift-finder) .featured-hub-home-hero__subtitle,
.featured-hub-root:has(.gift-finder) .featured-hub-hero__subtitle {
  display: none;
}

.featured-hub-root--gift-finder .featured-hub-home-grid,
.featured-hub-root:has(.gift-finder) .featured-hub-home-grid {
  margin-top: 28px;
}

@media (min-width: 721px) {
  .featured-hub-root--gift-finder {
    --gift-finder-hero-overlap: clamp(-401px, calc(-26.3vw - 5px), -291px);
    transition:
      --gift-finder-hero-overlap var(--gift-hub-search-reveal-duration, 0.56s) var(--gift-hub-search-reveal-ease, cubic-bezier(0.2, 0.78, 0.18, 1));
  }

  .featured-hub-root--gift-finder .gift-finder {
    margin-top: var(--gift-finder-hero-overlap);
    will-change: margin-top;
  }

  .featured-hub-root--gift-finder.is-gift-assistant-primed {
    --gift-finder-hero-overlap: clamp(-345px, calc(-26.3vw + 51px), -235px);
  }

  .featured-hub-root--gift-finder.is-gift-assistant-collapsing {
    --gift-finder-hero-overlap: clamp(-401px, calc(-26.3vw - 5px), -291px);
  }

  .featured-hub-root--gift-finder:has(.featured-hub-search.is-expanded),
  .featured-hub-root--gift-finder:has(.featured-hub-search:focus-within) {
    --gift-finder-hero-overlap: clamp(-175px, calc(-26.3vw + 261px), -65px);
  }

  .featured-hub-root--gift-finder:has(.featured-hub-search.is-assistant-chatting) {
    --gift-finder-hero-overlap: clamp(-155px, calc(-26.3vw + 281px), -45px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-hub-root--gift-finder {
    transition: none;
  }
}

@media (max-width: 720px) {
  .featured-hub-root--gift-finder .featured-hub-home-hero,
  .featured-hub-root:has(.gift-finder) .featured-hub-home-hero {
    min-height: 520px;
    padding: 86px 18px 138px;
    background-position: center top;
  }

  .featured-hub-root--gift-finder .featured-hub-home-hero__title,
  .featured-hub-root:has(.gift-finder) .featured-hub-home-hero__title {
    font-size: clamp(48px, 18vw, 76px);
  }

  .featured-hub-search {
    margin-top: 24px;
    --gift-hub-search-rest-height: 72px;
    --gift-hub-search-expanded-height: 340px;
    --gift-hub-search-compact-height: 68px;
    --gift-hub-search-radius: 28px;
  }

  .featured-hub-search.has-attachments {
    --gift-hub-search-expanded-height: 438px;
  }

  .featured-hub-search__bar {
    display: flex;
    flex-direction: column;
    gap: 8px 10px;
    height: var(--gift-hub-search-rest-height);
    min-height: 0;
    padding: 14px;
    border-radius: var(--gift-hub-search-radius);
  }

  .featured-hub-search.is-expanded .featured-hub-search__bar,
  .featured-hub-search:focus-within .featured-hub-search__bar {
    height: var(--gift-hub-search-expanded-height);
    min-height: 0;
    padding: 14px;
    border-radius: var(--gift-hub-search-radius);
  }

  .featured-hub-search.is-voice-mode .featured-hub-search__bar,
  .featured-hub-search.is-processing .featured-hub-search__bar {
    height: var(--gift-hub-search-compact-height);
    min-height: 0;
    padding: 8px 10px;
    border-radius: var(--gift-hub-search-radius);
  }

  .featured-hub-search__composer {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .featured-hub-search.is-expanded .featured-hub-search__composer,
  .featured-hub-search:focus-within .featured-hub-search__composer {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    grid-template-areas:
      "drafts drafts drafts"
      "input input input"
      "add tools submit";
    row-gap: 18px;
  }

  .featured-hub-search__add {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .featured-hub-search__input,
  .featured-hub-search.is-expanded .featured-hub-search__input,
  .featured-hub-search:focus-within .featured-hub-search__input {
    min-height: 44px;
    max-height: 92px;
    padding-top: 4px;
    font-size: 16px;
  }

  .featured-hub-search.is-expanded .featured-hub-search__input,
  .featured-hub-search:focus-within .featured-hub-search__input {
    min-height: 32px;
  }

  .featured-hub-search__assistant-copy p {
    font-size: 14px;
  }

  .featured-hub-search__drafts {
    gap: 10px;
  }

  .featured-hub-search__draft--image {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
    border-radius: 22px;
  }

  .featured-hub-search__tools,
  .featured-hub-search.is-expanded .featured-hub-search__tools,
  .featured-hub-search:focus-within .featured-hub-search__tools {
    justify-self: end;
  }

  .featured-hub-search__tool {
    width: 34px;
    height: 34px;
  }

  .featured-hub-search__submit,
  .featured-hub-search.is-expanded .featured-hub-search__submit,
  .featured-hub-search:focus-within .featured-hub-search__submit {
    justify-self: end;
    min-height: 46px;
    padding: 0 16px;
    font-size: 14px;
  }

  .featured-hub-search__assistant-panel {
    max-height: 176px;
    margin: 18px 2px 0;
    padding-right: 2px;
  }

  .featured-hub-search__assistant-mark {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .featured-hub-search__assistant-mark img {
    width: 24px;
    height: 24px;
  }

  .featured-hub-search__attachments {
    gap: 7px;
  }

  .featured-hub-search__attachment {
    max-width: min(100%, 320px);
  }

  .featured-hub-search__voice-panel,
  .featured-hub-search__processing {
    min-height: 52px;
    border-radius: var(--radius-pill);
    gap: 8px;
  }

  .featured-hub-search__voice-action {
    width: 52px;
    height: 52px;
  }

  .featured-hub-search__voice-main {
    justify-content: flex-start;
  }

  .featured-hub-search__voice-label,
  .featured-hub-search__processing-copy {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .featured-hub-search__submit,
  .featured-hub-search.is-expanded .featured-hub-search__submit,
  .featured-hub-search:focus-within .featured-hub-search__submit {
    width: auto;
  }
}

@media (max-width: 720px) {
  .page--featured-hub:has(.featured-hub-root--gift-finder),
  .page--featured-hub:has(.gift-finder) {
    padding-top: 66px;
  }
}

.gift-finder__bar {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 22px;
}

.gift-finder__heading {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--intent-surface-sunken);
  color: var(--color-forest);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gift-finder__subheading {
  display: block;
  margin-top: 0;
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.gift-finder__steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gift-finder__step[hidden],
.gift-finder__actions[hidden],
.gift-finder__result[hidden] {
  display: none;
}

.gift-finder__step.is-active {
  animation: giftFinderStepIn 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.gift-finder__step.is-revealed .gift-finder-card {
  animation: giftFinderCardPop 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(min(var(--gift-finder-card-index, 0), 9) * 48ms);
}

@keyframes giftFinderStepIn {
  from { transform: translateY(8px); }
  to { transform: translateY(0); }
}

@keyframes giftFinderCardPop {
  from { transform: translateY(14px); }
  to { transform: translateY(0); }
}

.gift-finder__q {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(20px, 1.45vw, 26px);
  font-weight: 700;
  line-height: 1.15;
}

.gift-finder__q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  background: var(--color-forest);
  color: var(--color-cream);
  font-family: var(--font-display, var(--font-heading));
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.gift-finder__q-text {
  min-width: 0;
}

.featured-hub-root--gift-finder .gift-finder__step:first-child .gift-finder__q {
  color: var(--color-cream);
  text-shadow: 0 10px 28px rgb(0 0 0 / 0.42);
}

.featured-hub-root--gift-finder .gift-finder__step:first-child .gift-finder__q-num {
  background: var(--color-cream);
  color: var(--color-ink);
  text-shadow: none;
}

.gift-finder__q-optional {
  margin-left: 9px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--color-line, #E7E2D5);
  color: var(--color-ink-soft, #5F596E);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop/tablet: no horizontal carousel. The chooser wraps inside the page
   grid; phones switch to the intentional swipe row below. */
.gift-finder__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr));
  gap: 14px;
  overflow-x: visible;
  scroll-snap-type: none;
  padding-bottom: 28px;
  scrollbar-width: none;
}

.gift-finder__cards::-webkit-scrollbar { height: 7px; }
.gift-finder__cards::-webkit-scrollbar-thumb { background: var(--color-forest); border-radius: 999px; }
.gift-finder__cards::-webkit-scrollbar-track { background: transparent; }

.gift-finder-card {
  --gift-finder-card-bg: var(--intent-surface-sunken);
  --gift-finder-card-ink: var(--color-ink);
  --gift-finder-card-media-bg: var(--color-line);
  --gift-finder-card-hover-rotate: -1.4deg;
  --gift-finder-card-green: rgb(31 62 20);
  --gift-finder-card-mustard: rgb(232 149 20);
  --gift-finder-card-orange: rgb(240 86 24);
  --gift-finder-card-blue: rgb(43 78 193);
  --gift-finder-card-teal: rgb(30 126 154);
  --gift-finder-card-ochre: rgb(212 119 28);
  --gift-finder-card-indigo: rgb(86 63 184);
  --gift-finder-card-rust: rgb(174 82 39);
  width: 100%;
  scroll-snap-align: start;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
  position: relative;
}

.gift-finder-card:nth-child(1) { --gift-finder-card-index: 0; --gift-finder-card-hover-rotate: -1.6deg; }
.gift-finder-card:nth-child(2) { --gift-finder-card-index: 1; --gift-finder-card-hover-rotate: 1.25deg; }
.gift-finder-card:nth-child(3) { --gift-finder-card-index: 2; --gift-finder-card-hover-rotate: -0.9deg; }
.gift-finder-card:nth-child(4) { --gift-finder-card-index: 3; --gift-finder-card-hover-rotate: 1.7deg; }
.gift-finder-card:nth-child(5) { --gift-finder-card-index: 4; --gift-finder-card-hover-rotate: -1.25deg; }
.gift-finder-card:nth-child(6) { --gift-finder-card-index: 5; --gift-finder-card-hover-rotate: 1deg; }
.gift-finder-card:nth-child(7) { --gift-finder-card-index: 6; --gift-finder-card-hover-rotate: -1.8deg; }
.gift-finder-card:nth-child(8) { --gift-finder-card-index: 7; --gift-finder-card-hover-rotate: 1.45deg; }

.gift-finder-card--sage,
.gift-finder-card--green,
.gift-finder-card--evergreen {
  --gift-finder-card-bg: var(--gift-finder-card-green);
  --gift-finder-card-ink: var(--color-cream);
}

.gift-finder-card--rose {
  --gift-finder-card-bg: var(--gift-finder-card-orange);
  --gift-finder-card-ink: var(--color-cream);
}

.gift-finder-card--peach,
.gift-finder-card--cream {
  --gift-finder-card-bg: var(--gift-finder-card-mustard);
  --gift-finder-card-ink: var(--color-cream);
}

.gift-finder-card--gold {
  --gift-finder-card-bg: var(--gift-finder-card-ochre);
  --gift-finder-card-ink: var(--color-cream);
}

.gift-finder-card--sky {
  --gift-finder-card-bg: var(--gift-finder-card-teal);
  --gift-finder-card-ink: var(--color-cream);
}

.gift-finder-card--brown,
.gift-finder-card--wood {
  --gift-finder-card-bg: var(--gift-finder-card-rust);
  --gift-finder-card-ink: var(--color-cream);
}

.gift-finder-card--denim,
.gift-finder-card--slate {
  --gift-finder-card-bg: var(--gift-finder-card-blue);
  --gift-finder-card-ink: var(--color-cream);
}

.gift-finder-card--violet,
.gift-finder-card--plum {
  --gift-finder-card-bg: var(--gift-finder-card-indigo);
  --gift-finder-card-ink: var(--color-cream);
}

/* Whole card = label + one curated photo, matching the new Gift Hub tile style. */
.gift-finder-card__media {
  position: relative;
  aspect-ratio: 5 / 8;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 4px 4px;
  box-sizing: border-box;
  background: var(--gift-finder-card-bg);
  color: var(--gift-finder-card-ink);
  opacity: 1;
  box-shadow: 0 2px 6px rgb(35 32 48 / 0.07), inset 0 0 0 1px rgb(35 32 48 / 0.05);
  transform-origin: 50% 82%;
  transition: box-shadow 0.24s ease, filter 0.24s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gift-finder-card__image-wrap {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--gift-finder-card-media-bg);
}

.gift-finder-card__cell {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--color-line);
  opacity: 1;
  filter: none;
}

/* Recipient/option cards become a horizontal swipe slider across the whole
   mobile + tablet range; desktop (>=981px) keeps the multi-column grid. Before
   this the cards only slid below 560px and wrapped into an awkward grid on
   large phones and tablets (561-980px). */
@media (max-width: 980px) {
  /* Drop the gift-finder's side padding so the heading ("1  Who is the gift for?")
     and steps line up with the first card of the rail below, not indented past it. */
  .gift-finder {
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
  }
  /* Full-bleed swipe rail: span the whole viewport width with even side gutters
     so the peeking edge card reaches the screen edge cleanly, instead of being
     hard-clipped inside the narrower padded gift-finder container. */
  .gift-finder__cards {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 30px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    overscroll-behavior-inline: contain;
    contain: layout paint;
    -webkit-overflow-scrolling: touch;
  }
  /* ~3.5 cards visible: the half-peeking card makes it obvious the rail swipes. */
  .gift-finder-card {
    flex: 0 0 25vw;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .gift-finder {
    width: 100%;
    margin: clamp(-98px, -24vw, -64px) 0 36px;
    padding: 10px 0 0;
  }
  .gift-finder__torn-band {
    top: 0;
    height: clamp(320px, 84vw, 360px);
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
  }
  .gift-finder-card {
    flex-basis: 32vw;
  }
  .gift-finder-card__media {
    gap: 7px;
    padding: 10px 4px 4px;
    border-radius: 20px;
  }
  .gift-finder-card__image-wrap {
    border-radius: 16px;
  }
  .gift-finder-card__label { min-height: 32px; }
  .gift-finder-card__label-line { font-size: 14px; }
  .gift-finder-card__label-line--pre { font-size: 11px; }
  .gift-finder__subheading { font-size: 13px; }
}

.gift-finder-card:focus-visible .gift-finder-card__media {
  box-shadow: var(--homepage-card-hover-shadow, var(--shadow-card-hover));
}

@media (hover: hover) and (pointer: fine) and (min-width: 981px) {
  .gift-finder__cards.is-hovering .gift-finder-card:not(.is-hovered) .gift-finder-card__media {
    filter: grayscale(1) saturate(0) brightness(1.04) contrast(0.98);
  }

  .gift-finder-card.is-hovered {
    z-index: 2;
  }

  .gift-finder-card.is-hovered .gift-finder-card__media {
    filter: none;
    transform: translateY(-7px) scale(1.045) rotate(var(--gift-finder-card-hover-rotate));
    box-shadow: 0 18px 34px rgb(35 32 48 / 0.22);
  }
}

.gift-finder-card:focus-visible {
  outline: none;
}

.gift-finder-card:focus-visible .gift-finder-card__media {
  outline: 2px solid rgba(63, 106, 96, 0.55);
  outline-offset: 2px;
}

.gift-finder-card.is-selected .gift-finder-card__media {
  outline: 3px solid var(--color-ink);
  outline-offset: 3px;
  box-shadow: 0 12px 28px rgb(35 32 48 / 0.18);
}

.gift-finder-card__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  color: var(--gift-finder-card-ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.gift-finder-card__label-line {
  display: block;
}

.gift-finder-card__label-line--pre {
  margin-bottom: 2px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 560px) {
  .gift-finder-card__label {
    min-height: 32px;
  }

  .gift-finder-card__label-line--pre {
    font-size: 11px;
  }
}

/* Gift Finder actions */
.gift-finder__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  text-align: center;
}

.gift-finder__refine {
  min-width: 180px;
  min-height: 52px;
  padding: 13px 28px;
  position: relative;
  isolation: isolate;
  background: var(--color-page-bg);
  color: var(--color-ink);
  box-shadow: none;
  font-size: 16px;
  transition: color 0.18s ease;
}

.gift-finder__refine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid var(--color-ink);
  border-radius: inherit;
  background: var(--color-page-bg);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.gift-finder__refine:hover,
.gift-finder__refine:focus-visible {
  box-shadow: none;
  outline: none;
}

.gift-finder__refine:hover::before,
.gift-finder__refine:focus-visible::before {
  transform: scale(var(--hover-grow-scale, 1.035));
}

.gift-finder__cta {
  --gift-finder-cta-bg: var(--color-ink, #232030);
  min-width: 220px;
  min-height: 52px;
  padding: 13px 30px;
  background: transparent;
  color: var(--color-cream, #FFF9F1);
  box-shadow: none;
  font-size: 16px;
  position: relative;
  isolation: isolate;
  transition: color 0.18s ease;
}

.gift-finder.has-selection .gift-finder__cta,
.gift-finder.has-stale-results .gift-finder__cta {
  --gift-finder-cta-bg: var(--color-forest);
}

.gift-finder__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--gift-finder-cta-bg);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.gift-finder__cta:hover:not(:disabled),
.gift-finder__cta:focus-visible:not(:disabled) {
  transform: none;
  box-shadow: none;
  outline: none;
}

.gift-finder__cta:hover:not(:disabled)::before,
.gift-finder__cta:focus-visible:not(:disabled)::before {
  transform: scale(var(--hover-grow-scale, 1.035));
}

.gift-finder .gift-finder__cta:disabled {
  --gift-finder-cta-bg: var(--control-disabled-bg);
  color: var(--auth-disabled-text);
  cursor: not-allowed;
  opacity: 1;
  transition: none;
}

.gift-finder .gift-finder__cta:disabled::before {
  background: var(--control-disabled-bg);
  transform: none;
  transition: none;
}

/* Result (Stage 2): contextual header + quick filters + matched product grid. */
.gift-finder__result {
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

@media (min-width: 981px) {
  .featured-hub-root--gift-finder .gift-finder__result {
    width: calc(100% + var(--gift-finder-inline-pad) + var(--gift-finder-inline-pad));
    margin-left: calc(0px - var(--gift-finder-inline-pad));
    margin-right: calc(0px - var(--gift-finder-inline-pad));
  }
}

.gift-finder__result.is-revealed {
  animation: giftFinderStepIn 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.gift-finder-loading {
  padding-top: 4px;
}

.gift-finder-loading__status {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: min(100%, 560px);
  min-height: 62px;
  margin-bottom: 18px;
  padding: 8px 18px 8px 10px;
  border-radius: 24px;
  background: var(--color-cream);
  color: var(--color-ink);
  box-shadow:
    0 14px 32px rgb(35 32 48 / 0.08),
    inset 0 0 0 1px color-mix(in srgb, var(--color-ink) 7%, transparent);
  overflow: hidden;
}

.gift-finder-loading__copy {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.gift-finder-loading__spark--one {
  right: 18px;
  top: 13px;
}

.gift-finder-loading__spark--two {
  right: 42px;
  bottom: 12px;
  animation-delay: 0.34s;
}

.gift-finder-loading__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.gift-finder-loading__card {
  display: block;
  min-width: 0;
}

/* Placeholder tiles use the shared .jp-skeleton shimmer
   (styles/components/skeleton.css); only geometry lives here. */
.gift-finder-loading__media,
.gift-finder-loading__line {
  display: block;
  border-radius: 16px;
}

.gift-finder-loading__media {
  aspect-ratio: 1 / 1;
}

.gift-finder-loading__line {
  width: 62%;
  height: 12px;
  margin-top: 11px;
  border-radius: var(--radius-pill);
}

.gift-finder-loading__line--wide {
  width: 88%;
}

.gift-finder-result__intro {
  margin-bottom: 16px;
}

.gift-finder-result__title {
  margin: 0;
  color: var(--color-ink, #232030);
  font-family: var(--font-display, var(--font-heading));
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gift-finder-result__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 0;
}

.gift-finder-result__summary span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-forest) 10%, var(--color-cream));
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
}

/* Quick-filter pills */
.gift-finder-result__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.gift-finder-result__pill {
  --featured-hub-filter-bg: var(--filter-pill-bg);
  --featured-hub-filter-text: var(--color-ink);
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--featured-hub-filter-text);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
  transition: color 0.18s ease;
}

.gift-finder-result__pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--featured-hub-filter-bg);
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
  will-change: transform;
}

.gift-finder-result__pill:hover::before,
.gift-finder-result__pill:focus-visible::before {
  transform: scale(var(--hover-grow-scale, 1.035));
}

.gift-finder-result__pill.is-active {
  --featured-hub-filter-bg: var(--color-ink);
  --featured-hub-filter-text: var(--color-cream);
  gap: 4px;
  font-weight: 600;
  padding: 0 4px 0 14px;
}

.gift-finder-result__pill-label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.gift-finder-result__pill-remove {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  flex: 0 0 34px;
  margin: 4px 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: background-color 0.18s ease;
}

.gift-finder-result__pill.is-active .gift-finder-result__pill-remove {
  display: inline-flex;
}

.gift-finder-result__pill-remove:hover,
.gift-finder-result__pill-remove:focus-visible {
  background: rgba(248, 241, 235, 0.12);
}

.gift-finder-result__pill-remove:focus-visible {
  outline: 2px solid rgba(248, 241, 235, 0.45);
  outline-offset: 2px;
}

.gift-finder-result__pill-remove-icon {
  display: block;
  width: 12px;
  height: 12px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.gift-finder-result__pill:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-ink) 24%, transparent);
  outline-offset: 2px;
}

/* Matched product grid — flow-based cards, cannot overlap at any size. */
.gf-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 4px;
}

.gift-finder__result .cat-card[data-product-card].cat-card--title-one-line {
  --cat-card-title-lift: 0px;
}

.gf-prod {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gf-prod__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(35, 32, 48, 0.05);
  transition: box-shadow 0.2s ease;
}

.gf-prod__media:hover {
  box-shadow: 0 10px 24px rgba(35, 32, 48, 0.13), inset 0 0 0 1px rgba(35, 32, 48, 0.06);
}

.gf-prod__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gf-prod__pick {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--color-forest, #3F6A60);
  color: var(--color-cream, #FFF9F1);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gf-prod__pick img { width: 13px; height: 13px; }

.gf-prod__body {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gf-prod__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.gf-prod__title a {
  color: var(--color-ink, #232030);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gf-prod__title a:hover { text-decoration: underline; }

.gf-prod__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink, #232030);
}

.gf-prod__rating img { width: 14px; height: 14px; }
.gf-prod__reviews { color: var(--color-ink-soft, #5F596E); font-weight: 600; }

.gf-prod__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.gf-prod__price-new {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  color: var(--color-forest, #3F6A60);
}

.gf-prod__price-old {
  font-size: 13px;
  color: var(--color-ink-soft, #5F596E);
  text-decoration: line-through;
}

.gf-prod__discount {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ink-soft, #5F596E);
}

.gf-prod__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  min-width: 0;
}

.gf-prod__ship {
  flex: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  color: var(--color-forest, #3F6A60);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gf-prod__store {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-ink-soft, #5F596E);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gf-prod__store:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .gf-prod-grid,
  .gift-finder-loading__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .gf-prod-grid,
  .gift-finder-loading__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}

.gift-finder-result__empty {
  margin: 18px 0 0;
  text-align: center;
  color: var(--color-ink-soft, #5F596E);
  font-family: var(--font-body);
  font-size: 15px;
}

/* Post-funnel actions */
.gift-finder-result__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.gift-finder-result__see-all {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 30px;
  border-radius: 999px;
  background: transparent;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.18s ease;
}

.gift-finder-result__see-all::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--color-forest);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.18s ease;
  will-change: transform;
}

.gift-finder-result__see-all:hover::before,
.gift-finder-result__see-all:focus-visible::before {
  transform: scale(var(--hover-grow-scale, 1.035));
}

.gift-finder-result__see-all:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-forest) 38%, transparent);
  outline-offset: 4px;
}

.gift-finder-result__see-all-label,
.gift-finder-result__see-all-arrow {
  position: relative;
  z-index: 1;
}

.gift-finder-result__see-all-arrow {
  display: block;
  width: 22px;
  height: 14px;
  flex: 0 0 auto;
  object-fit: contain;
  pointer-events: none;
}

.gift-finder-result__restart {
  appearance: none;
  cursor: pointer;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  transition: box-shadow 0.18s ease;
}

.gift-finder-result__restart:hover,
.gift-finder-result__restart:focus-visible {
  box-shadow: var(--homepage-card-hover-shadow, var(--shadow-card-hover));
  outline: none;
}

@media (max-width: 600px) {
  .gift-finder__cta,
  .gift-finder__refine { width: 100%; }
}

@media (max-width: 980px) {
  /* Product / room / marketplace shelves stay horizontal browse rails on mobile.
     The category + guide TILE grids (.featured-hub-home-grid,
     .featured-hub-categories) are intentionally excluded — they wrap into rows
     instead (see the wrapping rules at the end of this file) so they read like
     the rest of the page and are never clipped by the viewport edge. */
  .featured-hub-room-section__grid,
  .featured-hub-products {
    --featured-hub-mobile-rail-gap: 16px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    width: calc(100vw - 28px);
    margin-left: calc(50% - 50vw + 14px);
    margin-right: 0;
    gap: var(--featured-hub-mobile-rail-gap);
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .featured-hub-room-section__grid::-webkit-scrollbar,
  .featured-hub-products::-webkit-scrollbar {
    display: none;
  }

  .featured-hub-room-section__grid > *,
  .featured-hub-products > * {
    flex: 0 0 clamp(190px, 28vw, 260px);
    min-width: 0;
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  .featured-hub-room-section__grid,
  .featured-hub-products {
    --featured-hub-mobile-rail-gap: 14px;
    width: calc(100vw - 20px);
    margin-left: calc(50% - 50vw + 10px);
  }

  .featured-hub-room-section__grid > *,
  .featured-hub-products > * {
    flex-basis: calc((100% - var(--featured-hub-mobile-rail-gap)) / 2.2);
  }

  .featured-hub-product__media {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}
