
/* WD|C — компактная мобильная панель MKL */

@media screen and (max-width: 767px) {

  /* Контейнер двух кнопок */
  body .mkl_pc .mkl_pc_container .form.form-cart .pc_configurator_form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    height: auto !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Кнопка скачивания и кнопка корзины */
  body .pc_configurator_form > #wdc-download-design,
  body .pc_configurator_form > .primary {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
  }

  /* Цена */
  body .pc-total-price--container {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 0 !important;
  }

}

/* WD|C — исправление положения цены на мобильных */

@media screen and (max-width: 767px) {

  body .mkl_pc .pc-total-price--container {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .mkl_pc .pc_configurator_form {
    margin-top: 8px !important;
  }

}

/* WD|C — финальное исправление цены */

@media screen and (max-width: 767px) {

  body .mkl_pc .mkl_pc_container .form.form-cart .pc-total-price--container,
  body .pc-total-price--container {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

}


/* WD|C — одинаковые размеры мобильных кнопок */

@media screen and (max-width: 767px) {

  body .mkl_pc .pc_configurator_form > #wdc-download-design,
  body .mkl_pc .pc_configurator_form > .primary {
    width: 100% !important;
    min-width: 0 !important;

    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;

    padding: 0 6px !important;
    margin: 0 !important;

    box-sizing: border-box !important;
    font-size: 12px !important;
  }

}


