/* 自定义颜色变量 */
:root {
    --custom-primary: var(--bs-primary);
    --custom-primary-light: var(--bs-primary-bg-subtle);
    --custom-primary-dark: var(--bs-primary-text);
    --custom-secondary: #FEA02F;
    --custom-success: #20c997;
    --custom-wihte: #fff;
}

.color-green{
   color: var(--custom-success)
}
/* 主题色文字样式 */
.color-primary{
    color: var(--custom-primary);
}
.color-primary-light{
    color: var(--custom-primary-light);
}
.color-primary-dark{
    color: var(--custom-primary-dark);
}

/* 其他颜色样式 */
.color-orange{
    color: var(--custom-secondary);
}
.color-white{
    color: var(--custom-wihte);
}
.color-red{
    color: var(--bs-danger);
}

/* 主题色背景样式 */
.bg-primary{
    background: var(--custom-primary);
}
.bg-primary-light{
    background: var(--custom-primary-light);
}
.bg-orange{
    background: var(--custom-secondary);
}

/* 主题色边框样式 */
.border-primary{
    border-color: var(--custom-primary);
}
.border-primary-light{
    border-color: var(--custom-primary-light);
}

/* 主题色按钮样式 */
.btn-primary-custom {
    background-color: var(--custom-primary);
    border-color: var(--custom-primary);
    color: #fff;
}

.btn-primary-custom:hover {
    background-color: var(--custom-primary-dark);
    border-color: var(--custom-primary-dark);
    color: #fff;
}

.btn-outline-primary-custom {
    color: var(--custom-primary);
    border-color: var(--custom-primary);
    background-color: transparent;
}

.btn-outline-primary-custom:hover {
    background-color: var(--custom-primary);
    border-color: var(--custom-primary);
    color: #fff;
}

/* 主题色链接样式 */
.link-primary-custom {
    color: var(--custom-primary);
    text-decoration: none;
}

.link-primary-custom:hover {
    color: var(--custom-primary-dark);
    text-decoration: underline;
}

/* 主题色卡片样式 */
.card-primary {
    border-left: 4px solid var(--custom-primary);
}

.card-primary .card-header {
    background-color: var(--custom-primary-light);
    border-bottom: 1px solid var(--custom-primary-light);
}

/* 主题色徽章样式 */
.badge-primary-custom {
    background-color: var(--custom-primary);
    color: #fff;
}

/* 主题色进度条样式 */
.progress-bar-primary {
    background-color: var(--custom-primary);
}

/* 主题色分页样式 */
.pagination .page-item.active .page-link {
    background-color: var(--custom-primary);
    border-color: var(--custom-primary);
}

.pagination .page-link:focus{
    box-shadow:none;
}
/*.pagination .page-link {*/
/*    color: var(--custom-primary);*/
/*}*/

/*.pagination .page-link:hover {*/
/*    color: var(--custom-primary-dark);*/
/*    background-color: var(--custom-primary-light);*/
/*    border-color: var(--custom-primary);*/
/*}*/


ol,ul,li,dl,dt,dd{
    list-style: none;
    margin: 0;
    padding: 0;
}
.icon_svg_16{
    width:16px;
}
.icon_svg_20{
    width:20px;
}
.icon_svg_24{
    width:24px;
}
.fs-12{
    font-size:0.6rem
}
.fs-8{
    font-size: 12px;
}
.fs-14{
    font-size: 14px;
}
.navbar-nav{
    gap: 1rem;
}


.navbar-nav.top_main_nav{
    gap:1.2rem
}

.navbar-nav>li>.dropdown-menu {
    width: auto;
    min-width: 180px;
    top: 70%;
    border:none;
    border-radius:0;
    border-bottom: 3px solid var(--custom-primary);
    box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
}
.navbar-nav>li>.dropdown-menu li{
    margin: 0 !important;
    width: 100%;
    padding: 1px 0;
    line-height: 33px;
}
.multi-column-dropdown li a{
    color: #353535;
    text-decoration-line: none;
    font-size: 0.85rem;
}
.multi-column-dropdown li:hover a{
    text-decoration-line: underline;
}
.navbar-nav>li>.dropdown-menu.columns-2 {
    /*min-width: 600px;*/
}
.navbar-nav.top_main_nav >.nav-item:hover> .dropdown-menu{
    display: block;
}
/*.first-col {*/
/*    border-right: 1px solid #d7d7d7;*/
/*}*/
.columns-2-header {
    height: 35px !important;
    font-size: 0.95rem;
    color:#4571bb;
}

