.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mr-0 { margin-right: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }

.m-1 { margin: 5px !important; }
.mt-1 { margin-top: 5px !important; }
.mr-1 { margin-right: 5px !important; }
.mb-1 { margin-bottom: 5px !important; }
.ml-1 { margin-left: 5px !important; }
.mx-1 { margin-left: 5px !important; margin-right: 5px !important; }
.my-1 { margin-top: 5px !important; margin-bottom: 5px !important; }

.m-2 { margin: 10px !important; }
.mt-2 { margin-top: 10px !important; }
.mr-2 { margin-right: 10px !important; }
.mb-2 { margin-bottom: 10px !important; }
.ml-2 { margin-left: 10px !important; }
.mx-2 { margin-left: 10px !important; margin-right: 10px !important; }
.my-2 { margin-top: 10px !important; margin-bottom: 10px !important; }

.m-3 { margin: 15px !important; }
.mt-3 { margin-top: 15px !important; }
.mr-3 { margin-right: 15px !important; }
.mb-3 { margin-bottom: 15px !important; }
.ml-3 { margin-left: 15px !important; }
.mx-3 { margin-left: 15px !important; margin-right: 15px !important; }
.my-3 { margin-top: 15px !important; margin-bottom: 15px !important; }

.m-4 { margin: 20px !important; }
.mt-4 { margin-top: 20px !important; }
.mr-4 { margin-right: 20px !important; }
.mb-4 { margin-bottom: 20px !important; }
.ml-4 { margin-left: 20px !important; }
.mx-4 { margin-left: 20px !important; margin-right: 20px !important; }
.my-4 { margin-top: 20px !important; margin-bottom: 20px !important; }

