
@media (max-width:760px) {
  /* Короткий статус прайса вместо длинной технической плашки. */
  #ps4-app .ps4-test-strip{font-size:0;line-height:1.2;padding:5px 10px}
  #ps4-app .ps4-test-strip [data-price-status]{font-size:10px}
  #ps4-app .ps4-test-strip [data-price-status]::before{content:'Прайс: ';font-weight:600}
  /* Мобильная карточка услуги — видимый предпросмотр, без эффекта sticky. */

  /* Поддерживаем настоящее фото предпросмотра. Не скрывать его. */
  #ps4-app[data-current-view="detail"] .ps4-breadcrumb{padding:9px 0 8px}
  #ps4-app[data-current-view="detail"] .ps4-page-heading{padding-bottom:8px}
  #ps4-app[data-current-view="detail"] .ps4-page-heading h1{font-size:23px;letter-spacing:-.6px}
  #ps4-app[data-current-view="detail"] .ps4-page-heading p{display:none}
  #ps4-app[data-current-view="detail"] .ps4-config-card{padding:11px 14px;border-radius:15px}
  #ps4-app[data-current-view="detail"] .ps4-config-subtitle{margin-bottom:6px;font-size:12px}
  #ps4-app[data-current-view="detail"] .ps4-setting{padding:9px 0}
  #ps4-app[data-current-view="detail"] .ps4-setting-name{margin-bottom:6px;gap:6px;font-size:13px}
  #ps4-app[data-current-view="detail"] .ps4-setting-icon{width:27px;height:27px;border-radius:8px}
  #ps4-app[data-current-view="detail"] .ps4-setting-icon .ps4-icon{width:16px;height:16px}
  #ps4-app[data-current-view="detail"] .ps4-choice-row{gap:7px}
  #ps4-app[data-current-view="detail"] .ps4-choice{min-height:42px;border-radius:10px;padding:7px 5px;font-size:12px}
  #ps4-app[data-current-view="detail"] .ps4-choice.is-selected{padding:6px 4px}
  #ps4-app[data-current-view="detail"] .ps4-setting>.ps4-small{margin-top:5px!important;font-size:10px;line-height:1.3}
  #ps4-app[data-current-view="detail"] .ps4-counter{height:44px;border-radius:10px}
  #ps4-app[data-current-view="detail"] .ps4-counter button{height:34px;width:34px;margin:4px}
  #ps4-app[data-current-view="detail"] .ps4-counter input.ps4-count-input{width:calc(100% - 76px);font-size:15px}
  #ps4-app[data-current-view="detail"] .ps4-control-label{font-size:11px;margin-bottom:4px}
  #ps4-app[data-current-view="detail"] .ps4-quote-card{padding:12px;border-radius:15px}
  #ps4-app[data-current-view="detail"] .ps4-estimate{padding:12px;margin-bottom:8px}
  #ps4-app[data-current-view="detail"] .ps4-estimate-value{font-size:21px}
  #ps4-app[data-current-view="detail"] .ps4-quote-detail{padding:7px 0;font-size:11px}
  #ps4-app[data-current-view="detail"] .ps4-price-breakdown{padding:9px;font-size:11px;margin-top:5px}
  #ps4-app .psmc-expand{border:1px solid #e8eaf0;border-radius:12px;background:#fafbfd;overflow:hidden;margin:5px 0}
  #ps4-app .psmc-expand>summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;min-height:42px;padding:10px 12px;font-weight:750;font-size:13px;color:#343a46}
  #ps4-app .psmc-expand>summary::-webkit-details-marker{display:none}
  #ps4-app .psmc-expand>summary::after{content:'⌄';margin-left:auto;font-size:19px;line-height:1;color:#a50b44;transition:transform .15s}
  #ps4-app .psmc-expand[open]>summary::after{transform:rotate(180deg)}
  #ps4-app .psmc-expand>.ps4-rate-box{margin:0 7px 7px}
  #ps4-app .psmc-expand>.ps4-setting{padding:9px;border-top:1px solid #e8eaf0}

  /* Мобильное оформление: компактная сумма сверху, затем контакты и получение. */
  #ps4-app[data-current-view="checkout"] .ps4-breadcrumb{padding:9px 0 7px}
  #ps4-app[data-current-view="checkout"] .ps4-page-heading{padding-bottom:10px}
  #ps4-app[data-current-view="checkout"] .ps4-page-heading h1{font-size:24px;letter-spacing:-.6px}
  #ps4-app[data-current-view="checkout"] .ps4-page-heading p,
  #ps4-app[data-current-view="checkout"] .ps51-notice,
  #ps4-app[data-current-view="checkout"] .ps4-page>.ps4-container>.ps51-note-bottom{display:none}
  #ps4-app[data-current-view="checkout"] .ps51-layout{display:flex;flex-direction:column;gap:9px}
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary{order:-1;width:100%;padding:11px 13px;border-radius:14px;box-shadow:none}
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary h3{font-size:14px;margin:0 0 4px}
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary .ps4-order-row:not(.ps4-order-total),
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary .ps4-cart-note,
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary .ps52-summary-info,
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary .ps51-note-bottom,
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary [data-action="ps52-focus-contacts"],
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary [data-action="ps53-focus-delivery"]{display:none!important}
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary .ps4-order-total{border:0;padding:2px 0;margin:0;gap:8px;font-size:17px}
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary [data-go="cart"]{padding:5px 3px;border:0;background:none;font-size:12px;margin:0;justify-content:flex-start;color:#a50b44}
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary [data-ps63-wa-copy]{font-size:12px;padding:8px 11px;margin-top:4px}
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary [data-ps63-wa-info]{font-size:11px;line-height:1.3;margin-top:4px}
  #ps4-app[data-current-view="checkout"] .ps52-checkout-main{gap:9px;width:100%}
  #ps4-app[data-current-view="checkout"] .ps52-contact-card,
  #ps4-app[data-current-view="checkout"] .ps53-delivery-card{padding:13px;border-radius:14px;box-shadow:none}
  #ps4-app[data-current-view="checkout"] .ps52-contact-card h2,
  #ps4-app[data-current-view="checkout"] .ps53-delivery-card h2{font-size:18px;margin:0 0 8px;letter-spacing:0}
  #ps4-app[data-current-view="checkout"] .ps52-description,
  #ps4-app[data-current-view="checkout"] .ps53-description,
  #ps4-app[data-current-view="checkout"] .ps52-help,
  #ps4-app[data-current-view="checkout"] .ps53-guidance{display:none}
  #ps4-app[data-current-view="checkout"] .ps52-contact-form,
  #ps4-app[data-current-view="checkout"] .ps53-form{gap:8px}
  #ps4-app[data-current-view="checkout"] .ps52-form-row{gap:8px}
  #ps4-app[data-current-view="checkout"] .ps52-field{gap:4px}
  #ps4-app[data-current-view="checkout"] .ps52-field input,
  #ps4-app[data-current-view="checkout"] .ps52-field textarea{padding:9px 11px;min-height:43px;font-size:14px;border-radius:10px}
  #ps4-app[data-current-view="checkout"] .ps52-field textarea{min-height:73px}
  #ps4-app[data-current-view="checkout"] .ps53-choice-grid{grid-template-columns:1fr 1fr;gap:7px}
  #ps4-app[data-current-view="checkout"] .ps53-choice{padding:10px 7px;border-radius:10px;align-items:center;gap:5px}
  #ps4-app[data-current-view="checkout"] .ps53-choice input{width:16px;height:16px}
  #ps4-app[data-current-view="checkout"] .ps53-choice strong{font-size:12px}
  #ps4-app[data-current-view="checkout"] .ps53-choice small{display:none}
  #ps4-app[data-current-view="checkout"] .ps53-field select{min-height:43px;padding:8px 10px;border-radius:10px}
  /* Addon 6.4 запускает обе проверки при нажатии WhatsApp. */
  #ps4-app[data-ps63-wa-ready="1"][data-current-view="checkout"] #ps52-check-contacts,
  #ps4-app[data-ps63-wa-ready="1"][data-current-view="checkout"] #ps53-check-delivery{display:none!important}
  #ps4-app[data-current-view="checkout"] .ps52-status:not([data-state="error"]),
  #ps4-app[data-current-view="checkout"] .ps53-status:not([data-state="error"]){display:none}
  #ps4-app[data-current-view="checkout"] .ps4-mobile-nav{display:none!important}
  #ps4-app[data-current-view="checkout"] .ps4-page{padding-bottom:135px}
  #ps4-app[data-current-view="checkout"] .ps51-checkout-summary [data-ps63-wa-send]{position:fixed;z-index:100;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:calc(100% - 24px)!important;min-height:54px;margin:0!important;font-size:15px;border-radius:14px;box-shadow:0 5px 23px rgba(94,11,42,.25)}
  #ps4-app .psmc-reviews{margin:0}
  #ps4-app .psmc-reviews>summary{background:#fff;border:1px solid #e7e9ee;border-radius:12px}
  #ps4-app .psmc-reviews[open]>summary{border-radius:12px 12px 0 0}
  #ps4-app .psmc-reviews>.ps51-review-list{padding-top:8px;gap:7px}
  #ps4-app .psmc-reviews .ps51-review-line{padding:10px 12px;gap:5px;border-radius:12px}
  #ps4-app .psmc-reviews .ps51-review-line h3{font-size:13px;margin:0 0 4px}
  #ps4-app .psmc-reviews .ps51-review-props{line-height:1.4}
  #ps4-app .psmc-comment{margin:2px 0}
  #ps4-app .psmc-comment>.ps52-field{padding:7px 10px}
}
@media (max-width:360px){#ps4-app[data-current-view="checkout"] .ps53-choice strong{font-size:11px}}

