/* =========================================================
   New unified editor panel
   Safe external layer for design-editor-new
   ========================================================= */

body.design-editor-new.panel-new-enabled .editor-floating-text-dock {
  display: none !important;
}

body.design-editor-new #editor-new-control-panel-root {
  width: 100%;
  margin: 0 auto 18px auto;
}

body.design-editor-new .editor-new-control-panel {
  width: 645px;
  min-height: 74px;
  margin: 0 auto;
  padding: 10px 16px;
  box-sizing: border-box;

  display: flex;
  align-items: flex-end;
  gap: 8px;

  background: #ffffff;
  border: 1px solid #f1c9b6;
  border-radius: 6px;
}

body.design-editor-new .editor-new-control-panel .enp-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

body.design-editor-new .editor-new-control-panel .enp-label {
  font-size: 9px;
  line-height: 11px;
  text-transform: uppercase;
  color: #555;
}

body.design-editor-new .editor-new-control-panel select {
  height: 38px;
  border: 1px solid #d3d3d3;
  border-radius: 7px;
  background: #ffffff;
  box-sizing: border-box;
}

body.design-editor-new .editor-new-control-panel #enp_font_select {
  width: 190px;
}

body.design-editor-new .editor-new-control-panel #enp_size_select {
  width: 52px;
}

/* Common buttons */
body.design-editor-new .editor-new-control-panel .enp-btn,
body.design-editor-new .editor-new-control-panel .enp-color-btn,
body.design-editor-new .editor-new-control-panel .enp-photo-btn,
body.design-editor-new .editor-new-control-panel .enp-icon-btn,
body.design-editor-new .editor-new-control-panel .enp-align-btn {
  padding-left: 0;
  padding-right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  background-color: #ffffff;
  box-sizing: border-box;
  cursor: pointer;
}

/* Photo button */
body.design-editor-new .editor-new-control-panel .enp-photo-btn {
  font-size: 0;
  line-height: 0;
  background-image: url("/img/icons/SVG/img_butt.svg") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 70% !important;
}

/*
   ВАЖНО:
   #enp_bg_color не задаём жёсткий orange/background.
   Его цвет ставит JS из выбранного bg_color.
*/
body.design-editor-new .editor-new-control-panel #enp_bg_color {
  background-image: none;
}

/* Text color пока оставляем оранжевым как fallback */
body.design-editor-new .editor-new-control-panel #enp_text_color {
  background-color: #f37421;
  background-image: none;
}

/* B / I */
body.design-editor-new .editor-new-control-panel .enp-icon-btn {
  font-size: 22px;
  font-weight: 700;
  color: #555;
  line-height: 38px;
}

body.design-editor-new .editor-new-control-panel #enp_italic {
  font-style: italic;
  font-family: Georgia, serif;
}

/* Hover */
body.design-editor-new .editor-new-control-panel .enp-icon-btn:hover,
body.design-editor-new .editor-new-control-panel .enp-photo-btn:hover,
body.design-editor-new .editor-new-control-panel .enp-color-btn:hover,
body.design-editor-new .editor-new-control-panel .enp-align-btn:hover {
  border-color: #f37421;
}

body.design-editor-new .editor-new-control-panel .enp-icon-btn:hover,
body.design-editor-new .editor-new-control-panel .enp-icon-btn.is-active {
  color: #f37421;
}

/* Format group must be row */
body.design-editor-new .editor-new-control-panel .enp-group.enp-group-format {
  display: flex;
  flex-direction: row !important;
  align-items: flex-end;
  gap: 5px;
}

body.design-editor-new
  .editor-new-control-panel
  .enp-group-format
  .enp-icon-btn,
body.design-editor-new
  .editor-new-control-panel
  .enp-group-format
  .enp-align-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

/* Align buttons with FontAwesome */
body.design-editor-new .editor-new-control-panel .enp-align-btn {
  font-size: 0;
  line-height: 0;
}

body.design-editor-new .editor-new-control-panel .enp-align-btn i {
  font-size: 22px;
  line-height: 38px;
  color: #4d5558;
}

