main.content {
  background: #fffaf5;
}

#mainbody {
  min-height: calc(100vh - 80px);
  padding-bottom: 72px;
  /* background:linear-gradient(180deg, #fff7ec 0%, #fff2e2 420px, #fffaf5 100%); */
}

.banner {
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.banner img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  padding-top: 18px;
}

.product-item {
  width: 310px;
  height: 260px;
  background: #FFFFFF;
  border-radius: 18px ;
  position: relative;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  margin:0 26px  30px 0;
  padding: 12px 0 14px;
  border: 2px solid #C8C8C8;
}
.product-item:nth-child(4n) {
  margin-right: 0;
}
.product-item:hover,
.product-item:focus {
  border-color: #FC832B;
}
.product-link{
  width: 240px;
  height: 50px;
  border-radius: 25px;
  color: #333333;
  text-align: center;
  line-height: 50px;
  margin-top: 20px;
  border: 1px solid #C8C8C8;
}
 .product-item a:hover, .product-item a:focus {
  background: #FC832B;
    color: #fff;
}
.product-item .logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 20px;
 
}
.detail-product-list .product-item>.tag {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  margin-left: 0;
  
}
.product-info{
  margin-top: 15px;
  display: flex;
}
.product-item .title {
  display: inline-block;
 font-weight: bold;
  font-size: 24px;
  color: #333333;
}

.detail-product-box {
  height: 388px;
  background: #fff;
  border-radius: 15px;
  margin-top: 80px;
  padding: 0;
}

.detail-product-list {
  display: flex;
  padding: 30px;
}



.product-content {
  color: #333;
}

.product-content .title {
  font-size: 30px;
  margin-bottom: 20px;
}

.product-content .price {
  font-size: 20px;
  display: flex;
}

.product-content .price .left {
  width: 130px;
}

.product-content .price .right {
  display: flex;
  flex-wrap: wrap;
}

.product-content .price .right div {
  width: 88px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #c5c5c5;
  margin-right: 20px;
  margin-bottom: 20px;
  cursor: pointer;
}

.submit-btn {
  display: inline-block;
  width: 326px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: #fff;
  background: #FC832B;
  border-radius: 24px;
  margin-top: 50px;
  cursor: pointer;
}

.price-button {
  display: inline-block;
  border: 1px solid #ccc;
  margin: 5px;
  cursor: pointer;
}

.price-button.active {
  border-color: #FC832B !important;
  color: #FC832B !important;
}

/* Product detail page refinement */
#mainbody {
  padding: 36px 0 72px;
}

.detail-product-box {
  min-height: 388px;
  height: auto;
  margin-top: 42px;
  padding: 30px;
  border: 1px solid #f2e9e3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(128, 55, 24, 0.08);
}

.detail-product-list {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0;
}

.detail-product-list > .product-item {
  flex: 0 0 310px;
  box-sizing: border-box;
  margin: 0;
  padding: 26px 24px;
  border: 1px solid #eadfd8;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 0%, #fffaf7 100%);
  box-shadow: 0 8px 24px rgba(128, 55, 24, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.detail-product-list > .product-item:hover,
.detail-product-list > .product-item:focus-within {
  border-color: #fc832b;
  box-shadow: 0 12px 28px rgba(252, 131, 43, 0.14);
  transform: translateY(-2px);
}

.detail-product-list > .product-item .title {
  margin: 0;
  color: #2e2926;
  font-size: 22px;
  line-height: 1.35;
}

.detail-product-list > .product-item .logo {
  display: block;
  width: 82px;
  height: 82px;
  margin: 30px auto 0 !important;
  object-fit: contain;
}

.product-content {
  flex: 1;
  min-width: 0;
  color: #333;
}

.product-content .title {
  margin: 0 0 28px;
  color: #2e2926;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
}

.product-content .price {
  display: flex;
  align-items: flex-start;
  min-height: 48px;
  font-size: 16px;
  line-height: 32px;
}

.product-content .price + .price {
  margin-top: 8px;
}

.product-content .price .left {
  flex: 0 0 112px;
  width: auto;
  color: #766c66;
  font-weight: 500;
}

.product-content .price .right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #3c3530;
}

.product-content .price .right div,
.price-button {
  box-sizing: border-box;
  width: 88px;
  height: 34px;
  margin: 0;
  border: 1px solid #d9d1cc;
  border-radius: 6px;
  background: #fff;
  color: #514943;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease, box-shadow 0.2s ease;
}

.product-content .price .right div:hover,
.price-button:hover {
  border-color: #fc832b;
  color: #fc832b;
  background: #fff8f3;
}

.price-button.active {
  border-color: #fc832b !important;
  background: #fff7f1;
  color: #fc832b !important;
  box-shadow: 0 0 0 2px rgba(252, 131, 43, 0.1);
}

.submit-btn {
  margin-top: 28px;
  background: #fc832b;
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(252, 131, 43, 0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.submit-btn:hover,
.submit-btn:focus {
  background: #ef711b;
  color: #fff;
  box-shadow: 0 10px 22px rgba(252, 131, 43, 0.28);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  #mainbody {
    padding: 20px 15px 48px;
  }

  .detail-product-box {
    min-height: 0;
    margin-top: 20px;
    padding: 18px;
  }

  .detail-product-list {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
  }

  .detail-product-list > .product-item {
    flex-basis: auto;
    width: 100%;
    min-height: 210px;
  }

  .product-content .title {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .product-content .price .left {
    flex-basis: 96px;
  }

  .product-content .price .right {
    gap: 8px;
  }

  .product-content .price .right div,
  .price-button {
    width: 76px;
  }

  .submit-btn {
    width: 100%;
    margin-top: 22px;
  }
}
