/* v1.9.49 — landscape premium spacing without duplicate order-unit pill */
@media (orientation: landscape) and (max-height: 560px) and (max-width: 1400px) {
  .afp-widget .afp-master-row--control td{
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .afp-widget .afp-master-row--control td .afp-control,
  .afp-widget .afp-master-row--control td .afp-control--area-simple{
    margin-bottom: 14px !important;
  }

  .afp-widget .afp-master-row--control td .afp-input-mode-switch,
  .afp-widget .afp-master-row--control td .afp-order-unit-switch{
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 10px !important;
    padding-left: 4px !important;
    justify-content: flex-start !important;
  }

  .afp-widget .afp-master-row--control td .afp-input-mode-switch__button,
  .afp-widget .afp-master-row--control td .afp-order-unit-switch .afp-input-mode-switch__button{
    min-height: 50px !important;
    padding: 0 28px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;
    box-shadow: 0 10px 22px rgba(44, 28, 20, .06), inset 0 1px 0 rgba(255,255,255,.92) !important;
  }

  .afp-widget .afp-master-row--control td .afp-input-mode-switch__button + .afp-input-mode-switch__button,
  .afp-widget .afp-master-row--control td .afp-order-unit-switch .afp-input-mode-switch__button + .afp-input-mode-switch__button{
    margin-left: 2px !important;
  }

  .afp-widget .afp-master-row--control td .afp-conversion-note{
    margin-top: 12px !important;
    padding-left: 6px !important;
  }


  /* hide redundant single order-unit switch that appears as an extra "МОДУЛЬ" pill */
  .afp-widget .afp-master-row--control td .afp-order-unit-switch,
  .afp-widget .afp-master-row--control td [data-afp-order-unit-switch]{
    display: none !important;
  }

}