body.design-editor-new .editor-new-control-panel .enp-align-btn:hover i,
body.design-editor-new .editor-new-control-panel .enp-align-btn.is-active i {
  color: #f37421;
}

/* =========================================================
   Keep active text field highlighted while using new panel
   ========================================================= */

/* =========================================================
   Active text field line highlight
   ========================================================= */

body.design-editor-new.panel-new-enabled .field_txt.enp-text-active {
  outline: none !important;
}

body.design-editor-new.panel-new-enabled
  .field_txt.enp-text-active
  .field_txt_inner {
  background: transparent !important;
  box-shadow: none !important;
}

/* Обычная активная линия */
body.design-editor-new.panel-new-enabled .field_line.enp-line-active {
  border-bottom: 1px dashed rgba(243, 116, 33, 0.95) !important;
}

/* Перебиваем старый hover, который красит все field_line серым */
body.design-editor-new.panel-new-enabled
  #editor_box:hover
  .field_line.enp-line-active {
  border-bottom: 1px dashed rgba(243, 116, 33, 0.95) !important;
}

/* =========================================================
   Text field focus by line, not by technical field_txt box
   ========================================================= */

body.design-editor-new.panel-new-enabled .field_txt {
  pointer-events: none;
}

body.design-editor-new.panel-new-enabled .field_txt_inner {
  pointer-events: auto;
  cursor: text;
}

body.design-editor-new.panel-new-enabled .field_line {
  pointer-events: auto;
  cursor: text;
}

/* Активная линия */
body.design-editor-new.panel-new-enabled .field_line.enp-line-active {
  border-bottom: 1px dashed rgba(243, 116, 33, 0.95) !important;
}

body.design-editor-new.panel-new-enabled
  #editor_box:hover
  .field_line.enp-line-active {
  border-bottom: 1px dashed rgba(243, 116, 33, 0.95) !important;
}

#flip_btn,
#new_backslide,
#arrow_right,
#editor_top_panel,
#delete_backslide {
  display: none !important;
}

/* =========================================================
   Disabled text tools when no active text field
   ========================================================= */

body.design-editor-new.panel-new-enabled
  .editor-new-control-panel
  .enp-text-tool.is-disabled,
body.design-editor-new.panel-new-enabled
  .editor-new-control-panel
  select.enp-text-tool:disabled,
body.design-editor-new.panel-new-enabled
  .editor-new-control-panel
  button.enp-text-tool:disabled {
  opacity: 0.35;
  cursor: not-allowed !important;
  filter: grayscale(1);
}

body.design-editor-new.panel-new-enabled
  .editor-new-control-panel
  .enp-text-tool.is-disabled:hover,
body.design-editor-new.panel-new-enabled
  .editor-new-control-panel
  button.enp-text-tool:disabled:hover {
  border-color: #d3d3d3 !important;
}

body.design-editor-new.panel-new-enabled
  .editor-new-control-panel
  button.enp-text-tool:disabled
  i {
  color: #777 !important;
}

.color-select-panel {
  left: 135px;
  top: 310px;
}

body.design-editor-new #editor-top-panel {
  position: absolute;
  top: -200px;
}

/* =========================================================
   Next button near new editor panel
   ========================================================= */

body.design-editor-new.panel-new-enabled #editor-new-control-panel-root {
  position: relative;
}

body.design-editor-new.panel-new-enabled #editor-new-next-slot {
  position: absolute;
  left: calc(50% + 350px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
}

body.design-editor-new.panel-new-enabled #insert_image_btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;

  min-width: 108px;
  height: 40px;
  padding: 0 15px 0 17px;

  border: 2px solid #565656;
  border-radius: 9px;

  background: #565656;
  color: #ffffff;

  font-family: TildaSans, Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
  user-select: none;

  box-shadow: none !important;
}

body.design-editor-new.panel-new-enabled #insert_image_btn:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #565656 !important;
  border-color: #565656 !important;
}

body.design-editor-new.panel-new-enabled #next_btn.editor-new-next-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;

  min-width: 108px;
  height: 40px;
  padding: 0 15px 0 17px;

  border: 2px solid #565656;
  border-radius: 9px;

  background: #565656;
  color: #ffffff;

  font-family: TildaSans, Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
  user-select: none;

  box-shadow: none !important;
}

