/* =========================================================
   Constur 风格：页眉 / 导航 / 轮播 / 四宫格特色（2026-10-25）
   仅覆盖 PC（>=992px）页眉尺寸，移动端沿用原样式
   ========================================================= */

/* ---------- 顶部信息栏 ---------- */
#header .header-top-info {
    background: #0A2155 !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}
#header .header-top-info .site-slogan {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 13px !important;
    letter-spacing: .3px;
}
#header .quick-links li > a {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 13px !important;
    transition: color .25s;
}
#header .quick-links li > a:hover,
#header .quick-links li > a:focus {
    color: #F65801 !important;
    background: transparent !important;
}
#header .quick-links li > a i {
    color: #F65801 !important;
    margin-right: 5px;
}
#header .quick-links .dropdown-menu {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(10, 33, 85, .16);
    padding: 10px;
    margin-top: 12px;
}
#header .quick-links .dropdown-item {
    color: #0A2155;
    font-size: 13.5px;
    border-radius: 8px;
    padding: 8px 12px;
}
#header .quick-links .dropdown-item:hover {
    background: #FFF1E8;
    color: #F65801;
}

/* ---------- 主导航 ---------- */
#header .main-navigation {
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(10, 33, 85, .07) !important;
    border-bottom: 0 !important;
}
#header .logo-img {
    height: 52px !important;
}
#header .main-menu-container {
    justify-content: flex-end !important;
}
#header .main-menu > li > a {
    color: #0A2155 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 16px !important;
    border-radius: 0 !important;
    background: none !important;
    transform: none !important;
}
#header .main-menu > li > a:hover,
#header .main-menu > li.open > a,
#header .main-menu > li:hover > a {
    color: #F65801 !important;
    background: none !important;
}
#header .main-menu > li > a::before {
    background: #F65801 !important;
    height: 2px !important;
    bottom: 4px !important;
    border-radius: 2px !important;
}
#header .main-menu > li:hover > a::before,
#header .main-menu > li.open > a::before {
    width: 42% !important;
}
#header .main-menu > li.dropdown > a:after,
#header .main-menu > li.mega-menu > a:after {
    font-size: 10px !important;
    margin-left: 6px !important;
    opacity: .55;
}
/* 最后一项（地区加盟）做成主按钮 */
#header .main-menu > li:last-child > a,
#header .main-menu > li:last-child > a:hover {
    background: #F65801 !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 11px 24px !important;
    margin-left: 12px;
    box-shadow: 0 8px 20px rgba(246, 88, 1, .25);
}
#header .main-menu > li:last-child > a::before {
    display: none !important;
}
#header .main-menu > li:last-child > a:hover {
    background: #d94c00 !important;
}
#header .main-menu > li > .dropdown-menu {
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 22px 55px rgba(10, 33, 85, .15) !important;
    padding: 10px !important;
    margin-top: 6px;
}
#header .main-menu .dropdown-menu a {
    color: #0A2155 !important;
    border-radius: 8px;
}
#header .main-menu .dropdown-menu a:hover {
    background: #FFF1E8 !important;
    color: #F65801 !important;
}

/* PC 尺寸（移动端不动） */
@media (min-width: 992px) {
    body {
        padding-top: 124px !important; /* 44 + 80 */
    }
    #header .header-top-info {
        height: 44px !important;
    }
    #header .main-navigation {
        top: 44px !important;
        height: 80px !important;
        padding: 0 !important;
    }
    #header .main-navigation .container {
        max-width: 1240px !important;
    }
}

/* ---------- 首页轮播 ---------- */
.cst-hero {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 33%; /* 2026-10-25 按 Owner 反馈压低轮播高度（原 38.54%，裁掉上下少量留白） */
    overflow: hidden;
    background: #0A2155;
}
.cst-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.cst-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
}
.cst-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cst-hero-slide.active {
    opacity: 1;
    visibility: visible;
}
.cst-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 33, 85, .88) 0%, rgba(10, 33, 85, .62) 48%, rgba(10, 33, 85, .10) 100%);
}
.cst-hero-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    color: #fff;
    padding: 0 15px;
}
.cst-hero-sub {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}
.cst-hero-sub i {
    color: #F65801;
    font-size: 16px;
}
.cst-hero-title {
    font-size: 52px;
    line-height: 1.16;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
.cst-hero-text {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 32px;
    max-width: 560px;
}
.cst-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.cst-btn,
.cst-btn2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s ease;
}
.cst-btn {
    background: #F65801;
    color: #fff;
    box-shadow: 0 10px 25px rgba(246, 88, 1, .28);
}
.cst-btn:hover {
    background: #d94c00;
    color: #fff;
}
.cst-btn2 {
    border: 1px solid rgba(255, 255, 255, .65);
    color: #fff;
}
.cst-btn2:hover {
    background: #fff;
    color: #0A2155;
}
.cst-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.cst-dot {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: all .3s ease;
}
.cst-dot.active {
    width: 28px;
    background: #F65801;
}
.cst-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    transition: all .3s ease;
}
.cst-hero-nav:hover {
    background: #F65801;
    border-color: #F65801;
}
.cst-hero-nav.prev {
    left: 26px;
}
.cst-hero-nav.next {
    right: 26px;
}

