/**
 * HD VALVE 时间轴小部件 — 前端样式
 *
 * 文件路径: assets/css/hd-valve-frontend.css
 * 适用版本: WordPress 6.0+ / Elementor 3.5+
 */

/* =============================================================================
   时间轴容器
   ============================================================================= */
.hdv-timeline {
	position: relative;
	display: flex;
	flex-direction: column;
}

/* =============================================================================
   竖线轨道（绝对定位，对齐编号框中轴）
   ============================================================================= */
.hdv-timeline__track {
	position: absolute;
	left: 20px;           /* 编号框默认宽 40px 的一半 */
	top: 0;
	bottom: 0;
	width: 5px;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
	z-index: 0;
}

/* 渐变竖线：顶端透明 → 5% 后为实色 */
.hdv-timeline__line {
	flex: 1;
	width: 100%;
	background-image: linear-gradient(180deg, transparent 0%, #F6D2D4 5%);
}

/* 箭头：颜色 #F6D2D4，与竖线无缝连接；!important 防止 Elementor 缓存旧值覆盖 */
.hdv-timeline__arrow {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 8px solid #F6D2D4 !important;
	flex-shrink: 0;
	margin-top: 0;
}

/* =============================================================================
   步骤列表包装器
   ============================================================================= */
.hdv-timeline__steps {
	position: relative;
	z-index: 1;
}

/* =============================================================================
   单个步骤
   ============================================================================= */
.hdv-step {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}

/* 键盘焦点无障碍样式 */
.hdv-step:focus-visible .hdv-step__number {
	outline: 2px dashed #D32027;
	outline-offset: 3px;
}

/* 相邻步骤间距 */
.hdv-step + .hdv-step {
	margin-top: 28px;
}

/* =============================================================================
   左侧块（编号框 + 连接符）
   height 固定为编号框高度，确保 align-items:center 将连接符精确对准框中心
   ============================================================================= */
.hdv-step__left {
	display: flex;
	align-items: center;    /* 连接符与编号框垂直居中对齐 */
	align-self: flex-start; /* 左侧块整体与内容区顶部对齐 */
	flex-shrink: 0;
	height: 40px;           /* 固定高度 = 编号框高度，居中定位精准 */
}

/* =============================================================================
   编号框
   ============================================================================= */
.hdv-step__number {
	/* 尺寸 */
	width: 40px;
	height: 40px;
	min-width: 40px;
	box-sizing: border-box;

	/* 布局 */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;

	/* 字体 */
	font-size: 16px;
	font-weight: 700;
	line-height: 1;

	/* 默认外观 */
	background-color: #ffffff;
	border: 2px solid #F6D2D4;
	border-radius: 4px;        /* 圆角 */
	color: #1a1a1a;

	/* 层叠：位于竖线上方 */
	position: relative;
	z-index: 1;

	/* 过渡动画 */
	transition:
		background-color 0.35s ease,
		border-color     0.3s  ease,
		border-width     0.15s ease,
		color            0.35s ease;
}

/* 激活：编号框变红 */
.hdv-step.is-active .hdv-step__number {
	background-color: #D32027;
	border-color: #F6D2D4;
	border-width: 3px;
	color: #ffffff;
}

/* =============================================================================
   连接符（横线 + 圆点）

   动画原理：
   width 0 → 38px + overflow:hidden = 从左到右"绘制"线段
   圆点在线段绘制完毕后以弹性曲线弹入
   ============================================================================= */
.hdv-step__connector {
	display: flex;
	align-items: center;
	overflow: hidden;
	flex-shrink: 0;

	/* 非激活：宽度为 0，内容被完全裁切 */
	width: 0;
	height: 8px;

	/* 退出动画：较快收起 */
	transition: width 0.3s cubic-bezier(0.4, 0, 1, 1);
}

/* 激活：连接符展开（进入动画较慢，视觉更舒适） */
.hdv-step.is-active .hdv-step__connector {
	/* 总宽度 = 24px 线段 + 8px 圆点 = 32px（间距全部归零） */
	width: 32px;
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 横向线段：紧贴编号框右边缘，无间距 */
.hdv-connector__line {
	display: block;
	flex-shrink: 0;
	width: 24px;
	height: 1.5px;
	background-color: #D32027;
	margin-left: 0;
}

/* 圆点：紧接线段末端，无间距，宽高 8px */
.hdv-connector__dot {
	display: block;
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #D32027;
	margin-left: 0;
}

/* 激活：圆点随连接符 width 展开自然显现，无独立动画 */
.hdv-step.is-active .hdv-connector__dot {
	transform: none;
}

/* =============================================================================
   内容区
   ============================================================================= */
.hdv-step__content {
	flex: 1;
	min-width: 0;
	padding-left: 12px;
	padding-top: 4px;
}

/* 标题 */
.hdv-step__title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 6px;
	line-height: 1.4;
	transition: color 0.3s ease;
}

/* 激活：标题变红 */
.hdv-step.is-active .hdv-step__title {
	color: #D32027;
}

/* 副标题 */
.hdv-step__subtitle {
	font-size: 16px;
	font-weight: 400;
	color: #888888;
	margin: 0 0 10px;
	line-height: 1.4;
}

/* =============================================================================
   Bug3修复：列表折叠改用 CSS Grid 方案
   grid-template-rows: 0fr → 1fr 平滑折叠，不引起父容器高度突变，消除竖线抖动
   ============================================================================= */
.hdv-step__list-wrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s ease;
}

