.service-terms-modal {
  position: fixed;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}
.service-terms-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 10px;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
}
.service-terms-modal__header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  flex: 1;
}
.service-terms-modal__close {
  background: 0 0;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  position: absolute;
  right: 20px;
  top: 20px;
}
.service-terms-modal__close:hover {
  background-color: #f0f0f0;
  color: #333;
}
.service-terms-modal__content {
  padding: 15px 25px;
  overflow-y: auto;
  height: calc(100vh - 80px);
}
.service-guarantee-item {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}
.service-guarantee-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.service-guarantee-content {
  flex: 1;
  padding-top: 0;
}
.service-guarantee-content h4 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d5a27;
  line-height: 1.3;
}
.service-guarantee-content ul {
  margin: 0 0 15px 0;
  padding-left: 25px;
  color: #333;
  line-height: 1.7;
  font-size: 1rem;
}
.service-guarantee-content li {
  margin-bottom: 5px;
  position: relative;
  font-size: 14px;
}
.service-guarantee-content-text {
  font-size: 14px;
  margin-bottom: 10px;
}
.service-guarantee-content li::marker {
  color: #2d5a27;
  font-weight: 500;
}
.service-guarantee-content .service-guarantee-link {
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  line-height: 22px;
  margin-top: 4px;
  font-size: 14px;
}
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
  margin-top: 15px;
}
.payment-methods span {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #555;
  border: 1px solid #e9ecef;
  text-align: center;
  font-weight: 500;
  transition: all 0.2s ease;
}
.payment-methods span:hover {
  background: #e9ecef;
  border-color: #2d5a27;
  color: #2d5a27;
}
.service-terms {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.service-terms-modal__content::-webkit-scrollbar {
  width: 6px;
}
.service-terms-modal__content::-webkit-scrollbar-track {
  background: 0 0;
}
.service-terms-modal__content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.service-terms-modal__content::-webkit-scrollbar-thumb:hover {
  background: #999;
}
@media screen and (min-width: 750px) {
  .service-terms-modal {
    top: 0;
    right: -500px;
    transform: none;
    width: 450px;
    height: 100vh;
    border-radius: 0;
  }
  .service-terms-modal__overlay.active .service-terms-modal {
    right: 0;
  }
  .service-guarantee-content h4 img {
    height: 30px;
    position: relative;
    top: 5px;
  }
  .coupon {
    margin-left: 50px;
  }
}
@media screen and (max-width: 749px) {
  .service-terms-modal {
    bottom: -100vh;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 8px 8px 0 0;
  }
  .service-terms-modal__header {
    padding: 16px 10px;
  }
  .service-terms-modal__content {
    height: 80vh;
  }
  .service-terms-modal__overlay.active .service-terms-modal {
    bottom: 0;
  }
  .service-guarantee-content h4 img {
    height: 20px;
    position: relative;
    top: 2px;
  }
  .service-terms-modal__content {
    padding: 15px 15px;
  }
  .service-terms-modal__close {
    top: 10px;
  }
}
