/**
 * densetide 产品详情收藏行 + 按钮图标对齐
 * 系统自动挂载：xiaoyucms/{theme}/css/xy_product_fav.css
 */
:root {
	--xy-product-fav-border: #eee;
	--xy-product-fav-btn-border: #e8dedc;
	--xy-product-fav-btn-color: #888;
	--xy-product-fav-btn-active: #c83428;
	--xy-product-fav-btn-bg-active: rgba(200, 52, 40, 0.08);
	--xy-product-fav-label-color: #777;
}

/* 收藏行：图标 / 文案 / 链接同一水平中线 */
.dt-product-action .xy-product-fav-row,
.dt-product-action #xy-product-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	width: 100%;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--xy-product-fav-border, #eee);
}

.dt-product-action .xy-product-fav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	align-self: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--xy-product-fav-btn-border, #e8dedc);
	border-radius: 50%;
	background: #fff;
	color: var(--xy-product-fav-btn-color, #888);
	line-height: 1;
	box-sizing: border-box;
	vertical-align: middle;
	-webkit-appearance: none;
	appearance: none;
}

.dt-product-action .xy-product-fav-btn > i.fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	font-size: 14px;
	line-height: 1;
	font-family: FontAwesome !important;
	font-weight: normal !important;
}

.dt-product-action .xy-product-fav-btn:hover,
.dt-product-action .xy-product-fav-btn.is-active {
	border-color: var(--xy-product-fav-btn-active, #c83428);
	background: var(--xy-product-fav-btn-bg-active, rgba(200, 52, 40, 0.08));
	color: var(--xy-product-fav-btn-active, #c83428);
}

.dt-product-action .xy-product-fav-label,
.dt-product-action .xy-product-fav-list-link {
	display: inline-flex;
	align-items: center;
	align-self: center;
	margin: 0;
	padding: 0;
	min-height: 28px;
	line-height: 1.2;
	vertical-align: middle;
}

.dt-product-action .xy-product-fav-label {
	font-size: 13px;
	font-weight: 500;
	color: var(--xy-product-fav-label-color, #777);
}

.dt-product-action .xy-product-fav-list-link {
	font-size: 13px;
	font-weight: 600;
	color: #c83428;
	text-decoration: none;
}

.dt-product-action .xy-product-fav-list-link:hover {
	color: #a5281f;
	text-decoration: underline;
}

/* 加购 / 购买 / 邮件等：图标与文字垂直居中 */
.dt-product-action .action-buttons .button,
.dt-product-action .action-buttons .xy-basket-add-btn,
.dt-product-action .action-buttons .xy-basket-buy-btn,
.dt-product-action .action-buttons .xy-inquire-scroll-btn,
.dt-product-action .action-buttons .xy-product-wa-btn,
.dt-product-action .dt-btn-mail,
.dt-product-action .xy-product-pdf-link a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.dt-product-action .action-buttons .button > .fa,
.dt-product-action .action-buttons .xy-basket-add-btn > .fa,
.dt-product-action .action-buttons .xy-basket-buy-btn > .fa,
.dt-product-action .action-buttons .xy-inquire-scroll-btn > .fa,
.dt-product-action .action-buttons .xy-product-wa-btn > .fa,
.dt-product-action .dt-btn-mail > .fa,
.dt-product-action .xy-product-pdf-link a > .fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-size: 14px;
	vertical-align: middle;
}

.dt-product-action .action-buttons .button > span,
.dt-product-action .action-buttons .xy-basket-add-btn > span,
.dt-product-action .action-buttons .xy-basket-buy-btn > span,
.dt-product-action .action-buttons .xy-inquire-scroll-btn > span,
.dt-product-action .action-buttons .xy-product-wa-btn > span,
.dt-product-action .dt-btn-mail > span,
.dt-product-action .xy-product-pdf-link a > span {
	display: inline-flex;
	align-items: center;
	line-height: 1.2;
}
