/* =========================
   Package Type Page
========================= */

/* FV */
.pkg-fv {
  background: linear-gradient(to right, #7a1848, #064334);
  color: #fff;
  text-align: center;
  padding: 113px 20px;
}

.pkg-fv-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.02em;
}


/* =========================
   Available Package Types
========================= */

.pkg-types-section {
  background: #fff;
  padding: 90px 20px;
}

.pkg-types-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 52px;
  align-items: center;
}

.pkg-types-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pkg-types-title {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin: 0;
}

.pkg-types-desc {
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  margin: 0;
}


/* Category section */
.pkg-category {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.pkg-category-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 10px;
}

.pkg-category-badge span {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  padding: 11px 42px;
  border-radius: 60px;
  display: block;
  white-space: nowrap;
  text-align: center;
}

.pkg-category-badge--green span {
  background: #004035;
  min-width: 184px;
}

.pkg-category-badge--pink span {
  background: #a93a68;
  min-width: 248px;
}

.pkg-category-arrow {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #004035;
  margin-top: 0px;
}

.pkg-category-arrow--pink {
  border-top-color: #a93a68;
}


/* Package cards grid */
.pkg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  width: 100%;
}

.pkg-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 289px;
  flex-shrink: 0;
}


/* Card image area */
.pkg-card-image {
  width: 289px;
  height: 290px;
  overflow: hidden;
  border-radius: 4px;
  background: #f5f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pkg-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* Card name label */
.pkg-card-name {
  font-size: 16px;
  font-weight: bold;
  color: #143e37;
  margin: 0;
  line-height: 1.3;
}


/* =========================
   Info Section (Nutrition + Label)
========================= */

.pkg-info-section {
  background: #fff;
  padding: 60px 20px;
}

.pkg-info-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #f8f9fa;
  border-radius: 0;
  padding: 36px 66px 28px 66px;
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  justify-content: center;
  align-items: stretch;
}

.pkg-info-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 0 24px 0 rgba(0,0,0,0.05);
  padding: 26px 32px 36px;
  width: 516px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-sizing: border-box;
}

.pkg-info-card-title {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin: 0;
  line-height: 1.2;
}


/* Nutrition table */
.pkg-nutrition-table-wrap {
  flex: 1;
  overflow-x: auto;
}

.pkg-nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.pkg-nutrition-table th,
.pkg-nutrition-table td {
  border: 1px solid #ccc;
  padding: 11px 14px;
  text-align: left;
  white-space: nowrap;
  line-height: 1.2;
}

.pkg-nutrition-table thead th {
  background: #f7f7f7;
  font-weight: bold;
}

.pkg-nutrition-table thead th:first-child {
  width: 68%;
  border-right: none;
}

.pkg-nutrition-table thead th:last-child {
  border-left: 1px solid #ccc;
}

.pkg-nutrition-table tbody td {
  font-weight: 500;
}

.pkg-nutrition-table tbody tr:last-child td {
  border-bottom: 1px solid #ccc;
}


/* Label Support */
.pkg-label-support {
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: 100%;
}

.pkg-label-support-desc {
  font-size: 14px;
  color: #000;
  line-height: 1.4;
  margin: 0;
}

.pkg-label-images-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.pkg-label-images {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  flex: 1;
}

.pkg-label-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
}

.pkg-label-thumb {
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pkg-label-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.pkg-label-photo {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 4px;
  overflow: hidden;
}

.pkg-label-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


/* =========================
   Sample Section
========================= */

.pkg-sample-section {
  background: #fff;
  padding: 50px 20px;
}

.pkg-sample-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.pkg-sample-title {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin: 0;
}

.pkg-sample-desc {
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}



/* Sample button */
.pkg-sample-btn {
  display: flex;
  align-items: center;
  gap: 49px;
  height: 76px;
  width: 381px;
  padding: 10px 12px;
  border-radius: 70.5px;
  border: 2px solid #124137;
  background: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  color: #004035;
  letter-spacing: 0.02em;
  box-sizing: border-box;
  flex-shrink: 0;
}

.pkg-sample-btn-icon {
  width: 54px;
  height: 54px;
  background: #124137;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 9px;
  box-sizing: border-box;
}

.pkg-sample-btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


/* =========================
   OEM Banner
========================= */

.pkg-oem-banner {
  background: #fff;
  padding: 30px 20px;
}

.pkg-oem-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #f8f9fa;
  height: 324px;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 185px 0 163px;
  box-sizing: border-box;
  overflow: hidden;
}

.pkg-oem-banner-images {
  flex-shrink: 0;
}

.pkg-oem-img {
  width: 180px;
  height: auto;
  display: block;
  object-fit: contain;
}

.pkg-oem-banner-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 36px;
  min-width: 0;
}

.pkg-oem-banner-text {
  flex: 1;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  line-height: 1.4;
  margin: 0;
}

.pkg-oem-arrow {
  flex-shrink: 0;
  width: 116px;
  height: 116px;
  display: block;
}

.pkg-oem-arrow img {
  width: 80%;
  height: 80%;
  display: block;
}


/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
  .pkg-info-container {
    padding: 30px 20px;
  }

  .pkg-info-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .pkg-fv {
    padding: 80px 20px;
  }

  .pkg-fv-title {
    font-size: 20px;
  }

  .pkg-types-section {
    padding: 60px 16px;
  }

  .pkg-types-desc br {
    display: none;
  }

  .pkg-card {
    width: calc(50% - 7px);
    min-width: 150px;
  }

  .pkg-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .pkg-category-badge span {
    font-size: 18px;
    padding: 10px 28px;
  }

  .pkg-info-section {
    padding: 10px 16px;
  }

  .pkg-info-container {
    padding: 20px 16px;
  }

  .pkg-info-card {
    width: 100%;
    padding: 20px 16px;
  }

  .pkg-info-card-title {
    font-size: 18px;
  }

  .pkg-nutrition-table {
    font-size: 13px;
  }

  .pkg-nutrition-table th,
  .pkg-nutrition-table td {
    padding: 8px 10px;
    white-space: normal;
  }

  .pkg-label-images {
    flex-direction: column;
  }

  .pkg-label-stack {
    flex: none;
    width: 100%;
  }

  .pkg-label-photo {
    flex: none;
    width: 100%;
  }

  .pkg-label-photo img {
    height: auto;
  }

  .pkg-sample-section {
    padding: 40px 16px;
  }

  .pkg-sample-btn {
    width: 100%;
    max-width: 345px;
    gap: 24px;
    height: 64px;
    font-size: 17px;
    padding: 8px 16px;
  }

  .pkg-oem-banner {
    padding: 20px 16px;
  }

  .pkg-oem-banner-inner {
    height: auto;
    padding: 22px 24px;
    gap: 20px;
    flex-direction: column;
  }

  .pkg-oem-img {
    width: 190px;
  }

  .pkg-oem-banner-body {
    gap: 16px;
    width: 100%;
    justify-content: space-between;
  }

  .pkg-oem-banner-text {
    font-size: 16px;
    text-align: left;
  }

  .pkg-oem-br {
    display: none;
  }

  .pkg-oem-banner-body {
    justify-content: space-between;
    gap: 8px;
  }

  .pkg-oem-arrow {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .pkg-card {
    width: calc(50% - 7px);
    min-width: 0;
  }

  .pkg-card-image {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .pkg-nutrition-table {
    font-size: 12px;
  }

  .pkg-nutrition-table th,
  .pkg-nutrition-table td {
    padding: 7px 8px;
    white-space: normal;
    word-break: break-word;
  }

  .pkg-nutrition-table-wrap {
    overflow-x: visible;
  }
}
