/* inquiry-cart */
.inquiry-cart {
  position: fixed;
  top: 40%;
  right: 0;
  z-index: 21;
  width: 60px;
  height: 60px;
  padding-right: 2px;
  border-radius: 16px;
  background: var(--style-color);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.inquiry-cart.show {
  display: flex;
}

.inquiry-cart img {
  width: auto;
  height: 50%;
}

.inquiry-cart span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 16px;
  height: 16px;
  padding-top: 2px;
  font-size: 10px;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F00;
}

@media (min-width: 1200px) {
  .inquiry-cart {
    width: 80px;
    height: 80px;
  }

  .inquiry-cart span {
    width: 20px;
    height: 20px;
    font-size: 14px;
    padding-top: 0;
  }
}


/* inquiry-panel */
.inquiry-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.10);
  z-index: 101;
  display: none;
}

.inquiry-panel .item-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  width: calc(100% - 60px);
  max-width: 540px;
  padding: 30px 0;
  transform: translate(-50%, -50%);
  border: 1px solid #ddd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px #0003;
}

.inquiry-panel .inquiry-close {
  width: 24px;
  height: 24px;
  margin-right: 30px;
  border-radius: 50%;
  color: #8F8F8F;
  border: 1px solid #8F8F8F;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
}

.inquiry-panel .info-wrap {
  max-height: calc(96vh - 108px);
  margin-top: 24px;
  padding-left: 30px;
  padding-right: 30px;
  overflow-y: auto;
  overflow-x: hidden;
}

.inquiry-panel .title {
  text-align: left;
}

.inquiry-panel .selection-list {
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
  margin-top: 10px;
}

.inquiry-panel .selection-scroll {
  max-height: calc(96vh - 300px);
}

.inquiry-panel .selection-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inquiry-panel .selection-item:not(:last-child) {
  margin-bottom: 16px;
}

.inquiry-panel .scale-img {
  width: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  align-self: center;
  border: 1px solid #999;
}

.inquiry-panel .scale-img img {
  width: 100pc;
  aspect-ratio: 1;
}

.inquiry-panel .info-group {
  flex: 1;
  align-self: center;
  padding-left: 8px;
}

.inquiry-panel .info {
  margin-top: 8px;
  color: #666;
}

.inquiry-panel .quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 8px;
  color: #999;
}

.inquiry-panel .num {
  gap: 1px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 4px;
  border: 1px solid #999;
  display: flex;
  align-items: center;
}

