/* =============================================
   Comparison Block – collapsible table
   ============================================= */

.cq-comparison {
  margin-top: 40px;
}

.cq-comparison details {
  background: #f7f7f7;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
}

/* ── Header / Summary ── */

.cq-comparison__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  list-style: none;
  cursor: pointer;
}

.cq-comparison__header::-webkit-details-marker {
  display: none;
}

.cq-comparison__header:hover {
  background: #f0f0f0;
  border-radius: 12px;
}

details[open] > .cq-comparison__header {
  border-radius: 12px 12px 0 0;
}

.cq-comparison__title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.cq-comparison__icon {
  flex-shrink: 0;
}

.cq-comparison__title {
  font-size: 17px;
  margin: 0;
  font-weight: 700;
}

.cq-comparison__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #d2d2d2;
  border-radius: 999px;
  padding: 8px 16px;
}

.cq-comparison__btn-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1b6ef3;
}

.cq-comparison__chevron {
  transition: transform 0.25s ease;
}

details[open] .cq-comparison__chevron {
  transform: rotate(180deg);
}

/* ── Body (revealed on open) ── */

.cq-comparison__body {
  padding: 0 24px 4px;
}

/* ── Table wrapper ── */

.cq-comparison__table-wrap > .cq-comparison__table-wrap {
  border: 1px solid #e0e0e0;
  background: #ffffff;
  overflow: auto;
}

/* ── Table ── */

.cq-table {
  width: 100%;
  font-size: 14.5px;
  border-collapse: collapse;
}

/* Header row */
.cq-table thead tr {
  background: #000000;
}

.cq-table th {
  padding: 15px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #c8c8c8;
  text-align: center;
  white-space: nowrap;
}

.cq-table__label-col {
  text-align: left !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffffff !important;
  width: 32%;
}

.cq-table__highlight-col {
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* Section separator rows */
.cq-table__section-row td {
  background: #f0f0f0;
  padding: 10px 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #6d6d6d;
}

/* Data rows */
.cq-table tbody tr {
  border-top: 1px solid #ededed;
}

.cq-table tbody tr:nth-child(even):not(.cq-table__section-row) {
  background: #fafafa;
}

/* Cell types */
.cq-table__label {
  padding: 12px 20px;
  color: #4d4d4d;
  text-align: left;
}

.cq-table__check {
  text-align: center;
  padding: 12px 10px;
  color: #111111;
  font-weight: 700;
}

.cq-table__text {
  text-align: center;
  padding: 12px 10px;
  color: #7f7f7f;
  font-size: 13.5px;
}

.cq-table__dash {
  text-align: center;
  padding: 12px 10px;
  color: #c4c4c4;
}

.cq-table__na {
  text-align: center;
  padding: 12px 10px;
  color: #a5a5a5;
  font-size: 13.5px;
}

.cq-table__brand {
  text-align: center;
  padding: 12px 10px;
  color: #111111;
  font-weight: 600;
  font-size: 13.5px;
}

/* ── Footer: legend + notes ── */

.cq-comparison__footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 34px 44px;
  margin: 30px 0 28px;
}

.cq-comparison__footer-heading {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
}

.cq-comparison__footer-text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #5d5d5d;
}

.cq-comparison__footer-text strong {
  color: #111111;
}

/* ── Responsive ── */

@media (max-width: 640px) {
  .cq-comparison__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 16px;
  }

  .cq-comparison__body {
    padding: 0 12px 4px;
  }

  .cq-comparison__title {
    font-size: 15px;
  }

  .cq-table {
    font-size: 13px;
  }

  .cq-table th {
    font-size: 11.5px;
    padding: 12px 6px;
  }

  .cq-table__label {
    padding: 10px 12px;
  }
}