.mine_tabs .iconfont{
    font-size:20px;
}

.form-check label,
.form-check a{
    display: inline-block;
    cursor: pointer!important;
}

/* 导航链接active状态样式 */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--custom-primary) !important;
    font-weight:bold;
}

/* 导航链接下划线效果 */
.navbar-nav .nav-link.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--custom-primary);
}

/* 导航链接相对定位 */
.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.in_right_{
    display: flex;
    align-items: center;
    /*gap:1rem;*/
    /*margin-left: 11rem;*/
}
.navbar-nav .border_line{
    width: 0;
    height: 1.19rem;
    border-right: 0.09rem solid #E0E6E2;
}

.dropdown-item:focus,
.dropdown-item.active{
    background:#f2f2f2!important;
    color: var(--custom-primary) !important;
}

.dropdown-item:active{
    background: var(--custom-primary) !important;
    color: #fff !important;
}
.in_favor{
    position: relative;
    color: var(--custom-primary);
    cursor: pointer;
}
.ic_show{
    display: block;
}
.ic_hide{
    display: none;
}
.in_favor:hover .ic_show{
    display: none!important;
}

.in_favor:hover .ic_hide{
    display: inline-block!important;
}

/* 当collectNum有数据时显示填充图标 */
.in_favor.has-collect .ic_show{
    display: none!important;
}

.in_favor.has-collect .ic_hide{
    display: inline-block!important;
}

.in_favor .numb{
    position: absolute;
    right: -0.1rem;
    top: 0;
    min-width: 0.5rem;
    height: 0.5rem;
    box-shadow: 0rem 0.25rem 0.5rem 0rem rgba(0,0,0,0.15);
    background: var(--custom-primary);
    color: #fff;
    font-size: 0.39rem;
    line-height: 0.5rem;
    font-family: MulishRoman-Bold, MulishRoman-Bold;
    text-align: center;
    border-radius: 100%;
}
/*图片动画*/
.card-img-top img {
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.card-img-top:hover img {
    transform: scale(1.1);
}
.grid_card .card-body,
.card-body.grid_card{
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}
.grid_card .card-img-top{
    height: 15rem;
}

.list_card .btn-primary{
    min-width: 10rem;
}
.list_card .card-img-top{
    /*width: 27.63rem;*/
    /*height:14rem;*/
}
/* 自定义按钮样式 */
.btn-custom {
    background-color: var(--custom-primary);
    border-color: var(--custom-primary);
    color: white;
}

.btn-custom:hover {
    background-color: var(--custom-primary-dark);
    border-color: var(--custom-primary-dark);
    color: white;
}

/* 自定义卡片样式 */
.card {
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
    transition: box-shadow 0.3s ease;
    /*border: none;*/
    border-color:#ddd;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}

.card:hover {
    /*transform: translateY(-5px);*/
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

/* 自定义导航栏样式 */
/*.navbar-brand {*/
/*    font-weight: bold;*/
/*    font-size: 1.5rem;*/
/*}*/
.navbar-brand img{
    height:3rem;
}
/* 自定义表单样式 */
.form-control:focus {
    border-color: var(--custom-primary);
    box-shadow: 0 0 0 0.2rem var(--custom-primary-light);
}

/* 自定义进度条样式 */
.progress {
    height: 25px;
    border-radius: 15px;
}

.progress-bar {
    border-radius: 15px;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .card {
        margin-bottom: 1rem;
    }
    .card.mb-sm-0{
        margin-bottom: 0!important;
    }
}

/* 自定义动画 */
/*@keyframes fadeInUp {*/
/*    from {*/
/*        opacity: 0;*/
/*        transform: translateY(30px);*/
/*    }*/
/*    to {*/
/*        opacity: 1;*/
/*        transform: translateY(0);*/
/*    }*/
/*}*/

/*.fade-in-up {*/
/*    animation: fadeInUp 0.6s ease-out;*/
/*}*/

/* 自定义工具提示样式 */
.tooltip {
    font-size: 0.875rem;
}

/* 自定义模态框样式 */
.modal-header {
    background-color: var(--custom-primary);
    color: white;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* 自定义表格样式 */
.table-custom {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.table-custom thead th {
    background-color: var(--custom-primary);
    color: white;
    border: none;
}



/* 自定义徽章样式 */
.badge-custom {
    background-color: var(--custom-secondary);
    color: white;
}

/* 自定义列表组样式 */
.list-group-item-custom {
    border-left: 4px solid var(--custom-primary);
    background-color: #f8f9fa;
}

.list-group-item-custom:hover {
    background-color: var(--custom-primary-light);
}

/* 自定义面包屑导航样式 */
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    color: var(--custom-primary);
}


.fontstyle .d-flex{
    gap: 0.45rem;
}
.fontstyle p{
    margin-bottom: 0.45rem;
}
.fontstyle{
    font-size: 0.8rem;
}
.foot_b{
    display: flex;
    gap: 1rem;
}
.foot_b .bi{
    font-size: 0.8rem;
}

.slider-container {
    flex:1;
    margin: 0 1rem;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--custom-primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--custom-primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.675rem;
    color: #6c757d;
}

.slider-labels span {
    position: relative;
}

.slider-labels span::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background: #dee2e6;
}
.about_container p{
    text-indent: 2em;
}
.p24_aboutLogos.p24_social a {
    display: inline-block;
    width: 40px;
    height: 40px;
}

.city_card {
    position: absolute;
    line-height: 50px;
    top: 30px;
    left:50%;
    transform: translateX(-50%);
    min-width: 20rem;
    max-width: 40rem;
    display: none;
    z-index: 1000;

}
.city_card::before {
    content: "";
    position: absolute;
    left:  50%;
    top: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
    box-shadow: -2px -2px 8px rgba(0,0,0,0.1);
    z-index:-1;
}
.city_grid{
    display:flex;
    flex-wrap:wrap;
}
.city_grid a.active{
    background: var(--custom-primary) !important;
    color: #fff !important;
}
.city_grid a:not(.active):hover {
    border-color: var(--custom-primary) !important;
    color: var(--custom-primary) !important;
}
/*委托*/
/* 表单弹窗样式 */
#formModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: none;
}

#formModal .modal-header {
    border-bottom: none;
}

#formModal .modal-footer {
    border-top: 1px solid #eee;
}

