/* =========================================================
 * mytheme - 全站自定义样式（浅色版）
 *
 * 主题模式（与 tyt5/soluna 相同的最小覆盖模式）：
 * - 只覆盖需要修改的模板文件，未覆盖的页面自动回落到 default 主题
 * - 模板覆盖：template/ 目录下按 default 的路径结构放置同名文件
 * - 样式统一写在本文件，通过 header.twig 引入（?v= 版本号破缓存）
 * - 配色：白底浅色 + 黑色通栏 header；卡片无边框 + 轻阴影
 * ========================================================= */

/* ===== 设计变量（v0.5.0 起新增分区使用；存量分区保持原值不动）===== */
:root {
	--my-black: #000;
	--my-black-soft: #0c0c0c;
	--my-text: #333;
	--my-muted: #888;
	--my-border: #e5e5e5;
	--my-bg-soft: #fafafa;
	--my-radius-card: 14px;
	--my-radius-btn: 8px;
	--my-shadow-1: 0 1px 3px rgba(0, 0, 0, .06);
	--my-shadow-2: 0 8px 24px rgba(0, 0, 0, .15);
	--my-gold: #d8b34a;
}

/* ===== 全局（浅色）===== */
html, body { overflow-x: hidden; }
body { background: #fff; color: #666; }
a { color: #444; }
a:hover { color: #000; }

/* ===== Header：黑色通栏导航（保留设计稿样式）===== */
#site-header { background: #000; }

#site-header .header-inner {
	display: flex;
	align-items: center;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 30px;
	height: 84px;
}

#site-header .header-logo img { max-height: 60px; width: auto; }
#site-header .header-logo .logo-text { color: #fff; font-size: 22px; font-weight: 600; }

.header-nav {
	display: flex;
	align-items: center;
	margin-left: 56px;
	gap: 36px;
}

#site-header .nav-link {
	color: #fff;
	font-size: 16px;
	padding: 8px 0;
}

#site-header .nav-link:hover,
#site-header .nav-link:focus {
	color: #ccc;
	text-decoration: none;
	background: none;
}

.header-nav .nav-item { margin-bottom: 0; }

.header-nav .dropdown-menu {
	border: none;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
	margin-top: 12px;
}

.header-nav .dropdown-menu > li > a {
	padding: 10px 20px;
	color: #333;
	white-space: nowrap;
}

.header-nav .dropdown-menu > li > a:hover { background: #f5f5f5; }

.header-actions {
	display: flex;
	align-items: center;
	margin-left: auto;
	gap: 26px;
}

#site-header .action-icon {
	color: #fff;
	font-size: 20px;
	padding: 0;
}

#site-header .action-icon:hover,
#site-header .action-icon:focus { color: #ccc; }

.header-account .dropdown-menu > li > a { padding: 8px 20px; }

/* 货币切换：胶囊样式（复用 {{ currency }} 输出的 form#form-currency） */
#site-header #form-currency .btn-group { margin: 0; }
#site-header #form-currency .dropdown-toggle {
	font-size: 0;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 999px;
	color: #fff !important;
	padding: 7px 18px;
	box-shadow: none;
}
#site-header #form-currency .dropdown-toggle strong { font-size: 14px; }
#site-header #form-currency .dropdown-toggle .fa-caret-down { font-size: 13px; color: #fff; }
#site-header #form-currency .dropdown-menu { min-width: 130px; }

/* 搜索折叠条（点放大镜或 Search 展开）：黑底，与 header 连体 */
#search-bar { background: #111; padding: 14px 0; }
#search-bar .input-group { max-width: 800px; margin: 0 auto; }
#search-bar .form-control { height: 44px; border: none; }
#search-bar .input-group-btn .btn {
	height: 44px;
	background: #fff;
	border: 1px solid #fff;
	color: #000;
}

/* ===== 首页轮播：全屏通栏（突破 container）===== */
#content > .slideshow {
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	margin-bottom: 0;
	border: none;
	box-shadow: none;
	border-radius: 0;
	background: none;
	z-index: 0;
}

/* #content > .slideshow .swiper-container { height: 70vh; } */

#content > .slideshow .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 分页点移进轮播内部（default 样式把分页点放在轮播外下方 -40px，
 * 会叠住后面的模块标题）。图片上保持白色 */
#content > .slideshow .swiper-pagination {
	bottom: 26px;
	left: 0;
	width: 100%;
	z-index: 3;
}
#content > .slideshow .swiper-pagination-bullet { background: rgba(255, 255, 255, .45); }
#content > .slideshow .swiper-pagination-bullet:hover { background: rgba(255, 255, 255, .7); }
#content > .slideshow .swiper-pagination-bullet-active { background: #fff; }

#content > .slideshow .swiper-button-prev:before,
#content > .slideshow .swiper-button-next:before {
	color: rgba(255, 255, 255, .85);
	text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

#content > .slideshow .swiper-button-prev { left: 18px; opacity: .55; }
#content > .slideshow .swiper-button-next { right: 18px; opacity: .55; }
#content > .slideshow:hover .swiper-button-prev,
#content > .slideshow:hover .swiper-button-next { opacity: 1; }

/* 品牌轮播：去掉 default 的白色底/白色边框 */
#content > .carousel.swiper-viewport {
	background: none;
	border: none;
	box-shadow: none;
	border-radius: 0;
}

/* ===== Featured / 商品卡片：白底无边框 + 轻阴影 ===== */
.featured-module { padding: 0 30px; margin: 60px auto 80px; }

