.custom-request-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.custom-request-page .eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: #6d5b45;
  margin: 0;
}

.custom-request-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #e6ddd0;
  border-radius: 20px;
  background: linear-gradient(135deg, #fffaf3 0%, #f3eadf 100%);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.05);
}

.custom-request-hero-copy {
  display: grid;
  gap: .7rem;
}

.custom-request-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.custom-request-hero p,
.custom-request-card p,
.custom-request-card li,
.custom-request-form label,
.custom-request-form legend,
.custom-request-form input,
.custom-request-form textarea,
.custom-request-form select {
  font-size: 1rem;
}

.custom-request-hero-copy > p:last-of-type {
  margin: 0;
  max-width: 60ch;
  color: #4f453a;
}

.custom-request-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.custom-request-hero-points span,
.custom-request-static {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(109, 91, 69, 0.16);
  border-radius: 999px;
  padding: .42rem .78rem;
  font-weight: 600;
  color: #3d342a;
}

.custom-request-hero-note {
  padding: .95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(109, 91, 69, 0.14);
}

.custom-request-hero-note strong,
.custom-request-submit-copy strong {
  display: block;
  margin-bottom: .35rem;
}

.custom-request-hero-note p,
.custom-request-submit-copy p,
.custom-request-section-heading p {
  margin: 0;
  color: #5f564d;
}

.custom-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .82fr);
  gap: 1.25rem;
  align-items: start;
}

.custom-request-card,
.custom-request-form {
  background: #fff;
  border: 1px solid #e8e0d4;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

.custom-request-card {
  padding: 1.2rem;
}

.custom-request-card h2,
.custom-request-card h3,
.custom-request-form h2,
.custom-request-form h3 {
  margin: 0;
}

.custom-request-card p + p {
  margin-top: .7rem;
}

.custom-request-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
  position: sticky;
  top: 1rem;
}

.custom-request-card-primary {
  display: grid;
  gap: .8rem;
}

.custom-request-card-note {
  background: linear-gradient(180deg, #fffdfa 0%, #f7f1e8 100%);
}

.custom-request-sidebar-divider {
  height: 1px;
  background: #ece4d9;
}

.custom-request-badges,
.custom-request-checklist,
.custom-request-success ul,
.custom-request-warnings {
  margin: 0;
  padding-left: 1.15rem;
}

.custom-request-badges li,
.custom-request-checklist li {
  margin: .35rem 0;
}

.custom-request-numbered {
  padding-left: 1.3rem;
}

.custom-request-form {
  padding: 1.2rem;
}

.custom-request-form-intro {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: .9rem;
}

.custom-request-form h2 {
  font-size: 1.5rem;
}

.custom-request-form-lead {
  margin: 0;
  max-width: 30rem;
  color: #5f564d;
}

.custom-request-grid,
.custom-request-section-grid {
  display: grid;
  gap: 1rem;
}

.custom-request-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.custom-request-section-grid-two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.custom-request-section,
.custom-request-field,
.custom-request-fieldset {
  display: grid;
  gap: .5rem;
}

.custom-request-section {
  padding: 1rem;
  border: 1px solid #ede6dc;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
}

.custom-request-section-heading {
  display: grid;
  gap: .3rem;
  padding-bottom: .1rem;
}

.custom-request-field.full,
.custom-request-fieldset.full,
.custom-request-section.full,
.custom-request-actions,
.custom-request-status,
.custom-request-success,
.custom-request-submit-bar {
  grid-column: 1 / -1;
}

.custom-request-field input,
.custom-request-field textarea,
.custom-request-field select {
  width: 100%;
  border: 1px solid #d5cbbe;
  border-radius: 12px;
  padding: .8rem .9rem;
  font: inherit;
  background: #fffdf9;
  color: #111;
}

.custom-request-field textarea {
  min-height: 112px;
  resize: vertical;
}

.custom-request-field input:focus,
.custom-request-field textarea:focus,
.custom-request-field select:focus {
  outline: 2px solid rgba(0, 102, 255, 0.16);
  border-color: #5b7cff;
}

.custom-request-field small,
.custom-request-muted,
#artworkFileMeta {
  color: #61594f;
}