#formModal .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

#formModal .form-control,
#formModal .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

#formModal .form-control:focus,
#formModal .form-select:focus {
    border-color: var(--custom-primary);
    box-shadow: 0 0 0 0.2rem var(--custom-primary-light);
}

#formModal .btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}



#formModal .start-unit {
    left:1rem;
    height:100%;
}
#formModal .end-unit {
    right:1rem;
    height:100%;
}

.navbar-toggler{
    padding:0.25rem!important;
    box-shadow: none!important;
}
/* 移动端 Offcanvas 样式 */
@media (max-width: 991.98px) {
    /* Offcanvas 侧边栏样式 */
    .offcanvas .login_mb_wrap >a{
        display: flex;
    }
    .offcanvas {
        width: 280px !important;
    }
    
    .offcanvas-header {
        border-bottom: 1px solid #e9ecef;
        padding: 1rem 1.5rem;
    }
    
    .offcanvas-title {
        font-weight: 600;
        color: var(--custom-primary);
    }
    
    .offcanvas-body {
        padding: 1rem;
    }
    .offcanvas-body .top_1 .iconfont{
        font-size:2rem;
        line-height:1;
    }
    .offcanvas-body .fs-8 {
        font-size: 0.85rem;
    }
    .offcanvas-body .nav-link .iconfont:first-child{
        font-size: 1.6rem;
    }
    /* 移动端导航链接样式 */
    .offcanvas .navbar-nav {
        gap: 0;
    }
    .offcanvas .navbar-nav .nav-link {
        padding: 0;
        display: flex;
        align-items: center;
        font-weight: 500;
        color: #333;
        transition: all 0.3s ease;
    }
    
    .offcanvas .navbar-nav .nav-link:hover {
        color: var(--custom-primary);
        background-color: #f8f9fa;
        padding-left: 0.5rem;
    }

    
    /* 移动端城市选择样式 */
    #chooseCityMobile {
        /*background-color: #f8f9fa;*/
        /*padding: 0.75rem 1rem;*/
        /*border-radius: 8px;*/
        /*border: 1px solid #e9ecef;*/
        font-weight: 500;
        color: var(--custom-primary);
        text-align: center;
        transition: all 0.3s ease;
    }

    /* 移动端收藏按钮样式 */
    /*.offcanvas .in_favor {*/
        /*font-size: 1.2rem;*/
        /*padding: 0.5rem;*/
        /*border-radius: 8px;*/
        /*background-color: #f8f9fa;*/
        /*border: 1px solid #e9ecef;*/
        /*transition: all 0.3s ease;*/
    /*}*/
    
    /*.offcanvas .in_favor:hover {*/
    /*    background-color: var(--custom-primary-light);*/
    /*    border-color: var(--custom-primary);*/
    /*}*/
    
    /* 移动端语言选择样式 */
    .offcanvas .dropdown .btn {
        border-radius: 8px;
        padding: 0.75rem 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .offcanvas .dropdown .btn:hover {
        background-color: var(--custom-primary-light);
        border-color: var(--custom-primary);
    }
    
    /* 移动端登录按钮样式 */
    .offcanvas .btn-primary {
        border-radius: 8px;
        padding: 0.75rem 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .offcanvas .btn-outline-danger {
        border-radius: 8px;
        /*padding: 0.75rem 1rem;*/
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    /* 移动端城市卡片样式调整 */
    .offcanvas .city_card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        min-width: auto !important;
        max-width: none !important;
        margin-top: 0.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-radius: 8px;
    }
    
    .offcanvas .city_card::before {
        display: none;
    }
    
    .offcanvas .city_grid {
        gap: 0.5rem;
    }
    
    .offcanvas .city_grid a {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        text-align: center;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    #formModal .modal-dialog {
        margin: 20px;
    }

    #formModal .modal-body {
        padding: 20px;
    }

    #formModal .modal-footer {
        padding: 15px 20px;
    }
}