.hdv-step.is-active .hdv-step__list-wrap {
	grid-template-rows: 1fr;
}

/* 列表本体：overflow hidden 配合 grid 折叠；opacity 单独淡入 */
.hdv-step__list {
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.hdv-step.is-active .hdv-step__list {
	opacity: 1;
	transition: opacity 0.35s ease 0.1s;
}

/* 列表项 */
.hdv-step__list li {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 16px;
	font-weight: 400;
	color: #888888;
	line-height: 1.6;
}

/* 相邻列表项间距 */
.hdv-step__list li + li {
	margin-top: 6px;
}

/* 列表项最后一项底部留白 */
.hdv-step__list li:last-child {
	padding-bottom: 2px;
}

/* 前缀符号 */
.hdv-list__prefix {
	color: #D32027;
	flex-shrink: 0;
	line-height: 1.6;
	font-weight: 700;
}

/* =============================================================================
   文字轮播小部件样式
   ============================================================================= */

/* 轮播容器 */
.hdv-text-carousel {
	position: relative;
	width: 100%;
}

/* 标题 */
.hdv-text-carousel__title {
	font-size: 48px;
	font-weight: 700;
	color: #000000;
	margin: 0 0 24px 0;
	line-height: 1.2;
}

/* 轮播包装器 - overflow:hidden 裁切滑动轨道 */
.hdv-text-carousel__wrapper {
	position: relative;
	width: 100%;
	min-height: 200px;
	overflow: hidden;
}

/* 轨道：flex 横排，通过 translateX 实现滑动 */
.hdv-text-carousel__track {
	display: flex;
	transition: transform 0.5s ease;
	will-change: transform;
}

/* 每张幻灯片固定宽度 = 100%，随轨道平移 */
.hdv-text-carousel__slide {
	flex: 0 0 100%;
	width: 100%;
}

/* 内容区域 */
.hdv-text-carousel__content {
	font-size: 16px;
	line-height: 1.8;
	color: #333333;
}

.hdv-text-carousel__content p {
	margin: 0 0 1em 0;
}

.hdv-text-carousel__content p:last-child {
	margin-bottom: 0;
}

/* 导航按钮容器 */
.hdv-text-carousel__navigation {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 40px;
}

/* 导航按钮 - 无背景容器，直接裸显图标 */
.hdv-carousel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0;
	cursor: pointer;
	outline: none;
	line-height: 1;
	flex-shrink: 0;
	transition: opacity 0.2s ease;
}

