/* colour fields */
.field { position: relative; overflow: hidden; isolation: isolate; }
.field::after { content: ''; position: absolute; inset: 0; background-image: var(--grain); background-size: 180px; opacity: 0.32; mix-blend-mode: overlay; pointer-events: none; z-index: 1; }
.frame-btn { display: block; width: 100%; padding: 0; border: none; background: none; border-radius: 22px; }
.frame { display: block; aspect-ratio: 4 / 5; border-radius: 22px; container-type: inline-size; transition: transform 0.35s cubic-bezier(.2, .7, .2, 1); }
.frame-btn:hover .frame { transform: scale(0.985); }
/* portrait frames: a generic bottle in focus, soft blurred light behind it */
.portrait { position: relative; overflow: hidden; isolation: isolate; background: hsl(var(--h) 42% 8%); }
.portrait .bg { position: absolute; inset: 0; background: radial-gradient(62% 48% at 50% 44%, hsl(var(--h) 78% 40% / 0.9), transparent 74%), radial-gradient(90% 55% at 12% 0%, hsl(calc(var(--h) + 26) 80% 38% / 0.65), transparent 72%), linear-gradient(180deg, hsl(var(--h) 38% 13%) 0%, hsl(var(--h) 45% 6%) 100%); }
.portrait .bokeh { position: absolute; inset: 0; filter: blur(2.5px); mix-blend-mode: screen; }
.portrait .bokeh i { position: absolute; border-radius: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, hsl(var(--bh) 96% 70% / var(--bo)) 0 60%, hsl(var(--bh) 96% 70% / calc(var(--bo) * 0.4)) 68%, transparent 73%); }
.portrait .bokeh i.far { filter: blur(7px); }
.portrait .table { position: absolute; left: 0; right: 0; bottom: 0; height: 21%; background: linear-gradient(180deg, hsl(var(--h) 30% 14% / 0), hsl(var(--h) 35% 9% / 0.92) 45%); border-top: 1px solid hsl(var(--h) 70% 72% / 0.14); }
.portrait .vig { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.45)); z-index: 3; pointer-events: none; }
.portrait::after { content: ''; position: absolute; inset: 0; background-image: var(--grain); background-size: 180px; opacity: 0.2; mix-blend-mode: overlay; pointer-events: none; z-index: 4; }
.portrait .bottle { position: absolute; left: 50%; bottom: 13%; height: 72%; width: auto; transform: translateX(-50%); z-index: 2; overflow: visible; }
.portrait.hero-shot .bottle { height: 76%; bottom: 11%; }
.portrait .cut { position: absolute; left: 12%; bottom: 10%; width: 76%; height: 76%; object-fit: contain; z-index: 2; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.5)); }
.cap-notes { position: absolute; left: 7cqw; right: 7cqw; bottom: 4cqw; z-index: 5; font-size: max(11px, 5.4cqw); font-weight: 600; color: rgba(255, 255, 255, 0.92); line-height: 1.15; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.tag-badge { position: absolute; top: 10px; z-index: 6; border-radius: 999px; padding: 3px 10px; font-size: 0.78rem; font-weight: 700; }
.tag-badge.off { left: 10px; background: var(--accent); color: var(--on-accent); }
.tag-badge.sample { right: 10px; border: 1.5px dashed rgba(255, 255, 255, 0.7); color: #fff; background: rgba(0, 0, 0, 0.2); font-weight: 600; }
.th { position: relative; }
.th .frame { border-radius: inherit; }
.card { min-width: 0; }
.card .meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 12px; }
.card h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.card .sub { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.card .price { margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; font-variant-numeric: tabular-nums; }
.card .price b { font-weight: 700; }
.card .price s { color: var(--muted); font-size: 0.86rem; }
.card .low { color: var(--warn); font-size: 0.82rem; font-weight: 500; }
.plus { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; display: grid; place-items: center; transition: background 0.15s, color 0.15s, transform 0.15s; }
.plus:hover { background: var(--ink); color: var(--on-ink); }
.plus:active { transform: scale(0.9); }
.plus[disabled] { opacity: 0.35; cursor: not-allowed; }
.plus svg { width: 18px; height: 18px; }
