/* Certificates page additions. Shared brand styles stay in style.css. */
.certificates-page .skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000000;
  padding: 10px 20px;
  background: var(--color-base-white);
  border-radius: 8px;
  transform: translateY(-200%);
}

.certificates-page .skip-link:focus {
  transform: translateY(0);
}

.certificates-page a:focus-visible,
.certificates-page button:focus-visible {
  outline: 3px solid var(--color-primary-red);
  outline-offset: 5px;
}

.certificates-page .footer-deli a:focus-visible {
  outline-color: var(--color-base-white);
}

.certificates-page .whatsapp-float-btn {
  z-index: 1025;
}

/* --------------------------------------------------------------------------
   PAGE HERO BANNER
   -------------------------------------------------------------------------- */
.certificates-page .page-hero-banner {
  position: relative;
  background-color: var(--color-charcoal);
  min-height: 260px;
  display: flex;
  align-items: center;
  padding: 65px 0;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
}

.certificates-page .certificates-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.certificates-page .page-hero-banner h1 {
  color: var(--color-base-white);
  font-size: 44px !important;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.certificates-page .page-hero-banner .section-subtitle {
  color: #FFB6C3;
  margin-bottom: 12px;
}

.certificates-page .page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.certificates-page .page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.certificates-page .page-hero-breadcrumb a:hover {
  color: var(--color-base-white);
}

.certificates-page .breadcrumb-separator {
  color: var(--color-primary-red);
  font-size: 12px;
}

.certificates-page .breadcrumb-current {
  color: #FFB6C3;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   CERTIFICATE DETAIL CARDS
   -------------------------------------------------------------------------- */
.cert-detail-card {
  background-color: var(--color-base-white);
  border: 1px solid #EAEAEA;
  border-radius: 16px;
  padding: 34px 24px;
  text-align: center;
  height: 100%;
  transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-detail-card:hover {
  transform: translateY(-6px);
  border-color: #C8102E !important;
}

.cert-detail-card .cert-logo-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cert-detail-card:hover .cert-logo-wrapper {
  transform: scale(1.1);
}

.cert-detail-card .cert-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.cert-detail-card .cert-logo-wrapper.cert-logo-wide {
  width: 180px;
  height: 80px;
}

.cert-detail-card h3 {
  font-size: 20px !important;
  margin-bottom: 8px !important;
  color: var(--color-charcoal);
}

.cert-detail-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-muted-grey);
  margin-bottom: 0;
  flex-grow: 1;
}

a.cert-tag {
  display: inline-block;
  background-color: #FEEAEF;
  color: var(--color-primary-red);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a.cert-tag:hover {
  background-color: var(--color-primary-red);
  color: var(--color-base-white);
}

/* --------------------------------------------------------------------------
   QUALITY HIGHLIGHTS (TEXT + CHECKLIST SECTION)
   -------------------------------------------------------------------------- */
.quality-commitment-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.quality-commitment-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 14px;
}

.quality-commitment-list li i {
  color: var(--color-primary-red);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .certificates-page {
    padding-bottom: 82px;
  }

  .certificates-page .top-bar > .container,
  .certificates-page .top-bar-info {
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 4px 18px;
  }

  .certificates-page .whatsapp-float-btn {
    bottom: 96px;
  }

  .certificates-page .mobile-floating-cta {
    gap: 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .certificates-page .mobile-floating-cta .btn-deli {
    width: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 575.98px) {
  .certificates-page .page-hero-banner {
    min-height: auto;
    padding: 0;
  }

  .certificates-page .certificates-banner-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .certificates-page .page-hero-banner .container {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .certificates-page .page-hero-banner h1 {
    font-size: 30px !important;
  }

  .cert-detail-card {
    padding: 28px 18px;
  }

  .certificates-page .footer-links a {
    overflow-wrap: anywhere;
  }
}
