

 :root {
     --primary-color: #3a7bd5;
     --secondary-color: #00d2ff;
     --accent-color: #ff7e5f;
     --text-dark: #333;
     --text-light: #fff;
     --bg-light: #f9f9f9;
 }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}



 .footer{
     -webkit-text-size-adjust: 100%;
     tab-size: 4;
     font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
     font-feature-settings: normal;
     font-variation-settings: normal;
     -webkit-tap-highlight-color: transparent;
     --fa-style-family-brands: "Font Awesome 6 Brands";
     --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
     --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
     --fa-style-family-classic: "Font Awesome 6 Free";
     --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
     line-height: inherit;
     --tw-border-spacing-x: 0;
     --tw-border-spacing-y: 0;
     --tw-translate-x: 0;
     --tw-translate-y: 0;
     --tw-rotate: 0;
     --tw-skew-x: 0;
     --tw-skew-y: 0;
     --tw-scale-x: 1;
     --tw-scale-y: 1;
     --tw-pan-x: ;
     --tw-pan-y: ;
     --tw-pinch-zoom: ;
     --tw-scroll-snap-strictness: proximity;
     --tw-gradient-from-position: ;
     --tw-gradient-via-position: ;
     --tw-gradient-to-position: ;
     --tw-ordinal: ;
     --tw-slashed-zero: ;
     --tw-numeric-figure: ;
     --tw-numeric-spacing: ;
     --tw-numeric-fraction: ;
     --tw-ring-inset: ;
     --tw-ring-offset-width: 0px;
     --tw-ring-offset-color: #fff;
     --tw-ring-color: rgb(59 130 246 / 0.5);
     --tw-ring-offset-shadow: 0 0 #0000;
     --tw-ring-shadow: 0 0 #0000;
     --tw-shadow: 0 0 #0000;
     --tw-shadow-colored: 0 0 #0000;
     --tw-blur: ;
     --tw-brightness: ;
     --tw-contrast: ;
     --tw-grayscale: ;
     --tw-hue-rotate: ;
     --tw-invert: ;
     --tw-saturate: ;
     --tw-sepia: ;
     --tw-drop-shadow: ;
     --tw-backdrop-blur: ;
     --tw-backdrop-brightness: ;
     --tw-backdrop-contrast: ;
     --tw-backdrop-grayscale: ;
     --tw-backdrop-hue-rotate: ;
     --tw-backdrop-invert: ;
     --tw-backdrop-opacity: ;
     --tw-backdrop-saturate: ;
     --tw-backdrop-sepia: ;
     --tw-contain-size: ;
     --tw-contain-layout: ;
     --tw-contain-paint: ;
     --tw-contain-style: ;
     box-sizing: border-box;
     border-width: 0;
     border-style: solid;
     border-color: #e5e7eb;
     --tw-bg-opacity: 1;
     background-color: #15254A;
     padding-top: 4rem;
     padding-bottom: 4rem;
     --tw-text-opacity: 1;
     color: rgb(156 163 175 / var(--tw-text-opacity, 1));
 }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* 透明导航栏 */
.navbar {
    background-color: transparent !important;
    padding: 15px 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 15, 45, 0.95) !important;
    padding: 10px 0;
    position: fixed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 兼容旧版浏览器 */
@supports not (backdrop-filter: blur(10px)) {
    .navbar.scrolled {
        background-color: rgba(10, 15, 45, 0.98) !important;
    }
}

@supports (backdrop-filter: blur(10px)) {
    .navbar.scrolled {
        backdrop-filter: blur(10px);
        background-color: rgba(10, 15, 45, 0.7) !important;
    }
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-light) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* 桌面端搜索框样式 */
.search-container {
    display: flex;
    max-width: 300px;
    margin: 0 15px;
}

.search-input {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none;
    border-radius: 10px 0 0 10px;
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    width: 100%;
}

.search-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background-color:#41b4ff;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-radius: 0 10px 10px 0;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}



