/* Hallmark · shop: a quiet catalogue of 3:4 photographs on the warm ground with a calm filter column, and a product page of stacked photographs beside a sticky panel that states the garment's facts before the buy button */

:root { --shop-head: calc(var(--masthead-h) + 50px); /* the masthead plus the kinds row under it */ }

/* ---------- the shared price and tile (the home page uses them too) ---------- */

.price { font-size: var(--text-md); line-height: 1.4; }
.price__was { margin-inline-start: var(--space-2xs); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-2xs); }
@media (min-width: 60rem) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3xl) var(--space-2xs); } }

.tile { display: grid; align-content: start; gap: var(--space-2xs); min-width: 0; }
.tile__link { display: grid; gap: var(--space-sm); color: inherit; text-decoration: none; }
.tile__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.tile__photo { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-paper-2); }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__img--2 { display: none; }
.tile__tag { position: absolute; top: var(--space-sm); inset-inline-start: var(--space-sm); padding: var(--space-3xs) var(--space-xs); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); line-height: 1.3; }
.tile__name { padding-inline-end: var(--space-sm); font-size: var(--text-md); line-height: 1.4; overflow-wrap: break-word; }
.tile__link:hover .tile__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.tile .price { padding-inline-end: var(--space-sm); }
.tile__out { font-size: var(--text-sm); color: var(--color-muted); }

/* the second photograph only where a pointer can hover; touch keeps the first, so nothing hides behind a hover */
@media (hover: hover) and (pointer: fine) {
  .tile__img--2 { display: block; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
  .tile__link:hover .tile__img--2, .tile__link:focus-visible .tile__img--2 { opacity: 1; }
}

/* ---------- the catalogue ---------- */

.cat { padding-top: var(--space-xl); }

.find { display: grid; gap: var(--space-xs); max-width: 36rem; }
.find__label { font-size: var(--text-sm); color: var(--color-ink-2); }
.find__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.find__input { min-width: 0; min-height: 56px; padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-ink-2); border-inline-end: 0; border-radius: 0; background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); transition: border-color var(--dur-short) var(--ease-out); }
.find__input:hover { border-color: var(--color-ink); }
.find__input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-color: var(--color-ink); }
.find__go { min-height: 56px; }

.cat__head { display: grid; gap: var(--space-sm); padding-block: var(--space-2xl) var(--space-xl); }
.cat__head h1 { font-size: var(--text-section); text-wrap: balance; }
.cat__intro { max-width: 52ch; color: var(--color-ink-2); }
.cat__count { font-size: var(--text-sm); color: var(--color-muted); }

/* phones: the filter button and the sort share one row; wide screens: a 15rem column at the start */
.cat__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--space-lg) var(--space-md); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.filter { grid-column: 1; grid-row: 1; min-width: 0; }
.sort { grid-column: 2; grid-row: 1; }
.chips, .cat__results { grid-column: 1 / -1; min-width: 0; }
html:not(.js) .filter[open] { grid-column: 1 / -1; }
html:not(.js) .cat__body:has(.filter[open]) .sort { grid-column: 1 / -1; grid-row: 2; }

@media (min-width: 60rem) {
  .cat__body { grid-template-columns: 15rem minmax(0, 1fr); column-gap: var(--space-3xl); }
  .filter, html:not(.js) .filter[open] { grid-column: 1; grid-row: 1 / span 3; }
  .sort, html:not(.js) .cat__body:has(.filter[open]) .sort { grid-column: 2; grid-row: 1; justify-self: end; }
  .chips { grid-column: 2; grid-row: 2; }
  .cat__results { grid-column: 2; grid-row: 3; }
}

