/* ============================================================
   SPECIFICATION TABLE — Option 2 + Option C
   Pure CSS checkbox toggle — no JavaScript, 100% eBay safe.
   ============================================================ */

.left-content {
  padding-left: 15px;
  padding-right: 5px;
}

/* ── Hide the checkbox itself ── */
.spec-toggle-check {
  display: none;
}

/* ── Spec body wrapper ── */
.spec-body {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  width: 100%;
}

/* ── Section block ── */
.spec-section {
  border-bottom: 1px solid #e8e8e8;
}
.spec-section:last-child {
  border-bottom: none;
}

/* ── Section heading ── */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  background: #545454;
  padding: 8px 12px;
}

/* ── Spec row ── */
.spec-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid #f0f0f0;
}
.spec-row:last-child  { border-bottom: none; }
.spec-row:nth-child(even) { background: #fafafa; }

.spec-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #444444;
  padding: 8px 10px;
  background: #f5f5f5;
  border-right: 1px solid #e8e8e8;
  line-height: 1.4;
}

.spec-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  color: #222222;
  padding: 8px 10px;
  line-height: 1.4;
}

/* ── Full specs hidden by default ── */
.spec-extra {
  display: none;
}

/* ── When checkbox is checked → show full specs ── */
.spec-toggle-check:checked ~ .spec-extra {
  display: block;
}

/* ── Toggle label (looks like a button) ── */
.spec-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #444;
  cursor: pointer;
  transition: background 0.2s;
  margin: 0;
  user-select: none;
}
.spec-toggle:hover {
  background: #e8e8e8;
  color: #111;
}

/* ── Show/hide the correct label text ── */
.spec-toggle-show { display: inline; }
.spec-toggle-hide { display: none;   }

/* When checked: flip which text is visible */
.spec-toggle-check:checked ~ .spec-toggle .spec-toggle-show { display: none;   }
.spec-toggle-check:checked ~ .spec-toggle .spec-toggle-hide { display: inline; }

/* ── Tablet (768–991px) ── */
@media (max-width: 991px) and (min-width: 768px) {
  .spec-row      { grid-template-columns: 110px 1fr; }
  .spec-label    { font-size: 11px; padding: 7px 8px; }
  .spec-value    { font-size: 11px; padding: 7px 8px; }
  .section-title { font-size: 9px;  padding: 7px 10px; }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 767px) {
  .spec-body  { margin-top: 12px; }
  .spec-row   { grid-template-columns: 110px 1fr; }
  .spec-label { font-size: 11px; padding: 7px 10px; }
  .spec-value { font-size: 12px; padding: 7px 10px; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .spec-row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    padding: 8px 10px;
    background: #ffffff;
  }
  .spec-row:nth-child(even) { background: #fafafa; }
  .spec-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #555;
    background: transparent;
    border-right: none;
    padding: 0;
    min-width: 90px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  .spec-value {
    font-size: 11.5px;
    color: #222;
    padding: 0;
    flex: 1;
    line-height: 1.4;
  }
  .section-title { font-size: 9px; padding: 7px 10px; letter-spacing: 1px; }
  .spec-toggle   { font-size: 9px; padding: 9px 12px; }
}

/* ── Extra small (≤ 320px) ── */
@media (max-width: 320px) {
  .spec-row   { flex-direction: column; gap: 2px; padding: 7px 8px; }
  .spec-label { min-width: unset; font-size: 10px; }
  .spec-value { font-size: 11px; }
}
