#order {
  scroll-margin-top: 75px;
}

/* ORDER SECTION */
.order-section .section__head {
  margin-bottom: 18px;
}

.order-section__head .h2 {
  max-width: 900px;
}

.order-layout {
  display: grid;
  gap: 18px;
}

.order-layout__left,
.order-layout__right {
  min-width: 0;
}

.order-panel,
.order-form {
  border-radius: 24px;
}

.order-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 61, 0.08), transparent 35%),
    rgba(17, 21, 30, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.order-panel__head {
  margin-bottom: 18px;
}

.order-panel__head .h3 {
  margin-bottom: 4px;
}

.choice-block {
  margin-top: 16px;
}

.choice-block__title {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* PRODUCT CARDS */
.visual-products {
  display: grid;
  gap: 12px;
}

.visual-product {
  position: relative;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: 0.2s ease;
}

.visual-product:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
}

.visual-product.is-selected {
  border-color: rgba(255, 122, 61, 0.55);
  background: rgba(255, 122, 61, 0.06);
  box-shadow:
    0 0 0 1px rgba(255, 122, 61, 0.25),
    0 12px 28px rgba(255, 122, 61, 0.12);
}

.visual-product--premium {
  background:
    radial-gradient(circle at top right, rgba(255, 122, 61, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.03);
}

.visual-product__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a3d 0%, #ffb347 100%);
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.visual-product__image-wrap {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.visual-product__image {
  display: block;
  width: 100%;
  height: auto;
}

.visual-product__body {
  display: block;
}

.visual-product__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.visual-product__name,
.visual-product__price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
}

.visual-product__name {
  letter-spacing: -0.03em;
}

.visual-product__price {
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.visual-product__text {
  display: block;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.58;
}

/* COLOR + SIZE */
.swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.swatch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: 0.2s ease;
}

.swatch.is-selected {
  border-color: rgba(255, 122, 61, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 122, 61, 0.25),
    0 10px 22px rgba(255, 122, 61, 0.10);
}

.swatch__dot {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.swatch__dot--black {
  background: #111111;
}

.swatch__dot--white {
  background: #f5f5f5;
}

.swatch__label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.size-chip {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: 0.2s ease;
}

.size-chip.is-selected {
  border-color: rgba(255, 122, 61, 0.55);
  background: rgba(255, 122, 61, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 122, 61, 0.25),
    0 10px 22px rgba(255, 122, 61, 0.10);
}

.size-note {
  margin-top: 10px;
}

/* INCLUDED + SUMMARY CARDS */
.included-card,
.summary-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.included-card__title {
  margin-bottom: 12px;
  padding: 25px 0 0 25px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.offer-list--compact {
  gap: 10px;
}

.offer-list--compact .offer-item {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.offer-list--compact .offer-item strong {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.offer-list--compact .offer-item p {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

/* FORM */
.order-form {
  padding: 18px;
  overflow: visible;
}

.order-form__hidden-selects {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* AUTOCOMPLETE */
.autocomplete-field {
  position: relative;
  z-index: 5;
}

.autocomplete-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(255, 122, 61, 0.25);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(28, 30, 36, 0.98),
    rgba(18, 20, 26, 0.98)
  );
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 122, 61, 0.08),
    0 10px 30px rgba(255, 122, 61, 0.08);
}

.autocomplete-list.is-open {
  display: block;
}

.autocomplete-item {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(6px);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: background 0.15s ease, color 0.15s ease;
}

.autocomplete-item:hover,
.autocomplete-item:focus {
  background: linear-gradient(
    90deg,
    rgba(255, 122, 61, 0.12),
    rgba(255, 179, 71, 0.08)
  );
  color: #fff;
}

.autocomplete-item.is-active {
  background: linear-gradient(
    90deg,
    rgba(255, 122, 61, 0.18),
    rgba(255, 179, 71, 0.12)
  );
  color: #fff;
}

.autocomplete-item + .autocomplete-item {
  margin-top: 4px;
}

.autocomplete-item__sub {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.autocomplete-list::-webkit-scrollbar {
  width: 10px;
}

.autocomplete-list::-webkit-scrollbar-track {
  background: transparent;
}

.autocomplete-list::-webkit-scrollbar-thumb {
  border: 2px solid #1b212c;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.autocomplete-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* CHECKOUT SUMMARY */
.summary-card--checkout {
  margin-top: 18px;
  margin-bottom: 14px;
}

.summary-card__row,
.summary-card__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-card__row {
  padding: 8px 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
}

.summary-card__row strong {
  color: var(--text);
  font-weight: 800;
}

.summary-card__row--discount strong {
  color: #ffb347;
}

.summary-card__total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.summary-card__total strong,
.summary-card__total span {
  font-family: var(--font-display);
  font-weight: 700;
}

.summary-card__note {
  margin: 10px 0 0;
  opacity: 0.74;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

/* PROMO */
.promo-toggle {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #ff7a3d;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.promo-box {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.promo-box__input {
  flex: 1;
}

.promo-box__btn {
  min-width: 96px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.promo-message {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.promo-message--success {
  color: #9df0cc;
}

.promo-message--error {
  color: #ffb29a;
}

/* CHECKBOX / LINKS / SUBMIT */
.check--checkout {
  margin: 14px 0 10px;
}

.order-link {
  color: #ff7a3d;
  text-decoration: underline;
}

.order-submit {
  margin-top: 8px;
}

.secure--order {
  margin-top: 12px;
  gap: 8px;
  font-size: 12px;
}

.secure--order span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* DESKTOP */
@media (min-width: 768px) {
  .order-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 22px;
  }

  .order-panel,
  .order-form {
    padding: 22px;
  }

  .visual-products {
    gap: 14px;
  }

  .sizes {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1100px) {
  .order-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
  }

  .order-panel,
  .order-form {
    padding: 24px;
  }

  .order-section .section__head {
    margin-bottom: 22px;
  }
}

/* MOBILE */
@media (max-width: 720px) {
  .order-section {
    overflow-x: hidden;
  }

  .order-layout {
    display: block;
  }

  .order-layout__left,
  .order-layout__right,
  .order-panel,
  .order-form {
    width: 100%;
  }

  .order-panel__head .muted,
  .card__head .muted,
  .order-section__head .muted {
    font-size: 15px;
    line-height: 1.5;
  }

  .visual-products {
    gap: 14px;
  }

  .visual-product {
    padding: 14px;
    border-radius: 22px;
  }

  .visual-product__image-wrap {
    padding: 12px;
  }

  .visual-product__top {
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
  }

  .visual-product__name {
    font-size: 18px;
    line-height: 1.05;
  }

  .visual-product__price {
    font-size: 16px;
    line-height: 1.05;
    text-align: right;
    white-space: nowrap;
  }

  .visual-product__text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  .visual-product__tag {
    padding: 8px 12px;
    font-size: 12px;
  }

  .swatches {
    gap: 12px;
  }

  .swatch,
  .size-chip {
    min-height: 54px;
  }

  .sizes {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .size-note {
    font-size: 13px;
    line-height: 1.45;
  }

  .included-card {
    padding: 0;
  }

  .offer-list--compact {
    gap: 10px;
  }

  .offer-item {
    padding: 12px;
  }

  .offer-item strong {
    font-size: 16px;
  }

  .offer-item p {
    font-size: 14px;
  }

  .mini {
    margin-top: 16px;
  }

  .mini__text {
    font-size: 14px;
    line-height: 1.55;
  }

  .order-form {
    padding-bottom: 18px;
  }

  .input,
  .textarea,
  .select,
  .file {
    font-size: 16px;
  }

  .autocomplete-list {
    max-height: 220px;
  }

  .summary-card {
    padding: 16px;
    border-radius: 22px;
  }

  .summary-card__row,
  .summary-card__total {
    align-items: flex-start;
  }

  .summary-card__row span {
    font-size: 14px;
    line-height: 1.45;
  }

  .summary-card__row strong {
    max-width: 58%;
    font-size: 14px;
    line-height: 1.45;
    text-align: right;
  }

  .summary-card__total span {
    font-size: 17px;
    line-height: 1.2;
  }

  .summary-card__total strong {
    max-width: 60%;
    font-size: 18px;
    line-height: 1.1;
    text-align: right;
    word-break: keep-all;
  }

  .summary-card__note {
    font-size: 13px;
    line-height: 1.5;
  }

  .promo-toggle {
    font-size: 14px;
  }

  .promo-box {
    flex-direction: column;
    gap: 10px;
  }

  .promo-box__btn {
    width: 100%;
    min-height: 48px;
  }

  .check--checkout {
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .check--checkout span {
    display: block;
  }

  .order-submit {
    min-height: 58px;
    font-size: 16px;
  }

  .secure--order {
    display: grid;
    gap: 8px;
    font-size: 12px;
    line-height: 1.45;
  }
}

/* SMALL MOBILE */
@media (max-width: 390px) {
  .container {
    width: calc(100% - 18px);
  }

  .visual-product__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .visual-product__price {
    text-align: left;
    white-space: normal;
  }

  .sizes {
    gap: 10px;
  }

  .summary-card__row strong,
  .summary-card__total strong {
    max-width: 52%;
    font-size: 16px;
  }

  .summary-card__total span {
    font-size: 16px;
  }

  .secure--order {
    font-size: 11px;
  }
}