body.design-editor-new.panel-new-enabled #next_btn.editor-new-next-btn::after {
  content: "";
  width: 10px;
  height: 10px;

  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;

  transform: rotate(45deg);
  margin-left: 0;
}

body.design-editor-new.panel-new-enabled #next_btn.editor-new-next-btn:hover {
  background: #ffffff;
  color: #565656 !important;
  border-color: #565656;
}

body.design-editor-new.panel-new-enabled .pseudo_btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;

  min-width: 108px;
  height: 40px;
  padding: 0 15px 0 17px;

  border: 2px solid #565656;
  border-radius: 9px;

  background: #565656;
  color: #ffffff;

  font-family: TildaSans, Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
  user-select: none;

  box-shadow: none !important;
}

body.design-editor-new.panel-new-enabled .pseudo_btn:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #565656 !important;
  border-color: #565656 !important;
}

body.design-editor-new.panel-new-enabled .pseudo_btn i.fa,
body.design-editor-new.panel-new-enabled .pseudo_btn i.fa::before {
  color: inherit !important;
}

body.design-editor-new.panel-new-enabled #upload_images_btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

body.design-editor-new.panel-new-enabled #upload_images_btn i.fa {
  order: 2;
  margin-left: 6px;
  margin-right: 0 !important;
}

body.design-editor-new.panel-new-enabled #upload_images_btn #fileupload {
  order: 3;
}

body.design-editor-new .editor-projects-bar {
  max-width: 1180px;
  margin: 0 auto 14px;
  text-align: center;
}

body.design-editor-new .editor-projects-btn {
  min-width: 150px;
  height: 40px;
  padding: 0 22px;
  border: 1px solid #f27421;
  border-radius: 8px;
  background: #ffffff;
  color: #f27421;
  font-family: "TildaSans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

body.design-editor-new .editor-projects-btn:hover {
  background: #fff4ec;
}

body.design-editor-new .editor-projects-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
}

body.design-editor-new .editor-projects-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 32, 54, 0.35);
}

body.design-editor-new .editor-projects-modal-box {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 80px);
  margin: 40px auto;
  overflow: auto;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

body.design-editor-new .editor-projects-modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid #eeeeee;
  background: #ffffff;
}

body.design-editor-new .editor-projects-modal-title {
  color: #1f2036;
  font-family: "TildaSans", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

body.design-editor-new .editor-projects-modal-note {
  margin-top: 4px;
  color: #777777;
  font-size: 13px;
}

body.design-editor-new .editor-projects-list {
  padding: 18px 20px 22px;
}

body.design-editor-new .editor-projects-list .saved_card_item {
  border: 1px solid #eeeeee;
  background: #fafafa;
  border-radius: 8px;
}

body.design-editor-new .editor-projects-error {
  color: #b00020;
}

#file_upload_wrapper .close_btn {
  top: 15px !important;
  right: 15px !important;
}

#file_upload_wrapper {
  padding: 10px !important;
}

.editor-frame-mode .editor-projects-btn {
  display: none !important;
}

/* =========================================================
   Print options redesign
   product-editor-new.html / body.design-editor-new only
   ========================================================= */

body.design-editor-new .editor-print-submit-area {
  max-width: 1180px;
  margin: 34px auto 70px auto !important;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: TildaSans, Arial, sans-serif;
  color: #5d5d5d;
}

body.design-editor-new .editor-print-options {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-sizing: border-box;
}

body.design-editor-new .editor-print-title,
body.design-editor-new .editor-confirm-title {
  margin: 0 0 18px 0;
  color: #606060;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

body.design-editor-new .editor-print-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(420px, 0.92fr);
  gap: 30px;
  align-items: start;
}

body.design-editor-new .editor-print-left,
body.design-editor-new .editor-print-right {
  min-width: 0;
}

body.design-editor-new .editor-print-top-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

body.design-editor-new .editor-print-section {
  min-width: 0;
  margin: 0 0 0px 0;
}