.p-0 { padding: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pr-0 { padding-right: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pl-0 { padding-left: 0 !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }

.p-1 { padding: 5px !important; }
.pt-1 { padding-top: 5px !important; }
.pr-1 { padding-right: 5px !important; }
.pb-1 { padding-bottom: 5px !important; }
.pl-1 { padding-left: 5px !important; }
.px-1 { padding-left: 5px !important; padding-right: 5px !important; }
.py-1 { padding-top: 5px !important; padding-bottom: 5px !important; }

.p-2 { padding: 10px !important; }
.pt-2 { padding-top: 10px !important; }
.pr-2 { padding-right: 10px !important; }
.pb-2 { padding-bottom: 10px !important; }
.pl-2 { padding-left: 10px !important; }
.px-2 { padding-left: 10px !important; padding-right: 10px !important; }
.py-2 { padding-top: 10px !important; padding-bottom: 10px !important; }

.p-3 { padding: 15px !important; }
.pt-3 { padding-top: 15px !important; }
.pr-3 { padding-right: 15px !important; }
.pb-3 { padding-bottom: 15px !important; }
.pl-3 { padding-left: 15px !important; }
.px-3 { padding-left: 15px !important; padding-right: 15px !important; }
.py-3 { padding-top: 15px !important; padding-bottom: 15px !important; }

.p-4 { padding: 20px !important; }
.pt-4 { padding-top: 20px !important; }
.pr-4 { padding-right: 20px !important; }
.pb-4 { padding-bottom: 20px !important; }
.pl-4 { padding-left: 20px !important; }
.px-4 { padding-left: 20px !important; padding-right: 20px !important; }
.py-4 { padding-top: 20px !important; padding-bottom: 20px !important; }

html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  -webkit-text-size-adjust: 100%;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif;
  font-weight: 400;
  background: #f9f5fb; /* 淡紫粉背景 */
  font-size: 14px;
  color: #333;
}
body { overflow-x: hidden; overflow-y: auto; }

a { color: #000000; } /* 紫红色链接 */
a:hover, a:focus { color: #7d3c98; }
a.primary-link { color: #9b59b6; }

.btn-primary {
  color: #fff;
  background: linear-gradient(45deg, #9b59b6, #8f0030); /* 渐变紫红 */
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus {
  background: linear-gradient(45deg, #7d3c98, #c2185b); /* hover 深一点渐变 */
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  color: #fff;
}
.btn-gray {
  color: #212529;
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  transition: all 0.3s ease;
}
.btn-gray:hover {
  color: #212529;
  background-color: #dcdcdc;
  border-color: #d0d0d0;
}

.btn-light {
  color: #fff;
  background: linear-gradient(45deg, #8f0030, #9b59b6);
  border-color: transparent;
  transition: all 0.3s ease;
}
.btn-light:hover {
  color: #fff;
  background: linear-gradient(45deg, #c2185b, #7d3c98);
  border-color: transparent;
}

.label-primary {
  color: #fff;
  background: linear-gradient(45deg, #8f0030, #9b59b6);
  border-color: transparent;
}

.btn-outline-primary {
  color: #8f0030;
  background-color: transparent;
  border: 1px solid #8f0030;
  transition: all 0.3s ease;
}
.btn-outline-primary:hover {
  color: #fff;
  background: linear-gradient(45deg, #8f0030, #9b59b6);
  border-color: transparent;
}

.btn-lg {
  border-radius: 4px;
  background-clip: padding-box;
  font-size: 14px;
  padding: 10px 20px;
}

.wow {
  visibility: hidden;
}

.bg-white {
  background: #fff !important;
}
.bg-gray {
  background: #f0f0f0 !important;
}

@media (hover: hover) {
  .dropdown > a:hover + .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.alert-paid {
  margin: 10px 0;
  text-align: center;
}
.alert-paid a {
  color: #8f0030;
}

.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 0;
  border-radius: 4px 0 4px 4px;
}
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}
.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}
.dropdown-submenu.pull-left {
  float: none;
}
.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  border-radius: 4px 0 4px 4px;
}

.top-bar {
  line-height: 36px;
  height: 36px;
  color: #666;
  font-size: 12px;
  background: #f9f5fb;
}
.top-bar a {
  color: #888;
  display: block;
  transition: color 0.3s;
}
.top-bar a:hover {
  color: #8f0030;
  text-decoration: none;
}
.top-bar ul.dropdown-menu {
  border: none;
}
.top-bar ul.dropdown-menu > li > a {
  padding: 5px 20px;
}
@media (min-width: 979px) {
  .top-bar li.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.header-search .search-form .search-input {
  border: none;
  border-radius: 0;
  height: 40px;
  line-height: 40px;
  background: #f3f0f5;
  box-shadow: none;
  padding: 0 10px;
}
.header-search .search-form .btn-search {
  border-radius: 8px; /* 四个角圆角 */
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  background: linear-gradient(45deg, #8f0030, #9b59b6);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.header-search .search-form .btn-search:hover {
  background: linear-gradient(45deg, #c2185b, #7d3c98);
}

.header-search .search-hot a {
  margin-right: 5px;
  color: #999;
  font-size: 13px;
}

.header-header {
  padding: 35px 0;
  background: #fff;
}
.header-menu {
  background: #8f0030;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 99;
  border-radius: 10px; /* 四角圆角 */
}


.header-menu.fixed {
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 100%;
}

.top-menu {
  display: none;
}
.hasbanner .top-menu {
  display: block;
}

.nav-menu {
  margin: 0 auto;
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 100;
}

.nav-menu > li {
  text-align: center;
  min-width: 50px;
  float: left;
}

.nav-menu > li.category {
  width: 200px;
  background: #8f0030;
  text-align: center;
  font-size: 15px;
  margin-right: 20px;
  border-radius: 4px;
}
.nav-menu > li.category a {
  color: #fff;
}

.nav-menu a {
  text-decoration: none;
  display: block;
  padding: 0 15px;
  margin: 0;
  position: relative;
  color: #fff;
  transition: all 0.3s ease;
}
.nav-menu > li > a,
.nav-menu > a {
  height: 40px;
  line-height: 40px;
}
.nav-menu > li ul li a {
  height: 40px;
  line-height: 40px;
  color: #314555;
  background-color: #fff;
  transition: all 0.3s ease;
}
.nav-menu > li > ul li:hover a,
.nav-menu > li > ul li.active a {
  color: #fff;
  background-color: #850d35; /* hover 稍深 */
}

.nav-menu > li > ul,
.nav-menu > li > ul > li ul {
  background: #fff;
  margin: 0;
  display: none;
  min-width: 200px;
  position: absolute;
  z-index: 99;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  border: none;
}

.nav-menu > li > ul > li ul {
  top: 0;
  left: 100%;
}
.nav-menu > li:last-child > ul {
  right: 0;
}
.nav-menu > li:last-child > ul > li ul {
  right: 100%;
}

.nav-menu li {
  display: block;
  position: relative;
}

.nav-menu > li a .indicator {
  margin-left: 10px;
}

.nav-menu.nav-menu-right > a,
.nav-menu > li:hover > a,
.nav-menu > li.active > a {
  color: #fff;
  background-color: #850d35; /* hover 稍深 */
}

.nav-menu:before,
.nav-menu:after {
  content: "";
  display: table;
}
.nav-menu:after {
  clear: both;
}

.nav-menu.nav-menu-right {
  position: absolute;
  top: 0;
  right: 0;
}
.nav-menu.nav-menu-right a {
  display: inline-block;
}
.nav-menu.nav-menu-right a:hover {
  background-color: #850d35;
}

.nav-header {
  position: relative;
  display: none;
}

.nav-toggle {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  width: 32px;
  padding: 10px 4px;
  left: 0;
}
.nav-toggle i {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
.nav-toggle i + i {
  margin-top: 7px;
}

.nav-bar {
  position: relative;
}
.nav-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media only screen and (max-width: 767px) {
  .nav-header > span.nav-item-topmenu {
    background-color: #8f0030;
    display: inline-block;
    padding: 0 15px;
  }
  .nav-header {
    display: block;
    z-index: 99;
  }
  .nav-collapse {
    display: none;
    padding-bottom: 10px;
  }
  .nav-header,
  .nav-menu.nav-menu-right a {
    height: 44px;
    line-height: 44px;
  }
  .nav-menu ul {
    padding-left: 20px;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  .nav-menu li > a,
  .nav-menu li.active a {
    color: #314555;
    background-color: #fff;
  }
  .nav-menu li:hover > a,
  .nav-menu li.active-mobile > a {
    color: #fff;
    background-color: #850d35;
  }
  .nav-menu li:last-child {
    border-bottom: 0;
  }
  .nav-menu > li a .indicator {
    position: absolute;
    top: 0;
    right: 20px;
  }
  .nav-menu > li > ul,
  .nav-menu > li > ul > li ul {
    width: 100%;
    position: static;
  }
  .nav-menu > li > a,
  .nav-menu > li ul li a {
    height: 40px;
    line-height: 40px;
  }
}
.navbar {
  border: none;
}

.navbar-nav .form-search.focused {
  position: relative;
}
.navbar-nav .form-search.focused input {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
}

.navbar-nav li > a {
  font-size: 13px;
  color: #fff;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.navbar-nav li > a:hover,
.navbar-nav li.active > a {
  color: #fff;
  background-color: #850d35;
}

.navbar-nav li > a h5 {
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-nav > li > a {
  font-size: 14px;
  color: #fff;
}
.navbar-nav ul.dropdown-menu {
  border: none;
  border-radius: 4px;
  background-color: #fff;
}
.navbar-nav ul.dropdown-menu > li > a {
  padding: 5px 20px;
  color: #314555;
}
.navbar-nav ul.dropdown-menu > li > a:hover,
.navbar-nav ul.dropdown-menu > li.active > a {
  color: #fff;
  background-color: #850d35;
}

.navbar-brand {
  padding: 5px 15px;
  color: #fff;
}

.toast-top-center {
  top: 50px;
}
.toast-top-center > div {
  box-shadow: none;
}

#floatbtn {
  width: 50px;
  height: auto;
  position: fixed;
  top: auto;
  right: 50%;
  bottom: 10px;
  left: auto;
  z-index: 80;
  margin-right: -640px;
}
#floatbtn.fixed {
  position: absolute;
  bottom: 279px;
  right: 50%;
}
#floatbtn a {
  position: relative;
  z-index: 90;
  display: block;
  margin-top: 4px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 20px;
  color: #d5d5d5;
  background-color: #fff;
  border: 1px solid #eee;
  user-select: none;
  transition: all 0.3s ease;
}
#floatbtn a.hover:hover {
  background-color: #8f0030;
  border-color: #850d35;
  text-decoration: none;
  text-align: center;
  line-height: 20px;
  padding: 5px;
}
#floatbtn a.hover:hover i {
  display: none;
}
#floatbtn a.hover:hover em {
  display: block;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  text-decoration: none;
}
#floatbtn a em {
  display: none;
}
#floatbtn a:hover {
  background-color: #8f0030;
}
#floatbtn a:hover i {
  color: #fff;
}
#floatbtn a:hover .floatbtn-wrapper {
  display: block;
}

#floatbtn .iconfont {
  display: inline-block;
  font: normal normal normal 14px/1 iconfont;
}

.floatbtn-wrapper {
  position: absolute;
  right: 59px;
  top: -55px;
  z-index: 120;
  display: none;
  width: 190px;
  height: 212px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
}
.floatbtn-wrapper:after {
  content: "";
  position: absolute;
  right: -6px;
  top: 73px;
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid #d5d5d5;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.floatbtn-wrapper .qrcode {
  margin-top: 20px;
  line-height: 1;
}
.floatbtn-wrapper .qrcode img {
  width: 128px;
  height: 128px;
}
.floatbtn-wrapper p {
  font-size: 14px;
  line-height: 20px;
  color: #999;
}
.floatbtn-wrapper p em {
  color: #8f0030;
}

.text-primary,
.text-primary:hover {
  color: #8f0030;
}
.text-success,
.text-success:hover {
  color: #18bc9c;
}
.text-danger,
.text-danger:hover {
  color: #f75444;
}
.text-warning,
.text-warning:hover {
  color: #f39c12;
}
.text-info,
.text-info:hover {
  color: #1688f1;
}

.well {
  box-shadow: none;
}

.responsive-container {
  position: relative;
  width: 100%;
  border: 1px solid #f8f8f8;
}

footer {
  width: 100%;
  color: #aaa;
  background: #555;
  margin-top: 25px;
  overflow: hidden;
  min-height: 60px;
}

.nav-sidebar li.active a {
  text-decoration: none;
  background-color: #ecf0f1;
}

.navbar-toggle .icon-bar {
  width: 18px;
  background-color: #fff;
}
.panel-default {
  border: none;
  padding: 0 15px;
  box-shadow: none;
  border-radius: 2px;
  background-clip: padding-box;
}
.panel-default > .panel-heading {
  position: relative;
  padding: 15px 0;
  background: #fff;
  border-bottom: 1px solid #f5f5f5;
}
.panel-default > .panel-heading .panel-title {
  font-size: 16px;
  color: #8f0030;
}
.panel-default > .panel-heading .panel-title > i {
  display: none;
}
.panel-default > .panel-heading small {
  font-weight: normal;
  color: #999;
  font-size: 13px;
}
.panel-default > .panel-heading .more {
  position: absolute;
  top: 13px;
  right: 0;
  display: block;
  color: #8f0030;
  transition: all 0.3s ease;
  font-weight: 400;
  font-size: 13px;
}
.panel-default > .panel-heading .more:hover {
  color: #850d35;
}
.panel-default > .panel-heading div.more {
  top: 17px;
}
.panel-default > .panel-heading .panel-bar {
  position: absolute;
  top: 7px;
  right: 0;
  display: block;
}
.panel-default > .panel-footer {
  padding: 15px 0;
  background: none;
}
.panel-default > .panel-body {
  position: relative;
  padding: 15px 0;
}

.panel-primary > .panel-heading {
  background-color: #8f0030;
  color: #fff;
}
.panel-primary > .panel-body {
  background: #fafafa;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.panel-gray {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.panel-gray > .panel-heading {
  background-color: #f5f5f5;
  color: #919191;
}
.panel-gray > .panel-body {
  color: #919191;
  background: #fff;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.panel-page {
  padding: 45px 50px 50px;
  min-height: 500px;
}
.panel-page .panel-heading {
  background: transparent;
  border-bottom: none;
  margin: 0 0 30px 0;
  padding: 0;
}
.panel-page .panel-heading h2 {
  font-size: 25px;
  margin-top: 0;
  color: #8f0030;
}

.tag {
  display: inline-block;
  padding: 0 8px;
  height: 24px;
  line-height: 24px;
  font-weight: 400;
  font-size: 13px;
  text-align: center;
  color: #8f0030;
  background: rgba(233, 30, 99, 0.1);
  margin-right: 3px;
  border-radius: 2px;
}
.tag[href]:focus,
.tag[href]:hover {
  background-color: #8f0030;
  color: #fff;
  text-decoration: none;
}

.product-item .card {
  border-radius: 3px;
  position: relative;
  padding: 12px;
  margin: 0 auto 20px;
  transition: all 0.2s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  border: 1px solid #eee;
  min-height: 250px;
  overflow: hidden;
  background-color: #fff;
}
.product-item .card:hover {
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2);
}

.product-item .card .thumb {
  position: relative;
  transition: all 0.5s ease-out 0s;
  margin: -12px;
}
.product-item .card .thumb > .preview-link::before {
  background: rgba(233, 30, 99, 0.2);
  opacity: 0;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  transition: all 0.5s ease-out 0s;
}
.product-item .card .thumb:hover > .preview-link::before {
  opacity: 1;
}
/* 商品卡片快速查看按钮 */
.product-item .card .thumb > .quickview-link {
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  line-height: 40px;
  text-align: center;
  z-index: 10;
  background: #8f0030;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  color: #fff;
  transform: scale(0);
  transition: all 0.3s ease-out;
}
.product-item .card .thumb:hover .preview-link::before {
  opacity: 1;
}
.product-item .card .thumb:hover .quickview-link {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* 商品卡片 hover 效果 */
.product-item .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(233, 30, 99, 0.3);
  transition: all 0.3s ease;
}

/* 商品图片容器 */
.product-item .card .image {
  position: relative;
  width: 100%;
  height: 1px;
  overflow: hidden;
  padding-bottom: 75%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 6px;
}

/* 商品标题 */
.product-item .card .title {
  padding-top: 10px;
}
.product-item .card h2 {
  color: #8f0030;
  padding: 0;
  margin-bottom: 5px;
  height: 24px;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

/* 商品操作区域 */
.product-item .card .operate {
  height: 31px;
}
.product-item .card .operate .pull-right {
  display: none;
}

/* 页面内容容器 */
#content-container {
  margin-top: 15px;
  min-height: calc(100vh - 320px);
}
#content-container > h1 {
  margin-top: 0;
}

/* 评论区 */
#comment-container #commentlist dl {
  position: relative;
  border-bottom: 1px solid #f5f5f5;
  clear: both;
  padding: 10px 0;
  margin-bottom: 5px;
}
#comment-container #commentlist dl dt {
  float: left;
  margin-right: 10px;
  width: 44px;
  height: 44px;
  position: absolute;
}
#comment-container #commentlist dl dt img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #8f0030;
}
#comment-container #commentlist dl dd {
  padding-left: 55px;
  float: left;
  width: 100%;
}
#comment-container #commentlist dl dd cite a {
  color: #8f0030;
}
#comment-container #commentlist dl dd small {
  color: #999;
  margin: 0 0 0 3px;
  height: 20px;
  line-height: 20px;
  font-size: 10px;
}
#comment-container #commentlist dl dd small a {
  display: none;
}
#comment-container #commentlist dl dd dl {
  margin: 0;
  border-top: 1px solid #f5f5f5;
  border-bottom: none;
  padding-top: 15px;
  padding-bottom: 0;
}
#comment-container #commentlist dl dd dl dd {
  width: 550px;
}
#comment-container #commentlist dl dd p {
  margin-top: 5px;
  margin-bottom: 10px;
  line-height: 24px;
}
#comment-container #commentlist dl dd p em {
  font-style: normal;
  display: inline-block;
  padding: 0 5px;
  height: 22px;
  line-height: 22px;
  font-weight: 400;
  font-size: 13px;
  text-align: center;
  color: #8f0030;
  background: rgba(233, 30, 99, 0.1);
  border-radius: 2px;
}

