/* Shared callback modal, confined to .ft-callback-shared. No global header/cart overrides. */
.ft-callback-shared {border:0;padding:0;max-width:min(460px,calc(100vw - 28px));width:100%;max-height:min(90dvh,800px);background:transparent;color:#292929;overflow:visible;box-shadow:none;}
.ft-callback-shared::backdrop {background:rgba(0,0,0,.52);}
.ft-callback-shared-panel {font:15px/1.45 Arial,sans-serif;background:#fff;border-radius:15px;padding:28px;box-sizing:border-box;max-height:90dvh;overflow:auto;position:relative;box-shadow:0 18px 70px rgba(0,0,0,.18);}
.ft-callback-shared h2 {font:700 23px/1.25 Arial,sans-serif;margin:0 38px 16px 0;color:#222;}
.ft-callback-shared .ft-callback-intro {margin:0 0 22px;color:#666;}
.ft-callback-shared label:not(.ft-callback-consent) {display:block;margin:0 0 18px;font-weight:600;}
.ft-callback-shared label:not(.ft-callback-consent) input {display:block;box-sizing:border-box;width:100%;height:46px;margin-top:9px;padding:10px 12px;font:16px Arial,sans-serif;border:1px solid #ded8d3;border-radius:8px;color:#222;background:#fff;}
.ft-callback-shared .ft-callback-consent {display:flex;align-items:start;gap:10px;margin:6px 0 20px;font-size:13px;color:#444;}
.ft-callback-shared .ft-callback-consent input {width:18px;height:18px;accent-color:#ef7409;flex-shrink:0;margin:1px 0 0;}
.ft-callback-shared .ft-callback-x {position:absolute;right:20px;top:16px;width:34px;height:34px;border:0;border-radius:8px;background:#f6f4f2;color:#555;font-size:26px;line-height:1;cursor:pointer;}
.ft-callback-shared .ft-callback-send,.ft-callback-shared .ft-callback-done {display:block;width:100%;height:48px;border:0;border-radius:8px;background:#f27408;color:#fff;font-size:15px;font-weight:700;cursor:pointer;}
.ft-callback-shared .ft-callback-send:disabled {opacity:.65;cursor:wait;}
.ft-callback-shared .ft-callback-error {background:#fff4ec;color:#953a00;padding:10px;border-radius:6px;overflow-wrap:anywhere;white-space:pre-wrap;}
.ft-callback-shared .ft-callback-success {text-align:center;padding-top:24px;}
.ft-callback-shared .ft-callback-success h2 {margin:12px 0;text-align:center;}
.ft-callback-shared .ft-callback-check-icon {background:#fff0e3;color:#e46a00;width:64px;height:64px;margin:0 auto;border-radius:50%;font-size:40px;line-height:64px;}
.ft-callback-shared .ft-callback-success p {color:#666;margin:0 0 20px;}
.ft-callback-shared .ft-callback-urgent {border-top:1px solid #e8e1db;padding-top:18px;font-weight:700;}
.ft-callback-shared .ft-callback-phone-link {display:block;margin:14px 0;font-size:23px;font-weight:700;color:#dc6807;text-decoration:none;}
.ft-callback-shared .ft-callback-messengers {display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:25px;}
.ft-callback-shared .ft-callback-messengers a {display:inline-flex;align-items:center;gap:5px;border:1px solid #e7ded6;border-radius:8px;padding:8px 10px;font-size:13px;color:#333;text-decoration:none;}
.ft-callback-shared .ft-callback-messenger-icon {width:18px;height:18px;object-fit:contain;}
.ft-callback-shared .ft-callback-messenger-symbol {font-size:18px;color:#159c87;}
.ft-callback-shared [hidden] {display:none!important;}
@media (max-width:767px) {.ft-callback-shared-panel {padding:24px 18px;}.ft-callback-shared h2 {font-size:21px;}}
/* FT Callback — белая галочка согласия */

.ft-callback-shared .ft-callback-check:checked {
    appearance: none;
    -webkit-appearance: none;

    background-color: #f36b0b;
    border: 1px solid #f36b0b;
    border-radius: 3px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}
/* FT Callback — оформление фокуса чекбокса */

.ft-callback-shared .ft-callback-check:focus {
    outline: none !important;
    box-shadow: none !important;
}

.ft-callback-shared .ft-callback-check:focus-visible {
    outline: 2px solid #f36b0b !important;
    outline-offset: 3px;
}
/* FT Callback — оформление фокуса кнопки закрытия */

.ft-callback-shared .ft-callback-x:focus {
    outline: none !important;
    box-shadow: none !important;
}

@media (hover: hover) and (pointer: fine) {
    .ft-callback-shared .ft-callback-x:focus-visible {
        outline: 2px solid #f36b0b !important;
        outline-offset: 2px;
    }
}