/* 引入更高级的艺术字体 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

/* 应用到全局、标题和价格 */
body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
}

/* 优化商品标题：加深颜色，稍微加粗，增加字间距 */
.product-thumb h4 a {
    color: #222 !important;
    font-weight: 600 !important;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* 优化价格显示：让价格更显眼 */
.product-thumb .price {
    color: #d9534f; /* 使用稍暗的红色或深蓝色 */
    font-size: 18px;
    font-weight: 600;
}
body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	color: #666;
	font-size: 12px;
	line-height: 20px;
	width: 100%;
}
h1, h2, h3, h4, h5, h6 {
	color: #444;
}
/* default font size */
.fa {
	font-size: 14px;
}
/* Override the bootstrap defaults */
h1 {
	font-size: 33px;
}
h2 {
	font-size: 27px;
}
h3 {
	font-size: 21px;
}
h4 {
	font-size: 15px;
}
h5 {
	font-size: 12px;
}
h6 {
	font-size: 10.2px;
}
a {
	color: #23a1d1;
}
a:hover {
	text-decoration: none;
}
legend {
	font-size: 18px;
	padding: 7px 0px
}
label {
	font-size: 12px;
	font-weight: normal;
}
select.form-control, textarea.form-control, input[type="text"].form-control, input[type="password"].form-control, input[type="datetime"].form-control, input[type="datetime-local"].form-control, input[type="date"].form-control, input[type="month"].form-control, input[type="time"].form-control, input[type="week"].form-control, input[type="number"].form-control, input[type="email"].form-control, input[type="url"].form-control, input[type="search"].form-control, input[type="tel"].form-control, input[type="color"].form-control {
	font-size: 12px;
}
.input-group input, .input-group select, .input-group .dropdown-menu, .input-group .popover {
	font-size: 12px;
}
.input-group .input-group-addon {
	font-size: 12px;
	height: 30px;
}
/* Fix some bootstrap issues */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
	display: inline;
}