/* 评论标题 */
#comment-container h3 {
  position: relative;
  font-size: 16px;
  padding: 15px 0;
  background: #fff;
}
#comment-container h3 a {
  display: none;
}

/* 发评论表单 */
#comment-container #postcomment .form-group {
  margin-bottom: 10px;
}
#comment-container #postcomment label {
  font-weight: normal;
}
#comment-container #postcomment a small {
  display: inline !important;
}

/* 分页器 */
.pager .pagination {
  margin: 0;
}
.pager .pager {
  margin: 0;
}
.pager li {
  margin: 0 .4em;
  display: inline-block;
}
.pager li:first-child > a,
.pager li:last-child > a,
.pager li:first-child > span,
.pager li:last-child > span {
  padding: .5em 1.2em;
}
.pager li > a,
.pager li > span {
  background: #fff;
  border: 1px solid #8f0030;
  color: #8f0030;
  border-radius: 0.25em;
  padding: .5em .93em;
  font-size: 14px;
  transition: all 0.3s ease;
}
.pager li > a:hover,
.pager li > span:hover {
  background: #8f0030;
  color: #fff;
}
/* 合作伙伴列表 */
.list-partner li {
  display: inline-block;
  margin: 0 12px 12px 0;
  padding: 12px 15px;
  width: 150px;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  transition: all 0.3s ease;
}
.list-partner li:hover {
  border: 1px solid #8f0030;
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(233, 30, 99, 0.2);
}
.list-partner li img {
  height: 30px;
  transition: transform 0.3s ease;
}
.list-partner li:hover img {
  transform: scale(1.1);
}