.inquiry-panel .num-btn {
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.inquiry-panel .num-btn:first-child {
  color: #999;
}

.inquiry-panel .num .form-control {
  width: 51px;
  height: 32px;
  color: #333;
  font-size: 20px;
  text-align: center;
  padding: 8px 4px;
  border: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inquiry-panel .remove-product {
  font-size: 32px;
  line-height: 39px;
  align-self: flex-start;
  cursor: pointer;
}

.inquiry-panel .btn {
  margin-top: 16px;
  width: 100%;
  padding: 10px;
  line-height: 1.2;
  border-radius: 22px;
  font-weight: bold;
  background: var(--style-color);
}

/* 右侧 */
.inquiry-panel .rt {
  display: none;
}

.inquiry-panel .rt form {
  margin-top: 16px;
}

.inquiry-panel .rt .form-group {
  margin-bottom: 8px;
}

.inquiry-panel .rt label {
  font-weight: normal;
  margin-bottom: 8px;
  display: block;
}

.inquiry-panel .rt .form-control {
  color: var(--txt-color);
  border-radius: 16px;
  border-color: #666;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 1.2;
}

.inquiry-panel .rt textarea.form-control {
  min-height: 90px;
}

.inquiry-panel .rt select:has(option[value=""]:checked) {
  color: #999;
}

.inquiry-panel .rt .form-control::-webkit-input-placeholder {
  color: #999;
}

.inquiry-panel .rt .form-control:-moz-placeholder {
  color: #999;
}

.inquiry-panel .rt .form-control::-moz-placeholder {
  color: #999;
}

.inquiry-panel .rt .form-control:-ms-input-placeholder {
  color: #999;
}

.inquiry-panel .form-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  margin-top: 16px;
  padding-left: 10px;
}

.inquiry-panel .form-note img {
  width: auto;
  height: 44px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .inquiry-panel .scale-img {
    display: none;
  }
}

@media(min-width:1200px) {
  .inquiry-panel .item-wrap {
    max-width: 1122px;
  }

  .inquiry-panel .info-wrap {
    display: flex;
    gap: 60px;
    padding-left: 60px;
    padding-right: 60px;
  }

  .inquiry-panel .lt {
    flex: 500;
  }

  .inquiry-panel .selection-scroll {
    max-height: 666px;
  }

  .inquiry-panel .lt .btn {
    display: none;
  }

  .inquiry-panel .rt {
    flex: 440;
    display: block;
  }

  .inquiry-panel .rt .form-control {
    height: 58px;
    font-size: 20px;
  }

  .inquiry-panel .rt .btn {
    font-size: 20px;
  }

  .inquiry-panel .btn-back {
    display: none;
  }
}


/* bottom-contact */
.bottom-contact {
  padding: var(--m-pd) 0;
  color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bottom-contact .container {
  display: grid;
  gap: 30px;
}

.bottom-contact .title {
  max-width: 460px;
  margin-top: 30px;
  text-align: left;
}

.bottom-contact .form-group {
  margin-bottom: 16px;
}

.bottom-contact .form-control {
  padding: 10px;
  font-size: 18px;
  line-height: 1.2;
  border-color: #666;
  border-radius: 16px;
  color: inherit;
  background: var(--txt-color);
}

.bottom-contact input.form-control {
  height: 46px;
}

.bottom-contact textarea.form-control {
  min-height: 90px;
}

.bottom-contact .form-control::-webkit-input-placeholder {
  color: #999;
}

.bottom-contact .form-control:-moz-placeholder {
  color: #999;
}

.bottom-contact .form-control::-moz-placeholder {
  color: #999;
}

.bottom-contact .form-control:-ms-input-placeholder {
  color: #999;
}

.bottom-contact .btn-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.bottom-contact .btn {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  margin-top: 16px;
  font-size: 18px;
  border-radius: 22px;
  color: var(--txt-color);
  background: var(--style-color);
  font-weight: 700;
  line-height: 1.2;
}

.bottom-contact .form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-left: 10px;
  line-height: 1.4;
}

.bottom-contact .form-status img {
  width: auto;
  height: 44px;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .bottom-contact .container {
    display: flex;
    align-items: flex-start;
    gap: 74px;
  }

  .bottom-contact .lt {
    flex: 1;
  }

  .bottom-contact .rt {
    flex: 0 0 calc((1030 / 1440) * 100%);
  }

  .bottom-contact .form-control, .bottom-contact .btn {
    font-size: 20px;
  }
}


/* footer */
.footer {
  color: #fff;
  background: var(--txt-color);
  margin-bottom: 51px;
}

.footer .footer-top {
  padding: 30px 0;
}

.footer .footer-top .container {
  display: grid;
  row-gap: 30px;
}

.footer .logo {
  width: auto;
  height: 55px;
  margin-bottom: 20px;
}

.footer .icon-list {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.footer .icon-list li a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--txt-color);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .icon-list li i {
  font-size: inherit;
  line-height: 1;
}

.footer .tit {
  margin-bottom: 20px;
  font-family: 'Inter-Regular';
}

.footer .item-list>li:not(:last-child) {
  margin-bottom: 16px;
}

.footer .cont-list li {
  display: flex;
  align-items: center;
}

.footer .cont-list li:not(:last-child) {
  margin-bottom: 16px;
}

.footer .cont-list li a {
  font-size: 18px;
  line-height: 1.2;
}

.footer .cont-list li i {
  width: 30px;
  height: 30px;
  line-height: 1;
  flex-shrink: 0;
  color: var(--style-color);
  font-size: 20px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .footer-bottom {
  text-align: center;
  padding: 8px 0;
  color: #999;
  border-top: 1px solid #333;
}

.footer .footer-bottom .container {
  display: grid;
  gap: 10px;
}

.footer .footer-bottom .rt {
  display: flex;
  justify-content: center;
  gap: 15px;
}

@media (min-width: 768px) {
  .footer {
    margin-bottom: 0;
  }

  .footer .footer-top .container {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: space-between;
  }

  .footer .item {
    padding: 0 15px;
  }

  .footer .item:nth-child(1), .footer .item:nth-child(4) {
    order: 1;
    width: 50%;
  }

  .footer .item:nth-child(2) {
    width: 310px;
  }

  .footer .item:nth-child(3) {
    width: 195px;
  }

  .footer .item:nth-child(4) {
    order: 1;
    width: 50%;
  }

  .footer .footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .footer .item:nth-child(1) {
    order: 0;
    width: 100%;
  }

  .footer .item:nth-child(4) {
    width: 313px;
  }
}

@media (min-width: 1200px) {
  .footer .footer-top {
    padding: 60px 0;
  }

  .footer .item:nth-child(1) {
    width: 295px;
  }

  .footer .logo {
    margin-bottom: 40px;
  }

  .footer .item ul>li a {
    transition: all .3s;
  }

  .footer .icon-list {
    gap: 40px;
    margin-top: 40px;
  }

  .footer .icon-list li:hover a {
    background: var(--style-color);
  }

  .footer .tit {
    margin-bottom: 36px;
  }

  .footer .cont-list li a {
    font-size: 20px;
  }

  .footer .cont-list>li a:hover, .footer .item-list>li a:hover {
    color: var(--style-color);
    text-decoration: underline;
  }

  .footer .footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
  }
}


/* 手机端底部 */
.mobile-footer {
  width: 100%;
  color: #666;
  text-align: center;
  border-top: 1px solid #ccc;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
}

.mobile-footer ul {
  background: #fff;
  padding: 0 15px;
  flex-wrap: nowrap;
  justify-content: space-around;
  display: flex;
}

.mobile-footer li a i, .mobile-footer li span i {
  width: 20px;
  height: 20px;
  margin: 5px auto 1px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .mobile-footer {
    display: none;
  }
}