/* =========================================================
   CUSTOM COOKIE REQUEST
========================================================= */

.custom-order-page {
  background: var(--color-cream-light);
}

.custom-order-hero {
  min-height: calc(100svh - 118px);
  display: flex;
  align-items: stretch;
  padding: 0;
  background:
    radial-gradient(circle at 82% 28%, rgba(246, 66, 104, 0.18), transparent 26%),
    radial-gradient(circle at 12% 82%, rgba(255, 138, 43, 0.13), transparent 25%),
    linear-gradient(135deg, #ffe2c2, #fff1df 55%, #ffd1dc);
}

.custom-order-hero > .container {
  display: flex;
  align-items: stretch;
}

.custom-order-hero-shell {
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: center;
  gap: 2rem;
  padding-block: clamp(3rem, 8vh, 6rem);
}

.custom-order-eyebrow {
  margin-bottom: 0.65rem;
  color: var(--color-heading);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.custom-order-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.custom-order-hero-copy h1 span {
  display: block;
  color: var(--color-primary);
  font-style: italic;
}

.custom-order-hero-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.08rem;
}

.custom-order-hero-art {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.custom-order-hero-art img {
  position: relative;
  z-index: 2;
  width: min(310px, 82%);
  filter: drop-shadow(0 22px 22px rgba(95, 43, 15, 0.2));
  transform: rotate(8deg);
}

.custom-order-cookie-halo {
  position: absolute;
  width: min(320px, 84%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(246, 66, 104, 0.16);
}

.custom-order-spark {
  position: absolute;
  z-index: 3;
  color: var(--color-secondary);
  font-size: 2.2rem;
}

.custom-order-spark-one {
  top: 1rem;
  left: 5%;
}
.custom-order-spark-two {
  right: 3%;
  bottom: 2rem;
  font-size: 3rem;
}

.custom-pricing-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(246, 66, 104, 0.08), transparent 28%),
    var(--color-cream-light);
}

.custom-pricing-heading {
  max-width: 680px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.custom-pricing-heading h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.3rem, 10vw, 3.6rem);
}

.custom-pricing-heading > p:last-child {
  margin: 0;
  color: var(--color-text-muted);
}

.custom-pricing-category {
  margin-bottom: 1.5rem;
  text-align: center;
}

.custom-pricing-section-title {
  margin-bottom: 0.4rem;
  font-size: clamp(1.65rem, 7vw, 2.25rem);
}

.custom-pricing-section-description {
  max-width: 680px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.custom-pricing-category-secondary {
  margin-top: 4rem;
}

.custom-price-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(241, 173, 101, 0.42);
  border-radius: 1.5rem;
  background: var(--color-white);
  box-shadow: 0 16px 38px rgba(132, 73, 53, 0.11);
  isolation: isolate;
}

.custom-price-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-peach);
}

.custom-price-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.custom-price-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-pill);
  background: rgba(84, 42, 35, 0.88);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.custom-price-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.custom-price-title-row {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(241, 173, 101, 0.36);
}

.custom-price-type {
  margin: 0 0 0.3rem;
  color: var(--color-secondary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-price-title-row h4 {
  margin: 0;
  color: var(--color-heading);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  overflow-wrap: break-word;
}

.custom-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  color: var(--color-heading);
}

.custom-price strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  white-space: nowrap;
}

.custom-price span {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.custom-price-includes {
  margin: 1.25rem 0 0.75rem;
  font-weight: 900;
}

.custom-price-features {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.custom-price-features li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--color-text-muted);
}

.custom-price-features li::before {
  content: "\2713";
  position: absolute;
  top: 0.05rem;
  left: 0;
  width: 1.2rem;
  height: 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(246, 66, 104, 0.12);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 900;
}

.custom-price-note {
  margin: auto 0 0;
  padding: 0.85rem;
  border-left: 3px solid var(--color-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-cream-light);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.custom-price-cta {
  width: 100%;
}

@media (min-width: 1200px) {
  .custom-price-title-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .custom-price {
    display: grid;
    justify-items: end;
    gap: 0.15rem;
  }
}

.custom-request-section {
  background: var(--color-cream-light);
}

.custom-request-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.6fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.custom-request-guide {
  position: sticky;
  top: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--color-primary), #ef5d70 55%, var(--color-secondary));
  color: var(--color-white);
  box-shadow: 0 16px 35px rgba(200, 61, 74, 0.18);
}

.custom-request-guide .custom-order-eyebrow,
.custom-request-guide h2 {
  color: var(--color-white);
}
.custom-request-guide > p {
  color: rgba(255, 255, 255, 0.9);
}
.custom-request-guide ul {
  display: grid;
  gap: 1.15rem;
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
}
.custom-request-guide li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.8rem;
  align-items: start;
}
.custom-request-guide li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font-weight: 900;
}
.custom-request-guide strong,
.custom-request-guide small {
  display: block;
}
.custom-request-guide small {
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}
.custom-request-note {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
}

.custom-form-card {
  overflow: hidden;
  border: 1px solid rgba(241, 173, 101, 0.4);
  border-radius: 1.75rem;
  background: var(--color-white);
  box-shadow: 0 16px 40px rgba(132, 73, 53, 0.1);
}

