﻿@charset "utf-8";
:root {
  --xy-brand:        #AA7566;
  --xy-brand-light:  #FCCABC;
  --xy-brand-pale:   #FFF4F0;
  --xy-brand-soft:   #F9E4DC;
  --xy-brand-mid:    #D4957F;
  --xy-brand-dark:   #7A4F42;
  --xy-brand-deep:   #4E2E24;
  --xy-cream:        #FFFAF8;
  --xy-white:        #FFFFFF;
  --xy-text:         #2C1A14;
  --xy-text-2:       #6B4840;
  --xy-text-3:       #9E7265;
  --xy-border:       #EBCFC6;
  --xy-shadow:       rgba(170,117,102,0.14);
  --xy-nav-h:        68px;
}

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans TC', sans-serif;
  background: var(--xy-cream);
  color: var(--xy-text);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--xy-brand-pale); }
::-webkit-scrollbar-thumb { background: var(--xy-brand-light); border-radius: 3px; }


.botry-v2-content-title {
color: #D4957F;
font-family: 'Noto Serif TC', serif;
font-size: clamp(22px, 3vw, 36px);
font-weight: 700; color: var(--xy-brand-deep);
line-height: 1.2;
text-align: center;
margin: 30px 20px 20px;
}

/* ═══════════════════
   NAV
   ═══════════════════ */
.xy-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,250,248,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--xy-border);
  height: var(--xy-nav-h);
  display: flex; align-items: center;
  padding: 0 32px;
}
.xy-nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.xy-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.xy-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--xy-brand), var(--xy-brand-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Noto Serif TC', serif;
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.xy-logo-text { line-height: 1.2; }
.xy-logo-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 17px; font-weight: 600;
  color: var(--xy-brand-deep);
  display: block;
}
.xy-logo-tag {
  font-size: 10px; color: var(--xy-brand);
  letter-spacing: 0.08em;
  display: block;
}
.xy-nav-links {
  display: flex; gap: 2px; list-style: none;
  align-items: center;
}
.xy-nav-links li a {
  padding: 7px 13px;
  font-size: 14px; font-weight: 500;
  color: var(--xy-text-2);
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  display: block;
}
.xy-nav-links li a:hover,
.xy-nav-links li a.xy-active {
  background: var(--xy-brand-pale);
  color: var(--xy-brand-dark);
}
.xy-nav-cta {
  background: var(--xy-brand) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px var(--xy-shadow);
  transition: background 0.18s, transform 0.14s !important;
}
.xy-nav-cta:hover {
  background: var(--xy-brand-dark) !important;
  transform: translateY(-1px);
}
.xy-nav-hamburger {
  display: none; cursor: pointer;
  background: none; border: none;
  padding: 6px; border-radius: 8px;
}
.xy-nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--xy-brand-dark); border-radius: 2px;
  margin: 5px 0;
  transition: all 0.2s;
}


/* ═══════════════════
   FOOTER
   ═══════════════════ */
.xy-footer {
  background: var(--xy-brand-deep);
  color: rgba(255,255,255,0.82);
  padding: 60px 32px 0;
}
.xy-footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.xy-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(252,202,188,0.15);
}

/* Footer Brand 欄 — 覆寫 logo 顏色 */
.xy-footer-brand .xy-logo-name { color: var(--xy-brand-light); font-size: 20px; }
.xy-footer-brand .xy-logo-tag  { color: rgba(252,202,188,0.6); }
.xy-footer-brand .xy-logo-icon {
  background: linear-gradient(135deg, var(--xy-brand), var(--xy-brand-light));
}
.xy-footer-brand-desc {
  font-size: 13px; line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-top: 14px; margin-bottom: 20px;
}

/* 聯絡項目 */
.xy-footer-contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.65);
  margin-bottom: 8px; line-height: 1.6;
}
.xy-footer-contact-item a { color: var(--xy-brand-light); }
.xy-footer-contact-item a:hover { color: #fff; }
.xy-footer-contact-item svg {
  flex-shrink: 0; margin-top: 2px;
  color: var(--xy-brand-light);
}

/* 欄位標題 */
.xy-footer-col-title {
  font-size: 13px; font-weight: 600;
  color: var(--xy-brand-light);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(252,202,188,0.2);
}

/* 門市據點列表 */
.xy-footer-locations {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.xy-footer-locations li {
  font-size: 12.5px; color: rgba(255,255,255,0.55);
  margin-bottom: 9px; line-height: 1.55;
  padding-left: 12px; position: relative;
}
.xy-footer-locations li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--xy-brand-light);
}

