/* APS manufacturer page components.
 * Loaded on single product pages after assets/css/style.css.
 * Add these classes via each section's Extra Class field:
 * aps-manufacturer-opening: introduction, checklist, badges and page index
 * aps-process-contained: contained process cards
 * aps-cards-photos: landscape photographic cards
 * aps-cards-four: four columns from 1100px
 * aps-cards-icons: centred cards with decorative icons
 * aps-faq-borderless: FAQ without bottom border
 * Keep page-specific copy, anchor IDs and icon choices in page fields.
 */

body.single-products .aps-manufacturer-opening .serviceOpeningBlock {
  padding: 64px 0;
}

@media (max-width: 767px) {
  body.single-products .aps-manufacturer-opening .serviceOpeningBlock {
    padding: 48px 0;
  }
}

/* Feature list */
body.single-products .aps-manufacturer-opening .sobLeft ul {
  list-style: none;
  width: fit-content;
  max-width: 100%;
  margin: 24px auto;
  padding: 0;
  display: grid;
  gap: 14px;
}

body.single-products .aps-manufacturer-opening .sobLeft li {
  display: grid;
  grid-template-columns: 22px auto;
  align-items: start;
  gap: 8px;
  padding: 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  color: #212529;
  text-align: left;
}

body.single-products .aps-manufacturer-opening .sobLeft li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e63e2e;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

/* Page index */
body.single-products .aps-manufacturer-opening .aps-page-index {
  max-width: 980px;
  margin: 32px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  background: #fff;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

body.single-products .aps-manufacturer-opening .aps-page-index strong {
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
}

body.single-products .aps-manufacturer-opening .aps-page-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

body.single-products .aps-manufacturer-opening .aps-page-index a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #f5f7fa;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}

body.single-products .aps-manufacturer-opening .aps-page-index a:hover,
body.single-products .aps-manufacturer-opening .aps-page-index a:focus {
  background: #e8eef5;
  color: #005baa;
}

body.single-products .aps-jump-anchor {
  display: block;
  position: relative;
  top: -110px;
  visibility: hidden;
}

@media (max-width: 767px) {
  body.single-products .aps-manufacturer-opening .aps-page-index {
    margin-top: 28px;
    padding: 16px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  body.single-products .aps-manufacturer-opening .aps-page-index ul {
    justify-content: flex-start;
  }

  body.single-products .aps-manufacturer-opening .aps-page-index a {
    min-height: 34px;
    padding: 7px 10px;
  }
}

/* Certification badges */
body.single-products .aps-manufacturer-opening .sobRight {
  align-items: stretch;
}
body.single-products .aps-manufacturer-opening .sobImgWrap {
  min-height: 180px;
  padding: 20px;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 61, 112, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
body.single-products .aps-manufacturer-opening .sobImgWrap img {
  width: auto;
  max-width: 190px;
  max-height: 100px;
  margin: 0 auto 12px;
  object-fit: contain;
}
body.single-products .aps-manufacturer-opening .sobTrustLabel {
  margin-top: 0;
}

/* Process cards */
body.single-products .aps-process-contained .offerItemsV2 {
  gap: 24px;
  align-items: stretch;
}

body.single-products .aps-process-contained .offerItemsV2 .apsCard {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  padding: 24px 22px;
  height: 100%;
}

body.single-products .aps-process-contained .offerItemsV2 .apsCard img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 0 18px;
}

body.single-products .aps-process-contained .offerItemsV2 .apsCard .body {
  padding: 0;
  display: block;
}

body.single-products .aps-process-contained .offerItemsV2 .apsCard h5 {
  margin-bottom: 10px;
}

body.single-products .aps-process-contained .offerItemsV2 .apsCard p {
  margin-bottom: 0;
}

body.single-products .aps-process-contained .cctvProcess {
  padding: 56px 0 64px;
}

@media (max-width: 767px) {
  body.single-products .aps-process-contained .cctvProcess {
    padding: 48px 0;
  }
}

body.single-products .aps-process-contained .whyapsTtl .h2,
body.single-products .aps-process-contained .whyapsTtl h2 {
  color: #274474;
}
body.single-products .aps-process-contained .apsCard h3 { text-align: center; }

/* Photographic cards */
body.single-products .aps-cards-photos .serviceCards {
  padding: 56px 0;
}

@media (max-width: 767px) {
  body.single-products .aps-cards-photos .serviceCards {
    padding: 48px 0;
  }
}

body.single-products .aps-cards-photos .serviceCards .scIcon {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 0 22px;
}

body.single-products .aps-cards-photos .serviceCards .scIcon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ variant */
body.single-products .aps-faq-borderless .ldFaqOuter { border-bottom: 0; }

/* Card layout variants */
@media (min-width: 1100px) {
  body.single-products .aps-cards-four .serviceCards .scGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.single-products .aps-cards-icons .scCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body.single-products .aps-cards-icons .scCard::before {
  content: "";
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 9px;
  background: #f1f4f9;
  color: #233d70;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  font-family: "Font Awesome 6 Free";
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}
