/* The Boutique (boutique.html, js/bk-boutique.js). Only bk- classes; lk- classes are used as they are, never restyled. */
.bk-shop-lead { margin: 0 0 .4rem; color: var(--lk-soft); font-size: 1rem; text-wrap: pretty; }
.bk-shop-me { margin-top: .6rem; }
.bk-shop-me .lk-busy { min-height: 2.8rem; }
.bk-shop-p { margin: .4rem 0 0; color: var(--lk-soft); }
.bk-shop-break { display: grid; gap: .15rem; margin: .2rem 0 .7rem; padding: .7rem .9rem; border-radius: 1rem; background: rgba(255, 79, 147, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 79, 147, .45); line-height: 1.35; }
.bk-shop-break b { font-weight: 800; } .bk-shop-break span { color: var(--lk-soft); font-size: .94rem; }
.bk-shop-act { margin-top: 1rem; }
.bk-shop-sec { padding-inline: var(--lk-pad); }
.bk-shop-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .8rem 1.5rem; }
.bk-shop-kinds { max-width: 100%; }
.bk-shop-sub { margin: .8rem 0 0; max-width: 40rem; color: var(--lk-soft); font-size: 1.04rem; text-wrap: pretty; }
.bk-shop-sec > .lk-msg { margin-top: 1rem; }

/* the grid: the whole shop, 2 columns on phones, 3 from 760px, 4 from 1100px */
.bk-shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1.2rem; }
@media (min-width: 760px) { .bk-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; } }
@media (min-width: 1100px) { .bk-shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* the shelf on the counter (in the hero card, above the fold): four looks side by side, scrolling inside itself on phones */
.bk-shelf:empty { display: none; }
.bk-shelf { margin: .8rem 0 .2rem; }
.bk-shelf-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 .4rem; color: var(--lk-gold); font-weight: 800; font-size: .95rem; }
.bk-shelf-h .lk-link { font-size: .9rem; }
.bk-shelf-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(8.4rem, 1fr); gap: .5rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 -.3rem; padding: .3rem; }
.bk-shelf-row::-webkit-scrollbar { display: none; }
.bk-look.is-shelf { padding: .45rem .45rem .6rem; }
.bk-look.is-shelf .bk-look-art { margin-bottom: .35rem; }
.bk-look.is-shelf .bk-look-where, .bk-look.is-shelf .bk-look-desc, .bk-look.is-shelf .bk-look-note:empty { display: none; }
.bk-look.is-shelf .bk-look-name { font-size: 1rem; }
.bk-look.is-shelf .bk-look-act { margin-top: .4rem; }
.bk-look.is-shelf .bk-look-act .lk-btn { width: 100%; padding: 0 .5rem; }