/* 快速連結列表 */
.xy-footer-links { list-style: none; }
.xy-footer-links li { margin-bottom: 9px; }
.xy-footer-links li a {
  font-size: 13.5px; color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.xy-footer-links li a:hover { color: var(--xy-brand-light); }

/* 社群 / QR 欄 */
.xy-footer-social-panel {
  display: flex; flex-direction: column; gap: 18px;
}
.xy-footer-social-title {
  font-size: 13px; font-weight: 600;
  color: var(--xy-brand-light);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(252,202,188,0.2);
}

/* QR Box */
.xy-qr-box {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(252,202,188,0.15);
  border-radius: 14px;
  padding: 12px 14px;
}
.xy-qr-img {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.xy-qr-img svg { width: 64px; height: 64px; }
.xy-qr-info { flex: 1; }
.xy-qr-info strong {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--xy-brand-light); margin-bottom: 3px;
}
.xy-qr-info span {
  font-size: 12px; color: rgba(255,255,255,0.6);
  line-height: 1.55; display: block;
}

/* 社群按鈕 */
.xy-social-icons {
  display: flex; gap: 10px; margin-top: 6px;
}
.xy-social-btn {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(252,202,188,0.2);
  border-radius: 10px;
  padding: 9px 14px;
  color: rgba(255,255,255,0.7);
  font-size: 12px; font-weight: 500;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
}
.xy-social-btn:hover {
  background: rgba(252,202,188,0.15);
  color: #fff;
  border-color: rgba(252,202,188,0.45);
}
.xy-social-note {
  font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px;
}

/* Footer 底部版權列 */
.xy-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding: 20px 0;
  font-size: 12px; color: rgba(255,255,255,0.35);
}
.xy-footer-bottom a { color: rgba(252,202,188,0.6); }
.xy-footer-bottom a:hover { color: var(--xy-brand-light); }


/* ═══════════════════
   FLOATING CTA
   ═══════════════════ */
.xy-float-cta {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.xy-float-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 32px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer; white-space: nowrap;
}
.xy-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.26);
}
.xy-float-phone {
  background: var(--xy-brand);
  color: #fff;
}
.xy-float-line {
  background: #06C755;
  color: #fff;
}


/* ═══════════════════
   RESPONSIVE
   ═══════════════════ */
@media (max-width: 1024px) {
  .xy-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .xy-nav-links     { display: none; }
  .xy-nav-hamburger { display: flex; flex-direction: column; }
}
@media (max-width: 540px) {
  .xy-footer-grid { grid-template-columns: 1fr; }
  .xy-topbar      { justify-content: center; font-size: 11px; }
  .xy-float-cta   { bottom: 14px; right: 14px; }
}

/* ═══════════════════
   計數器
   ═══════════════════ */


/* ============================================================
   BOTRY-V2 - 提取整合版 CSS
   僅包含 HTML 中實際使用的 class
   ============================================================ */

/* ===== 回到頂部按鈕 ===== */
.back-to-top {
    position: fixed;
    bottom: 140px;
    right: 35px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    background: linear-gradient(145deg, rgba(245, 124, 0, 0.85), rgba(230, 81, 0, 0.95));
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, rgba(245, 124, 0, 0.95), rgba(200, 70, 0, 1));
}

/* ===== 箭頭圖示 ===== */
.twitter-arrow {
    --arrow-size: 40px;
    width: var(--arrow-size);
    height: var(--arrow-size);
    position: relative;
    font-size: var(--arrow-size);
}

.twitter-arrow::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 0.1em;
    left: 50%;
    transform: translateX(-50%);
    border-left: 0.4em solid transparent;
    border-right: 0.4em solid transparent;
    border-bottom: 0.5em solid white;
}

.twitter-arrow::after {
    content: '';
    position: absolute;
    width: 0.25em;
    height: 0.6em;
    background: white;
    bottom: 0.1em;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.05em;
}

/* ===== 桌機版頁尾工具列 ===== */
.botry-v2-footer-toolbar {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: white;
    padding: 6px 0;
    border-top: 2px solid rgba(231, 76, 60, 0.3);
    width: 100%;
}

.botry-v2-footer-toolbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.botry-v2-footer-toolbar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 30px;
}

/* ===== 頁尾左側資訊 ===== */
.botry-v2-footer-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #bdc3c7;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.botry-v2-footer-info-left a {
    color: #bdc3c7;
    text-decoration: none;
    white-space: nowrap;
}

.botry-v2-footer-info-left a:hover {
    color: #e74c3c;
}

/* ===== 頁尾右側資訊 ===== */
.botry-v2-footer-info-right {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #bdc3c7;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.botry-v2-footer-info-right a {
    color: #bdc3c7;
    text-decoration: none;
    white-space: nowrap;
}

.botry-v2-footer-info-right a:hover {
    color: #e74c3c;
}

/* ===== 頁尾分隔線 ===== */
.botry-v2-footer-separator {
    color: #7f8c8d;
    margin: 0 5px;
    font-size: 0.8rem;
}

/* ===== 行動版固定底部工具列 ===== */
.botry-v2-mobile-toolbar {
    display: none;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 6px 0;
    border-top: 2px solid rgba(238, 238, 238, 0.4);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        0 -2px 6px rgba(0, 0, 0, 0.15);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10001;
    text-align: center;
    height: 60px;
}

.botry-v2-mobile-toolbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    height: 100%;
}

.botry-v2-mobile-toolbar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    width: 100%;
    height: 100%;
    align-items: center;
}

/* ===== 行動版底部工具列項目 ===== */
.botry-v2-mobile-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 4px 2px;
}

.botry-v2-mobile-tool-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 2px;
}

.botry-v2-mobile-tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.botry-v2-mobile-tool-label {
    font-size: 0.6rem;
    text-align: center;
}

/* ===== 響應式斷點 ===== */
@media (max-width: 992px) {
    .botry-v2-footer-toolbar {
        display: none !important;
    }

    .botry-v2-mobile-toolbar {
        display: block !important;
    }
}

@media (max-width: 600px) {
    .back-to-top {
        width: 42px;
        height: 42px;
    }

    .twitter-arrow {
        --arrow-size: 30px;
    }
}

