.order-builder {
  padding-block: 1.5rem 2.6rem;
  scroll-margin-top: 1.3rem;
}
.order-heading h2,
.basket-title h2 {
  font-family: var(--display), sans-serif;
  letter-spacing: -0.045em;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
}
.order-heading h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #e2c386;
}
.order-heading > p {
  max-width: 49rem;
  margin: 0.65rem 0 1.45rem;
  color: #c8c3ba;
}
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.8fr);
  gap: clamp(1rem, 3vw, 2.3rem);
  align-items: start;
}
.order-grid[hidden],
.order-basket[hidden],
.order-uploads [hidden],
.order-controls [hidden] {
  display: none !important;
}
.order-controls {
  min-width: 0;
}
.order-controls fieldset,
.order-uploads {
  min-width: 0;
  border: 1px solid #534b39;
  border-radius: 5px;
  padding: 0.9rem 1.1rem 1.1rem;
  margin: 0 0 1rem;
  background: #151411;
  color: #f5f1e8;
}
.order-grid legend,
.order-uploads legend {
  padding: 0 0.4rem;
  font-weight: 700;
  color: #f5e4bf;
  font-size: 1.02rem;
}
.order-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.order-pair label,
.order-uploads label {
  display: grid;
  gap: 0.32rem;
  font-weight: 600;
  font-size: 0.91rem;
}
.order-pair select,
.order-pair input,
.order-uploads input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #665e51;
  background: #0e0e0d;
  color: #fff;
  border-radius: 3px;
  padding: 0.55rem 0.6rem;
  font: inherit;
  color-scheme: dark;
}
.order-pair select:disabled {
  opacity: 0.65;
}
.order-pair + .order-pair {
  margin-top: 0.8rem;
}
.duration-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.duration-options label,
.creative-choices label {
  cursor: pointer;
  position: relative;
  color: #ede8df;
}
.duration-options input,
.creative-choices input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.duration-options span,
.creative-choices label > span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #5d5548;
  border-radius: 3px;
  background: #191815;
  padding: 0.45rem 0.75rem;
}
.duration-options input:checked + span,
.creative-choices input:checked + span {
  border-color: #e5c482;
  box-shadow: inset 0 0 0 1px #d7b16f;
  background: #302920;
  color: #fff5d9;
}
.duration-options input:focus-visible + span,
.creative-choices input:focus-visible + span,
.order-grid select:focus-visible,
.order-grid input:focus-visible,
.order-basket button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.creative-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.creative-choices label > span {
  display: block;
  height: 100%;
  padding: 0.65rem 0.75rem;
}
.creative-choices strong,
.creative-choices small {
  display: block;
}
.creative-choices small {
  font-size: 0.81rem;
  color: #cdc5b8;
  line-height: 1.35;
  margin-top: 0.2rem;
}
.order-summary {
  background: linear-gradient(145deg, #24221e, #11110f 64%);
  border: 1px solid #9e8354;
  padding: clamp(1rem, 2.3vw, 1.65rem);
  border-radius: 5px;
}
.order-summary h3 {
  font-size: 1.45rem;
  margin: 1rem 0 0.35rem;
}
.order-summary > p {
  margin: 0.24rem 0;
  color: #e1dacd;
}
.format-stage {
  height: 7.2rem;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, #28261f, #12120f);
  border: 1px solid #39352b;
  overflow: hidden;
}
.format-window {
  width: var(--fw, 75%);
  height: var(--fh, 80%);
  max-width: 94%;
  max-height: 90%;
  display: grid;
  place-items: center;
  border: 1px solid #c4a66b;
  border-radius: 3px;
  background: #1f1b16 url('/assets/studio-service-video.webp') center 51% / cover no-repeat;
  box-shadow: 0 3px 10px #070706;
}
.format-window i {
  width: 83%;
  height: 75%;
  border: 1px dashed #f8ead188;
}
.order-price {
  margin: 0.9rem 0 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #4d4331;
  line-height: 1.33;
}
.order-price strong,
.order-price span {
  display: block;
}
.order-price strong {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: #f0d59e;
}
.order-price span,
.order-help {
  font-size: 0.875rem;
}
.order-summary .button {
  margin-right: 0.7rem;
  min-height: 44px;
}
.order-summary .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.order-summary .order-help {
  margin-top: 0.55rem;
  color: #c9beab;
}
.order-basket {
  margin: 0 0 1.4rem;
  border: 1px solid #8b744e;
  background: #171611;
  color: #f5efe3;
  padding: clamp(0.85rem, 2vw, 1.45rem);
  border-radius: 4px;
  scroll-margin-top: 1rem;
}
.basket-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.basket-title h2 {
  font-size: 1.9rem;
}
.order-basket ul {
  padding: 0;
  margin: 0.8rem 0;
  list-style: none;
}
.order-basket li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #524936;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.35rem 0.8rem;
}
.order-basket li p {
  margin: 0.2rem 0;
  color: #d7cdbb;
}
.basket-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.basket-actions a,
.basket-actions button {
  background: none;
  color: #efd599;
  border: 0;
  padding: 0.45rem 0;
  font: inherit;
  font-size: 0.87rem;
  text-decoration: underline;
  min-height: 36px;
  cursor: pointer;
}
.basket-totals {
  font-weight: 700;
  color: #f1d498;
}
.basket-counter:focus-visible,
.basket-counter:hover {
  text-decoration: underline;
}
.order-uploads {
  margin: 1.2rem 0;
}
.order-uploads legend span,
.order-uploads label span {
  font-weight: 400;
  font-size: 0.84rem;
}
.order-uploads input {
  margin: 0.35rem 0;
}
.order-uploads input[type='file'] {
  font-size: 0.84rem;
}
.order-uploads small {
  display: block;
  color: #d7cdbe;
  line-height: 1.4;
}
.order-uploads small + label {
  margin-top: 0.8rem;
}
.price-choice .basket-action {
  display: block;
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 600;
}
.order-empty-message {
  font-size: 1rem;
}
.order-uploads [aria-invalid='true'] {
  border-color: #fbb5a4;
}
.order-basket .text-link {
  color: #f1d498;
}
@media (max-width: 750px) {
  .order-grid {
    grid-template-columns: 1fr;
  }
  .order-summary {
    padding: 1rem;
  }
  .format-stage {
    height: 5.8rem;
  }
  .order-controls fieldset {
    margin-bottom: 0.7rem;
  }
  .order-basket li {
    grid-template-columns: 1fr;
  }
  .order-heading > p {
    margin-bottom: 1rem;
  }
  .service-utility .basket-counter {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
  .order-grid .button {
    width: auto;
  }
}
@media (max-width: 420px) {
  .order-controls fieldset,
  .order-uploads {
    padding: 0.6rem 0.65rem 0.7rem;
  }
  .duration-options {
    gap: 0.27rem;
  }
  .duration-options span {
    padding: 0.35rem 0.43rem;
  }
  .order-pair {
    gap: 0.45rem;
  }
  .creative-choices label > span {
    padding: 0.5rem;
  }
  .basket-title {
    align-items: start;
  }
  .service-utility .basket-counter {
    font-size: 0.72rem;
  }
}

.revision-info {
  margin: 1rem 0 0;
  border-top: 1px solid #534b39;
  color: #eee8dd;
}
.revision-info summary {
  padding: 0.8rem 0;
  cursor: pointer;
  font-weight: 600;
  color: #efd599;
}
.revision-info p {
  max-width: 68ch;
  margin: 0.1rem 0 0.7rem;
  line-height: 1.55;
}
.service-utility .basket-counter[hidden],
#brief-form [hidden] {
  display: none !important;
}
.service-utility .basket-counter {
  font-variant-numeric: tabular-nums;
}
.order-uploads label[for='asset-link'] {
  display: block;
}

