/* Product Service Page Specific Stylesheet */

.product-page-wrapper {
  min-height: 100vh;
  height: auto !important;
  overflow-y: auto !important;
}

/* Main Product Content Layout */
.product-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-top: 44px;
  margin-bottom: 80px;
}

/* SECTION 1: HERO & INTRO (9 Columns) */
.product-hero-section {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: var(--grid-gutter);
  align-items: start;
}

.product-label-col {
  grid-column: 1 / 4;
}

.service-code {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-red);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.product-hero-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.product-hero-subhead {
  font-size: 13px;
  font-weight: 600;
  color: #555555;
  font-style: italic;
}

.product-intro-col {
  grid-column: 4 / 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 24px;
}

.product-intro-text {
  font-size: 14.5px;
  font-weight: 400;
  color: #444444;
  line-height: 1.7;
  letter-spacing: 0.01em;
  max-width: 95%;
}

/* SECTION 2: SERVICES & PRICING TABLE (9 Columns) */
.product-section {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: var(--grid-gutter);
  align-items: start;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.section-label-col {
  grid-column: 1 / 4;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.01em;
}

.section-content-col {
  grid-column: 4 / 10;
  display: flex;
  flex-direction: column;
}

.pricing-table {
  display: flex;
  flex-direction: column;
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--grid-gutter);
  padding: 16px 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.35);
  font-size: 12.5px;
  align-items: center;
}

.pricing-row:first-child {
  padding-top: 0;
}

.pricing-name {
  grid-column: 1 / 3;
  font-weight: 700;
  color: var(--color-dark);
}

.pricing-desc {
  grid-column: 3 / 6;
  font-weight: 400;
  color: #666666;
  font-style: italic;
}

.pricing-price {
  grid-column: 6 / 7;
  font-weight: 700;
  color: var(--color-dark);
  justify-self: end;
  white-space: nowrap;
}

.package-summary-box {
  margin-top: 32px;
  padding: 20px 24px;
  background-color: rgba(255, 1, 56, 0.05);
  border-left: 3px solid var(--color-red);
}

.package-summary-text {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

.services-catalog-link {
  display: block;
  width: fit-content;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-dark);
  text-decoration: underline;
  text-decoration-color: rgba(43, 43, 43, 0.4);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.services-catalog-link:hover {
  color: var(--color-red);
  text-decoration-color: var(--color-red);
}

.cta-link-wrapper {
  margin-top: 20px;
}

.product-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-red);
  text-decoration: none;
  border-bottom: 2px solid var(--color-red);
  padding-bottom: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-cta-btn:hover {
  transform: translateX(4px);
  opacity: 0.9;
}

.cta-arrow {
  font-size: 18px;
  line-height: 1;
}

/* SECTION 3: GALLERY GRID (9 Columns) - Temporarily Hidden */
.product-gallery-section {
  display: none !important;
  width: 100%;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gutter);
}

.gallery-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.04);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

/* Mobile & Tablet Responsive Rules */
@media (max-width: 991px) {
  .product-content {
    gap: 48px;
    padding-top: 24px;
  }

  .product-hero-section,
  .product-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 28px;
  }

  .product-label-col,
  .product-intro-col,
  .section-label-col,
  .section-content-col {
    width: 100%;
  }

  .product-intro-col {
    padding-top: 0;
  }

  .product-hero-title {
    font-size: 28px;
  }

  .product-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0;
  }

  .pricing-price {
    align-self: flex-end;
    color: var(--color-red);
  }
}