/* 焦点图 */
.index-focus {
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid #eee; /* 浅色边框 */
  background: #fff; /* 背景更干净 */
}

#index-focus .item .carousel-img {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center center;
  transition: transform 0.6s ease;
}
#index-focus .item:hover .carousel-img {
  transform: scale(1.03);
}
#index-focus .item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(to bottom, rgba(233,30,99,0.2), rgba(233,30,99,0));*/
}

/* 分类标题 */
.category-title {
  margin-bottom: 20px;
  font-size: 24px;
  color: #8f0030;
  font-weight: 600;
}
.category-title .breadcrumb li {
  font-size: 14px;
  color: #999;
}
.category-order li > a.active {
  color: #8f0030;
}

/* 图片缩放 */
.img-zoom {
  overflow: hidden;
  display: inline-block;
  border-radius: 6px;
}
.img-zoom img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-zoom:hover img {
  transform: scale(1.1);
}

/* 响应式容器 */
.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}
.embed-responsive img,
.embed-responsive .embed-responsive-item {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border: 0;
  left: 0;
}
.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}
.embed-responsive-4by3 {
  padding-bottom: 75%;
}
.embed-responsive-square {
  padding-bottom: 100%;
}

/* 链接列表间距 */
.list-links a {
  margin-right: 8px;
  color: #8f0030;
  transition: color 0.3s ease;
}
.list-links a:hover {
  color: #b71c48;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .header-header {
    padding: 20px 0;
  }
  .header-menu {
    margin: 0;
    color: #fff;
  }
  .header-menu .nav-toggle i {
    background-color: #8f0030;
  }
  .brand {
    text-align: center;
    margin-bottom: 10px;
  }
  .nav-menu > li.category {
    width: 100%;
    display: none;
  }
  .panel-page {
    padding: 15px;
    min-height: 300px;
  }
  .navbar-nav .form-search.focused {
    position: inherit;
  }
  .navbar-nav .form-search.focused input {
    position: inherit;
    width: 100%;
  }
  .navbar-nav .form-search {
    padding: 0;
  }
  ul.dropdown-menu {
    width: 100%;
    background: #333;
  }
  ul.dropdown-menu .open > a {
    color: #e0e0e0;
  }
  .navbar-nav .open .dropdown-menu {
    background: #404950;
  }
}

