/* ==========================================================================
   Products (P00) — /products/
   Page-specific layout. Shared tokens and components live in main.css.
   ========================================================================== */

.jn-products {
  background: var(--jn-color-bg);
}

@media(max-width:640px) {
  .jn-products .jn-category-card { aspect-ratio: 1/1!important; }
}

/* --------------------------------------------------------------------------
   S01 Header
   -------------------------------------------------------------------------- */
.pd-head {
  padding: 9.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 84% 16%, rgba(198, 161, 91, 0.16), transparent 34%),
    var(--jn-color-surface-soft);
}

.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30, 34, 40, 0.46);
}

.pd-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pd-breadcrumb a:hover {
  color: var(--jn-color-gold);
}

.pd-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.pd-head__title {
  margin: 0 0 1.5rem;
  font-family: var(--jn-font-serif);
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--jn-color-text);
}

.pd-head__lede {
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(30, 34, 40, 0.72);
}

.pd-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.pd-head__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  background: var(--jn-color-surface-muted);
  box-shadow: 0 30px 70px rgba(30, 34, 40, 0.14);
}

.pd-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   S02 Category Entries
   -------------------------------------------------------------------------- */
.pd-cats__title {
  margin-bottom: 3rem;
}

/* --------------------------------------------------------------------------
   S03 E-catalog
   -------------------------------------------------------------------------- */
.pd-ecat {
  padding: 5rem 0;
  background: var(--jn-color-steel);
}

.pd-ecat__head {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.pd-ecat__title {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.pd-ecat__text {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  text-wrap: balance;
}

.pd-ecat__foot {
  margin: 2.25rem 0 0;
  text-align: center;
}

.pd-ecat__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  background: var(--jn-gradient-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease;
}

.pd-ecat__btn:hover {
  background: var(--jn-gradient-primary-hover);
}

.pd-ecat__slider {
  position: relative;
}

.pd-ecat__viewport {
  overflow: hidden;
  border-radius: 10px;
}

.pd-ecat__track {
  display: flex;
  transition: transform 0.6s ease-out;
}

.pd-ecat__slide {
  flex: 0 0 25%;
  width: 25%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 0 0.4rem;
  box-sizing: border-box;
}

.pd-ecat__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--jn-color-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pd-ecat__arrow:hover {
  background: var(--jn-color-gold);
  color: #fff;
}

.pd-ecat__arrow svg {
  width: 1.15rem;
  height: 1.15rem;
}

.pd-ecat__arrow--prev {
  left: 0.75rem;
}

.pd-ecat__arrow--next {
  right: 0.75rem;
}

.pd-ecat__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.pd-ecat__dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.pd-ecat__dots button.is-active {
  width: 1.25rem;
  background: var(--jn-color-gold);
}

@media (max-width: 1023px) {
  .pd-ecat__slide {
    flex-basis: 50%;
    width: 50%;
  }
}

@media (max-width: 767px) {
  .pd-ecat__slide {
    flex-basis: 100%;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   S04 Advantages
   -------------------------------------------------------------------------- */
.pd-adv__title {
  margin-bottom: 3rem;
  text-align: center;
}

.pd-adv__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pd-adv-card {
  padding: 1.5rem;
  border: 1px solid var(--jn-color-border);
  border-radius: 10px;
  background: #fff;
}

.pd-adv-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.12);
  color: var(--jn-color-gold);
}

.pd-adv-card__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.pd-adv-card h3 {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--jn-color-text);
}

.pd-adv-card p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(30, 34, 40, 0.66);
}

/* --------------------------------------------------------------------------
   S05 Company Overview
   -------------------------------------------------------------------------- */
.pd-about {
  background: var(--jn-color-surface-soft);
}

.pd-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pd-about__copy p {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(30, 34, 40, 0.72);
  max-width: 34rem;
  text-wrap: balance;
}

.pd-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.pd-about__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 12px;
  background: var(--jn-color-surface-muted);
}

.pd-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   S06 Cooperation Flow
   -------------------------------------------------------------------------- */
.pd-flow__title {
  margin-bottom: 3rem;
}

.pd-flow__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-flow__list li {
  border-top: 1px solid var(--jn-color-border);
  padding-top: 1.5rem;
}

.pd-flow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.12);
  color: var(--jn-color-gold);
}

.pd-flow__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pd-flow__name {
  display: block;
  font-family: var(--jn-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--jn-color-text);
}

.pd-flow__text {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(30, 34, 40, 0.66);
}

/* --------------------------------------------------------------------------
   S07 Inquiry Form
   -------------------------------------------------------------------------- */
.pd-cta {
  padding: 5.5rem 0;
  background: var(--jn-color-steel);
}

.pd-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pd-cta__title {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.pd-cta__text {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 26rem;
}

.pd-cta__benefits {
  margin-top: 2rem;
  max-width: 26rem;
}

.pd-cta__form {
  padding: 2rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .pd-head {
    padding-top: 8.5rem;
  }

  .pd-head__grid,
  .pd-ecat__grid,
  .pd-about__grid,
  .pd-cta__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd-head__media,
  .pd-about__media {
    max-width: 42rem;
  }


  .pd-adv__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-flow__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  .pd-head {
    padding: 7.5rem 0 4rem;
  }

  .pd-head__actions .jn-button {
    width: 100%;
  }


  .pd-adv__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd-cta {
    padding: 4rem 0;
  }

  .pd-cta__form {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jn-products *,
  .jn-products *::before,
  .jn-products *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
