main {
  padding-top: 150px;
  padding-bottom: 160px;
  width: 100%;
}

section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

section h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: -2%;
  text-align: center;
}

.search-container {
  width: 400px;
  margin: 0 auto;
  height: 44px;
  border-bottom: 1px solid #231f20;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.search-container input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  color: #231f20;
}

.procedure-product-item {
  width: 100%;
  cursor: pointer;
  border: 1px solid #dddddd;
  padding: 40px;
}

.procedure-product-item:hover {
  border: 1px solid #231f20;
}

.procedure-product-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: -2%;
  margin-bottom: 8px;
}

.procedure-product-description {
  font-size: 14px;
  color: #666666;
  margin-bottom: 28px;
  white-space: pre-line;
}

.procedure-product-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.procedure-product-price-cost {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -2%;
  vertical-align: middle;
  color: #999999;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.procedure-product-price-discount {
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: -2%;
  text-align: right;
  color: #ef487b;
  vertical-align: middle;
}

.procedure-product-price-num {
  margin-left: 4px;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: -2%;
  text-align: right;
  vertical-align: middle;
}

.procedure-product-button {
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  background-color: #231f20;
  border-radius: 200px;
  width: 135px;
  height: 44px;
  cursor: pointer;
}

.procedure-product-button:hover {
  background-color: #ef487b;
  border: none;
}

.procedure-product-list {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.option-selector-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #dddddd;
}

.option-selector-list {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: hidden;
  white-space: nowrap;
}

.option-selector-item {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -5%;
  text-align: center;
  padding-bottom: 12px;
  vertical-align: middle;
  color: #999999;
  cursor: pointer;
}

.selected-item {
  color: #231f20;
  font-weight: 600;
  border-bottom: 1px solid #231f20;
}

/* 태블릿 및 모바일 스타일 (768px 이하) */
@media (max-width: 768px) {
  main {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  section {
    padding: 0 20px;
  }

  section h1 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 0;
  }

  .search-container {
    width: 100%;
    margin-bottom: 32px;
  }

  .procedure-product-list {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .procedure-product-item {
    padding: 30px 20px;
  }

  .procedure-product-title {
    font-size: 16px;
  }

  .procedure-product-description {
    font-size: 13px;
    margin-bottom: 24px;
    white-space: pre-line;
  }

  .procedure-product-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .procedure-product-button {
    width: 100px;
    height: 40px;
    font-size: 12px;
  }

  .option-selector-container {
    gap: 0;
  }

  .option-selector-list {
    gap: 20px;
    padding: 0 4px;
  }

  .option-selector-item {
    font-size: 14px;
    padding-bottom: 14px;
  }

  .option-selector-arrow {
    display: none;
  }
}
