:root {
  --sell-ink: #0b0b0c;
  --sell-muted: #5b5d63;
  --sell-card: #ffffff;
  --sell-bg: #f4f5f7;
  --sell-border: rgba(11, 11, 12, .08);
  --sell-red: #c00018;
  --sell-red-light: #e62434;
}

body.page-acquistiamo {
  background: var(--sell-bg);
  color: var(--sell-ink);
  overflow-x: hidden;
}

.page-acquistiamo .sell-form,
.page-acquistiamo .sell-form * {
  box-sizing: border-box;
}

.page-acquistiamo main {
  padding-top: calc(var(--dm-header-h, 64px) + 40px);
}

@media (min-width: 1025px) {
  .page-acquistiamo main {
    padding-top: 120px;
  }
}

.sell-form {
  padding: clamp(50px, 8vw, 90px) clamp(18px, 5vw, 42px);
}

.sell-form--minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.sell-form__head {
  width: min(1280px, 100%);
  margin-bottom: 10px;
}

.sell-form__head.pf-da-find {
  --brand-red: var(--sell-red-light);
  background: transparent !important;
  padding: 0;
}

.sell-form__head .pf-da-find__inner {
  max-width: none;
  padding: 0;
}

.sell-form__head .pf-da-find__title {
  font-size: clamp(32px, 5.4vw, 56px);
}

.sell-form__head .pf-da-find__subtitle {
  margin: 8px 0 18px;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 520;
}

.sell-form__panel {
  width: min(1280px, 100%);
  background: var(--sell-card);
  border-radius: 28px;
  padding: clamp(30px, 4.5vw, 46px);
  border: none;
  box-shadow: 0 20px 40px rgba(11, 11, 12, .08);
}

.thankyou-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.thankyou-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .012em;
  color: var(--sell-red);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88));
  border: 1px solid rgba(212, 0, 26, .30);
  box-shadow: 0 12px 26px rgba(11, 11, 12, .10), inset 0 1px 0 rgba(255, 255, 255, .85);
  transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease;
}

.thankyou-home:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 0, 26, .45);
  box-shadow: 0 16px 32px rgba(11, 11, 12, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.thankyou-home:focus-visible {
  outline: 3px solid rgba(212, 0, 26, .30);
  outline-offset: 3px;
}

.sell-columns {
  display: grid;
  gap: clamp(24px, 3.2vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  align-items: stretch;
}

.sell-columns--dual {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}

.sell-columns--extras {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.sell-column,
.sell-columns--extras .sell-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sell-column fieldset {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.sell-column--full {
  grid-column: 1 / -1;
}

.sell-section {
  padding: 18px 20px;
  border-radius: 24px;
  background: #fbfbfb;
  box-shadow: inset 0 0 0 1px rgba(11, 11, 12, .05);
}

.sell-section--extras {
  margin-top: clamp(24px, 4vw, 40px);
}

.sell-section__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sell-muted);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-weight: 700;
  font-size: 16px;
  color: var(--sell-ink);
}

.field-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.field-row--wide {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sell-form input,
.sell-form select,
.sell-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--sell-border);
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sell-form textarea {
  min-height: 110px;
  resize: vertical;
}

.textarea-large {
  min-height: 260px;
  resize: vertical;
}

.sell-form input:focus,
.sell-form select:focus,
.sell-form textarea:focus {
  border-color: rgba(212, 0, 26, .45);
  box-shadow: 0 0 0 3px rgba(212, 0, 26, .12);
}

.file-control {
  border: 1px dashed rgba(11, 11, 12, .25);
  border-radius: 18px;
  padding: 20px;
  background: #fdfdfd;
  text-align: center;
  margin-top: 8px;
}

.file-control input[type="file"] {
  max-width: 100%;
}

.file-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--sell-muted);
}

.file-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212, 0, 26, .08);
  color: var(--sell-red);
  font-weight: 700;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 32px;
}

.form-consent {
  flex: 1 1 420px;
  min-width: min(100%, 360px);
}

.consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--sell-muted);
  font-weight: 600;
  line-height: 1.35;
  font-size: 14px;
}

.consent-check input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--sell-red);
  flex: 0 0 auto;
}

.consent-check a {
  color: var(--sell-red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.consent-check a:hover {
  color: var(--sell-red-light);
}

.consent-meta {
  display: inline-block;
  margin-left: 6px;
  font-weight: 600;
  font-size: 13px;
}

.submit-btn {
  padding: 14px 24px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, var(--sell-red-light), var(--sell-red));
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  min-width: 220px;
  cursor: pointer;
  box-shadow: 0 18px 35px rgba(212, 0, 26, .25);
  transition: transform .18s ease, box-shadow .18s ease;
}

.submit-btn[disabled] {
  opacity: .7;
  cursor: not-allowed;
  box-shadow: none;
}

.submit-btn:not([disabled]):hover {
  transform: translateY(-1px);
}

.form-feedback {
  flex: 1 1 280px;
  min-height: 44px;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 600;
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.success {
  background: rgba(25, 135, 84, .12);
  color: #13653f;
  border: 1px solid rgba(25, 135, 84, .35);
}

.form-feedback.error {
  background: rgba(212, 0, 26, .08);
  color: #8a0012;
  border: 1px solid rgba(212, 0, 26, .35);
}

@media (max-width: 640px) {
  .sell-form {
    padding: 40px 14px;
  }

  .sell-form__panel {
    border-radius: 22px;
    padding: 20px 16px;
  }

  .sell-form__head {
    margin-bottom: 6px;
  }

  .page-acquistiamo .sell-form__head .pf-da-find__title {
    font-size: clamp(36px, 9vw, 46px);
  }

  .sell-columns,
  .sell-columns--extras {
    grid-template-columns: 1fr;
  }

  .sell-section {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .textarea-large {
    min-height: 210px;
  }

  .file-control {
    padding: 16px;
  }

  .sell-columns--dual {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-consent {
    flex: 1 1 auto;
  }

  .submit-btn {
    width: 100%;
  }
}
.sell-form__head .pf-da-find__subtitle {
  font-size: clamp(18px, 2.4vw, 24px);
}
