/* Product sections share typography with Home; all content and media stay per page. */
.product-section {
  padding-block: 48px;
}

.product-section .home-section-heading,
.product-section .home-section-heading-left {
  margin-bottom: 28px;
  text-align: center;
}

.product-section .home-section-eyebrow {
  display: none !important;
}

.product-section i {
  color: inherit;
}

.product-introduction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.product-introduction-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.product-introduction-photo {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  margin: 0;
  border-radius: 16px;
  background: #561116;
}

.product-introduction-photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-introduction-photo::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, #670d16e8);
  pointer-events: none;
}

.product-introduction-photo figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 28px 26px;
  max-width: 80%;
  color: #fff;
}

.product-section .product-photo-title {
  margin-bottom: 10px;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.product-photo-summary,
.product-section .product-photo-summary p {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.product-photo-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-introduction-content {
  min-width: 0;
  padding: 28px;
  border: 1px solid #f5eded;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 22px #4b172008;
}

.product-section .product-introduction-content h2 {
  font-family: var(--font-family);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: #0b1426;
  margin-bottom: 22px;
}

.product-faq {
  display: grid;
  gap: 12px;
}

.product-faq-item {
  overflow: hidden;
  border: 1px solid #f5e9ea;
  border-radius: 10px;
  background: #fff;
}

.product-section .product-faq-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: var(--home-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.product-faq .product-faq-button::before,
.product-faq .product-faq-button.collapsed::before {
  display: none;
  content: none;
}

.product-faq .product-faq-button::after {
  display: block;
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-left: auto;
  border: solid var(--home-red);
  border-width: 0 1.5px 1.5px 0;
  background: none !important;
  transform: rotate(45deg);
  transition: none;
}

.product-faq .product-faq-button:not(.collapsed)::after {
  transform: rotate(225deg);
}

.product-faq-button:not(.collapsed) {
  background: #fff8f8;
}

.product-faq-number {
  display: grid;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #ffe9ec;
  color: #e60012;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.product-faq .product-faq-question {
  flex: 1;
  min-width: 0;
  color: var(--home-ink);
  text-wrap: pretty;
}

.product-faq-answer {
  padding: 4px 18px 18px;
}

.product-section .product-faq-answer p {
  color: var(--home-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
}

.product-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-feature-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #f4e9eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 24px #4b172008;
}

.product-feature-image {
  display: block;
  overflow: hidden;
  border: 1px solid #e8eef5;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

a.product-feature-image {
  cursor: zoom-in;
}

.product-feature-card:hover .product-feature-image {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
  border-color: #fecdd3;
}

.product-feature-image > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.product-feature-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.product-feature-icon,
.product-benefit-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  background: #fff0f2;
  color: #ed0015;
}

.product-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
}

.product-feature-icon > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.product-section .product-feature-caption h3 {
  color: var(--home-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}

.product-feature-description {
  margin-top: 12px;
}

.product-section .product-feature-description p {
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

.product-benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: stretch;
}

.product-benefits-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.product-benefits-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 620px;
  border-radius: 18px;
  object-fit: cover;
}

.product-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-benefit-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 24px 20px;
  border: 1px solid #f2eaec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 24px #4b172008;
}

.product-benefit-icon {
  width: 66px;
  height: 72px;
  border-radius: 18px;
  font-size: 32px;
}

.product-benefit-icon > img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.product-section .product-benefit-card h3 {
  color: var(--home-ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: pretty;
}

.product-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: start;
  padding: 22px;
  border: 1px solid #f2e5e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 24px #4b172008;
}

.product-project-image {
  display: block;
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
}

.product-project-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.85;
  object-fit: contain;
}

.product-section .product-project-card h3 {
  margin: 20px 0 14px;
  color: var(--home-ink);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  text-wrap: pretty;
}

.product-project-card h3 a {
  color: inherit;
}

.product-project-card h3 a:hover {
  color: #d9000a;
}

