/* Shared wishlists: the owner's switch, the "View wishlist" button on profiles, and the gift-guide dialog. */
.ws-owner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; margin: 0 0 20px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-card); }
.ws-owner h3 { margin: 0 0 6px; font: 650 1.0625rem/1.3 var(--font-ui, Inter, system-ui, sans-serif); color: var(--ink); }
.ws-owner p { margin: 0 0 6px; font-size: .875rem; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.ws-fine { font-size: .8125rem !important; }
.ws-owner-controls { display: grid; gap: 10px; justify-items: stretch; }
.ws-status-line { grid-column: 1 / -1; margin: 0 !important; min-height: 1.3em; font-weight: 600; color: var(--accent-color) !important; }
.ws-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 16px 4px 6px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink); font: inherit; font-size: .875rem; font-weight: 650; cursor: pointer; }
.ws-switch-track { position: relative; width: 44px; height: 26px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 20%, transparent); transition: background-color .25s; }
.ws-switch-track i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-card); box-shadow: 0 1px 4px #0005; transition: transform .28s cubic-bezier(.3, 1.4, .5, 1); }
.ws-switch[aria-checked="true"] .ws-switch-track { background: var(--accent-color); } .ws-switch[aria-checked="true"] .ws-switch-track i { transform: translateX(18px); }
.ws-switch:focus-visible, .ws-claim:focus-visible, .ws-link:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }

.ws-profile { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; justify-items: start; }
.ws-profile .ws-fine { margin: 0; color: var(--muted); }

.shared-wishlist { width: min(720px, calc(100vw - 24px)); max-height: min(88vh, 900px); padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-surface, var(--bg-card)); color: var(--ink); overflow: auto; }
.shared-wishlist .dialog-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 0; border: 0; background: none; }
.shared-wishlist .dialog-top h2 { margin: 4px 0 0; font: 400 1.75rem/1.15 var(--studio-serif, Georgia, serif); letter-spacing: -.015em; outline: none; overflow-wrap: anywhere; }
.shared-wishlist .eyebrow { font: 650 .6875rem/1.3 var(--font-ui, Inter, system-ui, sans-serif); letter-spacing: .14em; color: var(--accent-color); }
.ws-note { margin: 14px 0 18px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--accent-color) 35%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--accent-color) 9%, var(--bg-card)); font-size: .875rem; line-height: 1.55; color: var(--ink); }
.ws-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ws-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card); transition: border-color .2s, opacity .2s; }
.ws-item.is-taken { border-color: color-mix(in srgb, var(--accent-color) 30%, var(--line)); }
.ws-art { display: grid; place-items: center; width: 64px; height: 84px; padding: 0; border: 0; background: none; cursor: pointer; }
.ws-bottle { display: block; width: 100%; height: 100%; } .ws-art img { width: 100%; height: 100%; object-fit: contain; }
.ws-copy { display: grid; gap: 2px; min-width: 0; }
.ws-brand { font: 650 .6875rem/1.3 var(--font-ui, Inter, system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ws-copy strong { font: 400 1.25rem/1.2 var(--studio-serif, Georgia, serif); overflow-wrap: anywhere; } .ws-copy small { font-size: .8125rem; color: var(--muted); }
.ws-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.ws-link { padding: 0; min-height: 32px; border: 0; background: none; color: var(--accent-color); font: inherit; font-size: .8125rem; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ws-claim-area { display: grid; gap: 6px; justify-items: end; }
.ws-claim { min-height: 42px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--ink); color: var(--bg-main, Canvas); font: inherit; font-size: .875rem; font-weight: 650; cursor: pointer; transition: transform .2s; } .ws-claim:hover { transform: translateY(-1px); }
.ws-claim-area .secondary { min-height: 38px; padding: 0 14px; font-size: .8125rem; }
.ws-status { padding: 4px 12px; border-radius: 99px; font-size: .8125rem; font-weight: 650; background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--muted); }
.ws-status.is-mine { background: color-mix(in srgb, #2f8f5b 20%, transparent); color: color-mix(in srgb, #2f8f5b 80%, var(--ink)); }
.ws-empty { margin: 0; padding: 22px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); }
.ws-message { margin: 12px 0 0; min-height: 1.3em; font-size: .875rem; font-weight: 600; color: var(--accent-color); }
@media (max-width: 620px) { .ws-owner { grid-template-columns: minmax(0, 1fr); } .ws-item { grid-template-columns: 56px minmax(0, 1fr); } .ws-claim-area { grid-column: 1 / -1; justify-items: stretch; } .ws-claim { width: 100%; } .shared-wishlist { padding: 18px 14px; } }
@media (prefers-reduced-motion: reduce) { .ws-switch-track, .ws-switch-track i, .ws-claim, .ws-item { transition: none; } }
html[data-motion="off"] .ws-switch-track, html[data-motion="off"] .ws-switch-track i, html[data-motion="off"] .ws-claim { transition: none; }