/* 强制覆盖 Elementor 对 --next 的背景色缓存 */
.hdv-carousel-btn--prev,
.hdv-carousel-btn--next {
	background: transparent !important;
	background-color: transparent !important;
}

.hdv-carousel-btn svg,
.hdv-carousel-btn i {
	width: 24px;
	height: 24px;
	fill: #999999;
	color: #999999;
	display: block;
	transition: fill 0.25s ease, color 0.25s ease;
}

/* 右箭头默认红色 */
.hdv-carousel-btn--next svg,
.hdv-carousel-btn--next i {
	fill: #D32027;
	color: #D32027;
}

/* 悬浮：整体轻微下移，无背景 */
.hdv-carousel-btn:hover {
	opacity: 0.75;
}

/* 禁用状态 */
.hdv-carousel-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* 键盘焦点样式 */
.hdv-carousel-btn:focus-visible {
	outline: 2px dashed #D32027;
	outline-offset: 4px;
	border-radius: 2px;
}

/* =============================================================================
   响应式设计 - 平板端适配（导航箭头居中）
   ============================================================================= */

@media (max-width: 1024px) {
	.hdv-text-carousel__navigation {
		justify-content: center;
	}
}

/* =============================================================================
   响应式设计 - 移动端适配
   ============================================================================= */

@media (max-width: 768px) {
	/* 标题缩小 */
	.hdv-text-carousel__title {
		font-size: 32px;
		margin-bottom: 20px;
	}

	/* 内容字号保持，行高调整 */
	.hdv-text-carousel__content {
		font-size: 16px;
		line-height: 1.6;
	}

	/* 按钮图标尺寸缩小 */
	.hdv-carousel-btn svg,
	.hdv-carousel-btn i {
		width: 20px;
		height: 20px;
	}

	/* 导航箭头居中显示 */
	.hdv-text-carousel__navigation {
		gap: 16px;
		margin-top: 32px;
		justify-content: center;
	}

	/* 内容区域最小高度调整 */
	.hdv-text-carousel__wrapper {
		min-height: 150px;
	}
}

/* =============================================================================
   HD Valve Hover - 行业卡片组件
   ============================================================================= */

/* 卡片容器 */
.hdv-industry-card {
	position: relative;
	height: 500px;
	min-height: 320px;
	overflow: hidden;
	cursor: pointer;
}

/* 背景图层 */
.hdv-industry-card__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

/* 红色蒙层 */
.hdv-industry-card__overlay {
	position: absolute;
	inset: 0;
	background-color: #D32027;
	opacity: 0;
	transition: opacity 0.35s ease;
	z-index: 2;
}

/* 内容容器 */
.hdv-industry-card__body {
	position: relative;
	height: 100%;
	z-index: 3;
}

/* 默认状态内容 - 左下角标题 */
.hdv-industry-card__default {
	position: absolute;
	bottom: 24px;
	left: 24px;
	opacity: 1;
	transition: opacity 0.2s ease;
}

/* 悬浮状态内容 - 居中显示 */
.hdv-industry-card__hover {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 60px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.35s ease 0.05s,
	            transform 0.35s ease 0.05s;
}

/* 桌面端悬浮状态 */
.hdv-industry-card:hover .hdv-industry-card__overlay {
	opacity: 0.85;
}

.hdv-industry-card:hover .hdv-industry-card__default {
	opacity: 0;
}

.hdv-industry-card:hover .hdv-industry-card__hover {
	opacity: 1;
	transform: translateY(0);
}

/* 移动端激活状态（点击切换） */
.hdv-industry-card.is-active .hdv-industry-card__overlay {
	opacity: 0.85;
}

.hdv-industry-card.is-active .hdv-industry-card__default {
	opacity: 0;
}

.hdv-industry-card.is-active .hdv-industry-card__hover {
	opacity: 1;
	transform: translateY(0);
}

