/* Shared on-demand bottle inspector on home and collection. */
.bv [hidden] { display:none!important; }
#vote-lightbox { position: fixed; inset: 0; border: 0; margin: 0; padding: 0; max-width: 100%; max-height: 100%; width: 100%; height: 100%; height: 100dvh; background: var(--bg); color: var(--ink); overscroll-behavior: contain; }
#vote-lightbox::backdrop { background: var(--bg); }
.bv-shell { display: flex; flex-direction: column; height: 100%; max-width: 1600px; margin: auto; padding: max(20px,env(safe-area-inset-top)) clamp(20px,5vw,72px) max(20px,env(safe-area-inset-bottom)); }
.bv-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-shrink: 0; padding: 0; }
.bv-eyebrow { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-65); }
.bv-header h2 { font: 400 clamp(26px,3vw,40px)/1.2 'Playfair Display',serif; margin: 8px 0 0; letter-spacing: -.025em; }
.bv button { -webkit-tap-highlight-color: transparent; color: var(--ink); background: transparent; }
.bv button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.bv .bv-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; padding: 10px; border: 1px solid var(--ink-25); border-radius: 50%; }
.bv-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.bv-stage { position: relative; flex: 1 1 0; min-height: 120px; margin: 12px 0; overflow: hidden; border-radius: 3px; background: radial-gradient(ellipse at 50% 60%,rgba(182,165,119,.09),transparent 65%); }
.bv-model, .bv-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.bv-model { background-position: center; background-repeat: no-repeat; background-size: contain; }
.bv-model model-viewer { display: block; width: 100%; height: 100%; outline: none; --progress-bar-height: 0px; --poster-color: transparent; }
.bv-photo { display: block; object-fit: contain; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.bv-loading { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); text-align: center; padding: 10px 18px; font-size: 11px; color: var(--ink-65); background: var(--bg); border-radius: 4px; pointer-events: none; }
.bv-loading progress { display: block; width: 120px; height: 2px; margin: 10px auto 0; border: 0; appearance: none; background: var(--ink-12); accent-color: var(--green); }
.bv-loading progress::-webkit-progress-bar { background: var(--ink-12); }
.bv-loading progress::-webkit-progress-value { background: var(--green); }
.bv-loading progress::-moz-progress-bar { background: var(--green); }
#vote-lightbox .bv-footer { display: block; flex-shrink: 0; text-align: center; border: 0; padding: 0; }
.bv-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; }
.bv-views { display: flex; align-items: center; padding: 3px; border: 1px solid var(--ink-25); border-radius: 32px; }
.bv-views button { min-height: 44px; padding: 8px 20px; border: 0; border-radius: 24px; font-size: 11px; }
.bv-views button[aria-pressed="true"] { color: var(--bg); background: var(--green); }
.bv-zoom { display: flex; align-items: center; gap: 8px; }
.bv-controls button:disabled { opacity: .4; cursor: default; }
.bv-hint { margin: 16px 0 0; font-size: 10px; line-height: 1.5; letter-spacing: .035em; color: var(--ink-65); }
.bv-touch-hint { display: none; }
.bv-modes { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 8px; font-size: 10px; color: var(--ink-25); }
.bv-modes button { min-height: 40px; padding: 6px 0; border: 0; color: var(--ink-65); }
.bv-modes button[aria-pressed="true"] { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.bv-error { font-size: 12px; line-height: 1.6; color: var(--ink-65); }
.bv-error p { margin: 0; }
.bv-error button { min-height: 44px; padding: 8px 12px; border: 0; text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) { .bv button:not(:disabled):hover { color: var(--green); border-color: var(--green); } .bv-views button[aria-pressed="true"]:hover { color: var(--bg); } }
@media (pointer: coarse) { .bv-desktop-hint { display: none; } .bv-touch-hint { display: inline; } }
@media (max-width: 480px) { .bv-views button { padding: 8px 15px; } .bv-controls { gap: 12px; } .bv-header h2 { font-size: 28px; } .bv-hint { margin-top: 12px; } }
@media (max-height: 500px) { .bv-shell { padding-top: 12px; padding-bottom: 8px; } .bv-header h2 { font-size: 24px; } .bv-eyebrow, .bv-hint { display: none; } #vote-lightbox .bv-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; } .bv-modes { margin: 0; } .bv-stage { margin: 4px 0; } }