.nav-tabs {
	margin-bottom: 15px;
}
div.required .control-label:before {
	content: '* ';
	color: #F00;
	font-weight: bold;
}
/* Gradent to all drop down menus */
.dropdown-menu li > a:hover {
	text-decoration: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
}
/* top */
#top {
	background-color: #EEEEEE;
	border-bottom: 1px solid #e2e2e2;
	padding: 4px 0px 3px 0;
	margin: 0 0 20px 0;
	min-height: 40px;
}
#top .container {
	padding: 0 20px;
}
#top #form-currency .currency-select,
#top #form-language .language-select {
	text-align: left;
}
#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover {
	text-shadow: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
}
#top .btn-link, #top-links li, #top-links a {
	color: #888;
	text-shadow: 0 1px 0 #FFF;
	text-decoration: none;
}
#top .btn-link:hover, #top-links a:hover {
	color: #444;
}
#top-links .dropdown-menu a {
	text-shadow: none;
}
#top-links .dropdown-menu a:hover {
	color: #FFF;
}
#top .btn-link strong {
	font-size: 14px;
        line-height: 14px;
}
#top-links {
	padding-top: 6px;
}
#top-links a + a {
	margin-left: 15px;
}
/* logo */
#logo {
	margin: 0 0 10px 0;
}
/* search */
#search {
	margin-bottom: 10px;
}
#search .input-lg {
	height: 40px;
	line-height: 20px;
	padding: 0 10px;
}
#search .btn-lg {
	font-size: 15px;
	line-height: 18px;
	padding: 10px 35px;
	text-shadow: 0 1px 0 #FFF;
}
/* cart */
#cart {
	margin-bottom: 10px;
}
#cart > .btn {
	font-size: 12px;
	line-height: 18px;
	color: #FFF;
}
#cart.open > .btn {
	background-image: none;
	background-color: #FFFFFF;
	border: 1px solid #E6E6E6;
	color: #666;
	box-shadow: none;
	text-shadow: none;
}
#cart.open > .btn:hover {
	color: #444;
}
#cart .dropdown-menu {
	background: #eee;
	z-index: 1001;
}
#cart .dropdown-menu {
	min-width: 100%;
	overflow-y: auto;
	max-height: 800px;
	scrollbar-width: thin;
	overflow-x: hidden;
}
@media (max-width: 478px) {
	#cart .dropdown-menu {
		width: 100%;
	}
}
#cart .dropdown-menu table {
	margin-bottom: 10px;
}
#cart .dropdown-menu li > div {
	min-width: 427px;
	padding: 0 10px;
}
@media (max-width: 478px) {
	#cart .dropdown-menu li > div {
		min-width: 100%;
	}
}
#cart .dropdown-menu li p {
	margin: 20px 0;
}
/* menu */

}
/* content */
#content {
	min-height: 600px;
}
/* footer */
footer {
	margin-top: 30px;
	padding-top: 30px;
	background-color: #303030;
	border-top: 1px solid #ddd;
	color: #e2e2e2;
}
footer hr {
	border-top: none;
	border-bottom: 1px solid #666;
}
footer a {
	color: #ccc;
}
footer a:hover {
	color: #fff;
}
footer h5 {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
}
/* alert */
.alert {
	padding: 8px 14px 8px 14px;
}
/* breadcrumb */
.breadcrumb {
	margin: 0 0 20px 0;
	padding: 8px 0;
	border: 1px solid #ddd;
}
.breadcrumb i {
	font-size: 15px;
}
.breadcrumb > li {
	text-shadow: 0 1px 0 #FFF;
	padding: 0 20px;
	position: relative;
	white-space: nowrap;
}
.breadcrumb > li + li:before {
	content: '';
	padding: 0;
}
.breadcrumb > li:after {
	content: '';
	display: block;
	position: absolute;
	top: -3px;
	right: -5px;
	width: 26px;
	height: 26px;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
html[dir=rtl] .breadcrumb > li::after {
  top: -3px;
  left: -5px;
  width: 26px;
  height: 26px;
  border-left: 1px solid #DDD;
  border-top: 1px solid #DDD;
  right: unset;
  border-right: unset;
  border-bottom:unset;

}
.pagination {
	margin: 0;
}
/* buttons */
.buttons {
	margin: 1em 0;
}
.btn {
	padding: 7.5px 12px;
	font-size: 12px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.btn-xs {
	font-size: 9px;
}
.btn-sm {
	font-size: 10.2px;
}
.btn-lg {
	padding: 10px 16px;
	font-size: 15px;
}
.btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
	font-size: 12px;
}
.btn-group > .btn-xs {
	font-size: 9px;
}
.btn-group > .btn-sm {
	font-size: 10.2px;
}
.btn-group > .btn-lg {
	font-size: 15px;
}
.btn-default {
	color: #777;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #e7e7e7;
	background-image: linear-gradient(to bottom, #eeeeee, #dddddd);
	background-repeat: repeat-x;
	border-color: #dddddd #dddddd #b3b3b3 #b7b7b7;
}
.btn-primary {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
	border-color: #1f90bb #1f90bb #145e7a;
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
	background-color: #1f90bb;
	background-position: 0 -15px;
}
.btn-warning {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #faa732;
	background-image: linear-gradient(to bottom, #fbb450, #f89406);
	background-repeat: repeat-x;
	border-color: #f89406 #f89406 #ad6704;
}
.btn-warning:hover, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-danger {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #da4f49;
	background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	border-color: #bd362f #bd362f #802420;
}
.btn-danger:hover, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-success {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #5bb75b;
	background-image: linear-gradient(to bottom, #62c462, #51a351);
	background-repeat: repeat-x;
	border-color: #51a351 #51a351 #387038;
}
.btn-success:hover, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-info {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #df5c39;
	background-image: linear-gradient(to bottom, #e06342, #dc512c);
	background-repeat: repeat-x;
	border-color: #dc512c #dc512c #a2371a;
}
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
	background-image: none;
	background-color: #df5c39;
}
.btn-link {
	border-color: rgba(0, 0, 0, 0);
	cursor: pointer;
	color: #23A1D1;
	border-radius: 0;
}
.btn-link, .btn-link:active, .btn-link[disabled] {
	background-color: rgba(0, 0, 0, 0);
	background-image: none;
	box-shadow: none;
}
.btn-inverse {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #363636;
	background-image: linear-gradient(to bottom, #444444, #222222);
	background-repeat: repeat-x;
	border-color: #222222 #222222 #000000;
}
.btn-inverse:hover, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
	background-color: #222222;
	background-image: linear-gradient(to bottom, #333333, #111111);
}
/* list group */
.list-group a {
	border: 1px solid #DDDDDD;
	color: #888888;
	padding: 8px 12px;
}
.list-group a.active, .list-group a.active:hover, .list-group a:hover {
	color: #444444;
	background: #eeeeee;
	border: 1px solid #DDDDDD;
	text-shadow: 0 1px 0 #FFF;
}
/* carousel */
.carousel-caption {
	color: #FFFFFF;
	text-shadow: 0 1px 0 #000000;
}
.carousel-control .icon-prev:before {
	content: '\f053';
	font-family: FontAwesome;
}
.carousel-control .icon-next:before {
	content: '\f054';
	font-family: FontAwesome;
}
/* product list */
.product-thumb {
	border: 1px solid #ddd;
	margin-bottom: 20px;
	overflow: auto;
}
.product-thumb .image {
	text-align: center;
}
.product-thumb .image a {
	display: block;
}
.product-thumb .image a:hover {
	opacity: 0.8;
}
.product-thumb .image img {
	margin-left: auto;
	margin-right: auto;
}
.product-grid .product-thumb .image {
	float: none;
}
@media (min-width: 767px) {
.product-list .product-thumb .image {
	float: left;
	padding: 0 15px;
}
}
.product-thumb h4 {
	font-weight: bold;
}
.product-thumb .caption {
	padding: 0 20px;
	min-height: 180px;
}
.product-list .product-thumb .caption {
	margin-left: 230px;
}
@media (max-width: 1200px) {
.product-grid .product-thumb .caption {
	min-height: 210px;
	padding: 0 10px;
}
}
@media (max-width: 767px) {
.product-list .product-thumb .caption {
	min-height: 0;
	margin-left: 0;
	padding: 0 10px;
}
.product-grid .product-thumb .caption {
	min-height: 0;
}
}
.product-thumb .rating {
	padding-bottom: 10px;
}
.rating .fa-stack {
	font-size: 8px;
}
.rating .fa-star-o {
	color: #999;
	font-size: 15px;
}
.rating .fa-star {
	color: #FC0;
	font-size: 15px;
}
.rating .fa-star + .fa-star-o {
	color: #E69500;
}
h2.price {
	margin: 0;
}
.product-thumb .price {
	color: #444;
}
.product-thumb .price-new {
	font-weight: 600;
}
.product-thumb .price-old {
	color: #999;
	text-decoration: line-through;
	margin-left: 10px;
}
.product-thumb .price-tax {
	color: #999;
	font-size: 12px;
	display: block;
}
.product-thumb .button-group {
	border-top: 1px solid #ddd;
	background-color: #eee;
	overflow: auto;
}
.product-list .product-thumb .button-group {
	border-left: 1px solid #ddd;
}
@media (max-width: 768px) {
	.product-list .product-thumb .button-group {
		border-left: none;
	}
}
.product-thumb .button-group button {
	width: 60%;
	border: none;
	display: inline-block;
	float: left;
	background-color: #eee;
	color: #888;
	line-height: 38px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}
.product-thumb .button-group button + button {
	width: 20%;
	border-left: 1px solid #ddd;
}
.product-thumb .button-group button:hover {
	color: #444;
	background-color: #ddd;
	text-decoration: none;
	cursor: pointer;
}
@media (max-width: 1200px) {
	.product-thumb .button-group button, .product-thumb .button-group button + button {
		width: 33.33%;
	}
}
@media (max-width: 767px) {
	.product-thumb .button-group button, .product-thumb .button-group button + button {
		width: 33.33%;
	}
}
.thumbnails {
	overflow: auto;
	clear: both;
	list-style: none;
	padding: 0;
	margin: 0;
}
.thumbnails > li {
	margin-left: 20px;
}
.thumbnails {
	margin-left: -20px;
}
.thumbnails > img {
	width: 100%;
}
.image-additional a {
	margin-bottom: 20px;
	padding: 5px;
	display: block;
	border: 1px solid #ddd;
}
.image-additional {
	max-width: 78px;
}
.thumbnails .image-additional {
	float: left;
	margin-left: 20px;
}

@media (min-width: 1200px) {
	#content .col-lg-2:nth-child(6n+1),
	#content .col-lg-3:nth-child(4n+1),
	#content .col-lg-4:nth-child(3n+1),
	#content .col-lg-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	#content .col-md-2:nth-child(6n+1),
	#content .col-md-3:nth-child(4n+1),
	#content .col-md-4:nth-child(3n+1),
	#content .col-md-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	#content .col-sm-2:nth-child(6n+1),
	#content .col-sm-3:nth-child(4n+1),
	#content .col-sm-4:nth-child(3n+1),
	#content .col-sm-6:nth-child(2n+1) {
		clear:left;
	}
}

/* fixed colum left + content + right*/
@media (min-width: 768px) {
    #column-left  .product-layout .col-md-3 {
       width: 100%;
    }

	#column-left + #content .product-layout .col-md-3 {
       width: 50%;
    }

	#column-left + #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }

    #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }
}

/* fixed product layouts used in left and right columns */
#column-left .product-layout, #column-right .product-layout {
	width: 100%;
}

/* fixed mobile cart quantity input */
.input-group .form-control[name^=quantity] {
	min-width: 50px;
}

/* Missing focus and border color to overwrite bootstrap */
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
    background-image: none;
    background-color: #df5c39;
}
html[dir=rtl] .checkbox input[type="checkbox"],
html[dir=rtl] .checkbox-inline input[type="checkbox"],
html[dir=rtl] .radio input[type="radio"],
html[dir=rtl] .radio-inline input[type="radio"] {
    position: absolute;
    margin-top: 4px\9;
    margin-right: -20px;
      margin-left: unset;
}
html[dir=rtl] .input-group-btn:last-child > .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
html[dir=rtl] .input-group .form-control:first-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}
html[dir=rtl] .container .row:first-child  .col-sm-4, html[dir=rtl] .container .row:first-child  .col-sm-5 {
  float: right;

}
html[dir=rtl] #cart .dropdown-menu {
  left: 0;
  right: auto;

}
@media (min-width: 768px) {
   
    html[dir=rtl] .navbar-nav {
        float: right;
        margin: 0;
    }
    
    html[dir=rtl] .navbar-nav > li {
        float: right;
    }
   
}
/* --- OpenCart 视觉最终修正版 --- */