/* ---------- 四宫格特色 ---------- */
.cst-feature-area {
    padding: 90px 0 70px;
    background: #fff;
}
.cst-feature-area .row {
    row-gap: 26px;
}
.cst-feature-item {
    position: relative;
    height: 100%;
    padding: 34px 26px 30px;
    background: #fff;
    border: 1px solid #EEF1F6;
    border-radius: 16px;
    overflow: hidden;
    transition: all .4s ease;
}
.cst-feature-item:hover {
    transform: translateY(-8px);
    border-color: #FBD9C4;
    box-shadow: 0 22px 48px rgba(10, 33, 85, .12);
}
.cst-count {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: #F4F6FA;
    user-select: none;
}
.cst-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #FFF1E8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.cst-feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.cst-feature-content h4 {
    font-size: 19px;
    font-weight: 700;
    color: #0A2155;
    margin-bottom: 10px;
}
.cst-feature-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #757F95;
    margin: 0;
}

@media (max-width: 991px) {
    .cst-hero {
        padding-bottom: 38.5417%;
    }
    .cst-hero-title {
        font-size: 32px;
    }
    .cst-hero-text {
        font-size: 15px;
    }
    .cst-hero-content {
        max-width: 100%;
    }
    .cst-hero-nav {
        display: none;
    }
    .cst-feature-area {
        padding: 56px 0 46px;
    }
}

/* ---------- 首页商品板块：标题/分类 tab 保持最初样式（2026-10-25 按 Owner 反馈回退） ---------- */
.home-page .product_area .single_product {
    background: #fff !important;
    border: 1px solid #EEF1F6 !important;
    border-radius: 16px !important;
    padding: 12px !important;
    height: 100%;
    overflow: hidden;
    transition: all .4s ease;
    box-shadow: none !important;
}
.home-page .product_area .single_product:hover {
    transform: translateY(-6px);
    border-color: #FBD9C4 !important;
    box-shadow: 0 20px 40px rgba(10, 33, 85, .12) !important;
}
.home-page .product_area .product_thumb {
    border-radius: 12px !important;
    overflow: hidden;
    background: #F8F9FA;
    position: relative;
}
.home-page .product_area .product_thumb img {
    width: 100% !important;
    height: 190px !important;
    object-fit: contain !important;
    display: block;
    transition: transform .5s ease;
}
.home-page .product_area .single_product:hover .product_thumb img {
    transform: scale(1.05);
}
.home-page .product_area .product_content {
    padding: 14px 4px 6px !important;
}
.home-page .product_area .product_name a {
    color: #0A2155 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}
.home-page .product_area .product_name a:hover {
    color: #F65801 !important;
}
.home-page .product_area .price_box {
    margin-top: 10px !important;
}
.home-page .product_area .current_price {
    color: #F65801 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}
.home-page .product_area .label_new {
    background: #F65801 !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 2px 10px !important;
    font-size: 12px !important;
}
/* ---------- Bootstrap 语义色对齐参考模板主色（2026-10-25） ---------- */
.btn-success,
.btn-success:focus {
    background-color: #F65801 !important;
    border-color: #F65801 !important;
    color: #fff !important;
}
.btn-success:hover,
.btn-success:active,
.btn-success:not(:disabled):not(.disabled):active {
    background-color: #d94c00 !important;
    border-color: #d94c00 !important;
}
.btn-success.disabled,
.btn-success:disabled {
    background-color: #F6A57A !important;
    border-color: #F6A57A !important;
    color: #fff !important;
    opacity: .8 !important;
}
.text-success {
    color: #F65801 !important;
}
a.text-success:hover,
a.text-success:focus {
    color: #d94c00 !important;
}
.badge-success,
.bg-success {
    background-color: #F65801 !important;
    color: #fff !important;
}
.btn-outline-success {
    color: #F65801 !important;
    border-color: #F65801 !important;
}
.btn-outline-success:hover {
    background-color: #F65801 !important;
    color: #fff !important;
}
.btn-primary,
.btn-primary:focus {
    background-color: #0A2155 !important;
    border-color: #0A2155 !important;
    color: #fff !important;
}
.btn-primary:hover {
    background-color: #14346f !important;
    border-color: #14346f !important;
}
