/*main {
	background-color: var(--blue20);
}*/

/* .main-content-wrapper {
	display: flex;
} */

.item-wrapper {
  padding: 10rem 0rem;
  background-color: var(--white);
  width: 100%;
  max-width: 80rem;
  min-height: 85dvh;
  margin-left: auto;
  margin-right: auto;
}

.item-heading {
  font-size: var(--font-size-secondary-heading);
  font-weight: 500;
  margin-left: 1rem;
}

/* AI 분석 및 FDA 경고 문구 스타일 */
.analysis-disclaimer {
  margin: 2rem 1rem;
  padding: 1.5rem;
  background-color: #e8f5e8;
  border: 1px solid #c8e6c9;
  border-left: 4px solid #4caf50;
  border-radius: 0.5rem;
  box-shado .safety-reminder p,
  .safety-reminder ul li {
    font-size: 1.1rem;
  }

  .safety-reminder ul {
    padding-left: 1.3rem;
  }

  /* 모바일용 맞춤 제조 안내 스타일 */
  .custom-manufacturing-notice {
    margin: 1.5rem 0.5rem;
    padding: 1rem;
  }

  .custom-manufacturing-notice h3 {
    font-size: 1.5rem;
  }

  .manufacturing-info > p {
    font-size: 1.2rem;
  }

  .manufacturing-process {
    padding: 1rem;
  }

  .manufacturing-process h4 {
    font-size: 1.3rem;
  }

  .manufacturing-process ol li {
    font-size: 1.1rem;
  }

  .refund-notice {
    padding: 1rem;
  }

  .refund-notice h4 {
    font-size: 1.3rem;
  }

  .refund-notice p {
    font-size: 1.1rem;
  }
}

.fda-disclaimer {
  margin: 2rem 1rem;
  padding: 1rem;
  background-color: #e8f5e8;
  border: 1px solid #c8e6c9;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.disclaimer-box h4 {
  margin: 0 0 1rem 0;
  color: #2e7d32;
  font-size: 1.4rem;
  font-weight: 600;
}

.disclaimer-box p {
  margin: 0.5rem 0;
  color: #1b5e20;
  font-size: 1.4rem;
  line-height: 1.5;
}

.disclaimer-box p strong {
  color: #2e7d32;
}

.fda-disclaimer {
  margin: 1rem;
  padding: 1rem;
  background-color: #e8f5e8;
  border: 1px solid #c8e6c9;
  border-radius: 0.3rem;
  text-align: center;
}

.fda-disclaimer p {
  margin: 0;
  color: #1b5e20;
}

.fda-disclaimer small {
  font-size: 1.3rem;
}

.fda-disclaimer strong {
  color: #2e7d32;
}

/* 수술/시술 관련 경고 문구 스타일 */
.results-safety-check {
  margin: 2rem 1rem;
  padding: 0;
  background: transparent;
}

.safety-reminder {
  padding: 1.5rem;
  background-color: #e8f5e8;
  border-left: 4px solid #4caf50;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.safety-reminder h4 {
  margin: 0 0 1rem 0;
  color: #2e7d32;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.safety-reminder p {
  margin: 0.5rem 0;
  color: #1b5e20;
  font-size: 1.2rem;
  line-height: 1.5;
}

.safety-reminder p strong {
  color: #2e7d32;
  font-weight: 700;
}

.safety-reminder ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: #1b5e20;
}

