/* ==========================================================================
   Returns & Exchanges Page Styles
   ========================================================================== */

/* Returns Steps */
.returns-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.returns-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.returns-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-inverse);
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.returns-step__content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.returns-step__content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Returns Lists */
.returns-list {
  margin: 1rem 0;
  padding-left: 0;
  list-style: none;
}

.returns-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.returns-list li:last-child {
  margin-bottom: 0;
}

.returns-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.returns-list li strong {
  color: var(--text-primary);
}

/* Check list variant */
.returns-list--check li::before {
  content: "";
  width: 18px;
  height: 18px;
  top: 0.15em;
  background-color: var(--color-success-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: center;
  background-size: 12px;
  background-repeat: no-repeat;
  border-radius: var(--radius-sm);
}

/* Cross list variant */
.returns-list--cross li::before {
  content: "";
  width: 18px;
  height: 18px;
  top: 0.15em;
  background-color: var(--color-error-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-position: center;
  background-size: 10px;
  background-repeat: no-repeat;
  border-radius: var(--radius-sm);
}

/* Link styling */
.info-section a.text-primary {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.info-section a.text-primary:hover {
  color: var(--color-primary-dark);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .returns-step {
    gap: 1rem;
  }

  .returns-step__number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1rem;
  }

  .returns-step__content h3 {
    font-size: 0.95rem;
  }

  .returns-step__content p {
    font-size: 0.9rem;
  }
}