/* 标题 */
.hdv-industry-card__title {
	font-size: 32px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0;
	line-height: 1.2;
}

/* 描述 */
.hdv-industry-card__desc {
	font-size: 15px;
	line-height: 1.7;
	color: #FFFFFF;
	margin: 20px 0 0 0;
}

/* 按钮 */
.hdv-industry-card__btn {
	display: inline-block;
	padding: 10px 28px;
	margin-top: 32px;
	font-size: 14px;
	font-weight: 500;
	color: #FFFFFF;
	border: 1.5px solid #FFFFFF;
	background-color: transparent;
	text-decoration: none;
	transition: all 0.3s ease;
}

.hdv-industry-card__btn:hover {
	background-color: #FFFFFF;
	color: #1a1a1a;
}

/* =============================================================================
   响应式设计 - 移动端适配
   ============================================================================= */

@media (max-width: 768px) {
	/* 移动端默认展开内容 */
	.hdv-industry-card__overlay {
		opacity: 0.85;
	}
	
	.hdv-industry-card__default {
		display: none;
	}
	
	.hdv-industry-card__hover {
		opacity: 1;
		transform: translateY(0);
	}
	
	/* 调整尺寸 */
	.hdv-industry-card {
		height: 320px;
	}
	
	.hdv-industry-card__title {
		font-size: 24px;
	}
	
	.hdv-industry-card__desc {
		font-size: 14px;
	}
	
	.hdv-industry-card__hover {
		padding: 30px;
	}
	
	.hdv-industry-card__default {
		bottom: 16px;
		left: 16px;
	}
}



/* =============================================================================
   HD Valve Mission Card - 使命卡片组件
   ============================================================================= */

/* 卡片容器 */
.hdv-mission-card {
	position: relative;
	width: 400px;
	max-width: 100%;
	height: 400px;
	min-height: 300px;
	overflow: hidden;
	cursor: pointer;
}

/* 背景图层 */
.hdv-mission-card__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

/* 红色覆盖层 - 默认显示 */
.hdv-mission-card__overlay {
	position: absolute;
	inset: 0;
	background-color: #D32027;
	opacity: 0.85;
	transition: opacity 0.35s ease;
	z-index: 2;
}

/* 内容容器 - 默认状态居中 */
.hdv-mission-card__body {
	position: relative;
	height: 100%;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: center !important;
	text-align: center !important;
	padding: 60px;
	z-index: 3;
}

/* 标题 - 始终显示，默认居中 */
.hdv-mission-card__title {
	font-size: 32px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0;
	line-height: 1.2;
	text-align: center !important;
}

/* 描述 - 默认完全隐藏不占空间 */
.hdv-mission-card__desc {
	display: none;
	font-size: 15px;
	line-height: 1.7;
	color: #FFFFFF;
	margin: 20px 0 0 0;
}

/* 按钮 - 默认完全隐藏不占空间 */
.hdv-mission-card__btn {
	display: none;
	padding: 12px 32px;
	margin-top: 32px;
	font-size: 14px;
	font-weight: 500;
	color: #FFFFFF;
	background-color: #D32027;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.hdv-mission-card__btn:hover {
	background-color: #FFFFFF;
	color: #D32027;
}

/* =============================================================================
   悬浮状态 - 移除覆盖层，显示内容
   ============================================================================= */

.hdv-mission-card:hover .hdv-mission-card__overlay {
	opacity: 0;
}

.hdv-mission-card:hover .hdv-mission-card__desc {
	display: block;
	animation: fadeInUp 0.4s ease forwards;
}

.hdv-mission-card:hover .hdv-mission-card__btn {
	display: inline-block;
	animation: fadeInUp 0.4s ease 0.1s forwards;
}

/* =============================================================================
   默认激活状态
   ============================================================================= */

.hdv-mission-card.is-default-active .hdv-mission-card__overlay {
	opacity: 0;
}

