/* ========================================
   黑豹商店 - 頂級預約系統樣式 (單行優化版)
   ======================================== */
:root { --p: #d4a574; --pd: #b88a5a; --dark: #1a1a1a; --dl: #2d2d2d; --w: #fff; --muted: #888; --bg-grad: radial-gradient(circle, transparent 0%, rgba(0,0,0,0.8) 100%); --card-bg: rgba(255, 255, 255, 0.05); --glass: blur(15px); --gold-grad: linear-gradient(135deg, #d4a574 0%, #c5a059 100%); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans TC', sans-serif; background: #000; color: var(--w); overflow-x: hidden; }
/* 背景與佈局 START */
.hero-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -2; filter: brightness(0.4); }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-grad); z-index: -1; }
.container { max-width: 900px; margin: 0 auto; padding: 20px; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; margin-bottom: 30px; }
.logo { font-size: 28px; font-weight: 700; color: var(--p); letter-spacing: 2px; }
.admin-link { color: var(--w); text-decoration: none; font-size: 14px; opacity: 0.7; transition: 0.3s; }
.main-card { background: var(--card-bg); backdrop-filter: var(--glass); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); margin-bottom: 40px; }
/* 背景與佈局 END */
/* 步驟指示器 START */
.steps-container { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.steps-container::before { content: ''; position: absolute; top: 15px; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,0.1); z-index: 0; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }
.step span { width: 32px; height: 32px; background: var(--dl); border: 2px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: 0.3s; }
.step label { font-size: 12px; opacity: 0.5; transition: 0.3s; }
.step.active span { background: var(--p); border-color: var(--p); color: var(--dark); box-shadow: 0 0 15px var(--p); }
.step.active label { opacity: 1; color: var(--p); font-weight: 700; }
.step.completed span { background: var(--pd); border-color: var(--pd); font-size: 0; }
.step.completed span::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 12px; color: var(--w); }
/* 步驟指示器 END */
/* 元件樣式 START */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.service-card { background: rgba(255,255,255,0.05); border-radius: 16px; overflow: hidden; cursor: pointer; border: 1px solid transparent; transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.service-card.selected { border-color: var(--p); background: rgba(212, 165, 116, 0.1); }
.service-img { width: 100%; height: 150px; object-fit: cover; }
.service-info { padding: 15px; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); gap: 10px; margin-bottom: 20px; }
.time-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 10px; color: var(--w); cursor: pointer; transition: 0.3s; font-size: 14px; }
.time-btn.selected { background: var(--p); color: var(--dark); border-color: var(--p); box-shadow: 0 0 10px rgba(212, 165, 116, 0.5); }
.time-btn:disabled { opacity: 0.3; cursor: not-allowed; filter: grayscale(1); }
.custom-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 12px 15px; color: var(--w); font-family: inherit; margin-top: 8px; transition: 0.3s; }
.btn-primary { background: var(--p); color: var(--dark); border: none; padding: 12px 40px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-primary:hover { background: var(--pd); transform: scale(1.05); }
.btn-secondary { background: transparent; color: var(--w); border: 1px solid rgba(255,255,255,0.2); padding: 12px 40px; border-radius: 12px; cursor: pointer; transition: 0.3s; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--w); }
.btn-outline { background: transparent; border: 1px solid var(--p); color: var(--p); padding: 12px 20px; border-radius: 12px; cursor: pointer; transition: 0.3s; font-weight: 700; text-align: center; display: block; }
.btn-outline:hover { background: var(--p); color: var(--dark); }
.btn-line { background: #00b900; color: white; text-decoration: none; padding: 12px 20px; border-radius: 12px; display: block; margin: 10px 0; font-weight: 700; text-align: center; }
.summary-box { background: rgba(212, 165, 116, 0.05); border: 1px dashed rgba(212, 165, 116, 0.3); padding: 20px; border-radius: 16px; margin: 20px 0; }
/* 優雅草莓系月曆 */
.pink-calendar { background: #fffdfd; padding: 25px; border-radius: 35px; border: 1px solid #ffe4e8; color: #d64045; position: relative; box-shadow: 0 10px 40px rgba(214, 64, 69, 0.08); }
.pink-calendar::before { content: '🍓'; position: absolute; top: 15px; right: 20px; font-size: 24px; }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 700; font-size: 1.3rem; }
.cal-header button { background: #fff0f3; border: none; border-radius: 12px; width: 40px; height: 40px; color: #d64045; cursor: pointer; transition: 0.3s; }
.cal-header button:hover { background: #d64045; color: #fff; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-weight: 700; margin-bottom: 10px; color: #d64045; border-bottom: 3px solid #ffccd5; padding-bottom: 10px; }
.cal-body { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background-color: #ffccd5; border: 2px solid #ffccd5; }
.cal-body .day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; font-weight: 500; font-size: 1rem; color: #555; background: #fffdfd; }
.cal-body .day:hover { background: #fff0f3; color: #d64045; }
.cal-body .day.selected { background: #d64045 !important; color: #fff !important; }
.cal-body .day.disabled { color: #d1d1d1; cursor: not-allowed; background: #fafafa; }
/* 元件樣式 END */
/* 功能樣式 START */
.d-none { display: none; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.text-accent { color: var(--p); }
.query-section { background: rgba(255,255,255,0.03); border-radius: 24px; padding: 30px; border: 1px solid rgba(255,255,255,0.05); }
.query-header { text-align: center; margin-bottom: 25px; }
.query-header h2 { font-size: 24px; margin-bottom: 8px; color: var(--p); }
.query-header p { opacity: 0.6; font-size: 14px; }
.query-box { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; align-items: flex-start; }
.query-box .custom-input { margin-top: 0; flex: 1; height: 48px; }
.query-box .btn-primary { height: 48px; padding: 0 30px; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.booking-item { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 15px; margin-top: 15px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.05); }
.footer { text-align: center; padding: 40px 0; opacity: 0.4; font-size: 12px; }
/* 功能樣式 END */