.filter__open { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 48px; padding-inline: var(--space-lg); border: var(--rule-hair) solid var(--color-ink); background: var(--color-paper); color: var(--color-ink); font-weight: 500; list-style: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.filter__open::-webkit-details-marker { display: none; }
.filter__open:hover { background: var(--color-paper-2); }
.filter__open:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

.filter__panel { display: grid; gap: var(--space-xl); padding-top: var(--space-lg); }
.filter__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.filter__title { font-size: var(--text-xl); }
.filter__title:focus { outline: none; }
.filter__close { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: var(--color-ink); transition: background-color var(--dur-short) var(--ease-out); }
.filter__close:hover { background: var(--color-paper-2); }
.filter__close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.filter__form { display: grid; gap: var(--space-xl); }
.filter__group { display: grid; gap: var(--space-sm); min-width: 0; margin: 0; padding: 0; border: 0; }
.filter__legend { padding: 0; margin-bottom: var(--space-sm); font-weight: 500; }
.filter__kinds { display: grid; }
.filter__kind { display: flex; align-items: center; gap: var(--space-sm); min-height: 48px; cursor: pointer; }
.filter__kind input { width: 1.375rem; height: 1.375rem; margin: 0; accent-color: var(--color-ink); }
.filter__kind input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.filter__kind:hover span { text-decoration: underline; text-underline-offset: 0.22em; }
.filter__price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.filter__price .field label { font-weight: var(--weight-body); font-size: var(--text-sm); color: var(--color-ink-2); }
.filter__switches .switch:first-child { border-top: var(--rule-hair) solid var(--color-rule); }
.filter__foot { display: grid; justify-items: center; gap: var(--space-xs); }
.filter__foot .btn { min-height: 56px; }

/* with script, on a phone the open panel becomes a sheet over the page */
@media (max-width: 59.99rem) {
  .js .filter[open] > .filter__panel { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; flex-direction: column; gap: 0; padding: 0; background: var(--color-paper); animation: shop-fade var(--dur-long) var(--ease-out); }
  .js .filter[open] .filter__head { min-height: var(--masthead-h); padding: var(--space-xs) var(--gutter); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .js .filter[open] .filter__form { flex: 1; display: flex; flex-direction: column; gap: var(--space-xl); min-height: 0; padding: var(--space-lg) var(--gutter) 0; overflow-y: auto; overscroll-behavior: contain; }
  .js .filter[open] .filter__foot { position: sticky; bottom: 0; margin-top: auto; margin-inline: calc(-1 * var(--gutter)); padding: var(--space-md) var(--gutter) calc(var(--space-md) + env(safe-area-inset-bottom, 0px)); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-rule); }
}
@media (min-width: 60rem) {
  .js .filter > .filter__open { display: none; }
  .js .filter__head { display: none; }
  .filter__panel { padding-top: 0; }
  .filter__foot { justify-items: start; }
}

.sort { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space-xs) var(--space-sm); }
.sort__label { font-size: var(--text-sm); color: var(--color-ink-2); }
.sort__select { min-height: 48px; max-width: 14rem; padding-inline: var(--space-sm); border: var(--rule-hair) solid var(--color-ink-2); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out); }
.sort__select:hover { border-color: var(--color-ink); }
.sort__select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 30rem) { .sort__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .sort__select { max-width: 11rem; } }

.chips ul { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.chip { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding-inline: var(--space-md) var(--space-sm); border: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); font-size: var(--text-sm); text-decoration: none; transition: border-color var(--dur-short) var(--ease-out); }
.chip:hover { border-color: var(--color-ink); }
.chip:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.chips__all { margin-inline-start: var(--space-xs); font-size: var(--text-sm); }