[data-js-only] {
  display: none !important;
}
.order-interactive .price-choice [data-js-only] {
  display: block !important;
}

.mobile-order-summary {
  display: none;
}
#advert-summary {
  scroll-margin-top: 4.2rem;
}
@media (max-width: 750px) {
  .mobile-order-summary:not([hidden]) {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 2;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: #171510;
    color: #f5d79b;
    border-block: 1px solid #69593d;
    padding: 0.45rem 0.7rem;
    margin-bottom: 1rem;
    font-size: 0.86rem;
    font-weight: 700;
  }
  .mobile-order-summary a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
  }
  .mobile-order-summary[hidden] {
    display: none;
  }
}
@media (max-width: 420px) {
  .duration-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .duration-options span {
    justify-content: center;
    padding: 0.25rem 0.12rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}
.advert-payment {
  max-width: 48rem;
  padding-block: clamp(2rem, 8vw, 5rem);
}
.advert-payment .payment-wordmark {
  width: min(13rem, 60vw);
  margin-bottom: 2rem;
}
.advert-payment h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); }
.advert-payment p { max-width: 64ch; }
.advert-payment form, .advert-payment details { margin-block: 1.25rem; }
.payment-lines { list-style: none; padding: 0; margin: 1.5rem 0; }
.payment-lines li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .65rem; border-bottom: 1px solid #63583f; }
.payment-lines li strong { white-space: nowrap; }
.payment-choices { min-width: 0; border: 0; padding: 0; margin: 1rem 0 0; }
.payment-choices[hidden] { display: none; }
.payment-choices legend { font-weight: 700; margin-bottom: .4rem; }
.payment-choices label { display: inline-flex; align-items: center; gap: .45rem; margin: 0 1.2rem .25rem 0; cursor: pointer; }
.payment-choices input[type=radio] { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: #dab975; }
