/* LINE 詢價：聯絡區綠色橫幅 + 全站右下角固定按鈕 */
:root{--tg-line:#06c755;--tg-line-dark:#05a346;--tg-line-tint:#eafaf0}
.tg-line-band,.tg-line-fab{font-family:'Noto Sans TC',sans-serif}

.tg-line-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;margin-top:1.5rem;padding:1.75rem 2.5rem;border-radius:6px;background:var(--tg-line);color:#fff}
.tg-line-band__text{flex:1 1 16rem;min-width:0}
.tg-line-band .tg-line-band__title{margin:0;font-size:1.5rem;font-weight:700;line-height:1.35;color:#fff}
.tg-line-band .tg-line-band__desc{margin:.25rem 0 0;font-size:1rem;line-height:1.6;color:#fff;opacity:.92}
.tg-line-band__action{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
.tg-line-band__btnwrap{display:flex;flex-direction:column;align-items:center;gap:.4rem}
.tg-line-band .tg-line-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.65rem 1.5rem;border-radius:999px;background:#fff;color:var(--tg-line-dark);font-size:1.05rem;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background .15s}
.tg-line-band .tg-line-btn:hover,.tg-line-band .tg-line-btn:focus{background:var(--tg-line-tint);color:var(--tg-line-dark);text-decoration:none}
.tg-line-band .tg-line-btn:focus-visible{outline:3px solid #000;outline-offset:2px}
.tg-line-band .tg-line-btn svg{width:1.5rem;height:1.5rem;flex:none}
.tg-line-band .tg-line-band__id{font-size:.85rem;color:#fff;opacity:.9}
.tg-line-qr{display:block;width:96px;height:96px;padding:6px;background:#fff;border-radius:6px;flex:none}

/* 剩下 Email／電話／地址三格：大螢幕一排三格，其餘一格一列 */
.contacts2 .tg-contact-row .card-wrapper .mbr-text{overflow-wrap:break-word}
.contacts2 .tg-contact-row .text-wrapper{min-width:0}
@media (min-width:1200px){
  .contacts2 .tg-contact-row .card-wrapper{padding:2rem 1.25rem}
  .contacts2 .tg-contact-row .mbr-iconfont{padding-right:1rem}
  .contacts2 .tg-contact-row .mbr-text{font-size:1.05rem}
}

/* 手機 */
@media (max-width:767px){
  .tg-line-band{padding:1.5rem 1.25rem}
  .tg-line-band .tg-line-band__title{font-size:1.25rem}
  .tg-line-band__action{width:100%}
  .tg-line-band__btnwrap{width:100%}
  .tg-line-band .tg-line-btn{width:100%;justify-content:center}
  .tg-line-qr{display:none}
}

/* 右下角固定按鈕 */
.tg-line-fab{position:fixed;z-index:1029;right:calc(20px + env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:.5rem;padding:.6rem 1.15rem .6rem .7rem;border-radius:999px;background:var(--tg-line);color:#fff;font-size:1rem;font-weight:700;line-height:1;text-decoration:none;box-shadow:0 6px 18px rgba(6,199,85,.35),0 2px 6px rgba(0,0,0,.15);transition:background .15s,transform .15s}
.tg-line-fab:hover,.tg-line-fab:focus{background:var(--tg-line-dark);color:#fff;text-decoration:none}
.tg-line-fab:hover{transform:translateY(-2px)}
.tg-line-fab:focus-visible{outline:3px solid #000;outline-offset:2px}
.tg-line-fab svg{width:2rem;height:2rem;flex:none}
@media (max-width:767px){
  .tg-line-fab{padding:0;width:56px;height:56px;justify-content:center;right:calc(14px + env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .tg-line-fab__text{display:none}
  .tg-line-fab svg{width:2.2rem;height:2.2rem}
}
@media (prefers-reduced-motion:reduce){.tg-line-fab,.tg-line-band .tg-line-btn{transition:none}.tg-line-fab:hover{transform:none}}
@media print{.tg-line-fab{display:none}}