.search-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 移动端搜索框样式 */
.mobile-search-container {
    display: none;
    width: 100%;
    padding: 10px 15px;
    background-color: transparent;
    position: relative;
    z-index: 999;
}


.nav-btn {
    background-color: transparent;
    border:1px solid white;
    color: white;
    padding: 5px 10px;

    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    width: 100px;
    text-align: center;

    /* 透明度兼容写法 */
    opacity: 0.9;
    filter: alpha(opacity=90); /* IE8及以下 */

    /* 边框透明兼容方案 */
    border-color: rgba(255,255,255,0.9);
    -webkit-border-color: rgba(255,255,255,0.9);
    -moz-border-color: rgba(255,255,255,0.9);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E6FFFFFF', endColorstr='#E6FFFFFF'); /* IE6-8 */


    /* 圆角兼容写法 */
    border-radius: 14px !important;
    -webkit-border-radius: 14px !important;
    -moz-border-radius: 14px !important;
}

 .nav-btn2{
     background-color:#41b4ff;
     border: 1px solid #41b4ff;
 }

/* 悬停效果 */
.nav-btn:hover {
    opacity: 1;
    filter: alpha(opacity=100);
    background-color: rgba(255,255,255,0.1);
}

/* 英雄区域 */
.hero-section {
    background:  url('index1.gif');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 150px;
    text-align: center;
}

.fs20{
    font-size:20px;
}

.fs16{
 font-size:16px;
}

.card-box{
    box-shadow:
            0 0 5px 5px rgba(0, 0, 0, 0.1), /* 最外层 */
            0 0 10px 10px rgba(0, 0, 0, 0.02), /* 第二层 */
            0 0 15px 15px rgba(0, 0, 0, 0.01), /* 第三层 */
            0 0 20px 20px rgba(0, 0, 0, 0);   /* 最内层 */
    -webkit-box-shadow:  0 0 5px 5px rgba(0, 0, 0, 0.1), /* 最外层 */
    0 0 10px 10px rgba(0, 0, 0, 0.02), /* 第二层 */
    0 0 15px 15px rgba(0, 0, 0, 0.01), /* 第三层 */
    0 0 20px 20px rgba(0, 0, 0, 0);   /* 最内层 */
    -moz-box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1), /* 最外层 */
    0 0 10px 10px rgba(0, 0, 0, 0.02), /* 第二层 */
    0 0 15px 15px rgba(0, 0, 0, 0.01), /* 第三层 */
    0 0 20px 20px rgba(0, 0, 0, 0);   /* 最内层 */
    -o-box-shadow:  0 0 5px 5px rgba(0, 0, 0, 0.1), /* 最外层 */
    0 0 10px 10px rgba(0, 0, 0, 0.02), /* 第二层 */
    0 0 15px 15px rgba(0, 0, 0, 0.01), /* 第三层 */
    0 0 20px 20px rgba(0, 0, 0, 0);   /* 最内层 */

    -webkit-border-radius: 10px;
    -moz-border-radius:  10px;
    -o-border-radius:  10px;
    border-radius:  10px;
}


 .bgcover {
     background-size: cover;
     background-position: center;
 }

 .banner1 {
     height: 1200px;
     background: url("1b.png");
 }

 .banner3 {
     height:600px;
     background: url("3b.png");
 }

 .banner {

     background: url("bn1.png");
 }

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.product-name {
    font-size: 1.2rem;
    line-height: 2.4rem;
    color: #000;
   /* padding: 10px 20px;*/
    margin-top: 20px;
}

