/* product-pharmaceuticals.css */

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

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

/* Section Container */
.contents-product-module {
  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);
}

.contents-product-module__wrapper {
  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;
}

/* 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-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem; /* 80px */
  height: 5rem; /* 80px */
  background-color: var(--logogreen);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.product-module__toggle-btn: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 {
  width: 2.25rem;
  height: 0.25rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.toggle-icon--close::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* 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);
}

/* Image */
.product-module__image-wrapper {
  display: grid;
  place-items: start;
  flex-shrink: 0;
}

.product-module__image {
  width: 25rem; /* 400px */
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

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

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

.product-info-list__item {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.product-info-list__label {
  flex-shrink: 0;
  width: 7.5rem; /* 120px */
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.5;
  color: var(--color-black);
}

.product-info-list__value {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.product-info-list__value ul {
  margin: 0;
  padding: 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.product-info-list__value li {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.5;
  color: var(--color-black);
}

/* Disclaimer */
.product-module__disclaimer {
  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) {
  .contents-product-module {
    padding-top: 6rem;
    padding-bottom: 8rem;
  }

  .contents-product-module__wrapper {
    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-btn {
    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: 20rem;
  }

  .product-module__info {
    width: 100%;
  }

  .product-info-list__item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .product-info-list__label {
    width: 100%;
    font-weight: 600;
  }

  .product-module__disclaimer {
    height: auto;
    padding-top: 1.5rem;
    text-align: center;
    justify-content: center;
  }
}

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

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

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

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

  .product-module__toggle-btn {
    width: 3.5rem;
    height: 3.5rem;
  }

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

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

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

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

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

  .product-info-list {
    gap: 1.25rem;
  }

  .product-info-list__label {
    font-size: 1rem;
  }

  .product-info-list__value li {
    font-size: 0.9375rem;
  }

  .product-module__disclaimer {
    font-size: 0.875rem;
    padding-top: 1rem;
  }
}
