/* 1.0.65zf 快速選購彈窗：手機底部彈出，桌機置中；黑白灰色票 */
html.fzqb-lock, html.fzqb-lock body { overflow: hidden; }
.fzqb[hidden] { display: none !important; }
.fzqb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; font-family: inherit; color: #111; }
.fzqb__bg { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; }
.fzqb.is-open .fzqb__bg { opacity: 1; }
.fzqb__box { position: relative; width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 12px 12px 0 0; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(24px); opacity: 0; transition: transform .2s, opacity .2s; outline: 0; box-sizing: border-box; }
.fzqb.is-open .fzqb__box { transform: none; opacity: 1; }
@media (min-width: 769px) { .fzqb { align-items: center; } .fzqb__box { border-radius: 8px; padding: 24px; } }
.fzqb__x { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; background: none !important; color: #111 !important; font-size: 28px; line-height: 1; cursor: pointer; padding: 0; }
.fzqb__head { display: flex; gap: 12px; align-items: flex-start; padding-right: 36px; margin-bottom: 14px; }
.fzqb__img { width: 84px; height: 84px; object-fit: cover; border-radius: 4px; background: #f3f3f3; flex: none; }
.fzqb__name { margin: 0 0 6px; font-size: 14px; line-height: 1.45; font-weight: 500; text-align: left; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fzqb__price { margin: 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center; }
.fzqb__price strong { font-weight: 700; font-size: 16px; }
.fzqb__price del { color: #737373; font-size: 12px; }
.fzqb__off { background: #000; color: #fff; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 2px; line-height: 1.6; }
.fzqb__grp { margin: 0 0 14px; }
.fzqb__lbl { margin: 0 0 8px; font-size: 13px; color: #404040; }
.fzqb__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.fzqb .fzqb__opt { min-width: 44px; min-height: 40px; padding: 0 14px; border: 1px solid #E5E5E5 !important; border-radius: 4px !important; background: #fff !important; color: #111 !important; font-size: 14px; cursor: pointer; box-shadow: none; }
.fzqb .fzqb__opt.is-on { border-color: #111 !important; background: #111 !important; color: #fff !important; }
.fzqb .fzqb__opt:disabled { color: #b3b3b3 !important; text-decoration: line-through; cursor: not-allowed; background: #f7f7f7 !important; }
.fzqb__grp--qty { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fzqb__grp--qty .fzqb__lbl { margin: 0; }
.fzqb__stepper { display: inline-flex; border: 1px solid #E5E5E5; border-radius: 4px; overflow: hidden; }
.fzqb .fzqb__stepper button { width: 40px; height: 40px; border: 0 !important; background: #fff !important; color: #111 !important; font-size: 20px; cursor: pointer; padding: 0; border-radius: 0 !important; }
.fzqb .fzqb__qty { width: 52px; height: 40px; border: 0 !important; border-left: 1px solid #E5E5E5 !important; border-right: 1px solid #E5E5E5 !important; border-radius: 0 !important; text-align: center; font-size: 15px; padding: 0; -moz-appearance: textfield; background: #fff; box-shadow: none; }
.fzqb__qty::-webkit-outer-spin-button, .fzqb__qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fzqb__stock { font-size: 12px; color: #737373; }
.fzqb__err { margin: 0 0 8px; font-size: 13px; color: #c0392b; min-height: 0; display: none; }
.fzqb__err.is-on { display: block; }
.fzqb__acts { display: flex; gap: 10px; margin-top: 6px; }
.fzqb .fzqb__btn { flex: 1 1 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border-radius: 4px !important; font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.fzqb .fzqb__btn--ghost { background: #fff !important; color: #111 !important; border: 1.5px solid #111 !important; }
.fzqb .fzqb__btn--solid { background: #111 !important; color: #fff !important; border: 1.5px solid #111 !important; }
.fzqb .fzqb__btn:disabled { opacity: .45; cursor: not-allowed; }
.fzqb__link { margin: 12px 0 0; text-align: center; font-size: 13px; color: #737373; }
.fzqb__link a { color: #404040; text-decoration: underline; }
.fzqb__msg { margin: 16px 0; text-align: center; color: #404040; font-size: 14px; }
.fzqb__ok { text-align: center; padding-top: 8px; }
.fzqb__okt { font-size: 17px; font-weight: 700; margin: 8px 0; }
.fzqb__ok .fzqb__name { text-align: center; justify-content: center; -webkit-line-clamp: 2; margin-bottom: 14px; }