/* 居中样式 */
.toast-container-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
}

/* 美化 Toast */
.toast.border-only {
    border: 2px solid rgba(0, 0, 0, 0.2) !important; /* 半透明边框 */
    border-radius: 12px;                /* 圆角 */
    padding: 0.75rem 1.25rem;           /* 内边距 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 柔和阴影 */
}

.toast.border-only .toast-body {
    font-size: 1.1rem;
    font-weight: 500;
    color: #222; /* 深色文字 */
    text-align: center;
    letter-spacing: 0.5px;
}

/*必卖*/
.label_new1{
    left:0.85rem;
    top:0.85rem;
    /*width: 4.13rem;*/
    height: 2.06rem;
    padding:0 1rem;
    background: rgba(255,255,255,.85);
    border-radius: 3.13rem 3.13rem 3.13rem 3.13rem;
    font-family: MulishRoman-SemiBold, MulishRoman-SemiBold;
    font-weight: 400;
    font-size: 0.94rem;
    text-align: center;
    line-height: 2.06rem;
    text-decoration: none;
    cursor:pointer;
    color: var(--custom-primary);
}
.hui-textinput__wrapper{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #737d87;
    border-radius: 16px;
    min-width: 0;
    max-width: 100%;
    height: 40px;
    padding: 0 0.65rem;
    cursor: pointer;
}
.hui-textinput__wrapper .bi{
    font-size: 24px;
}
.hui-textinput__wrapper span{
    font-weight: 550;
}
.hui-textinput__wrapper:hover{
    border-color: #282c2e;
    background:#fafafa;
}
.hui-select__menu p{
    font-size:0.85rem;
    font-weight: 550;
}
.hui-select__menu.top{
    top:100%
}
.hui-select__menu.bottom{
    bottom: 100%;
}
.hui-select__menu.right{
    right:0;
}
.hui-select__menu {
    min-width: 184px;
    min-height: 216px;
    width: auto;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #737d87;
    border-radius: 8px;
    background-color: #fff;
    /*top: 100%;*/
    /*left: 0;*/
    text-align: center;
}
.hui-select__menu .qr-code-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 160px;
    width: 160px;
    padding: 16px;
    border-radius: 16px;
    border: 2px solid #737d87;
}

/* 安装应用按钮图标旋转效果 */
#installAppIcon, #installAppIconMobile {
    transition: transform 0.3s ease;
}

#installAppIcon.rotated, #installAppIconMobile.rotated {
    transform: rotate(180deg);
}

/* 移动端安装应用按钮样式 */
.install-app-button-root-mobile .hui-textinput__wrapper {
    width: 100%;
    justify-content: space-between;
}

.install-app-button-root-mobile .hui-select__menu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0.5rem;
}

/* 语言下拉图标旋转（基于 aria-expanded 状态） */
.dropdown .btn .iconfont.basic-zhankai{
    display: inline-block;
    transition: transform 0.3s ease;
}

.dropdown .btn[aria-expanded="true"] .iconfont.basic-zhankai{
    transform: rotate(180deg);
}
.list-unstyled li:hover{
    text-decoration: underline;
}
.xx_m a,
.list-unstyled li a{
    color: #54545A!important;
    font-size: 0.75rem;
}

