body {
	margin: 0;
	/* 清除页面默认的外边距 */
	padding: 0;
	/* 清除页面默认的内边距 */
}

.header-container {
	position: sticky;
	/* 保持固定在页面顶部 */
	top: 0;
	/* 距离顶部为 0 */
	z-index: 100;
	/* 设置层级，让它浮于内容之上 */
	background-color: #f9f9f9;
	/* 设置背景颜色为浅灰色 */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	/* 添加阴影效果 */
	border-radius: 0 0 10px 10px;
	/* 设置底部圆角为 10px */
	overflow: hidden;
	/* 隐藏溢出内容 */
}



.product-container {
	display: flex;
	/* 使用 Flex 布局 */
	flex-wrap: wrap;
	/* 子元素超出一行时换行 */
	justify-content: center;
	/* 子元素水平居中对齐 */
	gap: 20px;
	/* 子元素之间的间距为 20px */
	padding: 20px;
	/* 内边距为 20px */
}

.product-card {
	width: 200px;
	/* 设置卡片宽度为 200px */
	display: flex;
	/* 使用 Flex 布局 */
	flex-direction: column;
	/* 子元素垂直排列 */
	justify-content: space-between;
	/* 子元素均匀分布 */
	border-radius: 10px;
	/* 设置圆角为 10px */
	background-color: white;
	/* 设置背景颜色为白色 */
	box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
	/* 添加阴影效果 */
	overflow: hidden;
	/* 隐藏溢出内容 */
}

.product-image-container {
	padding: 10px;
	/* 设置内边距为 10px */
}

.product-image {
	width: 100%;
	/* 设置图片宽度为 100% */
	border-radius: 10px;
	/* 设置圆角为 10px */
}

.product-details {
	border-top: 1px solid #ddd;
	/* 添加顶部边框，颜色为浅灰色 */
	padding: 10px;
	/* 设置内边距为 10px */
	text-align: center;
	/* 文本居中对齐 */
}

.product-title {
	margin: 5px 0;
	/* 设置上下外边距为 5px */
	font-weight: bold;
	/* 设置字体加粗 */
	font-size: 16px;
	/* 设置字体大小为 16px */
}

.product-title-kk {
	font-weight: bold;
	/* 设置字体加粗 */
	font-size: 16px;
	/* 设置字体大小为 16px */
	color: #ff0000;
	/* 设置字体颜色为橙红色 */
}

.product-price {
	color: #FF5722;
	/* 设置字体颜色为橙红色 */
	font-size: 18px;
	/* 设置字体大小为 18px */
	font-weight: bold;
	/* 设置字体加粗 */
}

/* 弹窗背景 */
.modal {
	display: none;
	/* 默认隐藏 */
	position: fixed;
	/* 固定位置 */
	top: 0;
	/* 距离顶部为 0 */
	left: 0;
	/* 距离左侧为 0 */
	width: 100%;
	/* 设置宽度为 100% */
	height: 100%;
	/* 设置高度为 100% */
	background-color: rgba(0, 0, 0, 0.5);
	/* 设置背景为半透明黑色 */
	z-index: 9999;
	/* 设置层级 */
	justify-content: center;
	/* 子元素水平居中对齐 */
	align-items: center;
	/* 子元素垂直居中对齐 */
}

/* 弹窗内容 */
.modal-content {
	background-color: white;
	/* 设置背景颜色为白色 */
	padding: 20px;
	/* 设置内边距为 20px */
	border-radius: 10px;
	/* 设置圆角为 10px */
	width: 80%;
	/* 设置宽度为 80% */
	max-width: 400px;
	/* 最大宽度为 400px */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	/* 添加阴影效果 */
	text-align: left;
	/* 内容靠左对齐 */
}

/* 弹窗头部 */
.modal-header {
	display: flex;
	/* 使用 Flex 布局 */
	justify-content: space-between;
	/* 子元素两端对齐 */
	align-items: center;
	/* 子元素垂直居中对齐 */
	border-bottom: 1px solid #ddd;
	/* 添加底部边框 */
	margin-bottom: 10px;
	/* 设置底部外边距为 10px */
}

/* 公告标题 */
.modal-title {
	font-size: 22px;
	/* 设置字体大小为 18px */
	font-weight: bold;
	/* 设置字体加粗 */
}

/* 关闭按钮 */
.close-button {
	font-size: 20px;
	/* 设置字体大小为 20px */
	cursor: pointer;
	/* 鼠标悬停时显示指针 */
	color: #aaa;
	/* 设置字体颜色为浅灰色 */
}

.close-button:hover {
	color: #000;
	/* 鼠标悬停时字体颜色变为黑色 */
}

/* 弹窗正文 */
.modal-body {
	font-size: 15px;
	/* 设置字体大小为 14px */
	line-height: 1.5;
	/* 设置行高为 1.5 */
}

.modal-body ul {
	list-style: none;
	/* 移除列表默认的样式 */
	padding: 0;
	/* 移除内边距 */
	margin: 0;
	/* 移除外边距 */
}

.modal-body ul li {
	margin-bottom: 8px;
	/* 设置底部外边距为 8px */
}

.product-card {
	cursor: pointer;
	/* 鼠标悬停时显示手型指针 */
	transition: transform 0.2s ease;
	/* 添加平滑缩放动画 */
}

.product-card:hover {
	transform: scale(1.05);
	/* 鼠标悬停时放大 */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	/* 添加阴影 */
}

/*网站底部*/
.simple-footer {
	background-color: #f9f9f9;
	/* 浅灰色背景 */
	padding: 10px 0px;
	/* 内边距 */
	border-top: 1px solid #ddd;
	/* 顶部边框 */
	/* font-size: 14px; */
	/* 字体大小 */
	color: #333;
	/* 字体颜色 */
	position: fixed;
	/* 固定在页面 */
	bottom: 0;
	/* 距页面底部 0 */
	left: 0;
	/* 距页面左侧 0 */
	width: 100%;
	/* 宽度占满页面 */
	z-index: 1000;
	/* 保证在其他内容上层 */
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
	/* 添加顶部阴影 */
	display: flex;
	justify-content: center;
	/* 水平居中对齐 */
	align-items: center;
	/* 垂直居中对齐 */
	text-align: center;
	/* 文本水平居中 */
}

.footer-container {
	display: flex;
	max-width: 1200px;
	/* 限制最大宽度 */
}

.footer-right a {
	color: #919ca7;
	/* 设置链接颜色 */
	text-decoration: none;
	/* 去除链接下划线 */
}

.footer-right a:hover {
	/* text-decoration: underline; */
	/* 悬停时显示下划线 */
	color: #b70000;
	/* 悬停时改变颜色 */
}

/* 弹窗遮罩层 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* 默认隐藏 */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 弹窗内容样式 */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 250px;
    width: 80%;
}

/* 弹窗按钮样式 */
.popup-content button {
    background-color: #ff4d4f; /* 设置按钮背景为红色 */
    color: white; /* 按钮字体颜色为白色 */
    padding: 5px 25px; /* 设置内边距，上下 12px，左右 20px */
    font-size: 15px; /* 字体大小为 18px */
    border: none; /* 移除按钮默认边框 */
    border-radius: 7px; /* 圆角半径为 10px */
    cursor: pointer; /* 鼠标悬停时显示指针 */
    font-weight: bold; /* 字体加粗 */
    transition: background-color 0.3s ease; /* 添加背景色过渡效果 */
}

/* 鼠标悬停时的按钮效果 */
.popup-content button:hover {
    background-color: #d9363e; /* 悬停时背景色变为更深的红色 */
}