/* 4. 产品外框：立体质感优化 */
.product-thumb {
    border: 1px solid #ddd !important;
    border-radius: 15px !important; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease;
    background: #fff;
    margin-bottom: 20px;
}
.product-thumb:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
    transform: translateY(-4px);
}

/* 5. 详情页加入购物车：保持灰蓝色立体胶囊 (不动) */
#button-cart {
    border-radius: 50px !important;
    background: linear-gradient(to bottom, #7496b4 0%, #5a7d9a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 0 #45627a !important;
    padding: 12px 35px !important;
    font-weight: bold;
    position: relative;
}
#button-cart:active {
    top: 2px !important;
    box-shadow: 0 2px 0 #45627a !important;
}
/* --- 彻底修复导航条三条杠颜色 --- */

/* 1. 针对默认模板的 span 线条形式 */

/* --- 修复详情页，仅在列表页启用双排 --- */
@media (max-width: 767px) {
    /* 核心修复：只给非详情页（即首页、分类页）的商品加宽度 */
    body:not(.product-product) .product-layout {
        width: 50% !important;
        float: left !important;
        padding: 5px !important;
        clear: none !important;
    }

    /* 详情页图片与布局重置 - 恢复 100% 宽度 */
    .product-product .col-sm-8, 
    .product-product .col-sm-4 {
        width: 100% !important; 
        float: none !important;
        padding: 10px !important;
    }

    /* 列表页卡片美化 */
    body:not(.product-product) .product-thumb {
        margin-bottom: 15px !important;
        border: 1px solid #f2f2f2 !important;
        border-radius: 8px !important;
        background: #fff;
        height: auto;
        overflow: hidden;
    }

    /* 找回三个图标并横向排列 */
    body:not(.product-product) .button-group {
        display: flex !important;
        border-top: 1px solid #eee;
    }

    body:not(.product-product) .button-group button {
        width: 33.33% !important;
        padding: 8px 0 !important;
        border: none !important;
        background: none !important;
        font-size: 14px !important;
    }

    /* 隐藏列表页多余描述 */
    body:not(.product-product) .product-thumb .caption p:not(.price) {
        display: none !important;
    }
}
/* 详情页信任图标终极美化 */
.quest-trust-bar {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    margin-top: 25px !important;
    padding: 15px 5px !important;
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.quest-trust-item {
    text-align: center !important;
    flex: 1 !important;
}

.quest-trust-item i {
    display: block !important;
    font-size: 24px !important; /* 放大图标 */
    color: #333 !important;
    margin-bottom: 8px !important;
}

.quest-trust-item span {
    display: block !important;
    font-size: 10px !important;
    color: #888 !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}
/* 价格优化：深红色大字 */
.product-price, .price-new {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #b12704 !important;
}
.price-old {
    text-decoration: line-through !important;
    color: #888 !important;
    font-size: 16px !important;
    margin-left: 10px !important;
}

/* 信任图标升级：虚线框证书感 */
.quest-trust-bar {
    display: flex !important;
    justify-content: space-around !important;
    margin-top: 30px !important;
    padding: 15px 5px !important;
    border: 1px dashed #bbb !important; /* 之前的实线变虚线 */
    background: #fffdf7 !important; /* 之前的白底变淡米色 */
    border-radius: 10px !important;
}

/* 相关产品：增加圆角 */
.product-thumb .image img {
    border-radius: 8px !important;
}
/* 专门修复产品详情页的价格显示 */
.product-description h2, 
#content .col-sm-4 h2,
.product-price-wrapper h2 {
    color: #b12704 !important; /* 统一成深红色 */
    font-size: 30px !important; /* 详情页价格可以更大一点 */
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}

/* 如果详情页有原价，也统一一下样式 */
.product-description .price-old,
#content .col-sm-4 .price-old {
    text-decoration: line-through !important;
    color: #888 !important;
    font-size: 18px !important;
}
/* --- 艺术品商店专用的弹性对齐方案 --- */

/* 1. 产品容器：变成一个垂直的弹性盒子 */
.product-thumb {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: 1px solid #f2f2f2 !important;
    padding: 10px !important;
    margin-bottom: 20px !important;
    background: #fff !important;
}

/* 2. 图片优化：保证比例正常，不拉伸 */
.product-thumb .image {
    margin: -10px -10px 10px -10px !important; /* 铺满顶部 */
}

.product-thumb .image img {
    width: 100% !important;
    height: auto !important; /* 恢复自动高度，防止变形 */
    aspect-ratio: 1 / 1 !important; /* 强制图片显示为正方形区域 */
    object-fit: cover !important; /* 裁剪多余部分，保持比例 */
}

/* 3. 标题与描述区域：自动撑开空间 */
.product-thumb .caption {
    flex-grow: 1 !important; /* 这一行最关键：它会自动吃掉多余空间，把价格推到底部 */
    padding: 0 5px !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-thumb .caption h4 {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 10px 0 !important;
    min-height: 40px !important; /* 保证至少两行高度 */
}

/* 4. 价格区域：固定在底部 */
.product-thumb .price {
    margin-top: auto !important; /* 将价格推到最下方 */
    padding-top: 10px !important;
    border-top: 1px dashed #eee; /* 可选：加个微弱的分隔线 */
}

.product-thumb .price-new {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #b12704 !important;
}

/* 5. 底部按钮组：整齐排列 */
.product-thumb .button-group {
    border-top: 1px solid #eee !important;
    margin: 10px -10px -10px -10px !important;
}
/* 1. 去掉顶部导航的蓝色背景，改为清爽的极简风格 */
#menu {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important; /* 加一条极细的底线 */
    box-shadow: none !important;
    min-height: 40px;
}

/* 2. 调整分类文字的颜色，让它看起来更高级 */
#menu .nav > li > a {
    color: #333 !important;
    text-shadow: none !important;
    background-color: transparent !important;
    padding: 10px 20px;
    font-size: 14px;
}

