/* X-MARKET витрина — форма заказа — оформление.
   Подключается из shop.html. */

#yandex-form-modal .iframe-body{overflow:auto;background:#fff;padding:20px 16px 40px;}
.of-form{max-width:480px;margin:0 auto;display:flex;flex-direction:column;gap:14px;}
.of-label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px;color:#333;}
.of-input{font:inherit;font-weight:400;padding:12px 14px;border:1px solid #ddd;border-radius:12px;font-size:16px;width:100%;box-sizing:border-box;}
.of-input:focus{outline:none;border-color:var(--purple);}
.of-q{font-weight:600;font-size:15px;color:#333;}
.of-note{font-weight:400;color:#888;font-size:13px;}
.of-row{display:flex;gap:10px;}
.of-opt{flex:1;display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #ddd;border-radius:12px;cursor:pointer;font-size:15px;}
.of-opt input{accent-color:var(--purple);width:18px;height:18px;}
.of-price{margin-left:auto;color:#888;font-size:13px;font-weight:600;}
.of-sum{background:var(--bg);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px;font-size:14px;}
.of-sum-row{display:flex;justify-content:space-between;color:#555;}
.of-sum-total{display:flex;justify-content:space-between;font-weight:800;font-size:18px;color:var(--purple);border-top:1px solid #ddd;padding-top:10px;margin-top:2px;}
.of-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0;}
.of-btn{background:var(--purple);color:#fff;border:none;border-radius:12px;padding:15px;font-size:17px;font-weight:700;cursor:pointer;width:100%;}
.of-btn:disabled{opacity:.6;}
.of-err{color:#e53935;font-size:14px;}
.of-ok{display:none;max-width:480px;margin:30px auto;text-align:center;font-size:17px;line-height:1.5;color:#333;}
.of-ok a{color:var(--purple);font-weight:700;}
.of-ok-num{font-size:22px;font-weight:800;color:var(--purple);margin-bottom:12px;}
.of-ok-hint{font-size:14px;color:#888;margin-top:14px;}
.of-back{margin-top:24px;}
.mo-title{font-weight:800;font-size:16px;margin:24px 0 10px;color:var(--purple);}
.mo-card{border:1px solid #eee;border-radius:12px;padding:12px;margin-bottom:10px;}
.mo-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;}
.mo-st{font-size:12px;font-weight:700;padding:4px 10px;border-radius:20px;white-space:nowrap;}
.mo-items{font-size:12px;color:#777;margin:6px 0;}
.mo-foot{display:flex;justify-content:space-between;font-size:13px;color:#555;}