.product-section .product-project-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 22px;
  color: #78808e;
  font-size: 18px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-project-more {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  margin-top: auto;
  color: #e60012;
  font-size: 19px;
  line-height: 1.5;
}

.product-project-more:hover { color: #b80012; }

@media (max-width: 1100px) {
  .product-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-benefit-card { padding: 20px 16px; gap: 14px; }
  .product-benefit-icon { width: 52px; height: 60px; font-size: 27px; }
  .product-section .product-benefit-card h3 { font-size: 16px; }
  .product-introduction-content { padding: 22px; }
}

@media (max-width: 900px) {
  .product-section { padding-block: 36px; }
  .product-introduction-layout { grid-template-columns: minmax(0, 1fr); }
  .product-introduction-photo, .product-introduction-photo > img { min-height: 0; height: 430px; }
  .product-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-benefits-layout { grid-template-columns: minmax(0, 1fr); }
  .product-benefits-photo { min-height: 0; height: 400px; }
  .product-section .product-project-card h3 { font-size: 22px; }
  .product-section .product-project-excerpt { font-size: 16px; }
}

@media (max-width: 600px) {
  .product-section { padding-block: 30px; }
  .product-introduction-photo, .product-introduction-photo > img { height: 380px; }
  .product-introduction-photo figcaption { inset: auto 20px 20px; max-width: none; }
  .product-section .product-photo-title { font-size: 30px; }
  .product-photo-summary, .product-section .product-photo-summary p { font-size: 14px; }
  .product-introduction-content { padding: 20px 16px; }
  .product-section .product-faq-button { gap: 10px; padding: 14px 12px; font-size: 14px; }
  .product-faq-number { width: 28px; height: 28px; font-size: 12px; }
  .product-features-grid, .product-projects-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .product-benefits-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .product-benefits-photo { height: 320px; }
  .product-benefit-card { padding: 20px; }
  .product-benefit-icon { width: 60px; height: 64px; font-size: 28px; }
  .product-section .product-benefit-card h3 { font-size: 17px; }
  .product-project-card { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-faq .collapsing { transition: none; }
}

/* ==========================================================================
   PRODUCT HERO BANNER CTA BUTTON
   ========================================================================== */
.page-products .banner__content {
  margin-bottom: 36px !important;
}

.banner-cta-wrap {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 34px;
  border: 1.5px solid #ffffff !important;
  border-radius: 9999px;
  background: #ffffff !important;
  color: #c32423 !important;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.banner-cta-btn span {
  color: #c32423 !important;
  font-weight: 700;
}

.banner-cta-btn .cta-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #c32423 !important;
  transition: transform 0.25s ease;
}

.banner-cta-btn:hover {
  background: #ffffff !important;
  color: #a31211 !important;
  border-color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 0 20px rgba(255, 255, 255, 0.35);
  transform: translateY(-3px) scale(1.02);
}

.banner-cta-btn:hover span,
.banner-cta-btn:hover .cta-arrow {
  color: #a31211 !important;
}

.banner-cta-btn:hover .cta-arrow {
  transform: translateX(6px);
}

.banner-cta-btn:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
  .page-products .banner__content {
    margin-bottom: 28px !important;
  }
  .banner-cta-wrap {
    margin-top: 24px;
    max-width: 100%;
    justify-content: flex-start;
  }
  .banner-cta-btn {
    padding: 11px 28px;
    font-size: 16px;
    gap: 10px;
  }
}

@media (max-width: 575px) {
  .page-products .banner__content {
    margin-bottom: 20px !important;
  }
  .banner-cta-wrap {
    margin-top: 20px;
    max-width: 100%;
    justify-content: flex-start;
  }
  .banner-cta-btn {
    padding: 10px 24px;
    font-size: 15px;
    gap: 8px;
  }
  .banner-cta-btn .cta-arrow {
    width: 16px;
    height: 16px;
  }
}
