/* product-regenerative-biomaterials.css */

/* ========== 01-header / 02-navbar ========== */
/* Uses common.css .page-header and .navbar-index styles */

/* ========== 03-product-contents ========== */

/* Section Container */
.product-contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 9.375rem; /* 150px */
  padding-bottom: 15.625rem; /* 250px */
  background-color: var(--color-white);
}

.product-contents__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0 clamp(1.25rem, calc((100vw - 80rem) / 2), 20rem);
  box-sizing: border-box;
  border-bottom: 1px solid var(--color-border-light);
}

/* Product Module */
.product-module {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.product-module:last-child {
  border-bottom: 1px solid var(--color-border);
}

/* Product Module Header */
.product-module__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 3.75rem 0; /* 60px */
  background-color: var(--color-white);
}

.product-module__title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem; /* 6px */
  flex: 1;
  min-width: 0;
}

.product-module__title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.5rem; /* 40px */
  line-height: 1.3;
  letter-spacing: -0.05rem; /* -0.8px */
  color: var(--darkgreen);
  margin: 0;
}

.product-module__subtitle {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 1.375rem; /* 22px */
  line-height: 1.4;
  letter-spacing: -0.0275rem; /* -0.44px */
  color: var(--logogreen);
  text-transform: capitalize;
  margin: 0;
  padding: 0 0.25rem; /* 4px */
}

/* Toggle Button */
.product-module__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem; /* 80px */
  height: 5rem; /* 80px */
  border-radius: 50%;
  background-color: var(--logogreen);
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.product-module__toggle:hover {
  transform: scale(1.05);
}

.toggle-icon {
  position: relative;
  width: 2.25rem; /* 36px */
  height: 2.25rem; /* 36px */
}

.toggle-icon::before,
.toggle-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-white);
  transition: transform 0.3s ease;
}

.toggle-icon::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.25rem;
  height: 0.25rem;
  border-radius: 0.125rem;
}

.toggle-icon::after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleY(0);
  width: 0.25rem;
  height: 2.25rem;
  border-radius: 0.125rem;
}

.product-module__toggle[aria-expanded="false"] .toggle-icon::after {
  transform: translate(-50%, -50%) scaleY(1);
}

/* Product Module Content */
.product-module__content {
  display: flex;
  align-items: flex-start;
  gap: 5rem; /* 80px */
  width: 100%;
  padding-bottom: 5rem; /* 80px */
  background-color: var(--color-white);
  overflow: hidden;
  max-height: 62.5rem;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease, opacity 0.3s ease;
  opacity: 1;
}

.product-module__content.collapsed {
  max-height: 0;
  padding-bottom: 0;
  opacity: 0;
}

/* Product Image */
.product-module__image {
  flex-shrink: 0;
  width: 25rem; /* 400px */
  max-width: 100%;
}

.product-module__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Product Details */
.product-module__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.875rem; /* 30px */
  flex: 1;
  min-width: 0;
}

/* Product Info (Definition List) */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.875rem; /* 30px */
  width: 100%;
  margin: 0;
}

.product-info__row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.5;
  color: var(--color-black);
}

.product-info__label {
  flex-shrink: 0;
  width: 7.5rem; /* 120px */
  margin: 0;
}

.product-info__value {
  flex: 1;
  margin: 0;
}

.product-info__value ul {
  margin: 0;
  padding-left: 1.5625rem; /* 25px */
  list-style-type: disc;
}

.product-info__value li {
  margin-bottom: 0;
  line-height: 1.5;
}

/* Notice */
.product-module__notice {
  width: 100%;
  height: 5rem; /* 80px */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.5;
  color: var(--logogreen);
  text-align: right;
  margin: 0;
}

/* ==========================================================================
   Responsive - Tablet (max-width: 1199px)
   ========================================================================== */
@media (max-width: 1199px) {
  .product-contents {
    padding-top: 6rem;
    padding-bottom: 10rem;
  }

  .product-contents__inner {
    padding: 0 5%;
  }

  .product-module__header {
    padding: 2.5rem 0;
  }

  .product-module__title {
    font-size: 2rem;
  }

  .product-module__subtitle {
    font-size: 1.125rem;
  }

  .product-module__toggle {
    width: 4rem;
    height: 4rem;
  }

  .toggle-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .toggle-icon::before {
    width: 1.75rem;
  }

  .toggle-icon::after {
    height: 1.75rem;
  }

  .product-module__content {
    flex-direction: column;
    gap: 2.5rem;
    padding-bottom: 3rem;
  }

  .product-module__image {
    width: 100%;
    max-width: 25rem;
  }

  .product-module__details {
    width: 100%;
    gap: 1.5rem;
  }

  .product-info {
    gap: 1.5rem;
  }

  .product-info__row {
    font-size: 1rem;
  }

  .product-info__label {
    width: 6.5rem;
  }

  .product-module__notice {
    height: auto;
    padding: 1rem 0;
    font-size: 0.9375rem;
  }
}

/* ==========================================================================
   Responsive - Mobile (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .product-contents {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }

  .product-module__header {
    padding: 1.5rem 0;
  }

  .product-module__title-group {
    gap: 0.25rem;
  }

  .product-module__title {
    font-size: 1.5rem;
    letter-spacing: -0.03rem;
  }

  .product-module__subtitle {
    font-size: 1rem;
    padding: 0;
  }

  .product-module__toggle {
    width: 3rem;
    height: 3rem;
  }

  .toggle-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .toggle-icon::before {
    width: 1.25rem;
    height: 0.1875rem;
  }

  .toggle-icon::after {
    width: 0.1875rem;
    height: 1.25rem;
  }

  .product-module__content {
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .product-module__image {
    width: 100%;
    max-width: 100%;
  }

  .product-info {
    gap: 1.25rem;
  }

  .product-info__row {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9375rem;
  }

  .product-info__label {
    width: 100%;
    font-weight: 600;
    color: var(--darkgreen);
  }

  .product-info__value ul {
    padding-left: 1.25rem;
  }

  .product-module__notice {
    font-size: 0.8125rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
  }
}
