/* lxv-vault-pairshop.css — Pair and Shop inside the Vault (spec 94 FIX-5/6, 2026-11-13).
   Loaded only with LXV_VAULT_PAIR / LXV_VAULT_SHOP. Tokens only: every colour, size, space and radius is a var from
   lxv-vault.css :root. Everything is scoped to .v-ps-* so the rest of the Vault cannot change. */

/* Prices */
.v-ps-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-1) var(--sp-2); min-width: 0; }
.v-ps-price__now { font-weight: 600; font-size: var(--fs-body); color: var(--v-ink); }
.v-ps-price__tag { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--v-accent-text); }
.v-ps-price__was { font-size: var(--fs-small); color: var(--v-muted); }
.v-ps-price__note { font-size: var(--fs-small); color: var(--v-muted); }
.v-ps-signin {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0; border: 0; background: none;
  font: inherit; font-size: var(--fs-small); font-weight: 600; color: var(--v-accent-text); text-align: left; text-decoration: underline; cursor: pointer;
}

/* "In your cellar" badge */
.v-ps-own {
  display: inline-flex; align-items: center; gap: var(--sp-1); align-self: flex-start; max-width: 100%;
  padding: var(--sp-1) var(--sp-3); border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--v-ok) 14%, var(--v-surface)); color: var(--v-ok);
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.v-ps-own__ico { width: var(--sp-4); height: var(--sp-4); flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Shop grid */
.v-ps-grid { align-items: stretch; }
.v-ps-tile { height: 100%; }
.v-ps-tile .v-tile__body { flex: 1; gap: var(--sp-2); }
.v-ps-img { aspect-ratio: 4 / 5; background-size: contain; background-color: var(--v-sunk); }
.v-ps-img.v-tile__img--none { aspect-ratio: auto; }
.v-ps-tile.is-target { box-shadow: 0 0 0 2px var(--v-gold), var(--v-shadow); }
.v-ps-acts { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.v-ps-acts .v-link { min-height: var(--tap); display: inline-flex; align-items: center; }
.v-ps-incart { display: inline-flex; align-items: center; min-height: var(--tap); }

/* List rows (buy again, pairing shop matches) */
.v-ps-row { gap: var(--sp-3); align-items: center; }
.v-ps-row .v-item__main { min-width: 0; gap: var(--sp-1); }
.v-ps-row > .v-btn, .v-ps-row > .v-ps-incart { flex: none; }

/* Sign-in prompts: text wraps inside the card, button sizes to its label */
.v-ps-guest { gap: var(--sp-3); }
.v-ps-guest .v-item__main { min-width: 0; }
.v-ps-guest .v-btn { flex: none; }

/* Pair */
.v-ps-hint { margin: 0; }
.v-ps-dishes .v-chip { max-width: 70vw; overflow: hidden; text-overflow: ellipsis; }
.v-ps-cellar { display: flex; flex-direction: column; gap: var(--sp-2); border: 1px solid var(--v-gold); }
.v-ps-cellar .v-h2 { overflow-wrap: anywhere; }
.v-ps-cellar .v-row-btns { margin-top: var(--sp-2); }
.v-ps-also { margin: 0; }
.v-ps-empty { display: flex; flex-direction: column; gap: var(--sp-2); }
.v-ps-recipe { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; }
.v-ps-recipe .v-item__main { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.v-ps-recipe .v-link { flex: none; }

/* Pair: small bottle shots */
.v-ps-bottle { width: 40px; height: 40px; flex: none; background-size: contain; background-repeat: no-repeat; background-position: center; }
.v-ps-cellar__head { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; }
