
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}
a {
  text-decoration: none;
  color: #007aff;
  font-size: 20px;
}
.site-header {
  background-color: #ffffff;
  padding: 16px 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.site-header .logo {
  font-size: 36px;
  font-weight: bold;
}
.site-header nav a {
  margin-left: 20px;
  font-size: 22px;
}
.banner {
  padding: 10px;
  text-align: center;
  background: linear-gradient(to right, #74ebd5, #9face6);
  color: white;
  font-size: 22px;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 40px;
}
.product-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  padding: 16px;
  width: 320px;
  height: 360px;
  text-align: center;
}
.product-card img {
  width: 160px;
  height: 240px
  border-radius: 4px;
}
.product-card h3 {
  margin: 12px 0 6px;
  font-size: 18px;
}
.product-card p {
  margin: 4px 0;
}
.site-footer {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-top: 1px solid #eee;
  margin-top: 40px;
  font-size: 18px;
}


/* 登录页样式 */

body.login-bg {
  background: #f5f5f5 url('https://xmall.exrick.cn/img/bg.png') repeat;
  font-family: Arial, sans-serif;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-box {
  background: #fff;
  padding: 30px 40px 80px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 480px;
  text-align: center;
}

.login-logo {
  width: 60px;
  margin-bottom: 10px;
}

.login-box h2 {
  font-weight: normal;
  margin-bottom: 20px;
  color: #444;
}

.login-box input[type='text'],
.login-box input[type='password'] {
  width: 100%;
  height: 50px;
  padding: 10px;
  margin-top: 22px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 24px;
}

.captcha {
  margin-top: 15px;
  background: #eaeaea;
  padding: 8px;
  border-radius: 4px;
  color: #666;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  color: #777;
  margin-top: 10px;
}

.login-options .login-links a {
  color: #007aff;
  text-decoration: none;
  margin-left: 5px;
}

.login-btn {
  width: 100%;
  background: #888;
  color: white;
  padding: 10px;
  margin-top: 40px;
  font-size: 24px;
  border: none;
  border-radius: 4px;
}

.return-btn {
  width: 100%;
  background: #eee;
  padding: 10px;
  margin-top: 20px;
  font-size: 24px;
  border: none;
  border-radius: 4px;
}

.other-login {
  margin-top: 20px;
  font-size: 13px;
  color: #888;
}

.icons {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.product-detail-page {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  background-color: #f7f7f7;
}

.product-detail-container {
  display: flex;
  
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.title {
  font-size: 32px;
}

.subtitle{

  font-size: 22px;
  color: #999999;
}

.quantity{
  height: 80px;
}

.price{

  font-size: 28px;
  color: rgb(220, 15, 15);
}

.button{

  width: 36px;
  height: 36px;
  font-size: 32px;
  line-height: 10px;
  margin-right: 10px;
  border-radius: 5px;
}

.number{
  font-size: 28px;
  margin-right: 10px;
}

.buy-button{

  width: 180px;
  height: 50px;
  font-size: 22px;
  margin-right: 40px;
  margin-top: 20px;
  border-radius: 8px;
}

.back {

  padding: 10px 20px
}

.product-detail-images {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
}
.product-detail-images img {
  width: 100%;
  margin-top: 10px;
  border-radius: 4px;
}

.product-info{
  padding: 20px 30px;
  max-width: 1200px;
  margin: 20px  auto 0;
  width: 100%;
  box-shadow: 0 1px 7px rgba(0, 0, 0, .06);
  background: linear-gradient(#fbfbfb, #ececec);
  font-size: 32px;
  border-radius: 8px 8px 0 0;
}


.left {
  display: flex;
  /* flex-direction: column; */
  gap: 10px;
  margin-left: 20px;
}

.thumbs{

  display: flex;
  flex-direction: column;
}
.thumb {
  width: 100px;
  height: 100px;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 0 1px 7px rgba(0, 0, 0, .08);

}
.main-image {
  width: 500px;
  margin-left: 50px;
}
.right {
  flex: 1;
  margin-left: 50px;
}