.featured-head {
	display: flex;
	align-items: center;
	max-width: 1600px;
	margin: 0 auto 40px;
	gap: 22px;
}
.featured-title {
	margin: 0;
	color: #000;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: .5px;
	white-space: nowrap;
}
.featured-line {
	flex: 1;
	height: 1px;
	background: #e5e5e5;
}
.featured-viewall {
	color: #999;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	white-space: nowrap;
}
.featured-viewall:hover { color: #000; text-decoration: none; }

.featured-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	max-width: 1600px;
	margin: 0 auto;
}

.f-card {
	position: relative;
	background: #fff;
	border: none;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	transition: transform .3s ease, box-shadow .3s ease;
}
.f-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.f-image { position: relative; overflow: hidden; background: #f7f7f7; }
.f-image img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.f-card:hover .f-image img { transform: scale(1.05); }

.f-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: #000;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	padding: 4px 10px;
	text-transform: uppercase;
	z-index: 2;
}

.f-actions {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%) translateY(16px);
	display: flex;
	gap: 8px;
	opacity: 0;
	transition: opacity .3s ease, transform .3s ease;
	z-index: 2;
}
.f-card:hover .f-actions { opacity: 1; transform: translateX(-50%) translateY(0); }
.f-actions button {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: none;
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
	color: #000;
	font-size: 17px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.f-actions button:hover { background: #000; color: #fff; }

.f-info { padding: 20px 22px 24px; }
.f-info h4 { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.f-info h4 a { color: #222; }
.f-info h4 a:hover { color: #000; text-decoration: none; }

.f-rating { margin-bottom: 10px; }
.f-rating .fa-stack { height: 14px; }
.f-rating .fa { font-size: 14px; }

.f-desc {
	color: #999;
	font-size: 13px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 14px;
	height: 42px;
}

.f-price { font-size: 18px; font-weight: 600; }
.f-price .price-new { color: #000; }
.f-price .price-old {
	color: #aaa;
	text-decoration: line-through;
	font-weight: 400;
	font-size: 14px;
	margin-left: 8px;
}
.f-price .price-tax { display: block; color: #aaa; font-weight: 400; font-size: 12px; margin-top: 4px; }

/* =========================================================
 * 全站统一组件（作用于所有页面，包括回落 default 模板的页面）
 * ========================================================= */

/* 面包屑：靠左 + 全大写小字 + 宽字距 + 极简 / 分隔 */
ul.breadcrumb {
	background: none;
	padding: 32px 0 12px;
	margin: 0;
	border: none;
	border-radius: 0;
	text-align: left;
}
ul.breadcrumb li { display: inline-block; }
ul.breadcrumb i.fa-home { color: #b0b0b0; }
ul.breadcrumb li a {
	color: #999;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
ul.breadcrumb li a:hover { color: #000; text-decoration: none; }
ul.breadcrumb li:last-child a {
	color: #222;
	pointer-events: none; /* 最后一项是当前页，视觉深色且不可点 */
}
ul.breadcrumb > li::after { display: none; } /* 对抗 default 用边框画的大箭头分隔符 */
ul.breadcrumb > li + li:before {
	content: "/";
	color: rgba(0, 0, 0, .22);
	font-size: 12px;
	padding: 0 14px;
}
.breadcrumb > .active {
	color: #222;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

/* 表单控件 */
.form-control {
	background: #fff;
	border: 1px solid #ccc;
	color: #333;
	box-shadow: none;
	border-radius: 8px;
}
.form-control:focus {
	background: #fff;
	border-color: #888;
	box-shadow: none;
}
.form-control::placeholder { color: #aaa; }
.help-block { color: #999; }
.radio label, .checkbox label { color: #555; }
.control-label { color: #555; }

/* 选项小图/缩略图：去 default 灰边框 */
.img-thumbnail {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
}

/* 按钮 */
.btn { border-radius: 8px; }
.btn-primary {
	background: #000;
	border: 1px solid #000;
	color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
	background: #333;
	border-color: #333;
	color: #fff;
}
.btn-default {
	background: #f5f5f5;
	border: 1px solid #ddd;
	color: #333;
}
.btn-default:hover, .btn-default:focus {
	background: #eaeaea;
	border-color: #ccc;
	color: #000;
}
.input-group-btn .btn { background: #f5f5f5; border-color: #ddd; color: #555; }
.input-group-addon {
	background: #f5f5f5;
	border: 1px solid #ddd;
	color: #888;
}

/* 表格 */
.table { color: #555; background: transparent; }
.table-bordered, .table-bordered td, .table-bordered th { border-color: #e5e5e5 !important; }
.table thead td, .table thead th { color: #222; }
.table-striped tbody > tr:nth-of-type(odd) { background: #fafafa; }
.table-hover tbody tr:hover { background: #f5f5f5; }

/* 提示条（default 浅色配色已合适，仅统一圆角） */
.alert { border: none; border-radius: 10px; }

/* Tabs */
.nav-tabs { border-bottom: 1px solid #e5e5e5; }
.nav-tabs > li > a {
	color: #999;
	background: none;
	border: none;
	border-radius: 0;
	margin-right: 26px;
	padding: 12px 2px;
}
.nav-tabs > li > a:hover { background: none; border: none; color: #333; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
	background: none;
	border: none;
	border-bottom: 2px solid #000;
	color: #000;
}
.tab-content { padding: 24px 2px; color: #555; }

/* 分页 */
.pagination > li > a, .pagination > li > span {
	background: #fff;
	border: 1px solid #ddd;
	color: #555;
}
.pagination > li > a:hover { background: #f5f5f5; border-color: #ccc; color: #000; }
.pagination > .active > a, .pagination > .active > span {
	background: #000;
	border-color: #000;
	color: #fff;
}

/* 星级 */
.pdp-rating .fa-stack, .f-rating .fa-stack { color: #d8b34a; }

/* tooltip / 弹窗保持 default */

/* well（default 模板里的浅灰面板）统一 */
.well {
	background: #fafafa;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	box-shadow: none;
}

/* 面板（checkout 手风琴等） */
.panel {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	box-shadow: none;
}
.panel-group { margin-bottom: 20px; }
.panel-group .panel { margin-bottom: 14px; }
.panel-default > .panel-heading { background: #fafafa; border-color: #e5e5e5; border-radius: 12px 12px 0 0; }
.panel-title { color: #222; font-size: 16px; }
.panel-title > a { color: #222; }
.panel-collapse > .panel-body { border-top: none; }

/* 侧栏 list-group（分类模块 / 账户模块）浅色 */
.list-group-item {
	background: #fff;
	border: 1px solid #e5e5e5;
	color: #555;
}
.list-group-item:first-child { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.list-group-item:last-child { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
a.list-group-item:hover, a.list-group-item:focus { background: #f7f7f7; color: #000; }
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
	background: #000;
	border-color: #000;
	color: #fff;
}

/* =========================================================
 * 商品详情页（product/product）
 * ========================================================= */
.pdp {
	display: grid;
	grid-template-columns: 50% 1fr;
	gap: 40px;
	margin: 10px 0 54px;
}

.pdp-media .thumbnails { list-style: none; padding: 0; margin: 0; }
.pdp-media .thumbnails > li {
	margin: 0;
	padding: 0;
	float: none;
	width: auto; /* 重置 bootstrap 的 .thumbnails>li{width:25%}，否则缩略图排不成一行 */
}
.pdp-media .thumbnails > li a.thumbnail {
	display: block;
	border: none;
	padding: 0;
	margin: 0;
	background: #f7f7f7;
	border-radius: 18px;
	overflow: hidden;
}
.pdp-media .thumbnails > li a.thumbnail img { width: 100%; height: auto; display: block; }
.pdp-media .thumbnails > li.image-additional {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 0;
	max-width: none; /* 对抗 default 的 .image-additional{max-width:78px}，否则容器塌缩导致竖排 */
	width: 100%;
	float: none;
	padding: 0;
}
.pdp-media .thumbnails > li.image-additional a.thumbnail {
	flex: 0 0 82px;
	width: 82px;
	max-width: 82px;
	margin: 0;
	padding: 0;
	border: none;
	display: block;
	border-radius: 10px;
	opacity: .65;
	transition: opacity .2s ease;
}
.pdp-media .thumbnails > li.image-additional a.thumbnail img {
	width: 100%;
	height: auto;
}
.pdp-media .thumbnails > li.image-additional a.thumbnail:hover { opacity: 1; }

.pdp-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 6px;
}
.pdp-actions button {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #ddd;
	color: #333;
	font-size: 16px;
	transition: all .2s ease;
}
.pdp-actions button:hover { background: #000; border-color: #000; color: #fff; }

.pdp-title {
	color: #000;
	font-size: 32px;
	font-weight: 600;
	margin: 0 0 14px;
	line-height: 1.25;
}

.pdp-rating { margin-bottom: 14px; font-size: 13px; }
.pdp-rating .fa-stack { height: 13px; font-size: 13px; }
.pdp-rating a { color: #999; margin-left: 4px; }
.pdp-rating a:hover { color: #000; }
.pdp-rating-sep { color: #ccc; margin: 0 6px; }

.pdp-meta {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 18px;
	color: #999;
	font-size: 13px;
}
.pdp-meta a { color: #555; text-decoration: underline; }
.pdp-meta a:hover { color: #000; }

.pdp-price {
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	padding: 20px 0;
	margin: 24px 0;
}
.pdp-price .pdp-price-new { color: #000; font-size: 30px; font-weight: 700; }
.pdp-price .pdp-price-old {
	color: #aaa;
	text-decoration: line-through;
	font-size: 17px;
	font-weight: 400;
	margin-left: 14px;
}
.pdp-price .pdp-price-line {
	display: block;
	color: #999;
	font-size: 13px;
	margin-top: 8px;
}

.pdp-subtitle {
	color: #000;
	font-size: 17px;
	font-weight: 600;
	margin: 22px 0 14px;
}

.pdp-buy { display: flex; align-items: flex-end; gap: 14px; }
.pdp-buy .qty-box { width: 92px; flex: none; }
.pdp-buy .qty-box .control-label { display: block; }
#input-quantity { text-align: center; }
.pdp-buy #button-cart {
	flex: 1;
	height: 52px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	border-radius: 10px;
}

.pdp-tabs { margin: 10px 0 46px; }
#tab-description { line-height: 1.8; }

.related-head { margin-top: 10px; }

.pdp-tags { color: #999; margin-top: 26px; }
.pdp-tags a {
	display: inline-block;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 999px;
	padding: 5px 15px;
	margin: 0 8px 8px 0;
	color: #666;
	font-size: 12px;
}
.pdp-tags a:hover { background: #000; border-color: #000; color: #fff; text-decoration: none; }

/* =========================================================
 * 列表页（分类 / 搜索）共用组件
 * ========================================================= */
.page-title {
	color: #000;
	font-size: 32px;
	font-weight: 600;
	margin: 0 0 22px;
}

.category-intro {
	display: flex;
	gap: 26px;
	align-items: flex-start;
	background: #fafafa;
	border: none;
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 30px;
}
.category-intro .img-thumbnail {
	width: 130px;
	flex: none;
	border-radius: 10px;
}
.category-desc { color: #666; line-height: 1.8; }

.refine-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 34px;
}
.refine-chips a {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 999px;
	padding: 8px 18px;
	color: #555;
	font-size: 13px;
}
.refine-chips a:hover { background: #000; border-color: #000; color: #fff; text-decoration: none; }

/* 工具条：排序 / 每页数 */
.listing-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
}
.listing-toolbar .form-group { margin: 0; }
.listing-toolbar .input-group { width: auto; }
.listing-toolbar .form-control { width: auto; }
.compare-link { color: #999; font-size: 13px; }
.compare-link:hover { color: #000; }
.toolbar-spacer { flex: 1; }

.cat-grid { margin-bottom: 40px; }

.listing-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
}
.listing-results { color: #999; font-size: 13px; }
.empty-state { color: #888; margin: 20px 0; }

/* =========================================================
 * 账户中心 / 登录
 * ========================================================= */
.account-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
}
.account-section {
	background: #fff;
	border: none;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 11px;
}
.account-section h2 {
	margin: 0 0 4px;
	color: #000;
	font-size: 16px;
	font-weight: 600;
}
.account-section a { color: #777; font-size: 14px; }
.account-section a:hover { color: #000; text-decoration: none; }

.auth-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
	max-width: 960px;
	margin: 10px 0 40px;
}
.auth-panel {
	background: #fff;
	border: none;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	padding: 34px;
}
.auth-panel h2 { color: #000; font-size: 20px; margin: 0 0 14px; font-weight: 600; }
.auth-title { color: #555; margin: 0 0 8px; }
.auth-desc { color: #888; margin: 0 0 22px; font-size: 14px; line-height: 1.7; }
.auth-register .btn-block { margin-top: 8px; }
.auth-login form .btn-block { margin-top: 4px; }
.forgot-link { display: inline-block; margin-top: 10px; color: #888; font-size: 13px; }
.forgot-link:hover { color: #000; }
@media (max-width: 767px) {
	.auth-grid { grid-template-columns: 1fr; }
}

/* =========================================================
 * 购物车
 * ========================================================= */
.cart-table { margin-bottom: 26px; }
.cart-table .table { margin: 0; }
.cart-table thead td {
	color: #999;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-bottom: 1px solid #e5e5e5;
}
.cart-table tbody td { border-bottom: 1px solid #efefef; vertical-align: middle; padding: 18px 8px; }
.cart-table tbody tr:last-child td { border-bottom: none; }
.cart-name { color: #222; font-size: 15px; }
.cart-name:hover { color: #000; }
.cart-option { color: #999; }
.cart-qty .form-control { width: 60px; text-align: center; }
.cart-qty .qty-btn { height: 38px; }
.cart-price { color: #555; }
.cart-total { color: #000; font-weight: 600; }
.cart-col-img { width: 90px; }

.cart-bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-top: 20px;
}
.cart-totals {
	background: #fafafa;
	border: none;
	border-radius: 14px;
	padding: 20px 26px;
	min-width: 300px;
}
.cart-total-row {
	display: flex;
	justify-content: space-between;
	color: #777;
	padding: 6px 0;
}
.cart-grand span { color: #000; font-size: 18px; font-weight: 600; }
.cart-grand .cart-total-val { color: #000; }
.cart-note { color: #888; }
.cart-bottom .buttons { display: flex; gap: 12px; }

@media (max-width: 991px) {
	.featured-grid { grid-template-columns: repeat(2, 1fr); }
	.featured-module { padding: 0 16px; }
	.pdp { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 576px) {
	.featured-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.cart-table .cart-col-model,
	.cart-table .cart-col-img { display: none; }
	.cart-bottom { flex-direction: column; align-items: stretch; }
	.cart-totals { min-width: 0; }
	.listing-toolbar { flex-wrap: wrap; }
}

/* =========================================================
 * v0.5.0 全站升级新增分区（Header v2 / 搜索下拉 / 迷你购物车 / Footer）
 * ========================================================= */

/* ===== Header v2：顶部细条（货币 + 心愿单 + 账户快捷链接）===== */
#site-header .header-bar {
	background: #000;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
#site-header .header-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 30px;
	min-height: 40px;
}
#site-header .header-bar a {
	color: #bbb;
	font-size: 12px;
	letter-spacing: .5px;
	white-space: nowrap;
}
#site-header .header-bar a:hover {
	color: #fff;
	text-decoration: none;
}
#site-header .header-bar-left,
#site-header .header-bar-right {
	display: flex;
	align-items: center;
	gap: 16px;
}
#site-header .bar-sep {
	width: 1px;
	height: 12px;
	background: rgba(255, 255, 255, .2);
}
/* 细条里的货币胶囊紧凑化（复用存量胶囊样式，仅调小） */
#site-header .header-bar #form-currency .dropdown-toggle { padding: 4px 14px; }

/* ===== 搜索下拉（点击放大镜展开）===== */
#site-header .search-dropdown {
	width: 340px;
	padding: 18px;
	border: none;
	border-radius: 10px;
	box-shadow: var(--my-shadow-2);
}
#site-header .search-dropdown #search .form-control { height: 44px; }
#site-header .search-dropdown #search .btn {
	height: 44px;
	background: #000;
	border: 1px solid #000;
	color: #fff;
}
#site-header .search-dropdown #search .btn:hover,
#site-header .search-dropdown #search .btn:focus {
	background: #333;
	border-color: #333;
	color: #fff;
}

/* ===== 迷你购物车下拉（#cart 协议皮肤）===== */
#site-header #cart {
	display: inline-flex;
	width: auto;
	vertical-align: middle;
	margin-bottom: 0;
}
#site-header #cart > button {
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	color: #fff;
	font-size: 0; /* 隐藏 data-loading-text 的文本闪烁 */
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
#site-header #cart > button:hover,
#site-header #cart > button:focus,
#site-header #cart > button:active,
#site-header #cart.open > button,
#site-header #cart.open > button:hover {
	background: transparent;
	border: none;
	box-shadow: none;
	color: #ccc;
}
/* 纯图标呈现：文本节点 font-size:0 隐藏（common.js 加购重写后的文本同样被隐藏），图标显式字号保留 */
#site-header #cart #cart-total {
	font-size: 0;
	line-height: 1;
	font-weight: 400;
}
/* 右侧三图标等大对齐：统一 40x40 弹性盒子；购物车实心字形缩到 18px 与细线字形视觉等大 */
#site-header .header-actions .action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}
/* 关键对齐修正：dropdown 包装层变 flex 容器，消除行盒基线撑高（否则 div 实际高 40px+下延，与 40px 的 #cart 错位） */
#site-header .header-actions > .dropdown {
	display: inline-flex;
}
/* 图标间距收紧 */
#site-header .header-actions { gap: 14px; }
#site-header #cart #cart-total > i { font-size: 18px; }
#site-header #cart > ul.cart-dropdown {
	width: 400px;
	max-width: calc(100vw - 24px);
	padding: 0;
	border: none;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--my-shadow-2);
	overflow: hidden;
}
/* 对抗 default 的 #cart .dropdown-menu li > div { min-width:427px; padding:0 10px } */
#site-header #cart .dropdown-menu li > div { min-width: 0; padding: 0; }
#site-header #cart > ul > li { border-bottom: 1px solid #f2f2f2; }
#site-header #cart > ul > li:last-child { border-bottom: none; }

/* 商品行 */
#site-header #cart .cart-items { max-height: 380px; overflow-y: auto; padding: 6px 0; }
#site-header #cart .cart-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px 18px;
}
#site-header #cart .cart-item + .cart-item { border-top: 1px solid #f5f5f5; }
#site-header #cart .cart-item-img { width: 64px; flex: none; }
#site-header #cart .cart-item-img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	background: #f7f7f7;
}
#site-header #cart .cart-item-img-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	background: #f7f7f7;
	border-radius: 8px;
	color: #bbb;
}
#site-header #cart .cart-item-info { flex: 1; min-width: 0; padding-right: 20px; }
#site-header #cart .cart-item-name {
	display: block;
	color: #222;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#site-header #cart .cart-item-name:hover { color: #000; text-decoration: none; }
#site-header #cart .cart-item-option {
	display: block;
	color: #999;
	font-size: 12px;
	margin-top: 2px;
}
#site-header #cart .cart-item-meta {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	color: #888;
	font-size: 13px;
}
#site-header #cart .cart-item-total { color: #000; font-weight: 600; }
#site-header #cart .cart-item-remove {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 24px;
	height: 24px;
	line-height: 22px;
	padding: 0;
	background: none;
	border: none;
	color: #bbb;
	font-size: 18px;
	text-align: center;
}
#site-header #cart .cart-item-remove:hover { color: #000; }

/* 合计 */
#site-header #cart .cart-summary {
	padding: 14px 18px;
	background: var(--my-bg-soft);
}
#site-header #cart .cart-summary-row {
	display: flex;
	justify-content: space-between;
	color: #777;
	font-size: 13px;
	padding: 3px 0;
}
#site-header #cart .cart-summary-grand {
	color: #000;
	font-weight: 600;
	font-size: 15px;
	padding-top: 8px;
	margin-top: 6px;
	border-top: 1px solid var(--my-border);
}

/* 操作按钮 */
#site-header #cart .cart-actions {
	display: flex;
	gap: 10px;
	padding: 14px 18px;
}
#site-header #cart .cart-actions .btn { flex: 1; }

/* 空购物车 */
#site-header #cart .cart-empty {
	padding: 40px 20px;
	text-align: center;
	color: var(--my-muted);
}
#site-header #cart .cart-empty .fa { font-size: 30px; color: #ccc; }
#site-header #cart .cart-empty p { margin: 10px 0 0; }

/* ===== Footer v2：深色页脚 ===== */
footer.site-footer {
	background: var(--my-black-soft);
	color: #999;
	margin-top: 70px;
}
footer.site-footer .footer-main { padding: 46px 15px 34px; }
footer.site-footer h5 {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0 0 16px;
}
footer.site-footer a { color: #999; }
footer.site-footer a:hover { color: #fff; text-decoration: none; }
footer.site-footer ul.list-unstyled li { padding: 5px 0; font-size: 14px; }
footer.site-footer .footer-bottom {
	background: #000;
	padding: 16px 0;
	text-align: center;
	color: #777;
	font-size: 12px;
	letter-spacing: .5px;
}

/* ===== 响应式 Header + 移动端抽屉（≤991px 汉堡+抽屉接管导航）===== */
.header-hamburger { display: none; }
#mobile-drawer { display: none; }

@media (max-width: 991px) {
	/* 汉堡按钮显示，横向导航收进抽屉 */
	.header-hamburger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		flex: none;
		background: none;
		border: none;
		color: #fff;
		font-size: 20px;
		padding: 0;
	}
	.header-hamburger:hover,
	.header-hamburger:focus { color: #ccc; background: none; }
	#site-header .header-inner { height: 64px; padding: 0 16px; }
	#site-header .header-logo img { max-height: 40px; }
	#site-header .header-nav { display: none; }
	#site-header .header-actions { gap: 10px; }
	#site-header .search-dropdown { width: 300px; }
	#site-header .header-actions .dropdown-menu { top: 104px; }

	/* 抽屉结构：整层 fixed 透明容器承载 .in 切换，内含遮罩 + 左滑面板 */
	#mobile-drawer {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1060;
		visibility: hidden;
		height: auto !important;
		overflow: visible;
		transition: visibility 0s linear .35s;
	}
	#mobile-drawer.in { visibility: visible; transition-delay: 0s; }
	#mobile-drawer .drawer-backdrop {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, .55);
		opacity: 0;
		transition: opacity .3s ease;
	}
	#mobile-drawer.in .drawer-backdrop { opacity: 1; }
	#mobile-drawer .drawer-panel {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		width: 280px;
		max-width: 85vw;
		background: #fff;
		transform: translateX(-105%);
		transition: transform .3s ease;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		box-shadow: 8px 0 30px rgba(0, 0, 0, .25);
	}
	#mobile-drawer.in .drawer-panel { transform: none; }
	.drawer-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		background: #000;
		color: #fff;
		padding: 15px 18px;
	}
	.drawer-title { font-size: 16px; font-weight: 600; letter-spacing: .5px; }
	.drawer-close {
		background: none;
		border: none;
		color: #fff;
		font-size: 26px;
		line-height: 1;
		padding: 0 2px;
	}
	.drawer-close:hover { color: #ccc; }
	.drawer-body { padding: 8px 0 30px; }
	.drawer-nav { list-style: none; margin: 0; padding: 0; }
	.drawer-nav li a {
		display: flex;
		align-items: center;
		padding: 12px 20px;
		color: #333;
		font-size: 15px;
		border-bottom: 1px solid #f2f2f2;
	}
	.drawer-nav li a:hover,
	.drawer-nav li a:focus { background: #f7f7f7; color: #000; text-decoration: none; }
	.drawer-nav .fa-fw { width: 24px; margin-right: 8px; color: #999; }
	.drawer-section {
		display: block;
		padding: 16px 20px 8px;
		color: #999;
		font-size: 12px;
		letter-spacing: 1.5px;
		text-transform: uppercase;
	}
	.drawer-nav .drawer-sub { padding-left: 26px; font-size: 14px; color: #555; }
	.drawer-sub .fa { font-size: 11px; color: #c0c0c0; margin-right: 8px; }
}
@media (min-width: 992px) {
	#mobile-drawer { display: none !important; }
}
@media (max-width: 767px) {
	/* 手机布局（含横屏）：顶栏隐藏（账户/心愿单链接已收进抽屉），logo 居中，下拉面板重新对位 */
	#site-header .header-bar { display: none; }
	#site-header .header-inner { height: 56px; }
	#site-header .header-logo { flex: 1; display: flex; justify-content: center; min-width: 0; }
	#site-header .header-logo img { max-width: 100%; height: auto; }
	#site-header .header-actions .dropdown-menu {
		position: fixed;
		top: 64px;
		left: 10px;
		right: 10px;
		width: auto;
		max-width: none;
	}
	#site-header #cart > ul.cart-dropdown { width: auto; }
	/* 触屏无 hover：卡片操作钮常显 + 渐晕常开，保证加购/收藏可用 */
	.f-actions {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
	.f-image::after { opacity: 1; }
}

/* ===== 品牌列表页（product/manufacturer_list）===== */
.brand-index { color: #888; margin-bottom: 6px; }
.brand-index strong { color: #000; }
.brand-index a { color: #555; margin-right: 14px; }
.brand-index a:hover { color: #000; text-decoration: none; }
.brand-group-title {
	color: #000;
	font-size: 22px;
	font-weight: 600;
	margin: 30px 0 16px;
}

/* ===== Services 模块（后台可配置的服务承诺卡片）===== */
.services-module {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1600px;
	margin: 40px auto;
	padding: 0 30px;
}
.service-card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 34px 24px;
	text-align: center;
	transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
}
.service-img {
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.service-img img { max-height: 64px; max-width: 96px; width: auto; }
.service-title {
	color: #000;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 10px;
}
.service-text {
	color: #888;
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
}
.service-link { display: block; color: inherit; }
.service-link:hover { color: inherit; text-decoration: none; }
.service-link:hover .service-title { color: #000; }
@media (max-width: 991px) {
	.services-module { grid-template-columns: repeat(2, 1fr); padding: 0 16px; }
}
@media (max-width: 575px) {
	.services-module { grid-template-columns: 1fr; }
}

/* ===== Images 图文模块（单条目左右布局 / 多条目等宽网格） ===== */
.images-module { max-width: 1600px; margin: 50px auto; padding: 0 30px; }

.images-grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), 1fr);
	gap: 24px;
}
.image-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
a.image-card:hover {
	text-decoration: none;
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, .1);
}
.image-card .img-cell {
	position: relative;
	/*height: 230px;*/
	overflow: hidden;
	background: #f7f7f7;
}
.image-card .img-cell img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.badge-num {
	position: absolute;
	top: 14px;
	left: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e02b2b;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 16px;
}
.images-single .badge-num {
	position: static;
	margin-bottom: 14px;
}
.image-card .card-txt {
	padding: 22px 22px 26px;
	text-align: center;
}
.images-title { font-size: 17px; font-weight: 600; margin: 0 0 8px; color: #000; }
.images-text { color: #999; font-size: 14px; line-height: 1.65; margin: 0; }

.images-single {
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	overflow: hidden;
}
.images-single .img-cell { width: 50%; min-height: 320px; background: #f7f7f7; }
.images-single .img-cell img { display: block; width: 100%; height: 100%; object-fit: cover; }
.images-single .txt-cell {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 52px;
}
.images-single .images-title { font-size: 24px; }

@media (max-width: 991px) {
	.images-module { padding: 0 16px; margin: 36px auto; }
	.images-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.images-single .txt-cell { padding: 32px 24px; }
	.images-single .images-title { font-size: 20px; }
}
@media (max-width: 575px) {
	.images-grid { grid-template-columns: 1fr; }
	.images-single { flex-direction: column; }
	.images-single .img-cell { width: 100%; min-height: 0; height: 220px; }
}

/* ===== Image Compare 对比滑块模块 ===== */
.cmp-module { max-width: 1600px; margin: 50px auto; padding: 0 30px; }
.cmp-slider {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: #111;
	cursor: ew-resize;
	user-select: none;
	touch-action: pan-y;
}
.cmp-layer {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.cmp-base { width: 100%; }
/* 上层图片：渲染尺寸始终等于容器（inset:0），仅通过 clip-path 改变可见范围——图片不随滑动变形/缩放 */
.cmp-top {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	clip-path: inset(0 calc(100% - var(--cmp-pos, 50%)) 0 0);
}
.cmp-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--cmp-pos, 50%);
	width: 2px;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, .4);
	transform: translateX(-1px);
	z-index: 3;
}
.cmp-handle-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .95);
	color: #111;
	font-size: 17px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
	cursor: ew-resize;
}
.cmp-label {
	position: absolute;
	bottom: 18px;
	z-index: 2;
	color: #fff;
	font-weight: 600;
	font-size: 20px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
	pointer-events: none;
}
.cmp-label-left { left: 26px; }
.cmp-label-right { right: 26px; }

@media (max-width: 767px) {
	.cmp-module { padding: 0 16px; margin: 36px auto; }
	.cmp-label { font-size: 14px; bottom: 12px; }
	.cmp-label-left { left: 14px; }
	.cmp-label-right { right: 14px; }
	.cmp-handle-btn { width: 36px; height: 36px; font-size: 13px; }
}

/* ===== Topic 专题卡片 / 列表页 / 专题商品页 ===== */
.topic-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1600px;
	margin: 0 auto 40px;
}
.topic-card {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #ececec;
	transition: transform .3s ease, box-shadow .3s ease;
}
.topic-card:hover {
	text-decoration: none;
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, .1);
}
.topic-card .topic-cover {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f7f7f7;
}
.topic-card .topic-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.topic-card:hover .topic-cover img { transform: scale(1.05); }
.topic-card .topic-cover-empty {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	text-align: center;
	color: #999;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: linear-gradient(135deg, #fafafa, #ededed);
}
.topic-card .topic-name {
	display: block;
	padding: 14px 16px 4px;
	color: #000;
	font-weight: 600;
	font-size: 15px;
}
.topic-card .topic-desc {
	display: block;
	padding: 0 16px 16px;
	color: #999;
	font-size: 13px;
	line-height: 1.6;
}
.topic-module { padding: 0 30px; margin: 60px auto 80px; }
.topic-module .topic-grid { margin-bottom: 0; }

/* 专题商品页头 */
.topic-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 200px;
	border-radius: 14px;
	overflow: hidden;
	background: #111;
	margin: 10px 0 34px;
}
.topic-hero img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .5;
}
.topic-hero .topic-hero-inner { position: relative; padding: 46px 40px; }
.topic-hero .topic-hero-name { color: #fff; font-size: 30px; font-weight: 600; margin: 0 0 10px; }
.topic-hero .topic-hero-desc { color: rgba(255, 255, 255, .85); line-height: 1.7; margin: 0; }

@media (max-width: 991px) {
	.topic-grid { grid-template-columns: repeat(2, 1fr); }
	.topic-module { padding: 0 16px; }
	.topic-hero .topic-hero-inner { padding: 34px 24px; }
	.topic-hero .topic-hero-name { font-size: 24px; }
}
@media (max-width: 575px) {
	.topic-grid { grid-template-columns: 1fr; }
}

/* =========================================================
 * v0.6.0（P1）新增分区：商品卡强化 / 侧栏模块 / banner·html 轻量皮肤
 * ========================================================= */

/* ===== 商品卡强化（Wokiee 式悬停交互）===== */
/* 悬停时图片底部加暗色渐晕，提升浮动按钮对比度 */
.f-image::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .18));
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
	z-index: 1;
}
.f-card:hover .f-image::after { opacity: 1; }
.f-actions button { width: 44px; height: 44px; }

/* ===== 侧栏模块（category / account / filter / information 模块）===== */
.sidebar-module { margin-bottom: 24px; }
.sidebar-module .fa-fw { margin-right: 9px; color: #a0a0a0; }
.sidebar-module .list-group-item.active .fa-fw,
.sidebar-module .list-group-item:hover .fa-fw { color: inherit; }
.sidebar-sub { padding-left: 32px; font-size: 13px; }
.sidebar-sub .fa { font-size: 11px; color: #c0c0c0; margin-right: 7px; }

/* ===== Banner / HTML 模块轻量皮肤 ===== */
.banner-module img { width: 100%; border-radius: 12px; }
.banner-module { margin-bottom: 24px; }
.html-module { margin-bottom: 30px; }
.html-module h2 {
	color: #000;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: .5px;
	margin: 0 0 18px;
}
.html-module img { max-width: 100%; height: auto; border-radius: 12px; }

/* =========================================================
 * v0.7.0（P2）新增分区：状态页 / 表单卡 / 信息页 / 订单卡 / 地址卡 / 结算页
 * ========================================================= */

/* ===== 状态页（success / not_found，5 个成功路由共用）===== */
.status-page {
	max-width: 640px;
	margin: 30px auto 60px;
	text-align: center;
	padding: 50px 30px;
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--my-shadow-1);
}
.status-icon { font-size: 54px; color: #000; margin-bottom: 18px; }
.status-icon-muted { color: #c0c0c0; }
.status-title { color: #000; font-size: 26px; font-weight: 600; margin: 0 0 14px; }
.status-message { color: #777; font-size: 15px; line-height: 1.8; margin-bottom: 26px; }
.status-actions { display: flex; justify-content: center; gap: 12px; }

/* ===== 表单页（forgotten / reset / password / newsletter / register / edit 等）===== */
.form-page { max-width: 620px; margin: 10px 0 50px; }
.form-page-desc { color: #888; margin: -6px 0 18px; }
.form-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--my-shadow-1);
	padding: 26px 30px 22px;
	margin-bottom: 30px;
}
.form-card fieldset { border: none; padding: 0; margin: 0 0 8px; }
.form-card legend, .form-horizontal legend {
	color: #000;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .5px;
	border: none;
	margin-bottom: 18px;
	padding: 0;
}
.form-card .buttons { margin-top: 16px; }

/* ===== 信息页 / 联系我们 ===== */
.info-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--my-shadow-1);
	padding: 30px 34px;
	line-height: 1.9;
	color: #555;
	margin-bottom: 40px;
}
.contact-subtitle { color: #000; font-size: 18px; font-weight: 600; margin: 26px 0 16px; }
.contact-info-panel { margin-bottom: 30px; }
.contact-info-panel strong { color: #000; }

/* ===== 站点地图 ===== */
.sitemap-grid {
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--my-shadow-1);
	padding: 28px 30px;
	margin-bottom: 40px;
}
.sitemap-list { list-style: none; padding-left: 0; color: #555; }
.sitemap-list ul { list-style: none; padding-left: 22px; }
.sitemap-list li { padding: 6px 0; }
.sitemap-list a { color: #555; }
.sitemap-list a:hover { color: #000; text-decoration: none; }
.sitemap-list > li > a, .sitemap-list > li { color: #000; font-weight: 600; }
.sitemap-list ul a, .sitemap-list ul li { color: #777; font-weight: 400; }

/* ===== 订单卡 / 退货卡（order_list / return_list）===== */
.order-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 22px;
	margin-bottom: 30px;
}
.order-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--my-shadow-1);
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform .3s ease, box-shadow .3s ease;
}
.order-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, .1);
}
.order-card-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.order-no { color: #000; font-size: 16px; font-weight: 600; }
.order-date { color: #aaa; font-size: 12px; }
.order-card-status {
	display: inline-block;
	align-self: flex-start;
	background: #f5f5f5;
	border-radius: 999px;
	padding: 4px 14px;
	color: #555;
	font-size: 12px;
}
.order-card-meta {
	display: flex;
	justify-content: space-between;
	color: #888;
	font-size: 13px;
}
.order-card-total { color: #000; font-weight: 600; }
.order-card-actions { margin-top: 2px; }

/* ===== 地址卡（address_list）===== */
.address-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 22px;
	margin-bottom: 30px;
}
.address-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--my-shadow-1);
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.address-card-text { color: #555; line-height: 1.8; }
.address-card-text .fa { color: #a0a0a0; margin-right: 6px; }
.address-card-actions { display: flex; gap: 10px; margin-top: auto; }

/* ===== 收藏夹（wishlist）卡片补充 ===== */
.wishlist-grid { margin-bottom: 34px; }
.f-model, .f-stock { color: #999; font-size: 12px; margin: 0 0 4px; }
.f-actions .f-remove {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: none;
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
	color: #000;
	font-size: 16px;
	transition: background .2s ease, color .2s ease;
}
.f-actions .f-remove:hover { background: #000; color: #fff; text-decoration: none; }

/* ===== 结算页外壳 ===== */
.checkout-page h1 { margin-bottom: 24px; }
.checkout-page .panel-title { font-size: 15px; }
.checkout-page .panel-title > a { color: #000; text-decoration: none; }
.checkout-page .panel-title > a:hover { color: #333; }
