body{
    background:#FCF9F0;
    font-family: "Microsoft YaHei", "PingFang SC", serif;
    color:#333;
}
a{text-decoration:none;color:#9b2c2c;}
a:hover{color:#b03a3a;}

.header{
    background:#faf7f1;
    border-bottom:1px solid #eee;
}
.mb_logo img, .offcanvas-header img {
    width: 100%;
    max-width: 130px
}
.header_wrapper{
    margin-bottom: 10px;
}
.nav-link{
    color:#7a3b3b!important;
    font-weight:500;
    font-size: 20px;
    font-family: "Microsoft YaHei", "PingFang SC", serif;
}
.menu{
    border-bottom: 2px solid #ddd;box-shadow: rgb(99 99 99 / 20%) 0 4px 6px -1px;
}
.menu a.nav-link{
    padding: 14px clamp(10px, 2vw, 40px) 20px;
    margin-bottom: -12px;
}
.menu a.active{
    background: #fff;
}
.drop_logut .share a img {
    width: 30px;
    height: 30px;
    margin-top: 5px;
    vertical-align: middle;
    border-style: none;
}
.navbar-collapse{
    flex-grow:unset;
}
.breadcrumb,.breadcrumb a{
    background:none;
    font-size:14px !important;
}
.list_gallary ul.d-flex{
    margin: 0;
}
.section-title{
    font-size:28px;
    color:#9b2c2c;
    border-bottom:1px solid #e5cfcf;
    padding-bottom:10px;
    margin-bottom:30px;
}

.article-main img{
    width:100%;
    border-radius:4px;
}
.article-main h3{
    color:#9b2c2c;
    margin-top:15px;
}
.article-meta{
    font-size:13px;
    color:#999;
}

.subscribe-box{
    background:#d8b778;
    color:#fff;
    padding:20px;
    border-radius:6px;
}
.subscribe-box img{
    width:100%;
    margin-bottom:10px;
}
.subscribe-box .btn{
    background:#9b2c2c;
    border:none;
}
.article-card{
    background:#FCF9F0;
    border-radius:6px;
    padding:15px;
    height:100%;
    box-shadow:0 3px 8px rgba(0,0,0,.05);
    text-align: left;
}
.article-card .image-wrapper {
    height: 257px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.article-card .text-content {
    text-align: left;
}
.article-card img{
    width:auto;
    max-width: 386px;
    max-height: 257px;
    display: inline-block;
}
.article-card h5{
    margin-top:10px;
    font-size:18px;
    color:#9b2c2c;
}
.article-card .meta{
    font-size:12px;
    color:#aaa;
}
.article-icons span{
    font-size: 22px;
    margin-right:10px;
    color:#c9a14a;
    cursor:pointer;
}
/* 分类 */
.category-box{
    background:#fff;
    padding:20px;
    border-radius:6px;
}

.category-box h5{
    border-bottom:1px solid #e5d8c8;
    padding-bottom:10px;
    color:#8b0000;
}

.category-box ul{
    list-style:none;
    padding:0;
    margin-top:15px;
}

.category-box li{
    margin-bottom:8px;
}

.category-box a{
    color:#333;
    text-decoration:none;
}

.category-box a:hover{
    color:#8b0000;
}

/* 商品卡片 */
.goods-card{
    background:#fff;
    border-radius:6px;
    padding:15px;
    height:100%;
    box-shadow:0 3px 8px rgba(0,0,0,.04);
    transition:.2s;
}

.goods-card:hover{
    transform:translateY(-3px);
}

.goods-cover{
    width:100%;
    border-radius:4px;
}

.goods-title{
    margin-top:12px;
    font-size:16px;
}

.goods-title a{
    color:#333;
    text-decoration:none;
}

.goods-desc{
    font-size:14px;
    color:#777;
    margin:8px 0;
}

.goods-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.price{
    color:#8b0000;
    font-weight:bold;
}

.btn-buy{
    font-size:14px;
    border:1px solid #8b0000;
    padding:4px 10px;
    color:#8b0000;
    text-decoration:none;
}

.btn-buy:hover{
    background:#8b0000;
    color:#fff;
}

/* 详情页 */
.goods-detail-title{
    font-size:26px;
    color:#8b0000;
}

.goods-subtitle{
    color:#666;
}

.goods-price{
    font-size:22px;
    margin:15px 0;
    color:#8b0000;
}
.cart-modal.hidden {
    display: none;
}

.cart-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cart-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.cart-modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.cart-modal-body {
    margin: 15px 0;
    color: #555;
    font-size: 14px;
}

.cart-modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cart-modal-footer .btn {
    flex: 1;
    padding: 10px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #ff6a00;
    color: #fff;
}

.btn-secondary {
    background: #eee;
    color: #333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.btn-added{
    border-color:#aaa;
    color:#aaa;
    pointer-events:none;
}
/* 分页整体 */
.custom-page {
    text-align: center;
    margin: 40px 0;
}

/* 页码基础 */
.custom-page a,
.custom-page span {
    display: inline-block;
    margin: 0 6px;
    font-size: 16px;
    text-decoration: none;
}

/* 普通页码 */
.page-num {
    color: #c55;
    padding: 6px 10px;
}

/* 当前页 */
.page-num.active {
    background: #c94b4b;
    color: #fff;
    border-radius: 3px;
}

/* 省略号 */
.page-ellipsis {
    color: #999;
}

/* 左右按钮 */
.page-btn {
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background: #d8bf6a;
    color: #fff;
    text-align: center;
}

/* 禁用 */
.page-btn.disabled {
    background: #eee;
    color: #bbb;
}

.footer {
    padding: 20px;
    background-color: #FCF9F0!important;
    position: relative;
    display: block;
    width: 100%;
}
.text-center p{
    text-align: center;
    margin-bottom: 10px;
}
.m-menubar {
    display: none;
    z-index: 1040;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 5px 0;
}

.m-menubar:before {
    content: '1';
    color: transparent;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    display: block;
    overflow: hidden;
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5)
}

.m-menubar ul {
    display: flex;
    text-align: center;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
}

.m-menubar li {
    flex: 1;
    text-align: center;
    font-size: 12px;
}

.m-menubar li a>i {
    margin-bottom: 0;
    display: block;
    font-size: 20px;
}

.m-menubar li a {
    display: block;
    margin-top: 5px;
    color: #1d3f68;
}

.m-menubar li.active a {
    color: #1d3f68
}

.m-menubar li.active a>i {
    color: #1d3f68
}

@media (max-width: 1024px) {
    body {
        padding-top:0 !important;
        padding-bottom: 60px !important
    }
    .m-menubar {
        display: block!important;
    }
}
@media (max-width: 991px) {
    div#photowrap {
        transform: translate(0, 10%)
    }

    .desktopmenu {
        display: none !important
    }

    .mobile_nav {
        display: block;
        padding: 1rem 0
    }
}
.icon-circle {
    width: 26px;
    height: 26px;
    border: 1px solid #d6b36a;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d6b36a;
    cursor: pointer;
    transition: all 0.25s ease;
}
.icon-circle:hover {
    background-color: #d6b36a;
    color: #fff;
}
.bi-calendar3{
    color: #d6b36a;
}
.justify-content-md-start{
    margin: 10px 0 30px;
}
.hidesidebar {
    display: none;
}