.custom-request-fieldset {
  border: 1px solid #ddd4c7;
  border-radius: 14px;
  padding: .95rem;
  background: #fffdfa;
}

.custom-request-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.custom-request-radio {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  border: 1px solid #dfd5c9;
  border-radius: 12px;
  padding: .8rem .85rem;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

.custom-request-radio > span {
  display: block;
  min-width: 0;
  line-height: 1.25;
}

.custom-request-radio input {
  margin-top: .2rem;
}

.custom-request-radio strong {
  display: block;
  margin-bottom: .15rem;
}

.custom-request-radio.is-selected {
  border-color: #111;
  background: #f8f2e9;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.05);
}

.custom-request-actions {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

.custom-request-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 1rem 1.45rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.14);
}

.custom-request-button:hover {
  background: #252525;
}

.custom-request-button:disabled {
  opacity: .65;
  cursor: wait;
}

.custom-request-link {
  color: inherit;
  font-weight: 600;
}

.custom-request-status,
.custom-request-success {
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.custom-request-status {
  background: #f4f1eb;
  color: #2a251f;
}

.custom-request-status[data-kind="error"] {
  background: #fff1f1;
  color: #8a1f1f;
}

.custom-request-status[data-kind="success"] {
  background: #ecf9ef;
  color: #1f6b33;
}

.custom-request-success {
  background: #f5efe5;
  border: 1px solid #ddd3c7;
}

.custom-request-request-id {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  background: #fff;
  border-radius: 999px;
  padding: .45rem .8rem;
}

.custom-request-preview {
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(300px, .85fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
  padding: .95rem;
  border: 1px solid #e2d8cb;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdf9 0%, #f7f1e8 100%);
}

.custom-request-preview h3,
.custom-request-preview p {
  margin: 0;
}

.custom-request-preview-copy {
  display: grid;
  gap: .42rem;
  align-content: start;
  grid-column: 1 / -1;
}

.custom-request-preview-stage,
.custom-request-preview-controls {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: .75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(249, 245, 238, 0.96) 100%);
}

.custom-request-preview-controls {
  display: grid;
  gap: .8rem;
}

.custom-request-preview-controls .custom-request-fieldset {
  margin: 0;
}

.custom-request-radio-grid-compact {
  grid-template-columns: 1fr;
  gap: .45rem;
}

.custom-request-radio-grid-compact .custom-request-radio {
  padding: .62rem .68rem;
}

.custom-request-radio-grid-compact .custom-request-radio span span {
  font-size: .88rem;
}

.custom-request-mockup-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.custom-request-mockup {
  position: relative;
  margin: 0;
  padding: .45rem .35rem .15rem;
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.custom-request-mockup > img {
  display: block;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  height: auto;
}

.custom-request-mockup figcaption {
  margin-top: .25rem;
  font-weight: 700;
  font-size: .84rem;
  color: #5f564d;
}

.custom-request-art {
  position: absolute;
  display: grid;
  place-items: center;
  pointer-events: none;
  isolation: isolate;
}

.custom-request-art img,
.custom-request-art-placeholder {
  width: 100%;
  height: auto;
}

.custom-request-art img {
  display: block;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(17, 17, 17, 0.12));
}

.custom-request-art-placeholder[hidden],
.custom-request-art img[hidden] {
  display: none !important;
}

.custom-request-art-placeholder {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .28rem .45rem;
  border: 1px dashed rgba(17, 17, 17, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: #3d352d;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.05);
}

.custom-request-art-placeholder img {
  display: block;
  width: min(100%, 78px);
  max-width: 100%;
  height: auto;
  margin-bottom: .2rem;
}

.custom-request-art-placeholder-label {
  display: block;
}

.custom-request-art-placeholder-logo {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.custom-request-art-placeholder-logo img {
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(17, 17, 17, 0.12));
}

.custom-request-art-placeholder-file {
  min-height: 4rem;
  padding: .65rem;
  background: rgba(255, 248, 238, 0.98);
}

.custom-request-art-placeholder-file::before {
  content: 'Uploaded artwork';
  display: block;
  margin-bottom: .2rem;
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a6653;
}

.custom-request-art-back {
  top: 13%;
  left: 50%;
  width: 28%;
  transform: translateX(-50%);
}

.custom-request-art-front-center {
  top: 18%;
  left: 50%;
  width: 28%;
  transform: translateX(-50%);
}

.custom-request-art-front-pocket {
  top: 19%;
  left: 61%;
  width: 13%;
  transform: translateX(-50%);
}

.custom-request-art.is-hidden {
  display: none;
}

.custom-request-mockup.is-active figcaption {
  color: #111;
}

.custom-request-mockup.is-active > img {
  filter: drop-shadow(0 8px 14px rgba(17, 17, 17, 0.1));
}

.custom-request-mockup.is-muted {
  opacity: 1;
}

.custom-request-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.custom-request-swatch {
  appearance: none;
  border: 1px solid #d9cebf;
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: .42rem .68rem .42rem 1.9rem;
  position: relative;
  cursor: pointer;
  font: inherit;
  font-size: .92rem;
}

.custom-request-swatch::before {
  content: '';
  position: absolute;
  left: .68rem;
  top: 50%;
  width: .8rem;
  height: .8rem;
  border-radius: 999px;
  transform: translateY(-50%);
  background: var(--swatch, #ccc);
  border: 1px solid rgba(17, 17, 17, 0.16);
}

.custom-request-swatch.is-selected {
  border-color: #111;
  background: #f5efe5;
  font-weight: 700;
}

.custom-request-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.custom-request-submit-shell {
  gap: .9rem;
  background: linear-gradient(180deg, #fffdfa 0%, #f6efe5 100%);
}

.custom-request-submit-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e3d8ca;
}

.custom-request-submit-copy {
  max-width: 30rem;
}

@media (max-width: 920px) {
  .custom-request-layout,
  .custom-request-grid,
  .custom-request-section-grid-two-up,
  .custom-request-preview {
    grid-template-columns: 1fr;
  }

  .custom-request-sidebar {
    position: static;
  }

  .custom-request-form-intro,
  .custom-request-submit-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .custom-request-page {
    padding-top: 1rem;
  }

  .custom-request-hero {
    grid-template-columns: 1fr;
    gap: .8rem;
    padding: 1rem;
    border-radius: 18px;
  }

  .custom-request-hero h1 {
    font-size: clamp(1.65rem, 7.8vw, 2.2rem);
    line-height: 1.06;
  }

  .custom-request-form,
  .custom-request-card,
  .custom-request-section {
    padding: 1rem;
  }

  .custom-request-preview {
    padding: .8rem;
    gap: .8rem;
  }

  .custom-request-hero-note p,
  .custom-request-form-lead,
  .custom-request-preview-copy p,
  .custom-request-section-heading p {
    font-size: .94rem;
  }

  .custom-request-preview-stage,
  .custom-request-preview-controls {
    padding: .55rem;
  }

  .custom-request-mockup-duo {
    gap: .45rem;
  }

  .custom-request-mockup {
    padding: .3rem .15rem .1rem;
  }

  .custom-request-mockup figcaption {
    margin-top: .15rem;
    font-size: .78rem;
  }

  .custom-request-radio-grid {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .custom-request-radio {
    padding: .72rem .75rem;
  }

  .custom-request-color-swatches {
    gap: .35rem;
  }

  .custom-request-swatch {
    flex: 1 1 calc(50% - .35rem);
    min-width: 0;
    justify-content: center;
    padding-right: .65rem;
    font-size: .88rem;
  }

  .custom-request-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .custom-request-grid,
  .custom-request-section-grid {
    gap: .85rem;
  }

  .custom-request-section,
  .custom-request-fieldset,
  .custom-request-submit-bar {
    padding: .85rem;
  }

  .custom-request-mockup > img {
    max-width: 168px;
  }

  .custom-request-art-placeholder {
    min-height: 2.45rem;
    font-size: .68rem;
  }

  .custom-request-art-placeholder img {
    width: min(100%, 58px);
  }
}