/* 3. 鼠标悬停分类时的效果：淡淡的变色 */
#menu .nav > li > a:hover {
    color: #888 !important; 
}

/* 4. 改造那个厚重的搜索框，让它变扁平 */
#search .input-lg {
    height: 36px;
    line-height: 36px;
    padding: 0 10px;
    border-radius: 0 !important; /* 去掉圆角变直角 */
    border: 1px solid #e1e1e1 !important;
    box-shadow: none !important;
}

#search .btn-lg {
    height: 36px;
    line-height: 36px;
    padding: 0 15px;
    background: #333 !important; /* 搜索按钮变成深灰色，更有质感 */
    color: #fff !important;
    border: none !important;
    text-shadow: none !important;
    border-radius: 0 !important;
}

/* 5. 去掉购物车那个大金块的圆角和阴影 */
#cart > .btn {
    background-color: #f8f8f8 !important;
    background-image: none !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    text-shadow: none !important;
}
/* 1. 强制分类导航头成为弹性容器，让文字和图标水平并排 */
#menu .navbar-header {
    display: flex !important;
    justify-content: space-between !important; /* 文字在左，图标在右 */
    align-items: center !important;     /* 垂直方向居中对齐 */
    width: 100% !important;
    padding: 0 15px !important;
    float: none !important;             /* 清除可能存在的浮动 */
}

