.order-panel-shell { overflow: visible; }

.order-intro {
  margin: 14px 0 18px;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.order-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin: 2px auto 8px;
  padding: 8px 4px 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.order-step {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 62px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8291a3;
  font: inherit;
  cursor: default;
}

.order-step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.order-step-label {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.order-step-arrow {
  flex: 0 0 auto;
  margin-top: 8px;
  color: #b7c2cf;
  font-size: 20px;
  line-height: 38px;
}

.order-step.is-complete:not(:disabled),
.order-step.is-active:not(:disabled) {
  cursor: pointer;
}

.order-step.is-complete .order-step-number {
  border-color: var(--sv-accent);
  background: var(--sv-accent);
  color: #fff;
}

.order-step.is-complete .order-step-label { color: var(--sv-primary); }

.order-step.is-active .order-step-number {
  border-color: var(--sv-primary);
  background: #fff;
  color: var(--sv-primary);
  box-shadow: 0 0 0 4px rgba(77, 163, 255, 0.16);
  transform: scale(1.05);
}

.order-step.is-active .order-step-label { color: var(--sv-primary); }
.order-step:disabled { opacity: 1; }

.order-stage {
  padding: 16px;
  border: 1px solid var(--sv-border-soft);
  border-radius: 14px;
  background: #f8fbff;
}

.order-stage[hidden] { display: none !important; }

.order-stage-heading {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 15px;
}

.order-stage-heading h2 {
  margin: 0;
  color: var(--sv-primary);
  font-size: 18px;
}

.order-stage-kicker {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-field { margin-bottom: 12px; }
.order-field:last-child { margin-bottom: 0; }

.order-field label,
.order-label {
  display: block;
  margin: 0 0 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.order-required { color: #b42318; }

.order-input,
.order-textarea,
.order-select {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid #a9cfee;
  border-radius: 10px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.order-textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.45;
}

.order-input:focus,
.order-textarea:focus,
.order-select:focus {
  outline: 2px solid rgba(77, 163, 255, 0.24);
  border-color: var(--sv-accent);
}

.order-product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px;
  border: 1px solid #c7e2ff;
  border-radius: 12px;
  background: #fff;
}

.order-product-info,
.order-product-price,
.order-total-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.order-product-name { color: var(--sv-primary); font-size: 16px; }
.order-product-description,
.order-product-price span,
.order-total-box span { color: #64748b; font-size: 12px; }
.order-product-price { text-align: right; }
.order-product-price strong,
.order-total-box strong { color: #172033; font-size: 17px; }

.order-product-controls {
  align-items: end;
  margin-top: 14px;
}

.order-total-box {
  min-height: 42px;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 10px;
  background: #eaf5ff;
  text-align: right;
}

.order-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 12px;
}

.order-choice,
.order-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.order-choice input,
.order-check input { margin-top: 2px; }

.order-muted {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.order-hidden { display: none !important; }
.order-note-field { margin-top: 14px; }

.order-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.order-nav-row-end { justify-content: flex-end; }

.order-next,
.order-back,
.order-submit,
.order-home-button {
  min-width: 120px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.order-next,
.order-submit {
  border: 0;
  background: var(--sv-accent);
  color: #fff;
  cursor: pointer;
}

.order-back,
.order-home-button {
  border: 1px solid #9fc9eb;
  background: #fff;
  color: var(--sv-primary);
  cursor: pointer;
}

.order-submit:disabled,
.order-next:disabled { opacity: .6; cursor: wait; }

.order-summary {
  display: grid;
  gap: 12px;
}

.order-summary-card {
  padding: 13px 14px;
  border: 1px solid #c7e2ff;
  border-radius: 11px;
  background: #fff;
}

.order-summary-card h3 {
  margin: 0 0 9px;
  color: var(--sv-primary);
  font-size: 14px;
}

.order-summary-list {
  display: grid;
  grid-template-columns: minmax(105px, auto) 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.order-summary-list dt { color: #64748b; font-weight: 700; }
.order-summary-list dd { margin: 0; color: #26364a; overflow-wrap: anywhere; }
.order-summary-total { font-weight: 800; color: #172033 !important; }

.order-confirm-check {
  margin-top: 15px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #eef7ff;
}

.order-privacy-note {
  margin: 12px 0;
  color: #5f6f7f;
  font-size: 12px;
  line-height: 1.45;
}

.order-privacy-note a { color: #1f6fbf; font-weight: 700; }

.order-message {
  min-height: 20px;
  margin-top: 8px;
  color: #334155;
  font-size: 13px;
}
.order-message.error { color: #b42318; }
.order-message.success { color: #167044; }

.order-result {
  padding: 20px 16px;
  border: 1px solid #c7e2ff;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.order-result-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 800;
}

.order-result.success .order-result-icon { background: #e9f8ef; color: #167044; }
.order-result.error .order-result-icon { background: #fff0f0; color: #b42318; }
.order-result h3 { margin: 0 0 8px; color: var(--sv-primary); font-size: 19px; }
.order-result p { margin: 5px 0; color: #475569; font-size: 14px; line-height: 1.5; }
.order-result .order-number { font-size: 16px; font-weight: 800; color: #172033; }
.order-result-actions { justify-content: center; }

@media (max-width: 760px) {
  .order-stepper { justify-content: flex-start; }
  .order-step { min-width: 52px; }
  .order-step-number { width: 34px; height: 34px; }
  .order-step-label { font-size: 10px; }
  .order-step-arrow { margin-top: 5px; }
}

@media (max-width: 640px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-product-card { align-items: flex-start; }
  .order-product-price { text-align: right; }
  .order-total-box { text-align: left; }
  .order-summary-list { grid-template-columns: 1fr; gap: 2px; }
  .order-summary-list dd { margin-bottom: 7px; }
}

@media (max-width: 430px) {
  .order-stage { padding: 13px; }
  .order-step { min-width: 45px; }
  .order-step-arrow { font-size: 16px; }
  .order-nav-row { flex-wrap: wrap; }
  .order-next,
  .order-back,
  .order-submit,
  .order-home-button { flex: 1 1 130px; }
}

/* Çoklu ürün ve kademeli fiyat görünümü */
.order-product-list {
  display: grid;
  gap: 12px;
}

.order-product-card {
  display: block;
}

.order-product-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.order-product-tier-note {
  display: inline-block;
  margin-top: 5px;
  color: #1f6fbf;
  font-size: 11px;
  font-weight: 700;
}

.order-product-card .order-product-controls {
  display: grid;
  grid-template-columns: minmax(110px, 180px) minmax(170px, 1fr);
  gap: 12px;
  align-items: end;
}

.order-quantity-field {
  margin-bottom: 0;
}

.order-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid #b9dcfb;
  border-radius: 12px;
  background: #eaf5ff;
}

.order-cart-total span {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.order-cart-total strong {
  color: #172033;
  font-size: 20px;
}

.order-summary-products {
  display: grid;
  gap: 9px;
}

.order-summary-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e2e8f0;
}

.order-summary-product-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-summary-product-row span {
  color: #64748b;
  font-size: 12px;
}

.order-summary-grand-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  font-size: 14px;
}

.order-summary-grand-total strong {
  color: #172033;
  font-size: 18px;
}

@media (max-width: 640px) {
  .order-product-main {
    flex-direction: column;
    gap: 10px;
  }

  .order-product-card .order-product-price {
    text-align: left;
  }

  .order-product-card .order-product-controls {
    grid-template-columns: 1fr;
  }
}

/* Sipariş satırı: ürün ve adet dropdown seçimi */
.order-product-select-row {
  padding: 14px;
}

.order-product-picker-grid {
  display: grid;
  /* Ürün alanı eski 190px minimumun yaklaşık 1,3 katıdır.
     Satır iki seviyeye bölünerek varsayılan ekran genişliğinin taşması önlenir. */
  grid-template-columns: minmax(247px, 1.3fr) minmax(90px, .45fr) minmax(125px, .65fr);
  gap: 12px;
  align-items: end;
}

.order-product-picker-field { grid-column: 1; }
.order-product-select-row .order-quantity-field { grid-column: 2; }
.order-product-live-price { grid-column: 3; }
.order-product-select-row .order-total-box { grid-column: 1 / 3; }
.order-product-select-row .order-product-remove { grid-column: 3; }

.order-product-picker-field,
.order-product-select-row .order-quantity-field {
  margin-bottom: 0;
}

.order-product-live-price {
  min-height: 42px;
  justify-content: center;
  padding: 0 2px 6px;
  text-align: right;
}

.order-product-selected-info {
  margin-top: 9px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.order-product-remove,
.order-product-add {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.order-product-remove {
  border: 1px solid #d7dde5;
  background: #fff;
  color: #64748b;
}

.order-product-add-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
}

.order-product-add-row span {
  color: #64748b;
  font-size: 12px;
}

.order-product-add {
  border: 1px solid #9fc9eb;
  background: #fff;
  color: var(--sv-primary);
}

.order-product-add:disabled {
  opacity: .5;
  cursor: default;
}

@media (max-width: 760px) {
  .order-product-picker-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(90px, .55fr);
  }

  .order-product-picker-field { grid-column: 1; }
  .order-product-select-row .order-quantity-field { grid-column: 2; }
  .order-product-live-price { grid-column: 1; }
  .order-product-select-row .order-total-box { grid-column: 2; }
  .order-product-select-row .order-product-remove { grid-column: 1 / -1; }

  .order-product-live-price,
  .order-total-box {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .order-product-picker-grid {
    grid-template-columns: 1fr;
  }

  .order-product-picker-field,
  .order-product-select-row .order-quantity-field,
  .order-product-live-price,
  .order-product-select-row .order-total-box,
  .order-product-select-row .order-product-remove {
    grid-column: 1;
  }

  .order-product-add-row {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Cloudflare Turnstile */
.order-turnstile-wrap {
  margin: 14px 0 6px;
  padding: 12px;
  border: 1px solid #c7e2ff;
  border-radius: 10px;
  background: #fff;
}

#orderTurnstile {
  min-height: 65px;
}


.order-promo-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 11px 14px;
  border: 1px solid var(--border, #d9e2ec);
  border-radius: 12px;
  background: rgba(77, 163, 255, 0.08);
}

.order-promo-code span {
  font-size: 0.92rem;
}

.order-promo-code strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* İl / ilçe serbest yazılabilir, filtrelenebilir seçim listesi */
.order-combobox {
  position: relative;
}

.order-combobox-menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% - 8px);
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: #fff;
  border: 1px solid #a9cfee;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(27, 73, 117, .16);
  padding: 5px;
}

.order-combobox-menu[hidden] {
  display: none !important;
}

.order-combobox-option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  padding: 10px 11px;
  text-align: left;
  font: inherit;
  color: #26364a;
  cursor: pointer;
}

.order-combobox-option:hover,
.order-combobox-option:focus-visible {
  background: #edf6ff;
  outline: none;
}

.order-combobox-empty {
  padding: 10px 11px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

/* 2026-09-09: ürün kartı ve sipariş akışı için mobil-öncelikli sabit hiyerarşi */
.order-product-picker-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "product product product quantity"
    "price price total total"
    "remove remove remove remove";
  align-items: stretch;
}
.order-product-picker-field { grid-area: product; min-width: 0; }
.order-product-select-row .order-quantity-field { grid-area: quantity; min-width: 0; }
.order-product-live-price { grid-area: price; }
.order-product-select-row .order-total-box { grid-area: total; }
.order-product-select-row .order-product-remove { grid-area: remove; }
.order-product-live-price,
.order-product-select-row .order-total-box {
  min-height: 62px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f7fbff;
  text-align: left;
  justify-content: center;
}
.order-product-live-price { display: flex; flex-direction: column; gap: 3px; }
.order-product-live-price strong,
.order-product-select-row .order-total-box strong { font-size: 16px; }
.order-product-select-row .order-product-remove { width: 100%; }

@media (max-width: 760px) {
  .order-stepper { justify-content: flex-start; scroll-snap-type: x proximity; padding-bottom: 10px; }
  .order-step { min-width: 58px; scroll-snap-align: center; }
  .order-step-number { width: 36px; height: 36px; }
  .order-step-arrow { font-size: 17px; }
  .order-stage { padding: 13px; }
  .order-stage-heading { flex-wrap: wrap; margin-bottom: 13px; }
  .order-grid { grid-template-columns: 1fr; gap: 0; }
  .order-input, .order-textarea, .order-select { min-height: 46px; font-size: 16px; }
  .order-textarea { min-height: 108px; }
  .order-choice, .order-check { font-size: 14px; }
  .order-choice input, .order-check input { width: 19px; height: 19px; flex: 0 0 auto; }
  .order-nav-row { gap: 8px; }
  .order-next, .order-back, .order-submit, .order-home-button { min-height: 46px; }
  .order-product-add-row { align-items: flex-start; flex-direction: column; }
  .order-product-add { min-height: 44px; }
  .order-combobox-menu { max-height: min(42vh, 300px); }
  .order-combobox-option { min-height: 44px; padding: 11px 12px; }
}

@media (max-width: 599px) {
  .order-product-picker-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "product"
      "quantity"
      "price"
      "total"
      "remove";
  }
  .order-product-live-price,
  .order-product-select-row .order-total-box { min-height: 58px; }
  .order-product-select-row .order-quantity-field .order-select { max-width: 170px; }
  .order-nav-row { align-items: stretch; }
  .order-nav-row > * { flex: 1 1 0; min-width: 0; }
  .order-nav-row-end > * { flex: 1 1 100%; }
  .order-promo-code { align-items: flex-start; flex-direction: column; gap: 4px; }
  .order-turnstile-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 360px) {
  .order-stage { padding: 10px; }
  .order-step { min-width: 54px; }
  .order-step-label { font-size: 10px; }
  .order-nav-row { flex-direction: column; }
  .order-nav-row > * { width: 100%; }
}

/* Sipariş onayında düz metin yasal belgeler */
.order-legal-text {
  max-height: 220px;
  margin-top: 12px;
  padding: 12px 13px;
  overflow: auto;
  border: 1px solid #c7d9ea;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
}

.order-legal-text:focus {
  outline: 2px solid rgba(77, 163, 255, .22);
  border-color: var(--sv-accent);
}

.order-legal-check {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #d7e4ef;
  border-radius: 10px;
  background: #fff;
}

.order-legal-check input:disabled + span { opacity: .6; }

.order-legal-warnings {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff5f5;
  color: #b42318;
  font-size: 12px;
  line-height: 1.45;
}
.order-legal-warnings strong { display: block; margin-bottom: 3px; }

.order-access-note,
.order-access-result {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid rgba(80, 105, 135, .22);
  border-radius: 12px;
  background: rgba(248, 250, 253, .96);
}
.order-access-note p,
.order-access-result p { margin: 6px 0; }
.order-access-result .order-number { margin: 4px 0 10px; }

/* Sipariş sonucu: her ürün adedi için tahsis edilen kod + şifre satırları */
.order-access-all h3 { margin-top: 0; }
.order-access-product + .order-access-product { margin-top: 12px; }
.order-access-product h4 { margin: 0 0 7px; color: #26364a; font-size: 14px; }
.order-access-credential-list { display: grid; gap: 7px; }
.order-access-credential-row {
  display: grid;
  grid-template-columns: minmax(64px, .7fr) minmax(92px, 1fr) minmax(82px, .8fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #dce6ef;
  border-radius: 9px;
  background: #fff;
}
.order-access-credential-row span { color: #64748b; font-size: 12px; }
.order-access-credential-row strong,
.order-access-credential-row code { font-size: 14px; font-variant-numeric: tabular-nums; }
.order-access-credential-row code { padding: 2px 5px; border-radius: 5px; background: #f2f6fa; color: #26364a; }
.order-access-credential-row em { color: #167044; font-size: 11px; font-style: normal; font-weight: 800; }

@media (max-width: 520px) {
  .order-access-credential-row {
    grid-template-columns: 1fr 1fr;
  }
  .order-access-credential-row em { justify-self: start; }
}

/* Sipariş sonucu ve takip ekranındaki ödeme seçenekleri */
.order-payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  text-align: left;
}

.order-payment-card {
  border: 1px solid #b9d9f5;
  border-radius: 12px;
  background: #f8fbff;
  padding: 14px;
}

.order-payment-card h4 {
  margin: 0 0 8px;
  color: var(--sv-primary);
  font-size: 15px;
}

.order-payment-price {
  margin: 0 !important;
  color: #172033 !important;
  font-size: 20px !important;
  font-weight: 800;
}

.order-payment-note,
.order-payment-state {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
}

.order-payment-note { color: #167044 !important; font-weight: 700; }
.order-payment-state { color: #64748b !important; }

.payment-bank-details {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.payment-bank-details > div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid #d9e9f7;
}

.payment-bank-details span { color: #64748b; font-size: 12px; }
.payment-bank-details strong { min-width: 0; overflow-wrap: anywhere; color: #24364b; font-size: 13px; }
.payment-copy {
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid #9ccaff;
  border-radius: 8px;
  background: #fff;
  color: var(--sv-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.payment-config-warning { margin-top: 12px !important; color: #b42318 !important; font-weight: 700; }
.payment-receipt-note { margin-top: 14px !important; }

@media (max-width: 600px) {
  .order-payment-options { grid-template-columns: 1fr; }
  .payment-bank-details > div { grid-template-columns: 68px minmax(0, 1fr) auto; }
  .payment-copy { min-height: 44px; }
}

/* Görsel ürün kataloğu ve sepet */
.order-product-catalog-scroll {
  max-height: 452px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--sv-primary) #e8eef5;
  scrollbar-width: thin;
  touch-action: pan-y;
  direction: rtl;
  padding-left: 6px;
}

.order-product-catalog-scroll::-webkit-scrollbar { width: 10px; }
.order-product-catalog-scroll::-webkit-scrollbar-track { background: #e8eef5; border-radius: 999px; }
.order-product-catalog-scroll::-webkit-scrollbar-thumb { background: var(--sv-primary); border-radius: 999px; }

.order-product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 12px;
  direction: ltr;
}

.order-catalog-card {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 7px;
  padding: 10px;
  border: 1px solid #d5e1ec;
  border-radius: 14px;
  background: #fff;
  color: #24364b;
  text-align: left;
  cursor: pointer;
}

.order-catalog-card:hover,
.order-catalog-card:focus-visible { border-color: var(--sv-primary); box-shadow: 0 5px 18px rgba(30, 92, 145, .12); }

.order-catalog-image,
.order-detail-image,
.order-cart-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  object-fit: contain;
  background: #f4f7fa;
  color: #26364a;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
}

.order-catalog-image { height: 100%; min-height: 0; border-radius: 10px; }
.order-catalog-name { font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; white-space: normal; }
.order-catalog-price { color: var(--sv-primary); font-size: 14px; }
.product-image-name-fallback { padding: 10px; font-weight: 800; line-height: 1.25; }

.order-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 14px;
  background: #fff;
}
.order-product-detail[hidden],
.order-product-catalog-scroll[hidden] { display: none !important; }
.order-detail-image { height: clamp(240px, 42vw, 410px); border-radius: 12px; }
.order-detail-copy h3 { margin: 0 0 6px; overflow-wrap: anywhere; }
.order-detail-copy p { margin: 0 0 8px; color: #64748b; line-height: 1.45; }
.order-detail-copy strong { color: var(--sv-primary); }
.order-detail-actions { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; }
.order-detail-back,
.order-detail-actions .order-primary-button {
  min-height: 46px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}
.order-detail-back { border: 1px solid #abc4da; background: #fff; color: var(--sv-primary); font-size: 25px; }
.order-detail-actions .order-primary-button { border: 0; background: var(--sv-primary); color: #fff; font-size: 15px; }
.order-detail-actions .order-primary-button:disabled { opacity: .55; cursor: not-allowed; }

.order-cart { margin-top: 20px; }
.order-cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.order-cart-heading h3 { margin: 0; }
.order-cart-heading span { color: #64748b; font-size: 13px; font-weight: 700; }
.order-cart-list { display: grid; gap: 10px; }
.order-cart-empty { margin: 0; padding: 14px; border: 1px dashed #c8d5e1; border-radius: 12px; color: #64748b; }
.order-cart-empty[hidden] { display: none !important; }
.order-cart-row {
  display: grid;
  grid-template-columns: 68px minmax(120px, 1fr) 86px minmax(115px, auto) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #dce6ef;
  border-radius: 12px;
  background: #fff;
}
.order-cart-image { width: 68px; height: 68px; border-radius: 9px; font-size: 10px; padding: 5px; }
.order-cart-product-name { min-width: 0; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; white-space: normal; }
.order-cart-quantity { display: grid; gap: 4px; color: #64748b; font-size: 11px; font-weight: 700; }
.order-cart-quantity .order-select { min-height: 40px; padding: 7px 28px 7px 9px; }
.order-cart-price { display: grid; gap: 3px; text-align: right; }
.order-cart-price span { color: #64748b; font-size: 11px; }
.order-cart-price strong { color: #24364b; }

@media (max-width: 700px) {
  .order-product-catalog-scroll { max-height: 392px; }
  .order-product-catalog-grid { grid-auto-rows: 190px; gap: 9px; }
  .order-catalog-card { padding: 8px; }
  .order-cart-row { grid-template-columns: 58px minmax(0, 1fr) 78px; }
  .order-cart-image { width: 58px; height: 58px; }
  .order-cart-price { grid-column: 2; text-align: left; }
  .order-cart-row .order-product-remove { grid-column: 3; grid-row: 2; width: 100%; }
}

@media (max-width: 390px) {
  .order-product-catalog-scroll { max-height: 352px; }
  .order-product-catalog-grid { grid-auto-rows: 170px; }
  .order-catalog-name { font-size: 13px; }
  .order-cart-row { grid-template-columns: 52px minmax(0, 1fr) 72px; gap: 7px; }
  .order-cart-image { width: 52px; height: 52px; }
}
