* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	/* 去掉下划线 */
}

body {
	font-family: "Segoe UI", Arial, sans-serif;
	background: #f3efe6;
	color: #6c4a35;
	background-color: antiquewhite;
}

a:hover {
	color: red;
}

/* 顶部 */
.tou {
	height: 100px;
	width: 100%;
	/* 这里原本写成 widows，写错了 */
	background-color: antiquewhite;
	display: flex;
	align-items: center;
	/* 垂直居中 */
}

/* 顶部 店名 */
.logo {
	margin-left: 10px;
}

/* 导航区域 */
.tou2 {
	height: 100px;
	width: 50%;
	margin-left: 110px;
	display: flex;
	/* 开启弹性布局 */
	justify-content: center;
	/* 里面的a水平居中 */
	align-items: center;
	/* 里面的a垂直居中 */
	gap: 88px;
	/* 每个a之间间距 */
}

/* 导航链接 */
.tou2 a {
	font-size: 23px;
	color: #6c4a35;
	/* 字体颜色 */
}

/* 鼠标移上去效果 */
.tou2 a:hover {
	color: red;
}


/* 中文英文切换 登录注册*/
.tou3 {
	height: 100px;
	width: 500px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

.tou3 a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 74px;
	height: 38px;
	padding: 0 18px;
	font-size: 18px;
	border-radius: 8px;
	border: 1px solid transparent;
	text-align: center;
	line-height: 1;
}

.btn-cn {
	background: #d4a017;
	color: black;
}

.btn-en {
	background: white;
	border: 1px solid purple;
	color: purple;
}

.btn-login {
	background: #3b82f6;
	color: white;
}

.btn-register {
	background: #22c55e;
	color: white;
}

/* 中部样式图 */

.zhong {
	width: 100%;
	height: 800px;
	margin-top: 10px;
	/* 背景颜色 */
	display: flex;
}

/* 卡片 */
.zhong1 {
	width: 320px;
	height: 700px;
	background: #f6f1e8;
	border-radius: 25px;
	padding: 40px 30px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 50px 50px 0 50px;
}

/* 标题 */
.title {
	font-family: 'Great Vibes', cursive;
	font-size: 42px;
	color: #6c4a35;
	margin-bottom: 20px;
	line-height: 1.2;
}

/* 中间线 */
.line {
	width: 60px;
	height: 2px;
	background: #c89b6d;
	margin-bottom: 20px;
}

/* 描述 */
.desc {
	font-size: 14px;
	color: #6c4a35;
	line-height: 1.6;
}

/* 四角装饰（关键！） */
.corner {
	position: absolute;
	width: 40px;
	height: 40px;
	border: 2px solid #c89b6d;
}

/* 左上角 */
.top-left {
	top: 20px;
	left: 20px;
	border-right: none;
	border-bottom: none;
	border-radius: 20px 0 0;
}

/* 右下角 */
.bottom-right {
	bottom: 20px;
	right: 20px;
	border-left: none;
	border-top: none;
	border-radius: 0 0 20px 0;
}


/* 中间轮播图外层 */
.zhong2 {
	width: 900px;
	height: 700px;
	position: relative;
	margin: 50px 50px 100px 100px;
	border-radius: 20px;
	overflow: hidden;
}

/* 上方标题 */
.zhong2biao {
	width: 100%;
	height: 80px;
	font-family: 'Great Vibes', cursive;
	font-size: 42px;
	color: #f6f1e8;
	text-align: center;
	line-height: 80px;
	position: relative;
	z-index: 2;
	background: transparent;
}

/* 轮播图区域 */
.zhong2tu {
	width: 100%;
	height: calc(100% - 0px);
	/* 减去标题高度 */
	margin-top: -80px;
	/* 👈 往上顶（可调：30~60px） */
	position: relative;
	display: flex;
}

/* 轮播主盒子 */
.lunbo {
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 20px;

	position: relative;
	display: flex;
}

/* 图片轨道 */
.lunbo-track {
	width: 100%;
	height: 100%;
	position: relative;
}

/* 每一张图 */
.slide {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.slide.active {
	opacity: 1;
	z-index: 1;
}

/* 图片本身 */
.slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* ✅ 完整显示图片 */
	display: block;
	border-radius: 20px;
	position: relative;
}

