.content_nav {
}
.content_nav_list {
  width: 24%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.content_nav_list span:hover {
  font-weight: 550;
  color: #4c2a10;
}

.active_nav_li {
  font-weight: 550;
  color: #4c2a10;
}

.main_contentext {
  padding: 0 13.5%;
  box-sizing: border-box;
  margin-bottom: 60px;
}

.coffeeD {
  width: 100%;
}

/* 按钮的样式 */
.new_btn_box {
  margin: 40px 0 0 0;
}

/* 按钮基础样式 */
.new_btn {
  width: 140px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 22px;
  color: #666666;
  margin: auto;
  border: 1px solid #000000;
  /* border-bottom: 1px solid #cccccc; */
  transition: background-color 0.3s, color 0.3s; /* 平滑过渡效果 */
}

/* 按钮悬浮时的样式 */
.new_btn:hover {
  cursor: pointer; /* 鼠标变为手指 */
  color: #ffffff;
  background: #6f4f36;
  border: 1px solid #6f4f36;
}

.coffeeD_header {
  display: flex;
  justify-content: space-between;
  margin: 60px 0;
  font-size: 26px;
  color: #000000;
}
.coffeeD_header_title {
  font-weight: 600;
}
.coffeeD_header_line {
  margin: 0 20px;
  font-weight: 100;
  color: #979797;
}
.coffeeD_header_Beans {
  font-weight: 100;
}
.coffeeD_header_num {
  font-weight: 400;
  font-size: 26px;
  color: #666666;
}

.coffeeD_crad_box {
  display: grid; /* 启用网格布局 */
  grid-template-columns: repeat(3, 1fr); /* 定义三列，每列宽度相等 */
  gap: 55px;
}

.coffeeD_crad {
  width: 100%;
  aspect-ratio: 1;
  background: #f8f7f5;
  padding: 60px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coffeeD_crad_img_box {
  max-width: 140px;
  aspect-ratio: 1;
  margin: auto;
  margin-bottom: 40px;
}
.coffeeD_crad_img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coffeeD_title {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  background: rgba(201, 184, 169, 0.3);
  border-radius: 32px;
  padding: 0 24px;
  box-sizing: border-box;
  margin-bottom: 22px;
  font-weight: 400;
  font-size: 22px;
  color: #000000;
}
.coffeeD_text {
  width: 100%;
  position: absolute;
  left: 0;
  top: 72%;
  box-sizing: border-box;
  font-weight: 300;
  font-size: 20px;
  color: #525252;
  line-height: 28px;
  text-indent: 1em;
  padding: 0 60px 38px 60px;
  max-height: 125px;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

.coffeeD_line {
  margin: 80px 0;
  height: 1px;
  background: #979797;
}

.coffee_content_box {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 两列，等宽 */
  gap: 86px 60px; /* 上下间距 40px，左右间距 60px */
}

.coffee_content {
  aspect-ratio: 660/496;
  border: 2px solid #6f4f36;
  position: relative;
  width: 100%;

  box-sizing: border-box;

  padding-top: 22%;
  position: relative;
}

.img_poz {
  box-sizing: border-box;
  padding: 0 30px;
  width: 240px;
  height: 200px;
  display: inline-block;
  position: absolute;
  z-index: 100;
  background: #ffffff;
  background: url("../images/white.png");
  top: -10%;
  left: 50%; /* 将元素的左边距设置为父元素宽度的50% */
  transform: translateX(-50%); /* 向左平移元素本身的宽度的50%，实现真正的居中 */
}
.img_poz img {
  width: 100%;
  height: 100%;
}

.coffee_content_bot {
  text-align: center;
}

.coffee_content_bot_title {
  font-weight: 500;
  font-size: 28px;
  color: #333333;
  line-height: 40px;
  margin-top: 40px;
}
.coffee_content_bot_tag {
  font-weight: 100;
  font-size: 28px;
  color: #333333;
  line-height: 40px;
  margin-bottom: 36px;
}
.coffee_content_bot_label {
  font-weight: 100;
  font-size: 16px;
  color: #333333;
  line-height: 22px;
  margin-bottom: 36px;
}
.coffee_content_bot_text {
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: calc(100% - 4px);
  padding: 30px 13.6%;
  background: #f8f7f5;
  font-weight: 400;
  box-sizing: border-box;
  font-size: 20px;
  color: #333333;
  line-height: 28px;
  max-height: 140px;
  overflow: hidden;
  text-align: left;
  overflow-y: auto;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

.dessert_crad_box {
  display: grid; /* 启用网格布局 */
  grid-template-columns: repeat(3, 1fr); /* 定义三列，每列宽度相等 */
  gap: 55px;
}

.dessert_crad {
  width: 100%;
  aspect-ratio: 1;
  background: #f8f7f5;
  padding: 100px 0 0 0;
  box-sizing: border-box;
  text-align: center;
}
.dessert_crad:nth-child(2) {
  border-radius: 70px 0px 0px 0px;
}
.dessert_crad_img_box {
  max-width: 140px;
  aspect-ratio: 1;
  margin: auto;
}
.dessert_crad_img_box img {
  width: 100%;
  height: 100%;
}

.dessert_title {
  margin: 60px 0 12px 0;
  font-weight: 500;
  font-size: 24px;
  color: #333333;
  line-height: 33px;
}

.dessert_text {
  font-weight: 100;
  font-size: 18px;
  color: #333333;
  line-height: 25px;
}

.periphery_crad_box {
  display: grid; /* 启用网格布局 */
  grid-template-columns: repeat(3, 1fr); /* 定义三列，每列宽度相等 */
  gap: 55px;
  color: #333333;
  margin-bottom: 60px;
}

.periphery_crad {
  width: 100%;
  aspect-ratio: 1;
  background: #f8f7f5;
  padding: 100px 0 0 0;
  box-sizing: border-box;
  text-align: center;
}
.periphery_crad:nth-child(2) {
  border-radius: 0px 70px 0px 0px;
}
.periphery_crad_img_box {
  max-width: 140px;
  aspect-ratio: 1;
  margin: auto;
}
.periphery_crad_img_box img {
  width: 100%;
  height: 100%;
}

.periphery_crad_text {
  margin-top: 74px;
}
.periphery_crad_text_1 {
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
}
.periphery_crad_text_2 {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: #333333;
  margin: 0 12px;
  transform: translateY(2px);
}
.periphery_crad_text_3 {
  font-weight: 100;
  font-size: 20px;
  line-height: 28px;
}
@media (min-width: 1600px) and (max-width: 1919px) {
  .img_poz {
    width: 220px;
    height: 180px;
  }

  .coffee_content_bot_title {
    margin-top: 10px;
  }

  .coffee_content_bot_tag {
    margin-bottom: 10px;
  }

  .coffeeD_title {
    height: 35px;
    line-height: 35px;
    border-radius: 32px;
    padding: 0 20px;
    margin-bottom: 18px;
    font-size: 19px;
  }
  .new_btn_box {
    margin: 35px 0 0 0;
  }
  .new_btn {
    font-size: 20px;
    height: 55px;
    line-height: 55px;
  }
  .coffeeD_crad_box {
    gap: 50px;
  }

  .coffeeD_crad {
    padding: 40px;
  }
  .coffeeD_crad_img_box {
    margin-bottom: 20px;
  }
  .coffeeD_text {
    font-size: 18px;

    line-height: 27px;
  }

  .coffee_content {
    padding-top: 26%;
  }
  .coffee_content_bot_text {
    height: 110px;
    font-size: 18px;
    padding: 25px 13.6%;
  }
  .dessert_crad {
    padding: 50px 0 0 0;
  }
  .dessert_title {
    margin: 50px 0 12px 0;
  }

  .periphery_crad {
    padding: 50px 0 0 0;
  }
}
@media (min-width: 1500px) and (max-width: 1599px) {
  .coffeeD_title {
    height: 33px;
    line-height: 33px;
    border-radius: 32px;
    padding: 0 18px;
    margin-bottom: 16px;
    font-size: 18px;
  }
  .new_btn_box {
    margin: 30px 0 0 0;
  }
  .new_btn {
    font-size: 19px;
    height: 50px;
    line-height: 50px;
  }

  .new_btn_box {
    margin: 30px 0 0 0;
  }
  .coffeeD_crad_box {
    gap: 45px;
  }

  .coffeeD_crad {
    padding: 35px;
  }
  .coffeeD_crad_img_box {
    margin-bottom: 18px;
  }
  .coffeeD_text {
    font-size: 17px;

    line-height: 26px;
  }

  .coffee_content {
    padding-top: 27%;
  }
  .coffee_content_bot_text {
    height: 88px;
    font-size: 17px;
    padding: 22px 13.6%;
  }
  .dessert_crad {
    padding: 45px 0;
  }
  .dessert_title {
    margin: 45px 0 12px 0;
  }

  .periphery_crad {
    padding: 45px 0;
  }
}
@media (min-width: 1400px) and (max-width: 1499px) {
  .coffeeD_title {
    height: 30px;
    line-height: 30px;
    border-radius: 32px;
    padding: 0 16px;
    margin-bottom: 13px;
    font-size: 17px;
  }
  .new_btn_box {
    margin: 27px 0 0 0;
  }
  .new_btn {
    font-size: 18px;
    height: 45px;
    line-height: 45px;
  }
  .coffeeD_crad_box {
    gap: 40px;
  }

  .coffeeD_crad {
    padding: 30px;
  }
  .coffeeD_crad_img_box {
    margin-bottom: 17px;
  }
  .coffeeD_text {
    font-size: 16px;

    line-height: 25px;
  }

  .coffee_content {
    padding-top: 29.5%;
  }
  .coffee_content_bot_tag {
    margin-bottom: 10px;
  }
  .coffee_content_bot_text {
    height: 80px;
    font-size: 16px;
    padding: 20px 13.6%;
  }
  .dessert_crad {
    padding: 40px 0;
  }
  .dessert_title {
    margin: 40px 0 10px 0;
  }

  .periphery_crad {
    padding: 40px 0;
  }
}
@media (min-width: 300px) and (max-width: 1399px) {
  .coffeeD_title {
    height: 28px;
    line-height: 28px;
    border-radius: 32px;
    padding: 0 14px;
    margin-bottom: 10px;
    font-size: 16px;
  }
  .new_btn_box {
    margin: 25px 0 0 0;
  }
  .new_btn {
    font-size: 17px;
    height: 40px;
    line-height: 40px;
  }
  .coffeeD_crad_box {
    gap: 30px;
  }

  .coffeeD_crad {
    padding: 25px;
  }
  .coffeeD_crad_img_box {
    margin-bottom: 15px;
  }
  .coffeeD_text {
    font-size: 13px;
    line-height: 24px;
  }
  .coffee_content_bot_tag {
    margin-bottom: 20px;
  }

  .coffee_content {
    padding-top: 25%;
  }
  .coffee_content_bot_text {
    height: 70px;
    font-size: 15px;
    padding: 18px 13.6%;
  }
  .dessert_crad {
    padding: 30px 0;
  }
  .dessert_title {
    margin: 30px 0 10px 0;
  }

  .periphery_crad {
    padding: 30px 0;
  }
}
