/* ─────────────────────────────────────────────
   Surgimedex Product Trust v1.0.0
   ───────────────────────────────────────────── */

.smx-trust-wrap {
  max-width: 100%;
  margin: 40px auto 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: #2c3e50;
  line-height: 1.65;
}
.smx-trust-wrap *, .smx-trust-wrap *::before, .smx-trust-wrap *::after {
  box-sizing: border-box;
}

/* ── Shared heading ── */
.smx-trust-heading {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b3c;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0097a7;
  display: inline-block;
}

/* ══════════════════════════════════════════════
   TRUST CARDS
   ══════════════════════════════════════════════ */
.smx-trust-section {
  margin-bottom: 36px;
}

.smx-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.smx-trust-card {
  text-align: center;
  padding: 24px 18px 22px;
  background: #f5f9ff;
  border-radius: 10px;
  border: 1px solid #e3ecf5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.smx-trust-card:hover {
  border-color: #b3dce0;
  box-shadow: 0 4px 16px rgba(0,151,167,0.07);
}

.smx-trust-card__icon {
  font-size: 30px;
  display: block;
  margin-bottom: 8px;
}

.smx-trust-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2b3c;
  margin: 0 0 8px;
}

.smx-trust-card__desc {
  font-size: 13px;
  color: #5a6a7a;
  margin: 0;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════ */
.smx-faq-section {
  margin-bottom: 20px;
}

.smx-faq-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.smx-faq-viewall {
  font-size: 13.5px;
  font-weight: 600;
  color: #0097a7;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.smx-faq-viewall:hover {
  color: #00695c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.smx-faq-list {
  margin-top: 2px;
}

.smx-faq-item {
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.smx-faq-item:hover {
  border-color: #c8d8e4;
}

.smx-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  background: #fafbfc;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #1a2b3c;
  text-align: left;
  font-family: inherit;
  line-height: 1.45;
  transition: background 0.15s;
  gap: 12px;
}
.smx-faq-q:hover {
  background: #f0f4f8;
}
.smx-faq-q:focus-visible {
  outline: 2px solid #0097a7;
  outline-offset: -2px;
}

.smx-faq-chevron {
  flex-shrink: 0;
  color: #0097a7;
  transition: transform 0.25s ease;
}
.smx-faq-item.smx-open .smx-faq-chevron {
  transform: rotate(180deg);
}

.smx-faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  font-size: 13.5px;
  color: #4a5a6a;
  line-height: 1.7;
  background: #fff;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.smx-faq-item.smx-open .smx-faq-a {
  max-height: 400px;
  padding: 14px 16px 18px;
}

.smx-faq-a a {
  color: #0097a7;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.smx-faq-a a:hover {
  color: #00695c;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .smx-trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .smx-trust-card {
    padding: 20px 16px 18px;
    text-align: left;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 0 12px;
    align-items: start;
  }
  .smx-trust-card__icon {
    grid-row: 1 / 3;
    font-size: 26px;
    margin: 2px 0 0;
  }
  .smx-trust-card__title {
    margin-bottom: 4px;
  }
  .smx-trust-heading {
    font-size: 18px;
  }
  .smx-faq-q {
    font-size: 13.5px;
    padding: 12px 14px;
  }
  .smx-faq-item.smx-open .smx-faq-a {
    padding: 12px 14px 16px;
  }
}

@media (max-width: 480px) {
  .smx-trust-wrap {
    margin-top: 28px;
  }
  .smx-trust-card {
    padding: 16px 14px;
  }
  .smx-trust-card__desc {
    font-size: 12.5px;
  }
  .smx-faq-a {
    font-size: 13px;
  }
}