.pager { margin-top: var(--space-3xl); }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2xs); }
.pager a { display: inline-grid; place-items: center; min-width: 48px; min-height: 48px; padding-inline: var(--space-sm); color: var(--color-ink-2); text-decoration: none; border-bottom: 1px solid transparent; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.pager a:hover { color: var(--color-ink); border-bottom-color: var(--color-rule); }
.pager a[aria-current] { color: var(--color-ink); border-bottom-color: var(--color-ink); font-weight: 600; }
.pager a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pager__step { padding-inline: var(--space-md); }

.cat__empty { display: grid; justify-items: start; gap: var(--space-lg); padding-block: var(--space-xl) var(--space-3xl); }
.cat__empty .actions { margin-top: 0; }
.cat__kinds { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.cat__kinds .link { min-height: 48px; }

/* ---------- the product page ---------- */

.product__in { display: grid; gap: var(--space-xl); }
@media (min-width: 60rem) {
  .product__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-4xl); align-items: start; padding-top: var(--space-xl); }
}

/* the gallery: a full-width swipe row on phones (the next photograph peeks in without script), a column on wide screens */
.gallery { position: relative; min-width: 0; margin-inline: calc(-1 * var(--gutter)); }
.gallery__track { display: flex; gap: var(--space-3xs); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.js .gallery__track { scrollbar-width: none; }
.js .gallery__track::-webkit-scrollbar { display: none; }
.gallery__shot { flex: 0 0 88%; aspect-ratio: 3 / 4; scroll-snap-align: start; background: var(--color-paper-2); }
.js .gallery__shot, .gallery--one .gallery__shot { flex-basis: 100%; }
.gallery__shot--none { display: grid; place-items: center; color: var(--color-muted); }
.gallery__zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__zoom:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; }
.gallery__zoom img { width: 100%; height: 100%; object-fit: cover; }
.gallery__pager { display: none; }
.js .gallery__pager { display: flex; align-items: center; justify-content: center; gap: var(--space-md); padding-top: var(--space-xs); }
.gallery__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: var(--color-ink); transition: background-color var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.gallery__btn:hover { background: var(--color-paper-2); }
.gallery__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.gallery__btn[aria-disabled="true"] { opacity: 0.35; cursor: default; }
[dir="rtl"] .gallery__btn svg { transform: scaleX(-1); }
.gallery__count { min-width: 4.5ch; font-size: var(--text-sm); text-align: center; color: var(--color-ink-2); }

@media (min-width: 60rem) {
  .gallery { margin-inline: 0; }
  .gallery__track { display: grid; gap: var(--space-3xs); overflow: visible; scroll-snap-type: none; }
  .js .gallery__pager { display: none; }
}

/* the buy panel */
.panel { display: grid; align-content: start; gap: var(--space-xl); min-width: 0; max-width: 34rem; }
@media (min-width: 60rem) {
  .panel { position: sticky; top: calc(var(--shop-head) + var(--space-xl)); max-height: calc(100vh - var(--shop-head) - var(--space-2xl)); padding: var(--space-3xs) var(--space-xs) var(--space-xl); margin-inline: calc(-1 * var(--space-xs)); overflow-y: auto; scrollbar-width: thin; }
}
.panel__name { font-size: var(--text-2xl); line-height: 1.25; }
.panel__price { margin-top: calc(-1 * var(--space-md)); }
.panel__price .price { font-size: var(--text-xl); font-variant-numeric: tabular-nums; }

.buy { display: grid; gap: var(--space-lg); }
.buy__stock { color: var(--color-ink-2); }
.buy__note { color: var(--color-ink-2); }

.pick { display: grid; gap: var(--space-sm); min-width: 0; margin: 0; padding: 0; border: 0; }
.pick:focus { outline: none; }
.pick:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
.pick__legend { float: inline-start; width: 100%; padding: 0; margin-bottom: var(--space-sm); font-weight: 500; }
.pick__legend + * { clear: both; }
.pick__error { font-weight: 500; color: var(--color-error); }
.pick__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); }
.pick__grid--words { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick__opt { position: relative; display: grid; place-items: center; min-height: 52px; padding: var(--space-xs); border: var(--rule-hair) solid var(--color-rule); text-align: center; line-height: 1.3; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out); }
.pick__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick__opt:hover { border-color: var(--color-ink); }
.pick__opt:has(input:checked) { border-color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-ink); font-weight: 600; }
.pick__opt:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.pick__opt:has(input:disabled) { border-color: var(--color-rule); color: var(--color-muted); cursor: not-allowed; }
.pick__opt:has(input:disabled) .pick__word { text-decoration: line-through; text-decoration-thickness: 1px; }
.pick__opt:has(input:disabled) input { cursor: not-allowed; }
.pick--error .pick__opt:not(:has(input:disabled)) { border-color: var(--color-error); }