/* 2. 彻底拆掉三条杠外面的小方块背景和边框 */
#menu .btn-navbar {
    background: transparent !important; /* 去掉背景色 */
    border: none !important;            /* 去掉方框边框 */
    box-shadow: none !important;        /* 去掉阴影 */
    margin: 0 !important;
    padding: 10px 0 !important;
    float: none !important;             /* 必须清除浮动，否则 Flex 不生效 */
    display: block !important;
}

/* 3. 确保文字没有偏移 */
#menu #category {
    float: none !important;
    line-height: normal !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #000 !important;
}

/* 4. 修正三条杠图标本身的样式 */
#menu .btn-navbar .icon-bar {
    background-color: #000 !important; /* 纯黑线 */
    width: 22px !important;
    height: 2px !important;
    margin: 4px 0 !important;
    display: block !important;
}
/* 1. 强制导航头横向 100% 撑满，不留死角 */
#menu .navbar-header {
    display: flex !important;
    justify-content: space-between !important; /* 核心：让左右元素飞到两头 */
    align-items: center !important;
    width: 100% !important;
    padding: 0 20px !important; /* 这里控制左右的留白，20px 比较精致 */
    float: none !important;
}

/* 2. 彻底取消图标按钮的固定宽度和浮动 */
#menu .btn-navbar {
    margin: 0 !important;
    padding: 15px 0 !important; /* 增加点击区域高度，方便手指点 */
    border: none !important;
    background: transparent !important;
    float: none !important;
    display: flex !important; /* 内部也用 flex */
    flex-direction: column !important;
    align-items: flex-end !important; /* 强制图标线条向右对齐 */
}

