/* Hallmark · look: the look builder, a short exchange across the counter, Sophie's questions on her side, the answers on the visitor's, then the pieces */
/* critique: one column at reading width, hairline bubbles in the site's paper tones, no new colours; the tiles below are the shop's own */

.look-chat { padding-block: var(--space-2xl) var(--section-gap); }
.look-chat__in { max-width: 44rem; }
.look-chat__h { margin-bottom: var(--space-xl); font-size: var(--text-display-s); }

.talk { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.talk__row { display: flex; align-items: flex-end; gap: var(--space-sm); min-width: 0; }
.talk__row--you { justify-content: flex-end; flex-wrap: wrap; column-gap: var(--space-md); }
.talk__row--ask { display: block; margin-block-start: var(--space-xs); padding-inline-start: calc(40px + var(--space-sm)); }

.talk__face { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--color-paper-2); }
.talk__face--gap { visibility: hidden; }

.talk__bubble { max-width: 34ch; margin: 0; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); border-end-start-radius: 2px; background: var(--color-paper-2); font-size: var(--text-md); line-height: 1.45; overflow-wrap: break-word; min-width: 0; }
.talk__bubble--you { border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-card); border-end-end-radius: 2px; background: var(--color-paper); }
.talk__change { order: -1; color: var(--color-muted); font-size: var(--text-sm); }
.talk__change:hover { color: var(--color-ink); }
.talk__change:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.talk__form { display: grid; gap: var(--space-md); }
.talk__form .pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.talk__form .pick__grid--words { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .talk__form .pick__grid--words { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.js .talk__form [data-look-next] { display: none; }

.look-group { margin-top: var(--section-gap-s); }
.look-group .more__h { margin-bottom: var(--space-lg); font-size: var(--text-lg); }
.look-end { display: grid; gap: var(--space-sm); max-width: 28rem; margin-top: var(--section-gap-s); }
.look-end__line { margin: 0; color: var(--color-muted); font-size: var(--text-sm); }

/* her own words: the box under the first question, and the conversation with the pieces each answer picked */
.look-write { max-width: 34rem; margin-top: var(--section-gap-s); padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule-ink); }
.look-write__h { margin-bottom: var(--space-md); font-size: var(--text-lg); }
.look-write__form { display: grid; gap: var(--space-sm); }
.look-write__label { font-weight: 500; }
.look-write__box { width: 100%; min-height: 6.5rem; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-ink-2); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font-size: max(1rem, 16px); line-height: 1.45; resize: vertical; transition: border-color var(--dur-short) var(--ease-out); }
.look-write__box:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-color: var(--color-ink); }
.look-write__note { margin: 0; color: var(--color-muted); font-size: var(--text-sm); }
.talk__row--picks { display: block; padding-inline-start: calc(40px + var(--space-sm)); }
.look-picks { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .talk__row:last-child { animation: talk-in var(--dur-long) var(--ease-out) both; }
  @keyframes talk-in { from { opacity: 0; transform: translateY(6px); } }
}

/* the look Sophie put together: the pieces side by side, then its price and what comes with it */
.look-outfit { margin-top: var(--section-gap-s); padding-block: var(--space-xl); border-block: var(--rule-hair) solid var(--color-ink); }
.look-outfit__h { margin-bottom: var(--space-lg); font-size: var(--text-xl); }
.look-outfit__sum { display: grid; gap: var(--space-2xs); margin-top: var(--space-lg); }
.look-outfit__sum p { margin: 0; color: var(--color-muted); }
.look-outfit__sum .look-outfit__total { color: var(--color-ink); font-size: var(--text-lg); font-weight: 600; }
