/* ===== 銷售網頁（溫暖奶油色系） ===== */
body.shop {
  --cream: #fbf6ee; --cream2: #f5ecdf; --ink: #1f3329; --ink2: #5b6b62; --ink3: #8a978f; --rose: #e8708e; --g: #1f8f5a; --gl: #2DB674;
  background: var(--cream); color: var(--ink); min-height: 100vh; overflow-x: hidden;
}
.shop .mono { font-family: var(--mono); }
.announce { background: linear-gradient(90deg, #0c3326, #145a3f, #0c3326); color: #d8f5e6; text-align: center; font-size: 13px; padding: 8px 16px; letter-spacing: 0.04em; }
.s-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 14px 48px; background: rgba(251,246,238,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(31,51,41,0.08); }
.s-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.s-brand b { display: block; font-size: 18px; letter-spacing: 0.04em; }
.s-brand small { color: var(--ink3); font-size: 11.5px; letter-spacing: 0.08em; }
.s-links { display: flex; gap: 26px; margin-left: 24px; }
.s-links a { text-decoration: none; color: var(--ink2); font-size: 15px; }
.s-links a:hover { color: var(--g); }
.s-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-sw { position: relative; }
.lang-btn, .cart-btn { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(31,51,41,0.14); background: #fff; color: var(--ink); padding: 9px 14px; border-radius: 999px; font-size: 14px; }
.lang-btn:hover, .cart-btn:hover { border-color: var(--gl); }
.cart-btn i { font-style: normal; min-width: 22px; height: 22px; border-radius: 11px; background: var(--rose); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(31,51,41,0.18); min-width: 200px; z-index: 40; }
.lang-menu button { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--ink); text-align: left; }
.lang-menu button b { width: 28px; height: 22px; border-radius: 6px; background: var(--cream2); font-size: 11px; display: grid; place-items: center; }
.lang-menu button:hover, .lang-menu button.on { background: #eaf6ef; }
.lang-menu button.on b { background: var(--gl); color: #fff; }
.admin-link { text-decoration: none; font-size: 13px; font-weight: 600; color: #fff; background: #0c3326; padding: 10px 14px; border-radius: 999px; white-space: nowrap; }
.admin-link:hover { background: #145a3f; }

.s-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; min-height: calc(100vh - 110px); max-height: 860px; padding: 0 48px; overflow: hidden;
  background: radial-gradient(700px 500px at 75% 50%, #ffe1ea 0%, transparent 65%), radial-gradient(600px 400px at 20% 80%, #e3f5ea 0%, transparent 60%), radial-gradient(500px 300px at 95% 0%, #fff0c8, transparent 60%); }
.s-hero-txt { position: relative; z-index: 2; max-width: 620px; }
.s-kicker { display: inline-block; font-size: 14px; color: var(--g); background: #e3f5ea; padding: 6px 14px; border-radius: 999px; letter-spacing: 0.06em; }
.s-hero h1 { font-size: 64px; line-height: 1.18; margin: 22px 0 18px; font-weight: 900; letter-spacing: 0.02em; color: #1a2e24; }
.s-hero p { font-size: 17px; line-height: 1.85; color: var(--ink2); margin: 0 0 28px; }
.s-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px; font-size: 16px; font-weight: 700; text-decoration: none; transition: transform 0.15s, box-shadow 0.2s; }
.s-btn:hover { transform: translateY(-2px); }
.s-btn:disabled { opacity: 0.7; transform: none; }
.s-btn-primary { background: linear-gradient(135deg, #2DB674, #1f8f5a); color: #fff; box-shadow: 0 12px 30px rgba(45,182,116,0.35); }
.s-btn-ghost { background: #fff; color: var(--ink); border: 1px solid rgba(31,51,41,0.14); }
.s-btn.wide { width: 100%; }
.bot-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(232,112,142,0.6); animation: pulse2 1.6s infinite; }
@keyframes pulse2 { 70% { box-shadow: 0 0 0 10px rgba(232,112,142,0); } 100% { box-shadow: 0 0 0 0 rgba(232,112,142,0); } }
.s-feats { display: flex; gap: 28px; margin-top: 40px; }
.s-feats div { display: flex; flex-direction: column; padding-left: 14px; border-left: 3px solid #f7b2c4; }
.s-feats div:nth-child(2) { border-color: #9fd9b8; } .s-feats div:nth-child(3) { border-color: #f9dc82; }
.s-feats b { font-size: 15px; }
.s-feats small { color: var(--ink3); font-size: 12.5px; }
.s-hero-3d { position: relative; height: min(78vh, 720px); min-height: 420px; }
.s-hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.no-webgl { background: radial-gradient(circle, #ffd1de, transparent 60%); }

.s-products { padding: 80px 48px 40px; max-width: 1560px; margin: 0 auto; }
.s-sec-h { text-align: center; margin-bottom: 40px; }
.s-sec-h h2 { font-size: 40px; margin: 0; font-weight: 900; }
.s-sec-h p { color: var(--ink3); margin: 10px 0 0; font-size: 16px; }
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.p-card { background: #fff; border-radius: 24px; overflow: hidden; cursor: pointer; box-shadow: 0 2px 0 rgba(31,51,41,0.04), 0 18px 40px rgba(31,51,41,0.07); transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.p-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(31,51,41,0.14); }
.p-art { position: relative; display: grid; place-items: center; padding: 14px 0 4px; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--pc) 35%, #fff) 0%, color-mix(in srgb, var(--pc) 12%, #fff) 60%, #fff 100%); }
.p-art .art { transition: transform 0.4s; }
.p-card:hover .p-art .art { transform: scale(1.06) rotate(-3deg); }
.p-tags { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.p-tags span { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--g); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.p-tags.inline { position: static; margin-bottom: 10px; }
.p-tags.inline span { background: #eaf6ef; }
.p-low { position: absolute; right: 14px; top: 14px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fde6e1; color: #c8442f; }
.p-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.p-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.p-top h3 { margin: 0; font-size: 19px; }
.p-top small { color: var(--ink3); font-size: 12.5px; white-space: nowrap; }
.p-body p { color: var(--ink2); font-size: 13.5px; line-height: 1.7; margin: 8px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-meta { font-size: 12px; color: var(--ink3); display: flex; align-items: center; gap: 6px; }
.sweet { display: inline-flex; gap: 3px; vertical-align: middle; margin-left: 4px; }
.sweet i { width: 8px; height: 8px; border-radius: 50%; background: #eadfd0; }
.sweet i.on { background: var(--rose); }
.p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.p-foot b { font-size: 21px; }
.p-add { border: 0; border-radius: 999px; padding: 10px 16px; font-size: 13.5px; font-weight: 700; background: #1f3329; color: #fff; transition: background 0.2s; }
.p-add:hover { background: var(--g); }
.p-add.ok { background: var(--gl); }
.fly { position: fixed; z-index: 200; width: 80px; height: 80px; pointer-events: none; }

.s-botstrip { max-width: 1464px; margin: 30px auto; display: flex; align-items: center; gap: 24px; padding: 28px 36px; border-radius: 28px; color: #eafff4;
  background: radial-gradient(400px 200px at 0% 0%, rgba(45,182,116,0.5), transparent 70%), linear-gradient(120deg, #0c3326, #10293a); box-shadow: 0 30px 60px rgba(12,51,38,0.25); }
.bs-bot { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, #2DB674, #2E97D4); color: #fff; box-shadow: 0 0 40px rgba(45,182,116,0.5); }
.bs-txt h3 { margin: 0; font-size: 24px; }
.bs-txt p { margin: 6px 0 0; color: rgba(234,255,244,0.7); }
.bs-chips { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.bs-chips button { border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; }
.bs-chips button:hover { background: rgba(45,182,116,0.4); }
.s-ship { max-width: 1464px; margin: 40px auto 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 48px; }
.s-ship div { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 12px 30px rgba(31,51,41,0.06); }
.s-ship b { font-size: 32px; color: #f7b2c4; font-weight: 900; }
.s-ship h4 { margin: 8px 0 4px; font-size: 18px; }
.s-ship p { margin: 0; color: var(--ink2); }
.s-foot { text-align: center; padding: 30px 20px 120px; color: var(--ink3); font-size: 13px; border-top: 1px solid rgba(31,51,41,0.08); }
.s-foot a { color: var(--g); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20,30,25,0.4); backdrop-filter: blur(3px); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: 420px; max-width: 100vw; background: var(--cream); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,0.15); }
.dr-h { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid rgba(31,51,41,0.08); }
.dr-h h3 { margin: 0; font-size: 22px; }
.x-btn { border: 0; background: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 15px; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.dr-items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.dr-empty { color: var(--ink3); text-align: center; padding: 60px 0; }
.dr-it { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 10px; }
.dr-it b { display: block; font-size: 14.5px; }
.dr-it small { color: var(--ink3); }
.dr-sum { font-size: 15px; }
.qty { display: inline-flex; align-items: center; gap: 12px; background: var(--cream2); border-radius: 999px; padding: 4px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; font-size: 16px; color: var(--ink); }
.qty.sm { margin-top: 6px; gap: 8px; } .qty.sm button { width: 24px; height: 24px; font-size: 13px; }
.dr-foot { padding: 18px 24px 24px; border-top: 1px solid rgba(31,51,41,0.08); display: flex; flex-direction: column; gap: 8px; }
.tot-row { display: flex; justify-content: space-between; color: var(--ink2); }
.tot-row.big { font-size: 20px; color: var(--ink); margin: 6px 0 8px; }

/* Modal */
.s-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(20,30,25,0.45); backdrop-filter: blur(6px); padding: 20px; }
.s-modal-card { position: relative; background: var(--cream); border-radius: 28px; box-shadow: 0 40px 100px rgba(0,0,0,0.3); max-height: 92vh; overflow-y: auto; }
.m-x { position: absolute; right: 16px; top: 16px; z-index: 2; }
.s-modal-card.detail { width: min(940px, 96vw); display: grid; grid-template-columns: 1fr 1fr; }
.d-art { display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--pc) 40%, #fff), #fff 75%); border-radius: 28px 0 0 28px; padding: 30px; }
.d-body { padding: 40px 36px; }
.d-body h2 { margin: 0; font-size: 32px; }
.d-unit { color: var(--ink3); }
.d-body p { color: var(--ink2); line-height: 1.85; }
.d-body dl { display: grid; grid-template-columns: 90px 1fr; gap: 10px; margin: 20px 0; font-size: 14px; }
.d-body dt { color: var(--ink3); }
.d-body dd { margin: 0; }
.d-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.d-buy > b { font-size: 28px; }
.s-modal-card.checkout { width: min(880px, 96vw); padding: 34px 36px; }
.checkout h2 { margin: 0 0 20px; font-size: 28px; }
.ck-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.ck-form { display: flex; flex-direction: column; gap: 10px; }
.ck-form label { font-size: 13px; color: var(--ink2); font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.ck-form input, .ck-form select { border: 1px solid rgba(31,51,41,0.16); border-radius: 12px; padding: 11px 14px; background: #fff; color: var(--ink); font-size: 15px; }
.seg2 { display: flex; gap: 8px; flex-wrap: wrap; }
.seg2 button { flex: 1; border: 1px solid rgba(31,51,41,0.16); background: #fff; border-radius: 12px; padding: 10px; font-size: 14px; color: var(--ink2); white-space: nowrap; }
.seg2 button.on { border-color: var(--gl); background: #eaf6ef; color: var(--g); font-weight: 700; }
.ck-note { color: var(--ink3); font-size: 12px; line-height: 1.6; }
.ck-sum { background: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; align-self: start; }
.cs-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.cs-row.muted { color: var(--ink3); }
.cs-row.big { font-size: 22px; border-top: 1px dashed rgba(31,51,41,0.15); padding-top: 10px; margin: 6px 0 10px; }
.s-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: sspin 0.8s linear infinite; display: inline-block; }
@keyframes sspin { to { transform: rotate(360deg); } }
.s-modal-card.success { width: min(520px, 94vw); padding: 40px; text-align: center; }
.ok-check { width: 110px; height: 110px; }
.ok-check circle { fill: #eaf6ef; stroke: var(--gl); stroke-width: 5; }
.ok-check path { fill: none; stroke: var(--g); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.success h2 { margin: 14px 0; font-size: 26px; }
.ok-grid { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; text-align: left; background: #fff; border-radius: 16px; padding: 16px 20px; }
.ok-grid span { color: var(--ink3); font-size: 13px; }
.ok-sync { display: flex; align-items: center; gap: 10px; text-align: left; background: #0c3326; color: #d8f5e6; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; }
.ok-sync i { width: 10px; height: 10px; border-radius: 50%; background: var(--gl); box-shadow: 0 0 10px var(--gl); flex: none; animation: pulseG 1.2s infinite; }
@keyframes pulseG { 50% { opacity: 0.4; } }
.ok-act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ===== AI 導購機器人 ===== */
.bot-fab { position: fixed; right: 28px; bottom: 28px; z-index: 70; width: 68px; height: 68px; border-radius: 50%; border: 0; color: #fff; background: linear-gradient(135deg, #2DB674, #2E97D4); box-shadow: 0 16px 40px rgba(45,182,116,0.45); display: grid; place-items: center; transition: transform 0.25s, opacity 0.25s; }
.bot-fab:hover { transform: scale(1.06); }
.bot-fab.hide { transform: scale(0); opacity: 0; pointer-events: none; }
.fab-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(45,182,116,0.6); animation: fabr 2s infinite; }
@keyframes fabr { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.fab-badge { position: absolute; right: -2px; top: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--rose); font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--cream); transform: scale(0); }
.bot { position: fixed; right: 28px; bottom: 28px; z-index: 75; width: 420px; height: min(680px, calc(100vh - 56px)); display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 40px 100px rgba(12,51,38,0.35), 0 0 0 1px rgba(31,51,41,0.06); }
.bot-h { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; color: #fff; background: radial-gradient(300px 120px at 0% 0%, rgba(45,182,116,0.6), transparent), linear-gradient(120deg, #0c3326, #10293a); }
.bot-av { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #2DB674, #2E97D4); flex: none; }
.bot-t { flex: 1; min-width: 0; }
.bot-t b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bot-t small { display: flex; align-items: center; gap: 6px; color: rgba(216,245,230,0.75); font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.bot-t small span { overflow: hidden; text-overflow: ellipsis; }
.bot-t small i { width: 7px; height: 7px; border-radius: 50%; background: #5ef0a8; box-shadow: 0 0 6px #5ef0a8; }
.bot-lang { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; border-radius: 10px; padding: 6px 2px; font-size: 12px; width: 104px; flex: none; }
.bot-lang option { color: #1f3329; }
.bot-ib { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; display: grid; place-items: center; flex: none; font-size: 13px; }
.bot-ib.on { background: rgba(45,182,116,0.45); }
.bot-msgs { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(#fbf6ee, #fff); }
.b-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
.b-msg.me { align-self: flex-end; }
.b-av { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2DB674, #2E97D4); flex: none; }
.b-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.b-bub { padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.65; }
.b-msg.ai .b-bub { background: #fff; border: 1px solid rgba(31,51,41,0.08); border-bottom-left-radius: 6px; box-shadow: 0 4px 14px rgba(31,51,41,0.05); }
.b-msg.me .b-bub { background: linear-gradient(135deg, #2DB674, #1f8f5a); color: #fff; border-bottom-right-radius: 6px; }
.b-bub.typing { display: flex; gap: 4px; padding: 14px 16px; }
.b-bub.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa8a0; animation: btd 1s infinite; }
.b-bub.typing i:nth-child(2) { animation-delay: 0.15s; } .b-bub.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes btd { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.b-sys { align-self: center; font-size: 12px; color: var(--g); background: #eaf6ef; padding: 6px 12px; border-radius: 999px; text-align: center; max-width: 90%; }
.bc-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.bc-card { flex: 0 0 132px; background: #fff; border: 1px solid rgba(31,51,41,0.08); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 6px 16px rgba(31,51,41,0.06); }
.bc-art { display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle, color-mix(in srgb, var(--pc) 35%, #fff), #fff 80%); }
.bc-card b { font-size: 12.5px; line-height: 1.4; min-height: 2.8em; }
.bc-meta { font-size: 10.5px; color: var(--ink3); white-space: nowrap; }
.bc-card button { border: 0; border-radius: 10px; padding: 7px; background: #1f3329; color: #fff; font-size: 12px; font-weight: 700; }
.bc-card button:disabled { background: var(--gl); }
.b-checkout { background: #fff; border: 1px solid rgba(45,182,116,0.35); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 260px; }
.bco-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.bco-row.muted { color: var(--ink3); font-size: 12px; }
.bco-row.big { font-size: 18px; border-top: 1px dashed rgba(31,51,41,0.15); padding-top: 8px; margin-top: 2px; }
.bco-pay { font-size: 11.5px; color: var(--ink3); display: flex; align-items: center; gap: 4px; }
.bco-go { border: 0; border-radius: 12px; padding: 11px; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, #2DB674, #1f8f5a); display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 8px 20px rgba(45,182,116,0.35); }
.bco-go.done { background: #1f3329; box-shadow: none; font-family: var(--mono); }
.bco-alt { border: 0; background: transparent; color: var(--ink3); font-size: 12px; text-decoration: underline; }
.bot-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-top: 1px solid rgba(31,51,41,0.06); background: #fff; }
.bot-chips button { flex: none; border: 1px solid rgba(45,182,116,0.4); background: #f2faf5; color: var(--g); padding: 6px 11px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; }
.bot-chips button:hover { background: #dff3e7; }
.bot-in { display: flex; align-items: center; gap: 8px; padding: 10px 12px 14px; background: #fff; }
.bot-in input { flex: 1; min-width: 0; border: 1px solid rgba(31,51,41,0.14); border-radius: 999px; padding: 11px 16px; font-size: 14px; background: var(--cream); color: var(--ink); outline: none; }
.bot-in input:focus { border-color: var(--gl); }
.bot-mic, .bot-send { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; flex: none; }
.bot-mic { background: #f2faf5; color: var(--g); border: 1px solid rgba(45,182,116,0.35); }
.bot-mic.rec { background: var(--rose); color: #fff; animation: recp2 1.2s infinite; }
@keyframes recp2 { 0% { box-shadow: 0 0 0 0 rgba(232,112,142,0.7); } 100% { box-shadow: 0 0 0 14px rgba(232,112,142,0); } }
.bot-send { background: linear-gradient(135deg, #2DB674, #1f8f5a); color: #fff; }

/* Toast（淺色版） */
.shop .toast { background: rgba(255,255,255,0.97); color: var(--ink); border-color: rgba(45,182,116,0.4); }
.shop .toast-txt span { color: var(--ink2); }

@media (max-width: 1280px) {
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-hero h1 { font-size: 52px; }
  .s-links { display: none; }
}
@media (max-width: 900px) {
  .s-nav { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
  .s-brand small { display: none; }
  .admin-link { display: none; }
  .s-hero { grid-template-columns: 1fr; padding: 30px 16px 0; min-height: 0; max-height: none; }
  .s-hero h1 { font-size: 40px; }
  .s-hero-3d { height: 360px; min-height: 0; }
  .s-feats { flex-wrap: wrap; gap: 14px; }
  .s-products { padding: 50px 16px 20px; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .s-botstrip { flex-direction: column; align-items: flex-start; margin: 20px 16px; padding: 22px; }
  .bs-chips { margin-left: 0; justify-content: flex-start; }
  .s-ship { grid-template-columns: 1fr; padding: 0 16px; }
  .s-modal-card.detail { grid-template-columns: 1fr; }
  .d-art { border-radius: 28px 28px 0 0; }
  .ck-grid { grid-template-columns: 1fr; }
  .bot { right: 8px; left: 8px; bottom: 8px; width: auto; height: calc(100vh - 16px); }
}
@media (max-width: 520px) { .p-grid { grid-template-columns: 1fr; } .lang-btn span { display: none; } }

.p-card.ai-card { cursor: pointer; color: #eafff4; background: radial-gradient(300px 220px at 20% 10%, rgba(45,182,116,0.55), transparent 70%), linear-gradient(150deg, #0c3326, #10293a); padding: 28px; justify-content: space-between; }
.ai-card .aic-bot { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, #2DB674, #2E97D4); box-shadow: 0 0 40px rgba(45,182,116,0.5); }
.ai-card h3 { font-size: 24px; margin: 20px 0 8px; line-height: 1.35; }
.ai-card p { color: rgba(234,255,244,0.72); font-size: 14px; line-height: 1.7; margin: 0; }
.ai-card .aic-chips { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.ai-card .aic-chips span { align-self: flex-start; font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); }
.ai-card .aic-go { margin-top: 20px; font-weight: 800; color: #9ff0c4; }
html[lang="vi"] .s-hero h1, html[lang="ms"] .s-hero h1 { font-size: 50px; }
@media (max-width: 900px) { html[lang="vi"] .s-hero h1, html[lang="ms"] .s-hero h1 { font-size: 34px; } }
