/* The opening is deliberately still. Desktop and phone use different scenes. */
.window-hero {
  min-height: 740px;
}
.world-view picture,
.world-image,
.hero-copy {
  animation: none !important;
  transform: none;
  translate: none;
  scale: none;
  opacity: 1;
}
.phone-intro {
  display: none;
}
.phone-hero-visual {
  display: none;
}
.hero-floor > span {
  right: 0;
  left: auto;
  transform: none;
}
.category-pass {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
  padding: 25px 24px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid #e6d1da;
  color: var(--wine);
}
.category-pass::-webkit-scrollbar {
  display: none;
}
.category-pass a {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  min-height: 32px;
}
.category-pass svg {
  width: 20px;
  height: 20px;
}
.category-pass a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.discovery-heading {
  margin-bottom: 64px;
}
.discovery-desktop {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(60px, 7vw, 110px);
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}
.discovery-phone {
  display: none;
}
.edit-sticky {
  position: sticky;
  top: max(40px, calc(50svh - 322px));
}
.edit-gallery {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.17;
  border-radius: 16px;
  background: var(--rose);
}
.edit-photo {
  position: absolute;
  inset: 0;
  display: block;
}
.edit-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.edit-photo-shop {
  opacity: 0;
  clip-path: inset(4% 0 0);
  transition:
    opacity 450ms var(--ease),
    clip-path 550ms var(--ease);
}
[data-step="visit"] > .edit-gallery > .edit-photo-shop,
[data-step="visit"] > .edit-sticky > .edit-gallery > .edit-photo-shop {
  opacity: 1;
  clip-path: inset(0);
}
.edit-kept {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 27px 30px;
  background: var(--wine);
  color: var(--porcelain);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  opacity: 0;
  clip-path: inset(100% 0 0);
  transition:
    opacity 300ms var(--ease),
    clip-path 450ms var(--ease);
}
.edit-kept > svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
[data-step="save"] .edit-kept {
  opacity: 1;
  clip-path: inset(0);
}
[data-saved="true"] .edit-kept > svg {
  fill: currentColor;
}
.edit-caption {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.edit-chapter {
  min-height: 410px;
  padding: 66px 0 74px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-bottom: 1px solid #e6d1da;
}
.edit-chapter:first-child {
  padding-top: 36px;
}
.edit-chapter:last-child {
  border: 0;
}
.edit-chapter h3 {
  font-size: clamp(32px, 3.05vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.edit-chapter p {
  margin: 22px 0 24px;
  max-width: 32ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.edit-chapter .save-status {
  margin-top: 12px;
}
.edit-chapter .text-link {
  font-size: 16px;
}
.save-find svg {
  transition:
    fill 160ms,
    color 160ms;
}
.save-find[aria-pressed="true"] svg {
  fill: currentColor;
}
.seller-image img {
  height: 135px;
  object-fit: contain;
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
  .home-header > nav a:hover {
    color: #f0bfd3;
  }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .discovery-desktop {
    gap: 44px;
    grid-template-columns: 1.1fr 0.9fr;
  }
  .edit-chapter h3 {
    font-size: 34px;
  }
  .edit-chapter {
    min-height: 380px;
  }
}
/* Touch composition: one large photograph, then native-sized controls and copy. */
@media (max-width: 760px) {
  .discovery-desktop {
    display: none;
  }
  .discovery-phone {
    display: block;
    max-width: 620px;
    margin: 0 auto;
  }
  .discovery-phone .edit-gallery {
    aspect-ratio: 1.2;
    border-radius: 14px;
  }
  .phone-journey-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 24px 0 30px;
    padding: 4px;
    border-radius: 50px;
    background: #e3d2dc;
  }
  .phone-journey-controls button {
    min-height: 44px;
    padding: 10px 8px;
    border-radius: 50px;
    background: transparent;
    color: var(--wine);
    font-size: 14px;
    font-weight: 600;
    transition:
      color 180ms,
      background-color 180ms;
  }
  .phone-journey-controls button[aria-pressed="true"] {
    background: var(--wine);
    color: var(--porcelain);
  }
  .phone-journey-panels {
    display: grid;
  }
  .phone-journey-panel,
  .phone-journey-panel[hidden] {
    grid-area: 1 / 1;
    display: block;
  }
  .phone-journey-panel[hidden] {
    display: block !important;
    visibility: hidden;
    pointer-events: none;
  }
  .phone-journey-panel h3 {
    font-size: clamp(29px, 5vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  .phone-journey-panel p {
    margin: 18px 0 23px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    max-width: 38ch;
  }
  .phone-journey-panel .save-status {
    min-height: 26px;
    margin-top: 12px;
  }
  .discovery-phone .edit-caption {
    margin-top: 25px;
  }
  .edit-kept {
    padding: 22px;
    font-size: 22px;
    gap: 14px;
  }
}
@media (max-width: 760px) {
  .desktop-intro {
    display: none;
  }
  .phone-intro {
    display: inline;
  }
  .window-hero {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 106px;
  }
  .world-view,
  .window-controls,
  .collection-link {
    display: none;
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    padding: 0 22px;
    text-align: left;
  }
  .hero-copy h1 {
    font-size: clamp(37px, 10.6vw, 52px);
    line-height: 1.06;
  }
  .hero-copy p {
    font-size: 16px;
    margin: 20px 0 0;
    max-width: 34ch;
  }
  .hero-search-wrap {
    position: static;
    transform: none;
    grid-row: 2;
    width: auto;
    margin: 27px 20px 30px;
  }
  .hero-search {
    box-shadow: none;
  }
  .phone-hero-visual {
    display: block;
    grid-row: 3;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1.22;
  }
  .phone-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
  }
  .hero-floor {
    position: static;
    grid-row: 4;
    padding: 16px 22px 18px;
  }
  .hero-floor > span {
    position: static;
    font-size: 12px;
  }
  .hero-floor > a {
    display: inline-flex;
    font-size: 12px;
  }
  .hero-floor .scroll-line {
    width: 24px;
  }
  .category-pass {
    justify-content: flex-start;
    gap: 28px;
    padding: 17px 22px;
  }
  .category-pass a {
    font-size: 14px;
    min-height: 32px;
  }
  .discovery-heading {
    margin-bottom: 32px;
    gap: 22px;
  }
  .discovery-heading p {
    max-width: 36ch;
  }
  .discovery-section {
    padding-bottom: 80px;
  }
}
@media (max-width: 370px) {
  .discovery-heading h2 {
    font-size: 28px;
  }
  .hero-copy {
    padding-inline: 20px;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .hero-search-wrap {
    margin-inline: 16px;
  }
  .hero-floor {
    padding-inline: 20px;
  }
  .hero-floor > a {
    gap: 9px;
  }
  .edit-kept {
    padding: 18px;
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .edit-photo-shop,
  .edit-kept {
    transition: opacity 150ms;
    clip-path: none;
  }
}

/* A shared, bounded interaction language; the product photographs remain still. */
.header-mall,
.hero-search button,
.shop-enquiry,
.save-find,
.review-button,
.closing-action {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    background-color 220ms var(--ease),
    color 180ms var(--ease);
}
.header-mall::before,
.hero-search button::before,
.shop-enquiry::before,
.save-find::before,
.review-button::before,
.closing-action::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  opacity: 0.08;
  clip-path: inset(100% 0 0);
  transition: clip-path 320ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: -1;
}
:is(
    .header-mall,
    .hero-search button,
    .shop-enquiry,
    .save-find,
    .review-button,
    .closing-action
  ):focus-visible::before {
  clip-path: inset(0);
}
.hero-search {
  transition: outline-color 160ms;
  outline: 2px solid transparent;
  outline-offset: 5px;
}
.hero-search:focus-within {
  outline-color: #f0bfd3;
}
.hero-search input:focus-visible {
  outline: none;
}
.category-pass a > span {
  position: relative;
}
.category-pass a > span::after,
.home-header > nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}
.home-header > nav a {
  position: relative;
}
.home-header > nav a::after {
  bottom: 5px;
}
.edit-chapter h3 {
  transition: color 240ms;
}
.edit-chapter[data-current="false"] h3 {
  color: var(--muted);
}
.seller-messages {
  display: grid;
}
.seller-message,
.seller-message[hidden] {
  grid-area: 1 / 1;
  display: block;
}
.seller-message[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.listing-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  inline-size: 102px;
  transition:
    background-color 240ms,
    color 240ms;
}
.listing-state > svg {
  display: none;
  width: 14px;
  height: 14px;
}
.seller-demo[data-seller-state="published"] .listing-state > svg {
  display: block;
}
.seller-demo[data-seller-state="published"] .listing-state > svg path {
  stroke-dasharray: 24;
  animation: approval-check 360ms var(--ease) both;
}
@keyframes approval-check {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.approval-track [data-track] {
  transition: color 240ms;
}
.review-button {
  justify-content: center;
  inline-size: min(100%, 270px);
}
.seller-status {
  min-height: 38px;
}
.questions-list details[data-disclosure-motion] {
  overflow: hidden;
}
.questions-list details[data-disclosure-motion="closing"] summary > span {
  transform: rotate(0);
}
.questions-list summary {
  transition: color 180ms;
}
@media (hover: hover) and (pointer: fine) {
  :is(
      .header-mall,
      .hero-search button,
      .shop-enquiry,
      .save-find,
      .review-button,
      .closing-action
    ):hover::before {
    clip-path: inset(0);
  }
  .category-pass a:hover {
    text-decoration: none;
  }
  .category-pass a:hover > span::after,
  .home-header > nav a:hover::after {
    transform: scaleX(1);
  }
  .questions-list summary:hover {
    color: #a95277;
  }
}
.category-pass a:focus-visible > span::after,
.home-header > nav a:focus-visible::after {
  transform: scaleX(1);
}
@media (max-width: 760px) {
  .phone-hero-visual {
    position: relative;
    height: clamp(280px, 82vw, 400px);
    aspect-ratio: auto;
  }
  .phone-hero-visual img {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
  }
  .phone-journey-controls {
    position: relative;
    isolation: isolate;
  }
  .phone-journey-controls::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    bottom: 4px;
    width: calc((100% - 16px) / 3);
    background: var(--wine);
    border-radius: 50px;
    transform: translateX(0);
    transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }
  .phone-journey-controls button {
    position: relative;
    z-index: 1;
    background: transparent;
  }
  .phone-journey-controls button[aria-pressed="true"] {
    background: transparent;
  }
  [data-mobile-journey][data-step="save"] .phone-journey-controls::before {
    transform: translateX(calc(100% + 4px));
  }
  [data-mobile-journey][data-step="visit"] .phone-journey-controls::before {
    transform: translateX(calc(200% + 8px));
  }
  .review-button {
    inline-size: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone-journey-controls::before {
    transition: none;
  }
  .listing-state > svg path {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}
.questions-list summary:focus-visible {
  outline-offset: -4px;
  border-radius: 6px;
}
.seller-demo[data-seller-state="draft"] .listing-state {
  transition: color 160ms;
}
.questions-list summary {
  padding-inline: 12px;
}
.questions-list details > p {
  padding-left: 12px;
}
