/* Boho Virtual Try-On. Uses the Boho child theme's tokens when present,
   with fallbacks so it also looks right under any other theme. */
.bvto{margin:14px 0 0;clear:both}
.bvto-button{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:12px 16px;border:1px solid var(--bk-gold,#c2a245);border-radius:var(--bk-radius-lg,8px);background:var(--bk-paper,#fffdf8);color:var(--bk-ink,#1d1913);font:inherit;text-align:left;cursor:pointer;transition:background-color .2s,box-shadow .2s,transform .2s}
.bvto-button:hover{background:var(--bk-soft,#f4ebcf);box-shadow:0 12px 24px -18px rgba(133,103,20,.8);transform:translateY(-1px)}
.bvto-button:focus-visible{outline:2px solid var(--bk-gold-deep,#856714);outline-offset:3px}
.bvto-button__icon{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--bk-foil,linear-gradient(118deg,#b3922f,#ecd985,#b3922f));color:var(--bk-ink,#1d1913)}
.bvto-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.bvto-button__text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.bvto-button__text strong{font-size:1rem;font-weight:500;line-height:1.3}
.bvto-button__text small{font-size:.8125rem;line-height:1.35;color:var(--bk-muted,#6c6457)}
.bvto-button__chevron{flex:none;width:16px!important;height:16px!important;color:var(--bk-gold-deep,#856714)}
.bvto-tag{position:absolute;z-index:3;left:12px;bottom:auto;top:44px;display:inline-flex;padding:5px 11px;border-radius:30px;background:rgba(255,255,255,.94);color:var(--bk-ink,#1d1913);font-size:.75rem;font-weight:500;line-height:1.3;box-shadow:inset 0 0 0 1px var(--bk-line,#e8dfc8)}
li.product:not(:has(.bk-badge)) .bvto-tag{top:12px}

/* Panel */
.bvto-dialog{width:min(480px,100%);height:min(860px,100dvh);max-width:100%;max-height:100dvh;margin:0 0 0 auto;padding:0;border:0;background:var(--bk-paper,#fffdf8);color:var(--bk-ink,#1d1913);box-shadow:-18px 0 60px rgba(0,0,0,.22)}
.bvto-dialog[open]{display:flex;flex-direction:column;animation:bvto-in .3s cubic-bezier(.2,.65,.3,1)}
.bvto-dialog::backdrop{background:rgba(22,18,12,.5)}
@keyframes bvto-in{from{transform:translateX(40px);opacity:.6}}
.bvto-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px 12px 18px;border-bottom:1px solid var(--bk-line,#e8dfc8)}
.bvto-dialog__title{margin:0;padding:0;font-size:1rem;font-weight:500;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bvto-dialog__title small{display:block;font-size:.75rem;font-weight:400;color:var(--bk-muted,#6c6457);overflow:hidden;text-overflow:ellipsis}
.bvto-dialog__tools{display:flex;align-items:center;gap:4px;flex:none}
.bvto-dialog__tab{padding:8px 10px;font-size:.8125rem;color:var(--bk-gold-deep,#856714);text-decoration:underline;text-underline-offset:3px}
.bvto-dialog__close{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer}
.bvto-dialog__close:hover{background:var(--bk-soft,#f4ebcf)}
.bvto-dialog__close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.bvto-dialog__frame{flex:1;width:100%;border:0;background:var(--bk-cream,#f8f2e0)}
html.bvto-open{overflow:hidden}
@media(max-width:600px){
  .bvto-dialog{width:100%;height:100dvh;margin:0}
  .bvto-dialog[open]{animation-name:bvto-up}
  @keyframes bvto-up{from{transform:translateY(60px);opacity:.5}}
  .bvto-tag{left:8px}
}
@media(prefers-reduced-motion:reduce){.bvto-dialog[open]{animation:none}.bvto-button{transition:none}}
