/* Rückgabe & Entsorgung von Altgeräten (/rueckgabe-altgeraete) — ElektroG § 19a information
   cards + return request form. Card, step-heading and field helpers come from checkout.css
   (linked by the template); this file only adds what that lacks. */

.rg [hidden] { display: none !important; }
.rg .card { margin-bottom: 20px; }
.rg .pagehead { padding-bottom: 14px; }
.rg-lead { font-size: 16px; max-width: 720px; margin: 6px 0 0; }
.rg-text { font-size: 14.5px; line-height: 1.65; margin: 0 0 12px; }
.rg-text:last-child { margin-bottom: 0; }
.rg-note { font-size: 13px; color: var(--meta); margin: 14px 0 0; }
.rg-note--req { margin: 0 0 18px; }

/* ---- Numbered steps ---- */
.rg-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: rg-step; }
.rg-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55; }
.rg-steps li::before {
  counter-increment: rg-step; content: counter(rg-step);
  width: 26px; height: 26px; flex: none; border-radius: 99px; margin-top: 1px;
  background: var(--badge-bg); color: var(--blue);
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---- Two info cards side by side (data deletion / WEEE symbol) ---- */
.rg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.rg-grid .card { margin-bottom: 0; }
.rg-symbol { display: flex; gap: 20px; align-items: flex-start; }
.rg-symbol svg { flex: none; width: 58px; height: 80px; color: var(--ink); margin-top: 2px; }

/* ---- Device blocks in the form ---- */
.rg-subhead { font-size: 16.5px; margin: 10px 0 14px; }
.rg-item { background: var(--well-bg); border-radius: var(--radius-m); padding: 16px 18px 4px; margin-bottom: 12px; }
.rg-item__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 12.5px; letter-spacing: .02em;
  color: var(--blue); margin-bottom: 10px;
}
.rg-item__remove {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--meta-2);
}
.rg-item__remove:hover { color: #a33; }
.rg-item__grid { grid-template-columns: repeat(6, 1fr); }
.rg-c2 { grid-column: span 2; }
.rg-c3 { grid-column: span 3; }
.rg-c4 { grid-column: span 4; }
.rg-c6 { grid-column: 1 / -1; }
.rg-more { margin: 2px 0 22px; }

/* ---- Success ---- */
.rg-ref { font-size: 14.5px; margin: 0 0 10px; }
.rg-ref strong { color: var(--ink); }

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .rg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rg-item__grid { grid-template-columns: 1fr; }
  .rg-c2, .rg-c3, .rg-c4 { grid-column: auto; }
  .rg-symbol { flex-direction: column; gap: 12px; }
}
