/* Returns request form (page-returns.php). One sheet per template: everything
   here selects g80-return__* classes that template owns, so nothing leaks
   into other pages' cascade. Layout and typography ride the Tailwind
   utilities in the template; this file holds only the components utilities
   cannot express: the radio cards' checked state, the dropzone, the fee
   callout (the established grey panel + 3px brand left border pattern), and
   the honeypot's removal from view. */

.g80-return__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 640px) {
  .g80-return__cards {
    grid-template-columns: 1fr;
  }
}

.g80-return__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.g80-return__card:has(input:checked) {
  border-color: #1a1a1a;
  background: #f5f5f5;
}

/* The native radio stays focusable for keyboard and screen reader users;
   the painted dot next to it is what sighted users see. */
.g80-return__card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.g80-return__card-dot {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #fff;
  box-sizing: border-box;
}

.g80-return__card:has(input:checked) .g80-return__card-dot {
  border: 5px solid #9f0712;
}

.g80-return__card:has(input:focus-visible) {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

.g80-return__card-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.g80-return__card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.g80-return__card-sub {
  font-size: 12px;
  color: #6b7280;
}

.g80-return__dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  border: 2px dashed #d1d5db;
  border-radius: 6px;
  background: #fafafa;
  color: #6b7280;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
}

.g80-return__dropzone:hover {
  border-color: #9ca3af;
}

.g80-return__dropzone-cta {
  font-size: 14px;
  color: #1a1a1a;
}

.g80-return__dropzone-cta strong {
  color: #9f0712;
  font-weight: 600;
}

.g80-return__dropzone-hint {
  font-size: 12px;
  color: #6b7280;
}

.g80-return__files {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 13px;
  color: #555;
}

.g80-return__files li {
  margin-top: 2px;
}

/* Same panel the shipping tab draws for this fee, slimmed to one line: the
   grey field and brand left border keep it recognisably the same policy. */
.g80-return__fee {
  background: #f5f5f5;
  border-left: 3px solid #9f0712;
  border-radius: 0 4px 4px 0;
  padding: 10px 14px;
}

.g80-return__fee label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

.g80-return__fee input {
  margin: 2px 0 0;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  accent-color: #9f0712;
}

.g80-return__fee strong {
  color: #9f0712;
}

.g80-return__offline {
  background: #f5f5f5;
  border-left: 3px solid #9f0712;
  border-radius: 0 4px 4px 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
}

/* Off-screen rather than display:none so autofill-style bots still see and
   fill it; people, keyboards, and screen readers never meet it. */
.g80-return__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