.custom-form-heading {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(241, 173, 101, 0.35);
  background: linear-gradient(135deg, #fff8eb, #fff0df);
}
.custom-form-heading h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4vw, 3rem);
}
.custom-form-heading > p:last-child {
  margin: 0;
  color: var(--color-text-muted);
}
.custom-form-heading > p:last-child span:first-child,
.custom-form-field > label > span:first-child:not(.optional-label):not(.recommended-label) {
  color: var(--color-heading);
}

.custom-order-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.custom-order-form fieldset {
  margin: 0 0 2rem;
  padding: 0 0 2rem;
  border: 0;
  border-bottom: 1px solid rgba(241, 173, 101, 0.35);
}
.custom-order-form legend {
  margin-bottom: 1.15rem;
  color: var(--color-heading);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}
.custom-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.custom-form-field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.35rem;
}
.custom-form-field-full {
  grid-column: 1 / -1;
}
.custom-form-field > label {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 800;
}
.optional-label,
.recommended-label {
  margin-left: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.recommended-label {
  color: var(--color-heading);
}

.custom-form-field input:not([type="checkbox"]):not([type="file"]),
.custom-form-field select,
.custom-form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(241, 173, 101, 0.72);
  border-radius: var(--radius-sm);
  background: #fffcf7;
  color: var(--color-text);
}
.custom-form-field textarea {
  min-height: 118px;
  resize: vertical;
}
.custom-form-field input::placeholder,
.custom-form-field textarea::placeholder {
  color: #9b776f;
}
.custom-form-field [aria-invalid="true"] {
  border-color: var(--color-heading) !important;
  box-shadow: 0 0 0 3px rgba(200, 61, 74, 0.1);
}
.custom-field-hint {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.77rem;
}
.custom-field-error {
  min-height: 1.15em;
  margin: 0;
  color: var(--color-heading);
  font-size: 0.78rem;
  font-weight: 700;
}

.custom-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.custom-file-drop {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  padding: 1.25rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-cream-light);
  text-align: center;
  cursor: pointer;
}
.custom-file-drop:hover {
  border-color: var(--color-primary);
  background: rgba(246, 66, 104, 0.06);
}
.custom-form-field:has(.custom-file-input:focus-visible) .custom-file-drop {
  outline: 3px solid var(--color-text);
  outline-offset: 4px;
}
.custom-file-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.45rem;
}
.custom-file-drop small {
  color: var(--color-text-muted);
}
.reference-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
}
.reference-preview:empty {
  display: none;
}
.reference-preview > div {
  min-width: 0;
  padding: 0.45rem;
  border: 1px solid rgba(241, 173, 101, 0.4);
  border-radius: var(--radius-sm);
  background: var(--color-cream-light);
}
.reference-preview img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.45rem;
  object-fit: cover;
}
.reference-preview span {
  display: block;
  overflow: hidden;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--color-cream-light);
  cursor: pointer;
}
.custom-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  accent-color: var(--color-primary);
}

.custom-form-footer {
  text-align: center;
}
.custom-form-footer .btn {
  min-width: min(100%, 310px);
  min-height: 52px;
}
.custom-form-footer > p:last-child {
  max-width: 540px;
  margin: 0.7rem auto 0;
  color: var(--color-text-muted);
  font-size: 0.78rem;
}
.custom-form-status {
  min-height: 1.5em;
  margin-bottom: 0.7rem;
  font-weight: 800;
}
.custom-form-status.is-error {
  color: var(--color-heading);
}
.custom-form-status.is-ready {
  color: #2f7650;
}

@media (max-width: 991.98px) {
  .custom-order-hero-shell,
  .custom-request-layout {
    grid-template-columns: 1fr;
  }
  .custom-order-hero-copy {
    text-align: center;
  }
  .custom-order-hero-copy > p:last-child {
    margin-inline: auto;
  }
  .custom-order-hero-shell {
    align-content: center;
  }
  .custom-order-hero-art {
    min-height: 280px;
  }
  .custom-request-guide {
    position: static;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .custom-price-content {
    padding: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .custom-order-hero {
    min-height: calc(100svh - 92px);
  }
  .custom-order-hero-shell {
    gap: 0;
    padding-block: 2rem;
  }
  .custom-order-hero-art {
    min-height: 250px;
  }
  .custom-form-grid {
    grid-template-columns: 1fr;
  }
  .custom-form-field-full {
    grid-column: auto;
  }
  .custom-form-card {
    border-radius: 1.25rem;
  }
  .custom-request-guide {
    padding: 1.5rem;
  }
  .custom-pricing-heading {
    margin-bottom: 2rem;
  }
  .custom-pricing-category-secondary {
    margin-top: 3.25rem;
  }
  .custom-price-card {
    border-radius: 1.2rem;
  }
  .custom-price-content {
    padding: 1.25rem;
  }
  .custom-price-title-row h4 {
    font-size: 1.8rem;
  }
  .custom-price strong {
    font-size: 2.35rem;
  }
}

@media (max-width: 359.98px) {
  .custom-order-hero-copy h1 {
    font-size: 2.6rem;
  }
  .custom-price-title-row h4 {
    font-size: 1.6rem;
  }
  .custom-price strong {
    font-size: 2.1rem;
  }
  .custom-order-form,
  .custom-form-heading {
    padding-inline: 1rem;
  }
}