/* 3. 调整文字位置，确保它靠最左 */
#menu #category {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    flex-grow: 1 !important; /* 让文字占据剩余空间，把图标挤到头 */
}

/* 4. 这里的 width 改为想要的长度，确保图标在视觉上靠右边缘 */
#menu .btn-navbar .icon-bar {
    width: 24px !important; /* 稍微加长一点点，更有存在感 */
    margin: 3px 0 !important;
    background-color: #000 !important;
}
/* 1. 专门针对分类页面的清理 */
.product-category .product-filter, 
.product-category .product-compare,
.product-category #content > .row:nth-of-type(2) {
    display: none !important; /* 隐藏排序、显示数量和比较链接 */
}

/* 2. 隐藏分类页产品图下方的小图标（购物车、收藏、对比） */
.product-category .product-thumb .button-group {
    display: none !important;
}

/* 3. 美化：让标题和价格居中，显得更像高端品牌 */
.product-category .product-thumb .caption {
    text-align: center !important;
    padding: 20px 10px !important;
}

/* 4. 调整价格大小和间距 */
.product-category .product-thumb .price {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #333 !important;
}
.panel-title a {
  position: relative;
  display: block;
}
.panel-title a:after {
  content: "\f0d7"; /* 向下箭头图标 */
  font-family: 'FontAwesome';
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
.panel-title a.collapsed:after {
  content: "\f0da"; /* 向右箭头图标 */
}
/* 针对移动端的专项修复 */
@media (max-width: 767px) {
    /* 1. 强制消除面包屑下方的外边距 */
    .breadcrumb {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* 2. 隐藏可能的空警告框/通知容器 */
    #notification:empty, .alert:empty, #alert:empty {
        display: none !important;
    }

    /* 3. 防止标题和主图之间产生多余间隙 */
    #content h1 + div, #content .breadcrumb + div {
        margin-top: 0 !important;
    }
}