.safety-reminder ul li {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.safety-reminder ul li:before {
  content: "⚠ ";
  color: #4caf50;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* 맞춤 제조 및 환불 정책 안내 스타일 */
.custom-manufacturing-notice {
  margin: 2rem 1rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  border: 1px solid #cde3ff;
  border-left: 4px solid #2196f3;
  border-radius: 0.8rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-manufacturing-notice h3 {
  margin: 0 0 1.5rem 0;
  color: #1565c0;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.manufacturing-info {
  color: #1976d2;
}

.manufacturing-info > p {
  margin: 1rem 0;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #424242;
}

.manufacturing-info strong {
  color: #1565c0;
  font-weight: 700;
}

.manufacturing-process {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.5rem;
  border: 1px solid #e3f2fd;
}

.manufacturing-process h4 {
  margin: 0 0 1rem 0;
  color: #1565c0;
  font-size: 1.5rem;
  font-weight: 600;
}

.manufacturing-process ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: #424242;
}

.manufacturing-process ol li {
  margin: 0.8rem 0;
  font-size: 1.3rem;
  line-height: 1.5;
  color: #616161;
}

.refund-notice {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #fff3e0;
  border: 1px solid #ffcc02;
  border-left: 4px solid #ff9800;
  border-radius: 0.5rem;
}

.refund-notice h4 {
  margin: 0 0 1rem 0;
  color: #e65100;
  font-size: 1.5rem;
  font-weight: 600;
}

.refund-notice p {
  margin: 0.8rem 0;
  font-size: 1.3rem;
  line-height: 1.5;
  color: #bf360c;
}

.refund-notice p strong {
  color: #d84315;
  font-weight: 700;
}

.item-name {
  font-size: var(--font-size-medium-large);
  font-weight: 500;
}

.item-sub-wrapper {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--gray30);
}

/* 약재 클릭 가능 스타일 */
.herb-clickable {
  cursor: pointer;
  transition: all 0.3s ease;
}

.herb-clickable:hover {
  background-color: var(--gray10, #f8f9fa);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* .item__checkbox {
	border: 3px solid var(--gray30);
} */

.item__img {
  width: 15rem;
  height: 15rem;
  padding: 1rem;
}

.item__title {
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.item__title__name {
  font-size: 1.4rem;
  font-weight: bold;
}

.herb_info__tag {
  display: inline-block;
  margin: 0.5rem 1rem 0.5rem 0rem;
  /* border: 1px solid var(--primary); */
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background-color: var(--secondary50);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.item__info {
  flex: none;
  display: flex;
  align-items: center;
  width: 20rem;
}

.item__info__item {
  flex: 1;
  text-align: end;
  padding-right: 1rem;
}

.item__info__img {
  cursor: pointer;
}

.column-wrapper {
  display: flex;
  border-bottom: 1px solid var(--borderGreyThin);
}

.column__name {
  margin-right: auto;
  width: 10rem;
  margin-left: 1rem;
  padding-bottom: 0.5rem;
}

.column__info {
  flex: none;
  display: flex;
  align-items: center;
  width: 20rem;
  padding-bottom: 0.5rem;
}

.column__info__item {
  flex: 1;
  text-align: end;
  padding-right: 1rem;
}

.payment {
  display: flex;
  justify-content: flex-end;
}

.payment__title {
  flex: 2;
  text-align: end;
  font-weight: bold;
}

.payment__value {
  flex: 1;
  text-align: end;
}

.payment__info {
  text-align: end;
  color: var(--textGrey1);
}

.payment-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 3rem;
}

.create_order_form {
  flex-basis: 17.5%;
}

.btn_style {
  font-size: var(--font_medium);
  font-weight: 200;
  flex-basis: 100%;
}

.onetime_btn {
  /* background-color: var(--colorPrimaryLight); */
  background-color: var(--colorSecondary);
  background-color: var(--gray50);
  width: 100%;
  color: var(--gray800);
}

.empty_cart {
  font-size: var(--font_medium_large);
  font-weight: 400;
  color: var(--gray40);
}

.cart-hidden {
  display: none;
}

/* Treatment Explanation 섹션 스타일 */
.treatment-explanation-section {
  margin: 2rem 1rem 3rem 1rem;
  background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
  border: 1px solid #c8e6c9;
  border-left: 4px solid #4caf50;
  border-radius: 0.8rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.treatment-explanation {
  padding: 2rem;
}

.explanation-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.5rem;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.explanation-item:last-child {
  margin-bottom: 0;
}

.explanation-item h3 {
  margin: 0 0 1rem 0;
  color: #2e7d32;
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.explanation-item p {
  margin: 0;
  color: #1b5e20;
  font-size: 1.3rem;
  line-height: 1.6;
  text-align: left;
}

.explanation-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.explanation-item ul li {
  color: #1b5e20;
  font-size: 1.3rem;
  line-height: 1.6;
  text-align: left;
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.explanation-item ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2e7d32;
  font-weight: bold;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .treatment-explanation-section {
    margin: 1rem 0.5rem 2rem 0.5rem;
  }

  .treatment-explanation {
    padding: 1.5rem;
  }

  .explanation-item {
    padding: 1rem;
  }

  .explanation-item h3 {
    font-size: 1.4rem;
  }

  .explanation-item p {
    font-size: 1.2rem;
  }

  .explanation-item ul li {
    font-size: 1.2rem;
  }
}

/* Small laptops and tablets landscape (up to 1200px) */
@media only screen and (max-width: 1200px) {
  .item-wrapper {
    padding: 4rem 0;
  }

  .column-wrapper {
    margin-top: 3rem;
  }

  .item__img {
    width: 13rem;
    height: 13rem;
    border-radius: 1rem;
    padding: 0.5rem;
  }
}

/* Tablets portrait (up to 992px) */
@media only screen and (max-width: 992px) {
  .item-wrapper {
    padding: 4rem 2rem 0 2rem;
  }

  .item-sub-wrapper {
    gap: 1rem;
  }
  .column-wrapper {
    margin-top: 2.6rem;
  }

  .item__img {
    width: 12rem;
    height: 12rem;
  }

  .payment-btn {
    margin-bottom: 8rem;
  }

  /* 태블릿용 맞춤 제조 안내 스타일 */
  .custom-manufacturing-notice {
    margin: 1.5rem 0;
    padding: 1.5rem;
  }

  .custom-manufacturing-notice h3 {
    font-size: 1.6rem;
  }

  .manufacturing-info > p {
    font-size: 1.3rem;
  }

  .manufacturing-process h4 {
    font-size: 1.4rem;
  }

  .manufacturing-process ol li {
    font-size: 1.2rem;
  }

  .refund-notice h4 {
    font-size: 1.4rem;
  }

  .refund-notice p {
    font-size: 1.2rem;
  }
}

/* Large smartphones and small tablets (up to 768px) */
@media only screen and (max-width: 768px) {
  .item-wrapper {
    padding: 8rem 2rem 0 2rem;
  }

  .item-heading {
    font-size: 3rem;
  }

  .herb_info__tag {
    margin: 0.2rem 0.5rem 0.2rem 0;
    font-size: 1rem;
    padding: 0.2rem 0.6rem;
  }
  .column-wrapper {
    margin-top: 2.4rem;
  }

  .item__info,
  .column__info {
    width: 16rem;
  }

  .payment__title,
  .payment__value {
    font-size: 1.6rem;
  }

  .payment-btn > button {
    flex-basis: 30%;
  }

  /* 모바일용 경고 문구 스타일 */
  .analysis-disclaimer {
    margin: 1.5rem 0.5rem;
    padding: 1rem;
  }

  .disclaimer-box h4 {
    font-size: 1.3rem;
  }

  .disclaimer-box p {
    font-size: 1.1rem;
  }

  .fda-disclaimer {
    margin: 1rem 0.5rem;
    padding: 0.8rem;
  }

  .fda-disclaimer small {
    font-size: 1.4rem;
  } /* 모바일용 수술/시술 경고 문구 스타일 */
  .results-safety-check {
    margin: 1.5rem 0.5rem;
  }

  .safety-reminder {
    padding: 1rem;
  }

  .safety-reminder h4 {
    font-size: 1.3rem;
  }

  .safety-reminder p,
  .safety-reminder ul li {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 576px) {
  .item-sub-wrapper {
    gap: 0.5rem;
  }

  .item-wrapper {
    padding: 7rem 1rem 0 1rem;
  }

  .item-heading {
    font-size: 2.6rem;
  }

  .column-wrapper {
    margin-top: 2.2rem;
  }

  .herb_info__tag {
    margin: 0.1rem 0.2rem 0.1rem 0.2rem;
    font-size: 0.8rem;
    padding: 0.1rem 0.2rem;
  }
  .item__title__name {
    font-size: 1.4rem;
  }

  .item__img {
    width: 9rem;
    height: 9rem;
    border-radius: 1rem;
    padding: 0.5rem;
  }

  .item__info,
  .column__info {
    width: 30%;
  }

  .column__info__item,
  .column__name,
  .item__info__item,
  .payment__title,
  .payment__value {
    font-size: 1.4rem;
  }

  /* 작은 모바일용 경고 문구 스타일 */
  .analysis-disclaimer {
    margin: 1rem 0;
    padding: 0.8rem;
  }

  .disclaimer-box h4 {
    font-size: 1.2rem;
  }

  .disclaimer-box p {
    font-size: 1.4rem;
  }

  .fda-disclaimer {
    margin: 0.8rem 0;
    padding: 0.6rem;
  }

  .fda-disclaimer small {
    font-size: 1.4rem;
  }

  /* 작은 모바일용 수술/시술 경고 문구 스타일 */
  .results-safety-check {
    margin: 1rem 0;
  }

  .safety-reminder {
    padding: 0.8rem;
  }

  .safety-reminder h4 {
    font-size: 1.2rem;
  }

  .safety-reminder p,
  .safety-reminder ul li {
    font-size: 1.4rem;
  }

  .safety-reminder ul {
    padding-left: 1.2rem;
  }

  /* 작은 모바일용 맞춤 제조 안내 스타일 */
  .custom-manufacturing-notice {
    margin: 1rem 0;
  }

  .custom-manufacturing-notice h3 {
    font-size: 1.4rem;
  }

  .manufacturing-info h4 {
    font-size: 1.2rem;
  }

  .manufacturing-info p,
  .manufacturing-process ol li {
    font-size: 1rem;
  }

  .refund-notice h4 {
    font-size: 1.2rem;
  }

  .refund-notice p {
    font-size: 1rem;
  }
}

/* Guest Email Section - Save Account */
.guest-email-section {
  margin: 2rem 1rem;
}

.guest-email-card {
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
  border: 1px solid #cde3ff;
  border-left: 4px solid #2196f3;
  border-radius: 0.8rem;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.guest-email-title {
  margin: 0 0 1rem 0;
  color: #1565c0;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.guest-email-subtitle {
  margin: 0 0 2rem 0;
  color: #424242;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
}

.save-benefits {
  margin: 2rem 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.5rem;
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.benefit-icon {
  font-size: 1.6rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.benefit-text {
  color: #1976d2;
  font-size: 1.3rem;
  font-weight: 500;
}

/* Save to Account Button */
.save-to-account-section {
  margin-top: 2rem;
  text-align: center;
}

.save-to-account-btn {
  display: inline-block;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  padding: 1.2rem 2.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
  min-width: 250px;
}

.save-to-account-btn:hover {
  background: linear-gradient(135deg, #38a169, #2f855a);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
  text-decoration: none;
  color: white;
}

/* 모바일 반응형 스타일 */
@media (max-width: 768px) {
  .guest-email-section {
    margin: 1.5rem 0.5rem;
  }

  .guest-email-card {
    padding: 1.5rem;
  }

  .guest-email-title {
    font-size: 1.6rem;
  }

  .guest-email-subtitle {
    font-size: 1.2rem;
  }

  .benefit-item {
    margin: 0.8rem 0;
    padding: 0.6rem;
  }

  .benefit-icon {
    font-size: 1.4rem;
    margin-right: 0.8rem;
  }

  .benefit-text {
    font-size: 1.2rem;
  }

  .save-to-account-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.3rem;
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .guest-email-card {
    padding: 1rem;
  }

  .guest-email-title {
    font-size: 1.4rem;
  }

  .guest-email-subtitle {
    font-size: 1.1rem;
  }

  .benefit-text {
    font-size: 1.1rem;
  }

  .save-to-account-btn {
    font-size: 1.2rem;
  }
}

/* Print Button Styles */
.print-btn-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 1rem;
}

.print-cart-btn {
  background: linear-gradient(135deg, #7ba05b, #6a9050);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 1.2rem 2.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(123, 160, 91, 0.3);
  min-width: 200px;
  text-align: center;
}

.print-cart-btn:hover {
  background: linear-gradient(135deg, #6a9050, #5a8040);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123, 160, 91, 0.4);
  color: white;
}

.print-cart-btn:active {
  transform: translateY(0);
}

/* Mobile styles for print button */
@media (max-width: 768px) {
  .print-btn-wrapper {
    margin: 1.5rem 0.5rem;
  }

  .print-cart-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.3rem;
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .print-btn-wrapper {
    margin: 1rem 0.5rem;
  }

  .print-cart-btn {
    font-size: 1.2rem;
    padding: 0.9rem;
  }
}
