/* ============================================================
   site.css —— app.css（demo 编译产物）之外的极少量补充
   app.css 已包含全部 Tailwind utility、自定义令牌与 keyframes
   这里只放全局行为与无法用 utility 表达的细节
   ============================================================ */

html {
    scroll-behavior: smooth;
}

/* 文本选中高亮用品牌色 */
::selection {
    background: #FF5E14;
    color: #fff;
}

/* 轮播淡入淡出：透明度 + 层级过渡（配合 JS 切换 class） */
.hero-slide {
    transition: opacity 1s ease;
}

/* 细滚动条（不影响布局） */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-thumb {
    background: #1C2240;
    border-radius: 0;
}
::-webkit-scrollbar-track {
    background: #F4F6FA;
}

/* ============ 全站询价弹窗（layout.html #quoteModal） ============ */
.quote-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(15, 20, 38, 0.62);
}
/* .quote-overlay 的 display:flex 会盖掉 Tailwind .hidden，需双类名显式关闭 */
.quote-overlay.hidden {
    display: none;
}
.quote-panel {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #F7F9FC;
    box-shadow: 0 24px 64px rgba(8, 12, 28, 0.38);
}
.quote-bar {
    display: block;
    height: 6px;
    background: #FF5E14;
}
.quote-close {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #1C2240;
    transition: color .2s;
}
.quote-close:hover {
    color: #FF5E14;
}
.quote-input {
    width: 100%;
    background: #EDF1F7;
    border: 1px solid #DCE1E9;
    color: #1C2240;
    font-size: .875rem;
    line-height: 1.4;
    padding: .8rem 1rem;
    outline: none;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
}
.quote-input::placeholder {
    color: #9AA3B2;
}
.quote-input:focus {
    border-color: #FF5E14;
}
textarea.quote-input {
    resize: none;
}
.quote-ok {
    color: #0E9F6E;
}
.quote-err {
    color: #D64545;
}
