/*! Cookie 提示不占用右下角聊天位置；两个选项采用相同视觉权重，长翻译与手机均允许换行。 */
.bt-cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 90;
    max-width: 1080px;
    margin: auto;
    padding: 20px;
    border: 1px solid #c8d7e8;
    border-radius: 12px;
    background: #fff;
    color: #102b45;
    box-shadow: 0 6px 30px #102b4529;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    font-size: 14px;
    line-height: 1.5;
    max-height: 80dvh;
    overflow-y: auto;
}
.bt-cookie-banner h2 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.bt-cookie-banner a { display: inline-block; margin: 8px 16px 0 0; text-decoration: underline; color: #165ca4; }
.bt-cookie-actions { display: flex; flex-direction: column; justify-content: center; gap: 10px; margin: 0; }
.bt-cookie-actions button, .bt-cookie-custom button {
    padding: 10px 16px;
    border: 1px solid #196bde;
    border-radius: 7px;
    color: #fff;
    background: #196bde;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
    white-space: normal;
}
.bt-cookie-actions button:focus-visible, .bt-cookie-custom button:focus-visible { outline: 3px solid #102b45; outline-offset: 3px; }
.bt-cookie-footer { text-align: center; background: #102b45; color: #fff; padding: 12px 16px; font-size: 14px; }
.bt-cookie-footer a { text-decoration: underline; }
main > section.bt-shell.bt-cookie-settings { max-width: 900px; padding-top: 24px; padding-bottom: 32px; background: #fff; }
.bt-cookie-settings h1 { font-size: 30px; margin: 0 0 16px; }
.bt-cookie-settings p { margin: 12px 0; }
.bt-cookie-settings .bt-cookie-actions { flex-direction: row; flex-wrap: wrap; justify-content: start; margin: 20px 0; }
.bt-cookie-custom { display: grid; gap: 14px; margin: 20px 0; }
.bt-cookie-custom label { display: flex; align-items: center; gap: 10px; }
.bt-cookie-custom input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; }
.bt-cookie-custom button { justify-self: start; }
.bt-video-consent { display: grid; place-content: center; min-height: 160px; padding: 20px; border: 1px solid #dce6f1; border-radius: 8px; background: #f1f6ff; }
/*! 单行卡片原生横向滚动，不做自动轮播；手机触控与键盘均可操作，禁止撑宽整个页面。 */
.bt-home-showcase { padding-top: 24px; padding-bottom: 16px; }
.bt-home-showcase h2 { font-size: 24px; font-weight: 700; color: #102b45; }
.bt-home-rail { display: flex; overflow-x: auto; gap: 16px; padding: 12px 0 16px; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.bt-home-rail > .bt-product-card { flex: 0 0 260px; min-width: 0; scroll-snap-align: start; }
.bt-home-rail .bt-card-image { aspect-ratio: 1; }
.bt-home-rail .bt-card-image img { height: 100%; width: 100%; object-fit: contain; }
.bt-home-rail .bt-card-body { padding: 16px; }
.bt-home-rail .bt-card-body h3 { font-size: 17px; }
.bt-home-rail .bt-card-price { font-size: 20px; }
.bt-home-rail > .bt-video { flex: 0 0 340px; min-width: 0; margin: 0; padding: 16px; border: 1px solid #dce6f1; border-radius: 10px; background: #fff; scroll-snap-align: start; }
.bt-home-rail .bt-video h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; overflow-wrap: anywhere; }
.bt-home-rail .bt-video iframe, .bt-home-rail .bt-video video { width: 100%; aspect-ratio: 16/9; height: auto; }
@media (max-width: 700px) {
    .bt-cookie-banner { grid-template-columns: minmax(0, 1fr); padding: 16px; bottom: 8px; left: 8px; right: 8px; gap: 12px; }
    .bt-cookie-actions { flex-direction: row; }
    .bt-cookie-actions button { flex: 1 1 0; }
    .bt-home-rail > .bt-product-card { flex-basis: min(260px, 78vw); }
    .bt-home-rail > .bt-video { flex-basis: min(340px, 86vw); }
}