/* one look */
.bk-look { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .7rem 1rem; }
.bk-look.is-worn { box-shadow: inset 0 0 0 2px var(--lk-gold); }
.bk-look-art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: .6rem; border-radius: 1rem; overflow: hidden;
  background: radial-gradient(circle at 50% 46%, rgba(246, 196, 83, .2), transparent 62%), linear-gradient(160deg, #2b1424, #120610); }
.bk-look-art--tray { background: radial-gradient(circle at 50% 50%, rgba(255, 79, 147, .2), transparent 62%), linear-gradient(160deg, #2a1236, #110716); }
.bk-look-art--cloche { background: radial-gradient(circle at 50% 50%, rgba(246, 196, 83, .16), transparent 60%), linear-gradient(160deg, #10282b, #071214); }
.bk-look-art--oven { background: radial-gradient(circle at 50% 70%, rgba(255, 155, 74, .22), transparent 60%), linear-gradient(160deg, #3a1420, #160710); }
.bk-look-art--celebration { background: radial-gradient(circle at 50% 40%, rgba(73, 224, 255, .14), transparent 60%), linear-gradient(160deg, #1b1033, #0b0618); }
.bk-look-art svg { width: 86%; height: 86%; }
.bk-look-tag { position: absolute; top: .55rem; left: .55rem; }
.bk-look-name { margin: 0 .3rem; font-size: 1.2rem; letter-spacing: -.02em; }
.bk-look-where { margin: 0 .3rem; color: var(--lk-gold); font-weight: 700; font-size: .86rem; }
.bk-look-desc { flex: 1; margin: .3rem .3rem 0; color: var(--lk-soft); font-size: .94rem; line-height: 1.4; text-wrap: pretty; }
@media (max-width: 759px) {                               /* two columns on phones: the short version of each look */
  .bk-shop-grid .bk-look { padding: .5rem .5rem .7rem; }
  .bk-shop-grid .bk-look-desc { display: none; }
  .bk-shop-grid .bk-look-name { font-size: 1.02rem; }
  .bk-shop-grid .bk-look-price span { display: block; }
  .bk-shop-grid .bk-look-act { flex-direction: column; align-items: stretch; }
  .bk-shop-grid .bk-look-act .lk-btn { padding: 0 .5rem; }
}
.bk-look.is-soon .bk-look-art > svg { opacity: .55; filter: saturate(.6); }
.bk-look.is-soon .bk-look-tag { background: rgba(255, 255, 255, .14); color: var(--lk-text); }
.bk-look-soon b { color: var(--lk-soft); }
.bk-look-price { margin: .6rem .3rem 0; font-variant-numeric: tabular-nums; }
.bk-look-price b { font-weight: 800; } .bk-look-price span { color: var(--lk-soft2); font-size: .9rem; }
.bk-look-act { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .7rem .3rem 0; }
.bk-look-act .lk-btn { flex: 1 1 auto; }
.bk-look-buy[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.bk-look-buy.is-armed { background: var(--lk-pink2); box-shadow: 0 0 0 3px rgba(255, 79, 147, .35); }
.bk-look-wear[aria-pressed="true"] { background: rgba(246, 196, 83, .16); box-shadow: inset 0 0 0 1.5px var(--lk-gold); color: var(--lk-gold); }
.bk-look-note { min-height: 1.3em; margin: .5rem .3rem 0; color: var(--lk-soft); font-size: .9rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.bk-look-note:empty { display: none; }
.bk-look-note.is-bad { color: #ff9db5; }
.bk-look-note .lk-linkbtn { min-height: 44px; }
.bkc-tx { color: var(--lk-link); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

/* the Bar */
.bk-bar-mount { margin-top: 1.4rem; }
.bk-bar-card { display: grid; gap: 1rem; align-items: center; max-width: 46rem; }
@media (min-width: 600px) { .bk-bar-card { grid-template-columns: minmax(7rem, 10rem) 1fr; } }
.bk-bar-card-seat { display: grid; place-items: center; min-height: 9rem; --sw: 7.4rem; }
.bk-bar-card-info .lk-row:first-child { border-top: 0; }
.bk-bar-card-info .lk-row small { display: inline; margin-left: .3rem; }
.bk-shop-sec .bk-bar-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0 1.5rem; max-width: 46rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.bk-shop-sec .bk-bar-menu li { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; min-height: 2.6rem; padding: .45rem 0; border-top: 1.5px solid var(--lk-rule); color: var(--lk-soft); font-size: .95rem; }
.bk-shop-sec .bk-bar-menu li b { color: var(--lk-strong); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* the fine print */
.bk-shop-rules { max-width: 46rem; }
.bk-shop-h3 { margin: 0 0 .7rem; font-size: 1.5rem; }
.bk-shop-back { max-width: 46rem; margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) { .bk-look-buy { transition: none; } }

/* r6: the four looks with a 3D render, cut into their card (no square edges); the counter's cards aligned; the Bar as a menu board */
.bk-look-art:has(.bk-look-render) { background: radial-gradient(circle at 50% 55%, rgba(255, 196, 120, .16), transparent 62%), linear-gradient(160deg, #2a1033, #12061a); }
.bk-look-render { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; transform: scale(1.12);
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.bk-look.is-soon .bk-look-art > .bk-look-render { opacity: .6; filter: saturate(.7); }
.bk-shelf-row .bk-look { display: flex; flex-direction: column; }
.bk-shelf-row .bk-look-name { min-height: 2.4em; display: flex; align-items: flex-end; line-height: 1.15; text-wrap: balance; }
.bk-shelf-row .bk-look-act { margin-top: auto; display: grid; gap: .35rem; }
.bk-shelf-row .bk-look-act .lk-btn { width: 100%; justify-content: center; }
/* the Bar's menu board: a framed slate, chalk lettering, dotted leaders to the price */
.bk-shop-sec .bk-bar-menu { padding: 1rem 1.2rem 1.1rem; border-radius: 1rem; background: radial-gradient(120% 80% at 30% 10%, #2e3a36, #1a2320 60%, #131a18);
  border: .6rem solid #6a3c18; border-image: linear-gradient(180deg, #8a5226, #4a2810 60%, #2a1608) 1; box-shadow: inset 0 0 2rem rgba(0, 0, 0, .55), 0 1rem 2rem rgba(0, 0, 0, .45); }
.bk-shop-sec .bk-bar-menu li { border-top: 0; color: #e9efe9; font-family: Kalam, cursive; font-weight: 700; font-size: 1.12rem; }
.bk-shop-sec .bk-bar-menu li span { display: flex; flex: 1; align-items: baseline; gap: .5rem; min-width: 0; }
.bk-shop-sec .bk-bar-menu li span::after { content: ""; flex: 1; min-width: 1rem; border-bottom: 2px dotted rgba(233, 239, 233, .35); translate: 0 -.3rem; }
.bk-shop-sec .bk-bar-menu li b { color: #ffe39a; font-family: Kalam, cursive; font-weight: 700; }
@media (max-width: 759px) {
  /* r8: no ring cameo (it showed only her rollers and eyes). The same half-body cut-in as the games: waist-up, her face in full view,
     standing behind the card's top edge (the card covers her waist), her line beside her */
  .bk-shop-split > .lk-wife { grid-template-columns: 9.4rem minmax(0, 1fr); align-items: center; column-gap: .45rem; margin-bottom: -1.5rem; }
  .bk-shop-split > .lk-wife .lk-shot { position: relative; align-self: end; width: 9.4rem; height: 10.4rem; aspect-ratio: auto; border-radius: 0; overflow: visible; clip-path: none; box-shadow: none;
    background: radial-gradient(48% 42% at 50% 40%, rgba(255, 79, 147, .4), rgba(255, 79, 147, 0) 75%); }
  .bk-shop-split > .lk-wife .lk-shot::before, .bk-shop-split > .lk-wife .lk-shot::after { content: none; }
  .bk-shop-split > .lk-wife .lk-shot img { position: absolute; left: 50%; top: auto; bottom: 0; width: auto; height: 100%; max-width: none; translate: -50% 0; transform: none; object-fit: contain;
    filter: drop-shadow(0 .6rem 1rem rgba(0, 0, 0, .5)); -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 96%); mask-image: linear-gradient(180deg, #000 76%, transparent 96%); }
  .bk-shop-split > .lk-wife .lk-say { align-self: center; margin: 0 0 1.4rem; transform: rotate(1.5deg); }
  .bk-shop-split > .lk-wife .lk-say q { font-size: clamp(1.05rem, 4.6vw, 1.3rem); }
}
/* ============================================================== r7 (15 Nov review) */
/* "On the counter": only the four looks with their 3D render. From 760px a 2x2 grid (nothing cut, nothing hidden); on a phone a row
   that shows the next card peeking in, with a fade that says it scrolls */
.bk-shelf-row { grid-auto-columns: minmax(9.6rem, 62%); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent); padding-right: 2rem; }
@media (min-width: 760px) {
  .bk-shelf-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: .3rem; }
}
/* a look without its render yet: the boutique's own monogram label (no flat picture next to the renders) */
.bk-look-mono { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 50% 45%, rgba(246, 196, 83, .14), transparent 60%), linear-gradient(160deg, #2a1033, #12061a); }
.bk-look-mono b { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; font-family: Shrikhand, Georgia, serif; font-size: 1.6rem; font-weight: 400; color: var(--lk-gold);
  box-shadow: inset 0 0 0 1.5px rgba(246, 196, 83, .7), 0 0 0 5px rgba(246, 196, 83, .08); }
.bk-look.is-soon .bk-look-mono b { opacity: .6; }
/* (desktop) her picture fades by its own mask: no flat rectangle of the page colour over the brick under her */
.lk-split.bk-shop-split > .lk-wife .lk-shot::after { content: none; }
.lk-split.bk-shop-split > .lk-wife .lk-shot img { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 97%); mask-image: linear-gradient(180deg, #000 72%, transparent 97%); }
/* ============================================================== r8 (15 Nov review) */
/* the renders whole: the art box is 4:3 when it holds a render, the render is its own square in the middle (contain, no scale), and
   its edges fade softly into the box (top, bottom and both sides), so the oven's base, the frame, the badge, the mannequin's top
   and the porcelain stand are never cut. (A radial mask would eat the corners of the velvet stands, which reach them.) */
.bk-look-art:has(.bk-look-render) { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 55%, rgba(255, 196, 120, .12), transparent 62%), linear-gradient(160deg, #241030, #12061a); }
.bk-look-art .bk-look-render { position: absolute; inset: 0; margin: auto; width: auto; height: 100%; max-width: 100%; aspect-ratio: 1; object-fit: contain; object-position: 50% 50%; transform: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
/* a price you can't afford yet: the disabled look at full strength (it was see-through, 3.4:1); its words at 4.5:1 or better */
.bk-look-buy[aria-disabled="true"], .bk-look-buy[aria-disabled="true"]:hover { opacity: 1; background: #3a2430; color: #d2c0ca; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.bk-look-art:has(.bk-look-render)::before { content: ""; position: absolute; inset: -12%; background: var(--art) center / cover no-repeat; filter: blur(16px) brightness(.5) saturate(1.15); pointer-events: none; }
.bk-look-art .bk-look-tag { z-index: 1; }
/* ============================================================== r10 (15 Nov review) */
/* phones: the Spoons and CRO price buttons share one row (each 44px tall; the Spoons one shows its spoon instead of the word), the
   price line above them steps aside when both buttons say the prices, and the note says what is missing in one short line ("Need
   3,100 more"), so the shop is about half as long. A button that grows (the second tap) lets the other wrap under it */
.bk-look-spoon { display: none; }
.bk-look-note { text-wrap: pretty; }
@media (max-width: 759px) {
  .bk-shop-grid .bk-look.has-cro .bk-look-price { display: none; }
  .bk-shop-grid .bk-look-act { flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: .3rem; margin-top: .55rem; }
  .bk-shop-grid .bk-look-act .lk-btn { flex: 1 1 auto; min-width: 0; padding: 0 .45rem; gap: .25rem; font-size: .86rem; }
  .bk-shop-grid .bk-look-act .bk-look-buy { flex-grow: 1.4; }
  .bk-shop-grid .bk-look-buy .bk-look-u { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bk-shop-grid .bk-look-buy .bk-look-spoon { display: inline-flex; }
  .bk-look-spoon svg { width: 1rem; height: 1rem; }
  .bk-shop-grid .bk-look-name { line-height: 1.2; }
  .bk-shop-grid .bk-look-note { margin-top: .4rem; font-size: .86rem; }
}
/* ============================================================== r11 (15 Nov review, 8.7) */
/* desktops from 1200px: the shop gets the room (it sat in a 27rem column while she and an empty wall took about 60%): she keeps the left
   column, narrower, and the counter's four looks stand in one row */
@media (min-width: 1200px) and (min-height: 600px) {
  .lk-split.bk-shop-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
  .bk-shop-split .bk-shelf-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* phones: the filter row fades out at its scroll edge (it was cut hard at "Out"), and its last pill can scroll clear of the fade */
@media (max-width: 759px) {
  .bk-shop-kinds { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.4rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.4rem), transparent); padding-right: 2.2rem; }
}
/* the price button's spoon at about 18px: big enough to read as a spoon (it was 16px) */
.bk-look-spoon svg { width: 1.15rem; height: 1.15rem; }
/* ============================================================== r13 (15 Nov review, 8.4) */
/* polish 9: one price-button style in the whole shop (the counter's said "5,000 Spoons", the rails' a spoon and "5,000"): the spoon and
   the figure everywhere, at every width (the button's name still says "for 5,000 Spoons"); where a look is worn ("On you, at the
   tables") its last two words stay together, so "tables" never sits alone at 320 */
.bk-look-buy .bk-look-u { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bk-look-buy .bk-look-spoon { display: inline-flex; flex: none; }
.bk-look-buy { gap: .3rem; }
.bk-look-where { text-wrap: balance; }
