@media (max-width: 767px) {
  body.mpk-popup-open {
    overflow: hidden;
  }

  .mpk-cart-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .mpk-cart-popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mpk-cart-popup {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 20px 20px;
    box-sizing: border-box;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(16px);
    transition: transform 0.25s ease;
  }

  .mpk-cart-popup-overlay.is-visible .mpk-cart-popup {
    transform: translateY(0);
  }

  .mpk-cart-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }

  .mpk-cart-popup-close::before,
  .mpk-cart-popup-close::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 9px;
    width: 20px;
    height: 2px;
    background: #1f1f1f;
    border-radius: 2px;
  }

  .mpk-cart-popup-close::before {
    transform: rotate(45deg);
  }

  .mpk-cart-popup-close::after {
    transform: rotate(-45deg);
  }

  .mpk-cart-popup-title {
    margin: 0 0 18px;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 700;
    color: #111111;
    text-align: center;
  }

  .mpk-cart-popup-product {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    color: #111111;
    text-align: center;
  }

  .mpk-cart-popup-delivery {
    display: none;
    margin: 0 0 20px;
    padding: 0;
    border-radius: 14px;
    background: #ffffff;
  }

  .mpk-cart-popup-delivery.is-visible {
    display: block;
  }

  .mpk-cart-popup-delivery-text {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.45;
    color: #111111;
    text-align: left;
  }

  .mpk-cart-popup-delivery-text strong {
    font-weight: 700;
    color: #3c840f !important;
  }

  .mpk-cart-popup-progress {
    width: 100%;
    height: 6px;
    background: #d9d9d9;
    border-radius: 999px;
    overflow: hidden;
  }

  .mpk-cart-popup-progress-bar {
    width: 0;
    height: 100%;
    background: #000000 !important;
    border-radius: 999px;
    transition: width 0.3s ease;
  }

  .mpk-cart-popup-buttons {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
  }

  .mpk-cart-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(50% - 5px);
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    box-sizing: border-box;
    transition: all 0.2s ease;
    text-align: center;
  }

  .mpk-cart-popup-btn-back {
    background: #f3f3f3;
    color: #111111;
    border: 1px solid #e5e5e5;
  }

  .mpk-cart-popup-btn-cart {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
  }
}