.wpc-return-form,
.wpc-return-form * {
  box-sizing: border-box;
}

.wpc-return-form [hidden] {
  display: none !important;
}

.wpc-return-form {
  --wpc-return-navy: #010d23;
  --wpc-return-blue: #005b96;
  --wpc-return-blue-light: #7ab6dc;
  --wpc-return-text: #42556d;
  --wpc-return-muted: #748398;
  --wpc-return-border: rgba(1, 13, 35, 0.11);
  --wpc-return-soft: #f3f7fa;

  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 42px;

  border: 1px solid var(--wpc-return-border);
  border-radius: 8px;

  background:
    radial-gradient(circle at 100% 0%, rgba(0, 91, 150, 0.06), transparent 35%),
    #ffffff;

  box-shadow: 0 20px 50px rgba(1, 13, 35, 0.08);

  color: var(--wpc-return-text);
  font-family: inherit;
}

.wpc-return-form__header {
  max-width: 760px;
  margin-bottom: 30px;
}

.wpc-return-form__eyebrow,
.wpc-return-form__section-label {
  margin: 0 0 9px !important;

  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;

  color: var(--wpc-return-blue) !important;
}

.wpc-return-form__title {
  margin: 0 0 14px !important;

  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;

  color: var(--wpc-return-navy) !important;
}

.wpc-return-form__intro {
  margin: 0 !important;

  font-size: 14px;
  line-height: 1.75;

  color: var(--wpc-return-text) !important;
}

.wpc-return-form__message {
  margin: 0 0 24px;
  padding: 15px 17px;

  border-left: 4px solid var(--wpc-return-blue);

  background: #edf5fa;

  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;

  color: var(--wpc-return-navy);
}

.wpc-return-form__message--success {
  border-left-color: #188443;
  background: #eef9f1;
  color: #155b2d;
}

.wpc-return-form__message--error {
  border-left-color: #c52828;
  background: #fff1f1;
  color: #8c1d1d;
}

.wpc-return-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.wpc-return-form__field {
  min-width: 0;
}

.wpc-return-form__field--full {
  grid-column: 1 / -1;
}

.wpc-return-form__field label {
  display: block;
  margin-bottom: 8px;

  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;

  color: var(--wpc-return-navy);
}

.wpc-return-form__field label span {
  color: #b42318;
}

.wpc-return-form__field label small {
  font-size: 11px;
  font-weight: 500;
  color: var(--wpc-return-muted);
}

.wpc-return-form input[type="text"],
.wpc-return-form input[type="email"],
.wpc-return-form select,
.wpc-return-form textarea {
  display: block;

  width: 100%;
  min-height: 48px;
  padding: 12px 14px;

  border: 1px solid rgba(1, 13, 35, 0.16);
  border-radius: 8px;
  outline: none;

  background: #ffffff;

  box-shadow: none;

  font: inherit;
  font-size: 14px;
  line-height: 1.45;

  color: var(--wpc-return-navy);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.wpc-return-form textarea {
  min-height: 125px;
  resize: vertical;
}

.wpc-return-form input:focus,
.wpc-return-form select:focus,
.wpc-return-form textarea:focus {
  border-color: var(--wpc-return-blue);
  box-shadow: 0 0 0 3px rgba(0, 91, 150, 0.11);
}

.wpc-return-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.wpc-return-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  margin-top: 24px;
  padding: 12px 21px;

  border: 0;
  border-radius: 8px;
  cursor: pointer;

  background: var(--wpc-return-navy);

  box-shadow: 0 9px 22px rgba(1, 13, 35, 0.15);

  font: inherit;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 750;

  color: #ffffff;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;
}

.wpc-return-form__button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(1, 13, 35, 0.2);
}

.wpc-return-form__button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.wpc-return-form__button--secondary {
  border: 1px solid var(--wpc-return-border);
  background: #ffffff;
  box-shadow: none;
  color: var(--wpc-return-navy);
}

.wpc-return-form__details {
  border-top: 1px solid var(--wpc-return-border);
  padding-top: 28px;
}

.wpc-return-form__verified {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;

  margin-bottom: 28px;
  padding: 17px 18px;

  background: #eef8f1;
  border-left: 4px solid #188443;
}

.wpc-return-form__verified-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border-radius: 50%;
  background: #188443;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.wpc-return-form__verified strong {
  display: block;
  margin-bottom: 3px;
  color: #155b2d;
}

.wpc-return-form__verified p {
  margin: 0 !important;
  font-size: 12px;
  color: #376a49 !important;
}

.wpc-return-form__section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--wpc-return-border);
}

.wpc-return-form__section:first-of-type {
  margin-top: 0;
}

.wpc-return-form__section-heading {
  margin-bottom: 20px;
}

.wpc-return-form__section-heading h3 {
  margin: 0 !important;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--wpc-return-navy) !important;
}

.wpc-return-form__products {
  display: grid;
  gap: 12px;
}

.wpc-return-product {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 135px;
  gap: 14px;
  align-items: center;

  padding: 16px;

  border: 1px solid var(--wpc-return-border);
  border-radius: 8px;

  background: #ffffff;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.wpc-return-product.is-selected {
  border-color: rgba(0, 91, 150, 0.35);
  background: #f7fbfe;
  box-shadow: 0 8px 22px rgba(1, 13, 35, 0.05);
}

.wpc-return-product__select {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpc-return-product__checkbox {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--wpc-return-blue);
  cursor: pointer;
}

.wpc-return-product__main {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  align-items: center;

  min-width: 0;
  cursor: pointer;
}

.wpc-return-product__image {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 68px;
  height: 68px;

  overflow: hidden;

  border-radius: 7px;
  background: var(--wpc-return-soft);
}

.wpc-return-product__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wpc-return-product__content {
  min-width: 0;
}

.wpc-return-product__content > strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--wpc-return-navy);
}

.wpc-return-product__content > small {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--wpc-return-muted);
}

.wpc-return-product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 11px;

  font-size: 10px;
  line-height: 1.4;
  color: var(--wpc-return-muted);
}

.wpc-return-product__quantity label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--wpc-return-muted);
}

.wpc-return-product__quantity select {
  min-height: 42px;
  padding: 8px 10px;
}

.wpc-return-product__quantity select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.wpc-return-form__consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;

  margin-top: 26px;

  font-size: 12px;
  line-height: 1.65;
  color: var(--wpc-return-text);
}

.wpc-return-form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--wpc-return-blue);
}

.wpc-return-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .wpc-return-form {
    padding: 30px 21px;
  }

  .wpc-return-form__grid {
    grid-template-columns: 1fr;
  }

  .wpc-return-form__field--full {
    grid-column: auto;
  }

  .wpc-return-product {
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
  }

  .wpc-return-product__quantity {
    grid-column: 2;
    max-width: 160px;
  }

  .wpc-return-form__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wpc-return-form__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .wpc-return-product__main {
    grid-template-columns: 1fr;
  }

  .wpc-return-product__image {
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wpc-return-form__button,
  .wpc-return-product,
  .wpc-return-form input,
  .wpc-return-form select,
  .wpc-return-form textarea {
    transition: none;
  }
}
