/* 加入 LINE 好友視窗 (includes/line-popup.php): a white card floating at the bottom, over the theme's bottom bars (--gb-line-popup-under, set by
   line-popup.js). Under WoodMart's toolbar, 回到頂端 button and side panels (their z-index 350 and up) where they meet. */
.gb-line-popup{position:fixed;z-index:349;left:12px;right:12px;bottom:calc(var(--gb-line-popup-under,0px) + 12px);box-sizing:border-box;margin:0;padding:16px;background:#fff;border-radius:14px;box-shadow:0 4px 24px rgba(0,0,0,.16);color:#333;text-align:start;line-height:1.5}
.gb-line-popup[hidden]{display:none!important}
@media (min-width:769px){.gb-line-popup{left:24px;right:auto;width:380px;bottom:calc(var(--gb-line-popup-under,0px) + 24px)}}
.gb-line-popup .gb-line-popup-title{margin:0 40px 4px 0;padding:0;font-size:17px;font-weight:700;line-height:1.4;color:#2f3640}
.gb-line-popup .gb-line-popup-text{margin:0 40px 14px 0;padding:0;font-size:15px;line-height:1.5;color:#4a4a4a}
.gb-line-popup .gb-line-popup-title+.gb-line-popup-text{margin-top:4px}
.gb-line-popup button.gb-line-popup-close{position:absolute;top:8px;right:8px;display:flex!important;align-items:center;justify-content:center;width:36px!important;height:36px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;color:#9a9a9a!important;cursor:pointer}
.gb-line-popup .gb-line-popup-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.gb-line-popup button.gb-line-popup-close:hover{color:#555!important}
.gb-line-popup a.gb-line-popup-button{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;width:100%;height:46px;margin:0;padding:0 12px;border-radius:6px;background:#06c755;color:#fff!important;font-size:16px;font-weight:500;line-height:1;text-decoration:none!important}
.gb-line-popup a.gb-line-popup-button:hover{background:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1)),#06c755}
.gb-line-popup a.gb-line-popup-button img{display:block;width:26px;height:26px;max-width:none;margin:0}
.gb-line-popup :is(a,button):focus-visible{outline:3px solid #97334b!important;outline-offset:2px}