.hero-btn {
    background-color: #0a53be;
    border: none;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 18px;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.mobile-hide{
    display: block;
}

.pc-hide{
    display: none;
}

.wcolor{
    color: #41b4ff;
}

.footer .container{
    background: url("wod.png")  100px 50px no-repeat;
}

/* 响应式调整 */
@media (max-width:990px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .pc-hide{
        display: block;
    }

    .product-name {
        font-size: 1.5rem;
        padding: 8px 25px;
    }

    .navbar-brand{
        margin: 0px;
    }
    /* 移动端隐藏桌面搜索框 */
    .mobile-hide{
        display: none;
    }

    .search-container{
        max-width: 100%;
    }
    /* 显示移动端搜索框 */
    .mobile-search-container {
        display: flex !important;
    }

    /* 调整英雄区域上边距 */
    .hero-section {
        padding-top: 150px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .search-input{  border-radius:3px 0 0 3px;padding: 2px;}
    .search-btn{  border-radius: 0 3px 3px 0;}

    .hero-subtitle {
        font-size: 1rem;
    }

    .product-name {
        font-size: 1.3rem;
        padding: 6px 20px;
    }

    .hero-btn {
        padding: 10px 30px;
        font-size: 16px;
    }

    /* 显示移动端搜索框 */
    .mobile-search-container {
        display: flex !important;
    }
}
.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
}

.navbar-nav .nav-btn{
    padding: 0px !important;
    margin: 10px;
}
.fixed-top{}
.md0{margin: 0px;}


/*//推荐商品*/

.product-card {
    width: 100%;
    margin-bottom: 20px;
}
.product-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
}
.product-coupon{
    color: #41B4FF;
}

 .product-coupon span{
     background:  #41B4FF;
     color: #fff;
     padding: 2px 0 0 2px;
 }

.product-name {
    height: 5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.7rem;
}
.discount-price {
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
}

/* 调整列间距 */
.product-grid {
    margin-right: -15px;
    margin-left: -15px;
}
.product-grid > [class^="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

/* 响应式卡片宽度 */
@media (min-width: 576px) {
    .product-card {
        max-width: 220px;
    }
}
@media (min-width: 768px) {
    .product-card {
        max-width: 100%;
    }
}
@media (min-width: 992px) {
    .product-card {
        max-width: 100%;
    }
}




.content-auto {
    content-visibility: auto;
}
.navbar-transparent {
    background-color: transparent !important;
}
.btn-rounded {
    border-radius: 20px !important;
}
.nav-link-white {
    color: white !important;
}
.nav-link-white:hover {
    color: #e2e8f0 !important;
}
.bg-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #fff;
    border-top: 1px solid #e6e6e6;
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
}
.bottom-nav-item.active {
    color: #3b82f6;
}
.bottom-nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}
.bottom-nav-label {
    font-size: 12px;
}
.main-content {
    padding-bottom: 60px; /* 为底部导航留出空间 */
}


.reg-btn{
    border-radius: 30px !important;
    -webkit-border-radius: 30px !important;
   /* height: 3rem;*/
    background: #2BA2FF;
    /*line-height: 2rem;
    font-size: 1.2rem;*/
    font-size: 1.2rem;
}

 .register-container {
     max-width: 500px;
     margin: 50px auto;
     padding: 30px;
     border-radius: 30px;
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
     background: linear-gradient(
             to bottom,
             #B0E2FF 0px,  /* 开始渐变 */
             #FFFFFF 100px,  /* 100px处变为纯白 */
             #FFFFFF 100%    /* 100px后保持纯白 */
     );

     /* 回退背景色 */
     background-color: #FFFFFF;
     /* IE10 */
     background: -ms-linear-gradient(top, #B0E2FF 0px, #FFFFFF 100px);
     /* Firefox 3.6-15 */
     background: -moz-linear-gradient(top, #B0E2FF 0px, #FFFFFF 100px);
     /* Opera 11.1-12.0 */
     background: -o-linear-gradient(top, #B0E2FF 0px, #FFFFFF 100px);
     /* 旧版 WebKit */
     background: -webkit-linear-gradient(top, #B0E2FF 0px, #FFFFFF 100px);
     /* 标准语法 */
     background: linear-gradient(to bottom, #B0E2FF 0px, #FFFFFF 100px, #FFFFFF 100%);
 }
.fs30{
    font-size: 31px;
    font-weight: 400 !important;
}

 /* 调整输入框组的间距等 */
 .form-group {
     margin-bottom: 20px;
 }
