
/* ---------- 购物车 ------------ */
.cart-bottom {
    border: 1px solid #f1f1f1;
    padding: 10px 20px;
    border-top: 0;
}
.cart-bottom .total-num{
    color: #cc2121;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
}
.cart-bottom .total-price{
    color: #cc2121;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    display: inline-block;
}

/* ---------- 我的地址 ------------ */
.my-account-address .row{
    margin-bottom: 20px;
}
.my-account-address .add-btn{
    margin: 0 !important;
}

/* 地图容器样式，设置宽高让地图显示出来 */
#map {
    width: 100%;
    height: 400px; 
    border: 1px solid #eee;
}
#searchStore{
    display: flex;
    flex-direction: column;
    gap:38px;
    z-index:1;
    position: relative;
    bottom:30px;
    .searchContainer{
        border-radius: 4px;
        background: White;
        height: 60px;
        padding: 15px 20px;
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        display: flex;
        align-items: center;
        font-size:16px;
        color:#242424;
        gap: 20px;
    }
    .dpContainer{
        display: flex;
        gap:40px;
    }
    .cmDropdown{
        display: flex;
        align-items: center;
        gap: 10px;
        color: #242424;
        font-size: 16px;
        cursor: pointer;
    }
    .listContainer{
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 38px;
        .container1{
            display: flex;
            gap:40px;
            .container1{
                display: flex;
                flex-direction: column;
                gap: 6px;
                .title{
                    display: flex;
                    gap: 4px;
                    align-items: flex-start;
                    .text{
                        color:#242424;
                        word-wrap: break-word;
                        overflow-wrap: break-word;
                        white-space: normal;
                        font-size: 16px;
                        line-height: 1.5;
                    }
                }
                .address{
                    margin-top: 4px;
                    color:#174BD8;
                    word-wrap: break-word;
                    overflow-wrap: break-word;
                    white-space: normal;
                    cursor: pointer;
                    line-height: 1.5;
                }
                .mapSearchDesc{
                    display: flex;
                    flex-direction: column;
                    gap: 8px;
                }
            }
        }
    }
}
@media(max-width:768px){
    .listContainer{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media(max-width:500px){
    .listContainer{
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}

/* ---------------商品样式--------------- */
.product-item .image-block img{
    height: 320px;
    object-fit: cover;
}

@media (max-width: 1600px){
    .product-item .image-block img{
        height: 262.5px;
    }
}

@media (max-width: 1200px){
    .product-item .image-block img{
        height: 280px;
    }
}

@media (max-width: 992px){
    .product-item .image-block img{
        height: 315px;
    }
}

@media (max-width: 768px){
    .product-item .image-block img{
        height: 225px;
    }
}

@media (max-width: 576px){
    .product-item .image-block img{
        height: 481px;
    }
}


/* ---------------新闻样式--------------- */
.single-blog-item .blog-image img{
    height: 260px;
    object-fit: cover;
}

@media (max-width: 1200px){
    .single-blog-item .blog-image img{
        height: 200px;
    }
}

@media (max-width: 992px){
    .single-blog-item .blog-image img{
        height: 240px;
    }
}

@media (max-width: 576px){
    .single-blog-item .blog-image img{
        height: 230px;
    }
}

/* --------------- 登陆注册样式--------------- */
.login-register-footer  {
    line-height: 28px;
}


        
/* Radio 样式优化 */
.single-form input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    transition: all 0.2s ease;
}

.single-form input[type="radio"]:checked {
    border-color: #cc2121;
}

.single-form input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cc2121;
}

.single-form input[type="radio"]:hover {
    border-color: #cc2121;
}

.single-form label {
    margin-right: 20px;
}