/* 大屏轮播 */
@media (min-width: 768px) {
  #index-focus .item .carousel-img {
    height: 500px;
    width: 100%;
  }
}
@media (min-width: 979px) {
  nav.nav-bar li.dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* 轮播控制按钮 */
.carousel-control {
  text-shadow: none;
  width: 50px;
}
.carousel-control .fa {
  font-size: 30px;
  color: #8f0030;
}
.carousel-control .icon-prev {
  left: 15px;
}
.carousel-control .icon-next {
  right: 15px;
}
.carousel-control .fa-chevron-left:before {
  content: "\f053";
}
.carousel-control .fa-chevron-right:before {
  content: "\f054";
}

/* 轮播文字遮罩 */
@media screen and (max-width: 767px) {
  .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: rgba(233,30,99,0.3);
    text-shadow: none;
  }
  .carousel-caption h3 {
    font-size: 14px;
    margin: 0;
    text-align: left;
  }
  .carousel-caption p {
    display: none;
  }
  .carousel-indicators {
    opacity: 0.6;
  }
}
/* 产品网格 */
.product-grid {
  display: grid;
  background-color: #f8f8f8;
  grid-gap: 15px;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
  padding: 10px;
}
.product-grid .product-item {
  position: relative;
}
.product-grid .product-item a.card-item {
  text-align: center;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 15px;
  background: #fff;
  border-radius: 10px;
  height: 100%;
  transition: all 0.3s ease;
}
.product-grid .product-item a.card-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  text-decoration: none;
  outline: none;
}
.product-grid .product-item a.card-item .item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 500;
  font-size: 16px;
  color: #333;
}
.product-grid .product-item a.card-item .item-detail {
  padding: 5px 0;
  font-size: 14px;
  color: #666;
}