.guide { margin-top: calc(-1 * var(--space-sm)); }
.guide__open { display: inline-flex; align-items: center; min-height: 48px; font-size: var(--text-sm); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; list-style: none; cursor: pointer; }
.guide__open::-webkit-details-marker { display: none; }
.guide__open:hover { text-decoration-thickness: 2px; }
.guide__open:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.guide__body { display: grid; gap: var(--space-sm); padding-block: var(--space-xs) var(--space-sm); }
.guide__table { width: 100%; max-width: 22rem; border-collapse: collapse; font-size: var(--text-sm); }
.guide__table th, .guide__table td { padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: start; }
.guide__table th { font-weight: 500; color: var(--color-ink-2); }
.guide__note { font-size: var(--text-sm); color: var(--color-ink-2); }

/* the garment's facts: label and value on one hairline row; each fibre on its own line, the percent isolated and aligned */
.spec { display: grid; gap: var(--space-sm); min-width: 0; }
.spec__list { border-top: var(--rule-hair) solid var(--color-rule); }
.spec__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.spec__row dt { font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink-2); }
.spec__row dd { min-width: 0; margin: 0; font-size: var(--text-md); line-height: 1.5; overflow-wrap: break-word; }
.spec__fibres { display: grid; gap: var(--space-3xs); }
.spec__fibres li { display: grid; grid-template-columns: 5ch minmax(0, 1fr); column-gap: var(--space-xs); }
/* the figure is its own left-to-right run in both directions, so its units digit and percent sign line up */
.spec__pct { display: block; text-align: end; font-variant-numeric: tabular-nums; }
.spec__part { font-size: var(--text-sm); color: var(--color-ink-2); }
.spec__fibres + .spec__part { margin-block-start: var(--space-xs); }
.spec__note { max-width: var(--measure); font-size: var(--text-sm); color: var(--color-ink-2); }
.spec--text p { max-width: var(--measure); color: var(--color-ink-2); }

/* under the button: one short line, then quiet links */
.assure { display: grid; justify-items: start; gap: var(--space-2xs); margin-top: calc(-1 * var(--space-md)); font-size: var(--text-sm); color: var(--color-ink-2); }
.assure__line { max-width: var(--measure); padding-block: var(--space-2xs); }
.assure__link { display: inline-flex; align-items: center; min-height: 48px; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out); }
.assure__link:hover { color: var(--color-ink); }
.assure__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.folds { border-bottom: var(--rule-hair) solid var(--color-rule); }
.fold { border-top: var(--rule-hair) solid var(--color-rule); }
.fold__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 56px; list-style: none; cursor: pointer; }
.fold__head::-webkit-details-marker { display: none; }
.fold__head:hover span { text-decoration: underline; text-underline-offset: 0.22em; }
.fold__head:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.fold__bar { transform-origin: center; transition: transform var(--dur-long) var(--ease-out); }
.fold[open] .fold__bar { transform: scaleY(0); }
.fold__body { display: grid; gap: var(--space-sm); padding-bottom: var(--space-lg); color: var(--color-ink-2); }
.fold__body p { max-width: var(--measure); }
.panel__sku { margin-top: calc(-1 * var(--space-md)); font-size: var(--text-sm); color: var(--color-muted); }

.more { margin-top: var(--section-gap); }
.more__h { margin-bottom: var(--space-xl); font-size: var(--text-xl); }