body.design-editor-new .editor-print-section-title {
  margin: 0 0 9px 0;
  color: #666666;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Цветность */
body.design-editor-new .editor-color-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.design-editor-new .editor-color-option {
  height: 42px;
  padding: 0 16px;
  border: 1px solid #b8b8b8;
  border-radius: 6px;
  background: #ffffff;
  color: #666666;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

body.design-editor-new .editor-color-option.selected,
body.design-editor-new .editor-color-option:hover {
  border-color: #ff5a00;
  color: #ff5a00;
}

/* Тираж */
body.design-editor-new .editor-amount-discounts {
  display: grid;
  grid-template-columns: repeat(7, minmax(64px, 1fr));
  gap: 8px;
  margin: -18px 0 4px 0;
  min-height: 16px;
  color: #ff5a00;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

body.design-editor-new .editor-amount-discounts span:first-child {
  display: none;
}

body.design-editor-new .editor-amount-row {
  /* display: grid !important; */
  grid-template-columns: repeat(7, minmax(64px, 1fr));
  gap: 13px;
  align-items: stretch;
}

body.design-editor-new .editor-print-options .s_a,
body.design-editor-new .editor-amount-row .select_block {
  float: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  height: 42px;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #b8b8b8;
  border-radius: 6px;
  background: #ffffff;
  color: #666666;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

body.design-editor-new .editor-print-options .s_a.selected,
body.design-editor-new .editor-print-options .s_a:hover {
  border-color: #ff5a00;
  color: #ff5a00;
}

body.design-editor-new .editor-print-options .s_a .medium_text,
body.design-editor-new .editor-print-options .s_a b,
body.design-editor-new .editor-print-options .s_a div {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* Бумага */
body.design-editor-new .editor-paper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

body.design-editor-new .editor-paper-grid .s_p {
  float: none !important;
  display: block !important;
  width: auto !important;
  min-height: 238px;
  margin: 0 !important;
  padding: 18px 18px 14px 18px !important;
  border: 1px solid #9e9e9e;
  border-radius: 7px;
  background: #ffffff;
  color: #555555;
  cursor: pointer;
  box-sizing: border-box;
  overflow: hidden;
}

body.design-editor-new .editor-paper-grid .s_p.selected,
body.design-editor-new .editor-paper-grid .s_p:hover {
  border-color: #ff5a00;
  box-shadow: 0 0 0 1px rgba(255, 90, 0, 0.04);
}

body.design-editor-new .editor-paper-grid .s_p .info_icon,
body.design-editor-new .editor-paper-grid .s_p .info_content,
body.design-editor-new .editor-paper-grid .s_p .clear,
body.design-editor-new .editor-paper-grid .s_p #text_properties_ugol {
  display: none !important;
}

body.design-editor-new .editor-paper-grid .s_p .relative.left.c4x,
body.design-editor-new .editor-paper-grid .s_p .left.c8x {
  float: none !important;
  display: block !important;
  width: auto !important;
}

body.design-editor-new .editor-paper-grid .s_p .relative.left.c4x {
  height: 112px;
  margin: 0 0 14px 0;
  border: 1px solid #b9b9b9;
  border-radius: 5px;
  overflow: hidden;
  background: #f4f4f4;
}

body.design-editor-new .editor-paper-grid .s_p .relative.left.c4x > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  opacity: 0.95;
}

body.design-editor-new .editor-paper-grid .s_p [id^="paper_img_"] {
  display: none !important;
}

body.design-editor-new .editor-paper-grid .s_p .medium_text {
  margin: 0 0 8px 0;
  color: #666666;
  font-size: 13px;
  font-weight: 800 !important;
  line-height: 1.2;
  text-transform: uppercase;
}

body.design-editor-new
  .editor-paper-grid
  .s_p
  .left.c8x
  > div:not(.medium_text) {
  color: #555555;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

/* Правая колонка и цена */
body.design-editor-new .editor-print-side-head {
  display: flex;
  justify-content: flex-end;
  min-height: 42px;
  margin: -2px 0 22px 0;
}

body.design-editor-new .editor-price-box {
  min-width: 150px;
  text-align: center;
}

body.design-editor-new .editor-price-label {
  margin-bottom: 4px;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

body.design-editor-new .editor-price-value {
  color: #ff5a00;
  font-size: 0;
  line-height: 1;
  white-space: nowrap;
}

body.design-editor-new .editor-price-value > div:first-child,
body.design-editor-new .editor-price-value .medium_text:first-child {
  margin: 0 !important;
  color: #ff5a00 !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
}

body.design-editor-new .editor-price-value i {
  font-size: 0.86em;
}

/* Ламинация */
body.design-editor-new .editor-laminat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.design-editor-new .editor-option-card,
body.design-editor-new .editor-laminat-card {
  float: none !important;
  display: block !important;
  width: auto !important;
  min-height: 238px;
  margin: 0 !important;
  padding: 18px 18px 14px 18px !important;
  border: 1px solid #9e9e9e;
  border-radius: 7px;
  background: #ffffff;
  color: #555555;
  cursor: pointer;
  box-sizing: border-box;
}

body.design-editor-new .editor-option-card.selected,
body.design-editor-new .editor-option-card:hover {
  border-color: #ff5a00;
}

body.design-editor-new .editor-option-card-image {
  height: 112px;
  margin: 0 0 14px 0;
  border: 1px solid #b9b9b9;
  border-radius: 5px;
  background-color: #f4f4f4;
  background-image: url("/content/paper/1.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

body.design-editor-new .editor-option-card-title {
  margin: 0 0 8px 0;
  color: #666666;
  font-size: 13px;
  font-weight: 800 !important;
  line-height: 1.2;
  text-transform: uppercase;
}

body.design-editor-new .editor-option-card-text {
  color: #555555;
  font-size: 13px;
  line-height: 1.3;
}

/* Углы */
body.design-editor-new .editor-corners-section {
  margin-top: 18px;
}

body.design-editor-new .editor-corners-row {
  display: grid;
  grid-template-columns: repeat(2, 150px);
  gap: 10px;
}

body.design-editor-new .editor-corner-option {
  float: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  width: auto !important;
  min-height: 47px;
  margin: 0 !important;
  padding: 6px 8px 6px 10px !important;
  border: 1px solid #b8b8b8;
  border-radius: 6px;
  background: #ffffff;
  color: #666666;
  cursor: pointer;
  box-sizing: border-box;
}

body.design-editor-new .editor-corner-option.selected,
body.design-editor-new .editor-corner-option:hover {
  border-color: #ff5a00;
}

body.design-editor-new .editor-corner-title {
  color: inherit;
  font-size: 12px;
  font-weight: 500 !important;
  line-height: 1.2;
  text-transform: none;
}

body.design-editor-new .editor-corner-icon {
  justify-self: end;
  width: 27px;
  height: 27px;
  border-color: #8f8f8f;
  box-sizing: border-box;
}

body.design-editor-new .editor-corner-icon-straight {
  border-right: 2px solid #8f8f8f;
  border-bottom: 2px solid #8f8f8f;
  border-top: 1px dashed #8f8f8f;
  border-left: 1px dashed #8f8f8f;
}

body.design-editor-new .editor-corner-icon-rounded {
  border-right: 2px solid #8f8f8f;
  border-bottom: 2px solid #8f8f8f;
  border-top: 1px dashed #8f8f8f;
  border-left: 1px dashed #8f8f8f;
  border-radius: 0 0 12px 0;
}

/* Подтверждение */
body.design-editor-new .editor-confirm-block {
  margin-top: 210px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.design-editor-new .editor-confirm-title {
  margin-bottom: 12px;
}

body.design-editor-new .editor-confirm-checks {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

body.design-editor-new .editor-confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #ff5a00;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.25;
  cursor: pointer;
}

body.design-editor-new .editor-confirm-check input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 1px 0 0 0;
  accent-color: #ff5a00;
}

body.design-editor-new .editor-confirm-check a {
  color: #ff5a00;
  text-decoration: underline;
}

body.design-editor-new .editor-confirm-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.design-editor-new .editor-order-btn {
  min-width: 148px;
  height: 43px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #ff5a00;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 43px;
  text-transform: uppercase;
  cursor: pointer;
}

body.design-editor-new .editor-order-btn.is-disabled,
body.design-editor-new .editor-order-btn[aria-disabled="true"] {
  opacity: 0.55;
}

body.design-editor-new .editor-download-project-link {
  color: #0b99e6;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1100px) {
  body.design-editor-new .editor-print-grid {
    grid-template-columns: 1fr;
  }

  body.design-editor-new .editor-print-side-head {
    justify-content: flex-start;
    margin-top: 0;
  }

  body.design-editor-new .editor-confirm-block {
    margin-top: 40px;
  }
}

@media (max-width: 760px) {
  body.design-editor-new .editor-print-submit-area {
    padding: 0 12px;
  }

  body.design-editor-new .editor-print-top-row,
  body.design-editor-new .editor-paper-grid,
  body.design-editor-new .editor-laminat-grid {
    grid-template-columns: 1fr;
  }

  body.design-editor-new .editor-amount-discounts,
  body.design-editor-new .editor-amount-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.design-editor-new .editor-corners-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PANEL NEW FIXED STYLE — print amount row clean
   ========================================================= */

body.design-editor-new.panel-new-enabled .editor-amount-wrap {
  width: 430px;
  margin: 0;
  padding: 0;
}

body.design-editor-new.panel-new-enabled .editor-amount-discounts {
  display: grid;
  grid-template-columns: repeat(6, 58px);
  gap: 13px;

  width: max-content;
  margin-top: -10px;
  padding: 0;

  color: #ff5b00;
  font-family: TildaSans, Arial, sans-serif;
  font-size: 11px;
  line-height: 12px;
  text-align: center;
}

body.design-editor-new.panel-new-enabled .editor-amount-discounts span {
  display: block;
  height: 12px;
  white-space: nowrap;
}

body.design-editor-new.panel-new-enabled #amount_block {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 13px;

  margin: 0;
  padding: 0;
}

body.design-editor-new.panel-new-enabled #amount_block .s_a.select_block {
  float: none !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 58px !important;
  height: 32px !important;
  min-width: 58px !important;
  min-height: 32px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid #b8b8b8 !important;
  border-radius: 4px;
  background: #ffffff;

  color: #555555;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
}

body.design-editor-new.panel-new-enabled
  #amount_block
  .s_a.select_block.selected {
  border-color: #ff5b00 !important;
  color: #ff5b00;
}

body.design-editor-new.panel-new-enabled #amount_block .s_a.select_block:hover {
  border-color: #ff5b00 !important;
}

/* скрываем всё старое содержимое кнопки */
body.design-editor-new.panel-new-enabled #amount_block .s_a.select_block > * {
  display: none !important;
}

/* показываем только тираж */
body.design-editor-new.panel-new-enabled
  #amount_block
  .s_a.select_block
  > .medium_text:first-child {
  display: inline !important;

  float: none !important;
  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  color: inherit;
  font-family: TildaSans, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

body.design-editor-new.panel-new-enabled
  #amount_block
  .s_a.select_block
  > .medium_text:first-child::after {
  content: " шт.";
  font-size: 10px;
  font-weight: 400;
}

body.design-editor-new.panel-new-enabled
  .editor-print-section.editor-laminat-section {
  margin-top: 37px;
}

/* =========================================================
   Print preview — показываем проверку макета в новой системе
   ========================================================= */

body.design-editor-new .editor-layout-check-title {
  display: block !important;
  margin: 0 0 18px 0;
  color: #606060;
  font-family: TildaSans, Arial, sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

body.design-editor-new #submit_front {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;

  margin: 0 0 28px 0;
  padding: 0;
}

body.design-editor-new #submit_front .card_preview {
  display: inline-block;
  margin: 0 18px 18px 0;
  text-align: center;
}

body.design-editor-new #submit_front .card_preview img,
body.design-editor-new #submit_front .card_preview iframe {
  display: block;
  border: 1px solid #dddddd;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(31, 32, 54, 0.14);
}

body.design-editor-new #submit_front .info_txt {
  display: block;
  margin-top: 8px;
  color: #777777;
  font-family: TildaSans, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

body.design-editor-new #submit_front_scroll {
  display: none !important;
}

body.design-editor-new .design-repaint-kick {
  transform: translateZ(0);
  backface-visibility: hidden;
}