.hdv-mission-card.is-default-active .hdv-mission-card__desc,
.hdv-mission-card.is-default-active .hdv-mission-card__btn {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.hdv-mission-card.is-default-active .hdv-mission-card__btn {
	display: inline-block;
}

/* =============================================================================
   悬浮激活状态（JavaScript 添加的类）
   ============================================================================= */

.hdv-mission-card.is-hover-active .hdv-mission-card__overlay {
	opacity: 0;
}

.hdv-mission-card.is-hover-active .hdv-mission-card__desc {
	display: block;
	animation: fadeInUp 0.4s ease forwards;
}

.hdv-mission-card.is-hover-active .hdv-mission-card__btn {
	display: inline-block;
	animation: fadeInUp 0.4s ease 0.1s forwards;
}

/* =============================================================================
   动画定义
   ============================================================================= */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* =============================================================================
   响应式设计 - 移动端适配
   ============================================================================= */

@media (max-width: 768px) {
	/* 移动端所有卡片默认激活 */
	.hdv-mission-card__overlay {
		opacity: 0;
	}
	
	.hdv-mission-card__desc,
	.hdv-mission-card__btn {
		display: block;
		opacity: 1;
		transform: translateY(0);
	}
	
	.hdv-mission-card__btn {
		display: inline-block;
	}
	
	/* 调整尺寸 */
	.hdv-mission-card {
		height: auto;
		min-height: 320px;
	}
	
	.hdv-mission-card__title {
		font-size: 24px;
	}
	
	.hdv-mission-card__desc {
		font-size: 14px;
	}
	
	.hdv-mission-card__body {
		padding: 30px;
	}
}


/* =============================================================================
   HD 时间轴 — 移动端响应式布局
   断点：max-width: 767px，精准限定 .hdv-timeline 内部，不影响 PC 端
   ============================================================================= */

@media (max-width: 767px) {

	/* 竖线轨道：left 值跟随数字框缩小（14px = 28px / 2）
	   !important 覆盖 Elementor 动态生成的 box_size selector */
	.hdv-timeline .hdv-timeline__track {
		left: 14px !important;
		width: 4px !important;
	}

	/* 步骤间距收紧
	   !important 覆盖 Elementor 动态生成的 step_spacing selector */
	.hdv-timeline .hdv-step + .hdv-step {
		margin-top: 16px !important;
	}

	/* 左侧块高度 = 缩小后的数字框高度
	   !important 覆盖 Elementor 动态生成的 box_size selector */
	.hdv-timeline .hdv-step__left {
		height: 28px !important;
	}

	/* 数字框缩小
	   !important 覆盖 Elementor 动态生成的 box_size / number_font_size selector */
	.hdv-timeline .hdv-step__number {
		width: 28px !important;
		height: 28px !important;
		min-width: 28px !important;
		font-size: 13px !important;
		border-radius: 3px !important;
	}

	/* 连接符缩小
	   !important 覆盖 Elementor 动态生成的 connector_line_length / connector_dot_size selector */
	.hdv-timeline .hdv-step.is-active .hdv-step__connector {
		width: 22px !important; /* 16px 线 + 6px 圆点 */
	}

	.hdv-timeline .hdv-connector__line {
		width: 16px !important;
	}

	.hdv-timeline .hdv-connector__dot {
		width: 6px !important;
		height: 6px !important;
	}

	.hdv-timeline .hdv-step__connector {
		height: 6px !important;
	}

	/* 内容区左边距缩小 */
	.hdv-timeline .hdv-step__content {
		padding-left: 8px;
		padding-top: 2px;
	}

	/* 标题字号缩小
	   !important 覆盖 Elementor 动态生成的 title_font_size / title_bottom_margin selector */
	.hdv-timeline .hdv-step__title {
		font-size: 16px !important;
		margin-bottom: 4px !important;
	}

	/* 副标题字号缩小
	   !important 覆盖 Elementor 动态生成的 subtitle_font_size / subtitle_bottom_margin selector */
	.hdv-timeline .hdv-step__subtitle {
		font-size: 14px !important;
		margin-bottom: 6px !important;
	}

	/* 列表项字号缩小，行高收紧
	   !important 覆盖 Elementor 动态生成的 list_font_size selector */
	.hdv-timeline .hdv-step__list li {
		font-size: 13px !important;
		line-height: 1.5;
		gap: 4px;
	}

	/* 列表项间距收紧
	   !important 覆盖 Elementor 动态生成的 list_item_spacing selector */
	.hdv-timeline .hdv-step__list li + li {
		margin-top: 4px !important;
	}
}


/* =============================================================================
   HD Carousel - 自定义导航条样式
   ============================================================================= */

/* 针对 HD Carousel 组件的导航条 */
.elementor-widget-hdv-carousel .swiper-pagination {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 0;
	margin-top: 32px;
}

/* 导航条容器 */
.elementor-widget-hdv-carousel .swiper-pagination-bullets {
	width: 132px;
	height: 4px;
	background: #EAEAEA;
	border-radius: 2px;
	overflow: hidden;
	position: relative;
}

/* 隐藏默认的圆点 */
.elementor-widget-hdv-carousel .swiper-pagination-bullet {
	display: none;
}

/* 激活状态的进度条 */
.elementor-widget-hdv-carousel .swiper-pagination-bullets::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	background: #D32027;
	border-radius: 2px;
	transition: width 0.3s ease;
}