.footer_app{
    cursor: pointer;
}
.footer_app:hover .hui-select__menu{
    display: block!important;
}
.grid-5{
    grid-template-columns:repeat(5,1fr);
    gap:1rem;
}
.search-results{
    position: absolute;
    z-index: 2;
    background-color: white;
    text-align: left;
    padding: 0.5rem;
    box-sizing: border-box;
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
    border-radius: 10px;
    font-size:0.85rem;
    max-height: 400px;
    overflow: auto;
}
.searchlist ul li{
    display: list-item;
    padding-top: 6px;
    cursor: pointer;
}
.results-type{
    padding: 5px;
    background-color: #F5F5F5;
    color: #a0a3a5;
    display: inline-block;
    border-radius: 2px;
    width: 100px;
    text-align: center;
}
/* 针对移动端滚动闪动的优化 */
.navbar {
    transform: translateZ(0); /* 启用硬件加速 */
    backface-visibility: hidden;
    will-change: transform;
}

/* 确保在移动端使用 fixed 定位而不是 sticky */
.navbar-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* 为固定导航栏预留空间，防止内容被遮挡 */
.navbar-p-placeholder {
    height: 75px;
}
.navbar-m-placeholder {
    height: 60px; /* 根据实际导航栏高度调整 */
}

/* 防止 offcanvas 打开时页面抖动 */
body.offcanvas-open {
    overflow: visible !important;
    padding-right: 0 !important;
}

/* 始终显示滚动条以避免宽度变化 */
html {
    overflow-y: scroll;
}
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem 0.1rem 0.5rem;
    border-radius: 6px 6px 2px 2px;
    position: relative;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    /*transition: all 0.2s ease;*/
}

/*.badge:hover {*/
/*    transform: translateY(-1px);*/
/*    box-shadow: 0 4px 8px rgba(0,0,0,0.15);*/
/*}*/

.badge:after {
    content: "";
    position: absolute;
    top: 93%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 0.6875rem solid transparent;
    border-right: 0.6875rem solid transparent;
    border-bottom: 0.3125rem solid #dc3545;
    transform: translateX(-50%) rotate(180deg);
    z-index: 0;
}

/* Badge Color Variations */
.badge-1 {
    background-color: #dc3545;
    color: white;
    --badge-color: #dc3545;
}
.badge-2 {
    background-color: #28a745;
    color: white;
    --badge-color: #28a745;
}
.badge-3 {
    background-color: #ffc107;
    color: white;
    --badge-color: #ffc107;
}
.badge-4 {
    background-color: #17a2b8;
    color: white;
    --badge-color: #17a2b8;
}
.badge-5 {
    background-color: #6c757d;
    color: white;
    --badge-color: #6c757d;
}


/* Arrow colors using CSS variables */
.badge-1:after { border-bottom-color: var(--badge-color); }
.badge-2:after { border-bottom-color: var(--badge-color); }
.badge-3:after { border-bottom-color: var(--badge-color); }
.badge-4:after { border-bottom-color: var(--badge-color); }
.badge-5:after { border-bottom-color: var(--badge-color); }

/* 添加三行文本截断样式 */
.ellipsis-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    /*line-height: 1.4em;*/
    /*max-height: calc(1.4em * 3);*/
}

/* 添加两行文本截断样式 */
.ellipsis-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* 添加一行文本截断样式 */
.ellipsis-1-lines {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.coupon-right {
    position: relative;
    padding-left: 24px;
}
.coupon-right::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
}
.text-shadow{
    text-shadow:0 0 10px rgba(0,0,0,.5);
}
.couponlist_wrap {
    width: 400px;
    height: 250px;
    /*padding-left: 10px;*/
    margin: 20px 30px;
}
.coupon-container{
    transition: all 0.3s ease;
    cursor: pointer;
}
.coupon-container:hover{
    transform: translateY(-15px);
}
/* Mobile Responsive */
@media (max-width: 640px) {
    .couponlist_wrap{
        width: auto;
        margin: 20px 0;
    }
/*    .badge {*/
/*        font-size: 0.7rem;*/
/*        padding: 0.2rem 0.4rem;*/
/*        border-radius: 4px;*/
/*    }*/

/*    .badge:after {*/
/*        margin-left: -6px;*/
/*        border-left: 6px solid transparent;*/
/*        border-right: 6px solid transparent;*/
/*    }*/
    .grid_card .card-img-top{
        height: 12rem;
    }
}