* {
    margin: 0;
    padding: 0;
} 
input::placeholder {
    color: #909399;;
}
input:focus {
    outline: none;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}
.bigbox {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 42px);
    background-image: url(/static/public/images/shoucebeij.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.index_box {
    padding-top: 110px;
    width: 90%;
    height: auto;
    margin: 0 auto;
    max-width: 1370px;
    padding-bottom: 50px;
}

.index_title {
    width: 100%;
    height: auto;
    font-size: 16px;
    text-align: center;
    font-size: 28px;
    padding-bottom: 30px;
    letter-spacing: 2px;
}

.index_title a {
    color: black;
}

.index_title span {
    color: rgb(17, 128, 251);
}

.index_ss_box {
    width: 70%;
    height: 40px;
    margin: 0 auto;
    border: 1px solid #ccc;
    display: flex;
    border-radius: 100px;
    overflow: hidden;
    max-width: 563px;
}

.index_ss_box input {
    padding-left: 10px;
    width: 100%;
    height: auto;
    border: 0px solid #ccc;
}

.index_ss_icon {
    width: 40px;
    min-width: 40px;
    height: 100%;
    background-color: rgb(17, 128, 251);
    display: flex;
    align-items: center;
    justify-content: center;
}

.index_ss_icon img {
    width: 65%;
    height: 65%;
    object-fit: contain;
}

.index_item_kuang {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
}

.index_subtitle {
    width: 100%;
    height: auto;
    font-size: 18px;
    font-weight: 700;
    padding-top: 40px;
    padding-bottom: 20px;
}

.index_item_box {
    padding-bottom: 20px;
    width: 100%;
    min-height: 220px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index_item_sombox {
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-width: 368px; */
}

.index_item {
    width: 90%;
    height: 90%;
}

.index_item_title { 
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.index_item_title img {
    height: 60%;
    width: auto;
    object-fit: contain;
    margin-right: 3px;
}

.index_itembox {
    width: 100%;
    min-height: 125px;
    height: auto;
    padding-top: 10px;
}

.index_itembox ul li {
    padding-top: 5px;
    font-size: 14px;
    display: flex;
    color: black;
    align-items: center;
}

.index_itembox ul li:hover {
    color: rgb(17, 128, 251);
}

.index_itembox ul li p {
    padding-left: 5px;
    width: 100%;
    overflow: hidden;
    align-items: center;
    white-space: nowrap;
    /* 文字不换行 */
    overflow: hidden;
    /* 溢出部分隐藏 */
    text-overflow: ellipsis;
    /* 超出部分用省略号代替 */ 
}

.gengduo {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-top: 1px solid #ccc;
}

.gengduo_box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #41a0ff;
    font-size: 14px;
}

.gengduo_box img {
    margin-left: 10px;
    height: 100%;
    max-width: 20px;
    width: auto;
    object-fit: contain;
}

.search_box {
    width: 90%;
    height: auto;
    margin: 0 auto;
}

.search_item {
    width: 90%;
    height: auto;
    min-height: 30px;
    padding: 20px 5%;
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.1);
    /* 更柔和的阴影 */
    max-width: 998px;
    margin: 0 auto;
    border: 1px solid #cccccc;
    margin-bottom: 15px;


}

.search_item a {
    display: block;
    width: 100%;
    height: auto;
    color: black;
}

.search_item_title {
    font-size: 20px;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgb(17, 128, 251);
    font-size: 20px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.search_item_title img {
    max-height: 20px;
    padding-right: 5px;
    object-fit: contain;
}

.search_item_subtitle {
    font-size: 12px;
    padding-bottom: 10px;
}

.search_item_subtitle span {
    padding-right: 8px;
}

.search_short {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
    font-size: 16px;
}
.product_item_a{
    display: flex;
    align-items: center;
}
.product_item_a img{ 
    width: 13px;
    height: 13px;
    padding-right: 5px;
    object-fit: contain;
}
@media (min-width:768px) {
    .index_item_sombox{
        width: 90%;
        margin: 0 auto;
    }
    .search_item_title {
        font-size: 28px;
        padding: 10px 0;
    }

    .search_item_title img {
        max-height: 25px;
        padding-right: 5px;
        object-fit: contain;
    }

    .search_short {
        padding-bottom: 10px;
    }

    .search_item {
        min-height: 80px;
        margin-bottom: 50px;
    }

    .index_box {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .index_title {
        font-size: 36px;
        font-weight: 600;
    }

    .index_ss_box {
        width: 70%;
        height: 50px;
    }

    .index_ss_icon {
        width: 75px;
    }

    .index_ss_box input {
        padding-left: 20px;
        font-size: 14px;
    }

    .index_item_box {
        width: 33%;
        min-height: 270px;
        height: auto;
    }

    .index_item_title {
        font-size: 22px;
    }

    .index_item_title img {
        height: 65%;
        width: auto;
        object-fit: contain;
        margin-right: 3px;
    }

    .index_itembox {
        width: 100%;
        min-height: 165px;
        height: auto;
        padding-top: 10px;
    }

    .gengduo {
        display: block;
        width: 100%;
        height: 50px;
        line-height: 50px;
        border-top: 1px solid #ccc;
    }

    .index_itembox ul li {
        padding-top: 8px;
        font-size: 18px;
        display: flex;
        width: 100%;
    }

    .index_itembox ul li p {
        padding-left: 5px;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (min-width: 996px) {
    .index_box {
        padding-top: 130px;
        width: 80%;
    }

    .index_title {
        font-size: 48px;
    }
    .product_item_a img{ 
        width: 14px;
        height: 14px;
        padding-right: 5px;
        object-fit: contain;
    }
}

@media (min-width: 1200px) {
    .product_item_a img{ 
        width: 15px;
        height: 15px;
        padding-right: 5px;
        object-fit: contain;
    }
    .index_item_box {
        width: 25%;
        padding-bottom: 40px;
    }

    .index_box {
        padding-top: 130px;
    }

    .index_subtitle {
        padding-left: 2%;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .index_title {
        padding-bottom: 45px;
    }

    .index_item_title {
        font-size: 18px;
    }

    .index_itembox ul li {
        padding-top: 8px;
        font-size: 14px;
        display: flex;
        width: 100%;
    }

    .popup-content_box {
        font-size: 20px;
        line-height: 50px;
    }
}



.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup-content {
    background-color: #fff;
    max-width: 300px;
    margin: 40vh auto;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.popup-content_box {
    width: 100%;
    min-height: 80px;
    height: 100%;
    height: auto;
    color: black;
    display: flex;
    align-items: center;
    line-height: 30px;
    justify-content: center;
    padding-bottom: 20px;
    text-align: center;
}

.popup-content_box img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}


.search-container {
    margin-bottom: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    /* 确保在所有内容上面 */
}

.loading {
    font-size: 24px;
    color: #FFFFFF;
    /* 加载文本颜色 */
    border: 2px solid #FFFFFF;
    /* 加载文本边框 */
    padding: 10px;
    border-radius: 5px;
    animation: loadingAnimation 1s infinite;
}

@keyframes loadingAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

body {
    font-family: Arial, sans-serif;
}

.image-container {
    text-align: center;
    margin-top: 50px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    margin: 10px;
    /* 给图片增加一点间距 */
}
/* 模态框样式 */
.modal {
    display: none; /* 默认隐藏模态框 */
    position: fixed;
    z-index: 1000; /* 位于最上层 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* 允许滚动 */
    background-color: rgba(0, 0, 0, 0.8); /* 背景颜色和透明度 */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%; /* 最大宽度 */
    max-height: 80%; /* 最大高度 */
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer; /* 鼠标指针 */
}

.close_box {
    display: flex;
    justify-content: center; /* 中心对齐 */
    align-items: center; /* 垂直居中 */
    height: 100%; /* 占满模态框 */
}

#caption {
    text-align: center;
    color: white; /* 文字颜色 */
    margin-top: 10px; /* 标题与图片的间距 */
}

 

.loader {
    display: flex;
    justify-content: space-between;
    width: 80px; /* 可根据需要调整 */
}

.bar {
    width: 12px; /* 条形的宽度 */
    height: 60px; /* 增加条形的高度 */
    background-color: #3498db; /* 条形颜色 */
    animation: bounce 0.8s infinite alternate;
}

.bar:nth-child(2) {
    animation-delay: 0.2s; /* 第二个条形的延迟 */
}

.bar:nth-child(3) {
    animation-delay: 0.4s; /* 第三个条形的延迟 */
}

@keyframes bounce {
    from {
        transform: scaleY(1); /* 初始状态 */
    }
    to {
        transform: scaleY(2); /* 增加的结束状态，变高 */
    }
}