/* =============================================================================
   Header 透明效果：悬停时还原默认样式 & Logo 切换
   仅在页面顶部（header 有 .hdv-transparent-active class）时生效，
   不影响 Blocksy 原生吸附（sticky）状态。
   ============================================================================= */

/* header 行过渡动画（避免背景色切换突兀） */
@media (min-width: 1000px) {
	header.hdv-transparent-active [data-row] {
		transition:
			background-color 0.25s ease,
			color            0.25s ease,
			box-shadow       0.25s ease !important;
	}
}

/* 默认隐藏额外输出的 default logo */
.hdv-default-logo {
	display: none;
}

/* 仅在透明激活 + 悬停（JS 写入 data-transparent-row-bak）时切换 Logo：
   - 显示深色默认 Logo
   - 隐藏白色透明 Logo（.default-logo）
   用 header.hdv-transparent-active 双重限定，确保吸附状态不受影响 */
header.hdv-transparent-active [data-transparent-row-bak] .hdv-default-logo {
	display: initial !important; /* 覆盖 wp_head 输出的 display:none!important */
}
header.hdv-transparent-active [data-transparent-row-bak] .hdv-default-logo ~ .default-logo {
	display: none;
}



/* =============================================================================
   Elementor 分页 — "Page X Of Y" 下拉选择器
   ============================================================================= */

/* 让分页容器支持 flex 对齐，使追加元素与页码垂直居中 */
.elementor-pagination {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
}

/* "Page" 文字标签 */
.hdv-page-label {
	color: #000;
	font-size: 14px;
	margin-left: 24px;
	margin-right: 12px;
	white-space: nowrap;
	line-height: 1;
}

/* 下拉容器：用 ::after 叠加自定义三角箭头 */
.hdv-page-select-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin-right: 12px;
}

/* 自定义下拉三角箭头 */
.hdv-page-select-wrap::after {
	content: '';
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #666;
	pointer-events: none;
}

/* 下拉选择框：隐藏原生箭头，由 ::after 替代 */
.hdv-page-dropdown {
	width: 55px;
	height: 26px;
	border: 0.5px solid #D8D8D8;
	border-radius: 4px;
	font-size: 14px;
	padding: 0 24px 0 8px;
	background: #fff;
	color: #000;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.hdv-page-dropdown:focus {
	outline: 1px solid #D32027;
	border-color: #D32027;
}

/* "Of X" 文字标签 */
.hdv-page-total {
	color: #000;
	font-size: 14px;
	white-space: nowrap;
	line-height: 1;
}