/* 响应式网格 */
@media only screen and (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
}
@media only screen and (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
  }
}

/* 顶部导航下拉菜单 */
li.category:hover .top-menu {
  display: block;
}
.top-menu {
  width: 220px;
  position: absolute;
  top: 0px;
  left: 0;
  display: none;
  z-index: 999;
  margin-top: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.top-menu.open {
  display: block;
}
.top-menu > ul > li > a {
  display: block;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  transition: all 0.3s ease;
  position: relative;
}
.top-menu > ul > li > a:hover {
  color: #e74c3c;
  padding-left: 28px;
  background: rgba(231,76,60,0.05);
}
.top-menu > ul > li > a:before {
  content: '';
  display: block;
  bottom: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #eee;
}
.top-menu > ul > li .dropdown-menu {
  position: absolute;
  left: 220px;
  top: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* 下拉菜单内部样式 */
.dropdown-menu-wrapper h3 {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
  color: #e74c3c;
}
.dropdown-menu-wrapper ul > li > a {
  color: #555;
  font-size: 14px;
  line-height: 32px;
  text-align: center;
  transition: all 0.3s ease;
}
.dropdown-menu-wrapper ul > li > a:hover {
  color: #e74c3c;
  background: rgba(231,76,60,0.1);
  text-decoration: none;
}

/* 导航栏 */
#nav-bar {
  width: 100%;
  margin-bottom: 10px;
}
.nav-bar-row {
  background-color: #fff;
  padding-left: 0;
  margin: 0;
}
ul.nav-bar-tabs {
  margin: 0;
}
ul.nav-bar-tabs > li > a {
  padding: 12px 18px;
  display: inline-block;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}
ul.nav-bar-tabs > li > a:hover,
ul.nav-bar-tabs > li.active a {
  color: #e74c3c;
}

/* 商品变体选择 */
.variations {
  margin-bottom: 20px;
}
.variations .tr-item {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.variations .label,
.variations .value {
  display: table-cell;
  vertical-align: middle;
  padding: 0 10px;
  line-height: 32px;
}
.variations .label {
  width: 70px;
  color: #999;
  font-weight: 400;
  font-size: 0.9em;
}
.variations .value {
  color: #333;
}
.variations .hidden-tag {
  display: none;
}
/* 数量选择器 */
.quantity {
  display: inline-flex;
  align-items: center;
  margin: 0 10px 10px 0;
  font-size: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
}
.quantity .quantity-text {
  width: 3em;
  text-align: center;
  font-size: 14px;
  border: none;
  outline: none;
  height: 36px;
  line-height: 36px;
  background: #fff;
}
.quantity .quantity-down,
.quantity .quantity-up {
  display: inline-block;
  width: 32px;
  font-size: 16px;
  color: #666;
  text-align: center;
  background: #f7f7f7;
  cursor: pointer;
  transition: all 0.3s ease;
}
.quantity .quantity-down:hover,
.quantity .quantity-up:hover {
  background: #e74c3c;
  color: #fff;
}

/* 产品导航标签 */
.nav-product {
  background: #f7f7f7;
  border-bottom: 2px solid #8f0030;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
}
.nav-product > li > a {
  padding: 10px 25px;
  display: block;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
  text-align: center;
}
.nav-product > li.active > a,
.nav-product > li.active > a:hover {
  background: #8f0030;
  color: #fff;
  border-radius: 8px;
}
.nav-product > li > a:hover {
  background: rgba(0,123,255,0.1);
  color: #8f0030;
}

/* 筛选器容器 */
.filter-container {
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 10px 15px;
}
.filter-row {
  padding: 8px 15px;
  border-bottom: 1px solid #f4f6f8;
}
.filter-row:last-child {
  border-bottom: none;
}
.filter-title {
  width: 120px;
  color: #555;
  display: inline-block;
  vertical-align: top;
  font-weight: 500;
  padding-top: 10px;
}
.filter-values {
  display: inline-block;
  color: #606269;
  max-width: calc(100% - 130px);
}
.filter-values > li {
  display: inline-block;
  margin: 5px 5px 3px;
  position: relative;
}
.filter-values > li > a {
  padding: 6px 10px;
  display: inline-block;
  border-radius: 4px;
  background: #f7f7f7;
  color: #333;
  transition: all 0.3s ease;
}
.filter-values > li > a:hover {
  background: #8f0030;
  color: #fff;
}
.filter-values > li.active a {
  background: #8f0030;
  color: #fff;
}

/* 评分组件 */
.rating {
  display: inline-flex;
  align-items: center;
  font-size: 0;
}
.rating-star {
  width: 20px;
  height: 20px;
  margin: 0 1px;
  display: block;
  cursor: pointer;
  color: #FFCA00;
  font-family: FontAwesome;
  transition: all 0.2s ease;
}
.rating-star:after {
  content: '\f006';
  display: block;
  font-size: 16px;
}
.rating-star.checked:after,
.rating-star:hover:after {
  content: '\f005';
}
.rating.vote .rating-star:hover ~ .rating-star:after {
  content: '\f006';
}