/* 左上角文字 */
.top-text {
	position: absolute;
	top: 20px;
	left: 20px;
	color: white;
	font-size: 22px;
	font-weight: bold;
	z-index: 2;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* 左下角文字 */
.bottom-text {
	position: absolute;
	left: 150px;
	bottom: 50px;
	color: white;
	font-size: 28px;
	font-weight: bold;
	z-index: 2;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* 左右按钮 */
.prev,
.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 45px;
	height: 45px;
	border: none;
	border-radius: 50%;
	background: rgba(108, 74, 53, 0.55);
	color: white;
	font-size: 24px;
	cursor: pointer;
	z-index: 3;
	transition: 0.3s;
}

.prev:hover,
.next:hover {
	background: rgba(108, 74, 53, 0.85);
	color: gold;
}

.prev {
	left: 15px;
}

.next {
	right: 15px;
}

/* 底部圆点 */
.dots {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 3;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: 0.3s;
}

.dot.active {
	background: white;
	transform: scale(1.15);

}

/* 在线客服 和 收货地址 */
.zhong3 {
	width: 500px;
	height: 700px;
	background-color: #f3efe6;
	border-radius: 20px;
	margin: 50px 50px 50px 50px;
}

.zhong3zaixian {
	width: 460px;
	height: 300px;
	margin: 10px 20px;
	display: flex;

	flex-direction: column;
	/* ⭐ 关键：改为上下排列 */
	justify-content: flex-start;
	/* 从上开始排 */

	border-style: solid;
	border-width: 1px;
	border-radius: 20px;
	line-height: 60px;
}

.zaixian {
	width: 460px;
	height: 55px;
	font-size: 30px;
	color: #6c4a35;
	/* 棕色 */
	font-weight: bold;
	letter-spacing: 6px;
	font-family: 'Great Vibes', cursive;
	/* 字间距 */
	text-align: center;
}

.zaixian1 {
	width: 400px;
	height: 200px;

}

.zaixianwenzi {
	font-size: 17px;
	padding-left: 10px;
}

.zaixian2 {
	width: 400px;
	height: 55px;
	display: flex;
	/* 开启横向排列 */
	align-items: center;
	/* 垂直居中 */
	justify-content: space-around;
	/* 左右分布 */
}

.zaixian2 a {
	display: block;
	/* 关键！让 a 可以设置宽高 */
	width: 150px;
	height: 70px;
	line-height: 50px;
	/* 文字垂直居中 */
	text-align: center;
}

.zaixian2 img {
	width: 50px;
	height: 50px;
	border-radius: 10px;
	/* 圆角 */
	object-fit: cover;
}

.shouhu {
	width: 460px;
	height: 360px;
	margin: 10px 20px;
	border-style: solid;
	border-width: 1px;
	border-radius: 20px;
}

.shouhu1 {

	width: 460px;
	height: 40px;
	font-size: 30px;
	color: #6c4a35;
	line-height: 50px;
	/* 棕色 */
	font-weight: bold;
	letter-spacing: 6px;
	font-family: 'Great Vibes', cursive;
	/* 字间距 */
	text-align: center;

}

.shouhu input {
	width: 90%;
	border: 1px solid #dbcbbc;
	background: #fff;
	border-radius: 10px;
	padding: 10px 20px;
	margin-bottom: 12px;
	font-size: 14px;
	margin-left: 14px;
}

.shouhu button {
	width: 100%;
	height: 40px;
	background: #22c55e;
	color: #fff;
	padding: 12px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 20px;
	transition: 0.3s;
	line-height: 15px;
}


/* 底部整体 */
.di {
	width: 90%;
	height: 80px;
	margin: -40px 0px;
	padding: 20px 40px;

	display: flex;
	margin-left: 190px;
	/* 横向排列 */
	justify-content: space-between;
	/* 三块均匀分开 */
	align-items: flex-start;
	/* 顶部对齐 */
}

/* 每一块 */
.di1 {
	width: 30%;
	/* 三等分 */
	color: #333;
	font-family: 'Great Vibes', cursive;
}

/* 标题 */
.di1 h3 {
	margin-bottom: 10px;
	font-size: 18px;
	font-family: 'Great Vibes', cursive;
}

/* 内容 */
.di1 p {
	font-size: 14px;
	line-height: 1.6;
	font-family: 'Great Vibes', cursive;
}

.di2{
	width: 100%;
	height: 40px;
	color: #333;
	font-size: 20px;
	text-align: center;
	margin-top: 60px;
	font-family: 'Great Vibes', cursive;
}