/* the bottom bar on phones: what she chose, the price, and the button */
.buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-sticky); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom, 0px)); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-rule); transition: opacity var(--dur-long) var(--ease-out); }
.buybar[data-away] { opacity: 0; pointer-events: none; }
.buybar__text { display: grid; min-width: 0; }
.buybar__choice { overflow: hidden; font-size: var(--text-sm); text-overflow: ellipsis; white-space: nowrap; }
.buybar .price { font-size: var(--text-sm); }
.buybar__go { padding-inline: var(--space-lg); }
@media (max-width: 59.99rem) { body:has(.buybar) .foot { padding-bottom: 84px; } }
@media (min-width: 60rem) { .buybar { display: none; } }

/* the photograph at full size */
.zoom { position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; overflow: auto; background: var(--color-paper-2); }
.zoom[open] { animation: shop-fade var(--dur-long) var(--ease-out); }
.zoom::backdrop { background: var(--color-scrim); }
.zoom__frame img { width: 100%; max-width: 1200px; height: auto; margin-inline: auto; }
.zoom__close { position: fixed; top: var(--space-md); inset-inline-end: var(--space-md); z-index: var(--z-raised); display: inline-grid; place-items: center; width: 48px; height: 48px; border: var(--rule-hair) solid var(--color-ink); background: var(--color-paper); color: var(--color-ink); transition: background-color var(--dur-short) var(--ease-out); }
.zoom__close:hover { background: var(--color-paper-3); }
.zoom__close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* pressed states */
.filter__open:active, .gallery__btn:active, .filter__close:active { background: var(--color-paper-3); }
.chip:active, .pick__opt:active { border-color: var(--color-ink-2); background: var(--color-paper-2); }
.pager a:active, .assure__link:active, .guide__open:active, .tile__link:active .tile__name { color: var(--color-ink-2); }
.zoom__close:active { background: var(--color-paper-3); }

@keyframes shop-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .tile__img--2, .buybar, .fold__bar, .gallery__btn { transition: none; }
  .zoom[open], .js .filter[open] > .filter__panel { animation: none; }
  .gallery__track { scroll-behavior: auto; }
}
:root[data-a11y-still] .tile__img--2, :root[data-a11y-still] .buybar, :root[data-a11y-still] .fold__bar { transition: none; }
:root[data-a11y-still] .zoom[open], :root[data-a11y-still] .filter__panel { animation: none; }

@media print {
  .buybar, .gallery__pager, .filter, .sort, .chips, .find, .zoom { display: none; }
}

/* ---------- the full look: the two pieces of a set side by side, their price together, one colour for both ---------- */

.look { display: grid; gap: var(--space-lg); margin-top: var(--section-gap); padding-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.look__h { font-size: var(--text-xl); }
.look__lede { max-width: 48ch; color: var(--color-ink-2); }
.look__pieces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; }
.look__piece { min-width: 0; }
.look__link { display: grid; gap: var(--space-xs); color: inherit; text-decoration: none; }
.look__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.look__frame { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-paper-2); }
.look__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look__name { font-size: var(--text-md); line-height: 1.4; overflow-wrap: break-word; min-width: 0; }
.look__link:hover .look__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.look__link[aria-current="page"] .look__name { color: var(--color-muted); }
.look__price { color: var(--color-ink-2); }
.look__sum { display: grid; gap: var(--space-md); align-content: start; }
.look__total { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); border-block: var(--rule-hair) solid var(--color-rule); font-size: var(--text-lg); }
.look__buy { display: grid; gap: var(--space-md); }
.look__note { color: var(--color-ink-2); }

@media (min-width: 60rem) {
  .look { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-3xl); align-items: start; }
  .look__h, .look__lede { grid-column: 1 / -1; }
  .look__pieces { grid-column: 1; }
  .look__sum { grid-column: 2; position: sticky; top: calc(var(--masthead-h) + var(--space-lg)); }
}
