.ya-m, .ya-m *, .modal-box, .modal-box * { font-family: inherit; }

.ya-m input:-webkit-autofill,
.ya-m input:-webkit-autofill:hover,
.ya-m input:-webkit-autofill:focus,
.ya-m input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #fafafa inset !important;
    -webkit-text-fill-color: var(--c-black) !important;
    transition: background-color 9999s ease-in-out 0s;
    caret-color: var(--c-black);
}
.ya-m input:autofill {
    box-shadow: 0 0 0 1000px #fafafa inset !important;
    -webkit-text-fill-color: var(--c-black) !important;
}
.ya-m form, .ya-m .ya-consent, .ya-m .ya-m__panel, .ya-m .ya-m__method { background: transparent !important; }
.ya-m input:invalid, .ya-m input:valid { box-shadow: none; }
.ya-m .ya-fld__inp:invalid { box-shadow: none; background: #fafafa; }
.ya-m .ya-fld__inp:invalid:focus { box-shadow: 0 0 0 3px rgba(252,225,22,.22); background: var(--c-white); }
.ya-m input[type="checkbox"] { accent-color: var(--c-accent); }
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--c-overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-4);
    animation: ya-fade-in 240ms var(--ease);
}
.modal-overlay[hidden] { display: none; }

.modal-box {
    background: var(--c-white);
    border-radius: var(--r-md);
    padding: var(--s-8);
    max-width: 520px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
.modal-title  { font-size: var(--t-24); font-weight: 500; letter-spacing: -.02em; color: var(--c-black); margin: 0 0 var(--s-6); }
.modal-close {
    position: absolute; top: var(--s-5); right: var(--s-5);
    width: 34px; height: 34px; border: 0; cursor: pointer;
    background: var(--c-surface); color: var(--c-black);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 180ms var(--ease);
}
.modal-close:hover { background: var(--c-border); }

.ya-m {
    width: min(1180px, 96vw);
    min-height: 640px;
    max-height: 94vh;
    background: var(--c-white);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 320px 1fr 260px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .3);
    animation: ya-box-in 320ms var(--ease);
}
.ya-m__x {
    position: absolute; top: 20px; right: 20px; z-index: 10;
    width: 34px; height: 34px; border: 0; cursor: pointer;
    background: var(--c-surface); color: var(--c-black);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 180ms var(--ease);
}
.ya-m__x:hover { background: var(--c-border); }

.ya-m__left {
    background: #f5f4ef;
    padding: 36px 30px 28px;
    display: flex; flex-direction: column;
    position: relative;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(10,10,10,.15) transparent;
}
.ya-m__left::-webkit-scrollbar { width: 4px; }
.ya-m__left::-webkit-scrollbar-track { background: transparent; }
.ya-m__left::-webkit-scrollbar-thumb { background: rgba(10,10,10,.15); border-radius: 2px; }
.ya-m__left::before {
    content: "";
    position: absolute; left: 0; top: 36px;
    width: 3px; height: 28px;
    background: var(--c-accent);
}
.ya-m__brand    { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.ya-m__brand-n  { font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--c-black); }
.ya-m__eyebrow  { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-black); margin: 0 0 10px; }
.ya-m__left-h   { font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -.018em; color: var(--c-black); margin: 0 0 22px; }

.ya-m__bens     { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 16px; }
.ya-m__ben      { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: flex-start; animation: ya-ben-in 420ms var(--ease) both; }
.ya-m__ben-n    { font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--c-black); padding-top: 3px; font-variant-numeric: tabular-nums; }
.ya-m__ben-t    { font-size: 14px; font-weight: 500; color: var(--c-black); line-height: 1.35; margin-bottom: 3px; }
.ya-m__ben-d    { font-size: 12.5px; color: var(--c-black); opacity: .62; line-height: 1.45; }

.ya-m__proof        { display: flex; align-items: center; gap: 12px; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(10,10,10,.08); }
.ya-m__proof-avs    { display: flex; }
.ya-m__proof-avs span {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid #f5f4ef;
    margin-left: -7px;
    background: linear-gradient(135deg, #c9c5b8, #8a847a);
}
.ya-m__proof-avs span:first-child       { margin-left: 0; }
.ya-m__proof-avs span:nth-child(2)      { background: linear-gradient(135deg, #a6a196, #6b6558); }
.ya-m__proof-avs span:nth-child(3)      { background: linear-gradient(135deg, #d8d3c4, #a8a294); }
.ya-m__proof-avs span:nth-child(4)      { background: linear-gradient(135deg, #b8b2a4, #7d7768); }
.ya-m__proof-t      { font-size: 12px; color: var(--c-black); opacity: .7; line-height: 1.35; }

.ya-m__center { position: relative; padding: 36px 40px 32px; min-width: 0; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; justify-content: center; scrollbar-width: thin; scrollbar-color: rgba(10,10,10,.15) transparent; }
.ya-m__center::-webkit-scrollbar { width: 4px; }
.ya-m__center::-webkit-scrollbar-track { background: transparent; }
.ya-m__center::-webkit-scrollbar-thumb { background: rgba(10,10,10,.15); border-radius: 2px; }
.ya-m__c-wrap { display: flex; flex-direction: column; transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.ya-m__c-wrap--out { opacity: 0; transform: translateX(-12px); pointer-events: none; }
.ya-m__c-head { margin-bottom: 18px; text-align: left; }
.ya-m__c-title  { font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--c-black); line-height: 1.15; margin-bottom: 6px; }
.ya-m__c-desc   { font-size: 13.5px; color: var(--c-black); opacity: .7; line-height: 1.45; }

.ya-m__tabs {
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr;
    background: #f5f4ef;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
}
.ya-m__tab-slider {
    position: absolute; top: 4px; left: 4px;
    width: calc(50% - 4px); height: calc(100% - 8px);
    background: var(--c-white);
    border-radius: 9px;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    transition: transform 320ms cubic-bezier(.4, 1.15, .5, 1);
}
.ya-m__tabs[data-active="register"] .ya-m__tab-slider { transform: translateX(100%); }
.ya-m__tab {
    position: relative; z-index: 1;
    background: transparent; border: 0; cursor: pointer;
    padding: 10px;
    font: inherit; font-size: 13.5px; font-weight: 500; color: var(--c-black);
    opacity: .5;
    transition: opacity 220ms var(--ease);
}
.ya-m__tab.is-on, .ya-m__tab.active { opacity: 1; }
.ya-m__panel { position: relative; display: flex; flex-direction: column; }
.ya-m__panel[hidden] { display: none; }

.ya-m__submode {
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr;
    background: #eeede7;
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 16px;
}
.ya-m__submode-slider {
    position: absolute; top: 3px; left: 3px;
    width: calc(50% - 3px); height: calc(100% - 6px);
    background: var(--c-white);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: transform 320ms cubic-bezier(.55, 1.2, .45, 1);
}
.ya-m__submode[data-submode="email"] .ya-m__submode-slider { transform: translateX(100%); }
.ya-m__submode-btn {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: transparent; border: 0; cursor: pointer;
    padding: 8px;
    font: inherit; font-size: 12.5px; font-weight: 500; color: var(--c-black);
    opacity: .55;
    transition: opacity 200ms var(--ease);
}
.ya-m__submode-btn.is-on { opacity: 1; }
.ya-m__submode-btn svg { opacity: .7; }
.ya-m__submode-btn.is-on svg { opacity: 1; }

.ya-m__methods { position: relative; overflow: hidden; transition: height 320ms cubic-bezier(.4, 0, .2, 1); }
.ya-m__method { display: none; flex-direction: column; }
.ya-m__method.is-on { display: flex; animation: ya-method-in 320ms cubic-bezier(.4, 0, .2, 1); }
@keyframes ya-method-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ya-m__oauth-section { margin-top: 14px; }
.ya-m__oauth {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.ya-m__oa {
    position: relative;
    height: 48px; padding: 0 6px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--c-white);
    border: 1.5px solid var(--c-border); border-radius: 10px;
    font-size: 12.5px; font-weight: 500; color: var(--c-black);
    text-decoration: none;
    overflow: hidden;
    transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.ya-m__oa::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 0;
    background: var(--c-accent);
    transition: width 220ms var(--ease);
}
.ya-m__oa:hover { border-color: var(--c-black); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(10,10,10,.08); }
.ya-m__oa:hover::before { width: 3px; }
.ya-m__oa-logo {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
}
.ya-m__oa-logo svg { display: block; border-radius: 5px; width: 22px; height: 22px; }
.ya-m__oa-text { font-weight: 500; }

.ya-sms         { display: flex; flex-direction: column; min-width: 0; width: 100%; }
.ya-sms__step   { display: none; flex-direction: column; animation: ya-step-in 300ms var(--ease) both; }
.ya-sms__step.is-on { display: flex; }

.ya-fld         { position: relative; display: block; margin-bottom: 14px; }
.ya-fld__inp {
    width: 100%; height: 52px;
    padding: 22px 16px 8px;
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    background: #fafafa;
    font: inherit; font-size: 15px; color: var(--c-black);
    outline: none;
    transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.ya-fld--ghost .ya-fld__inp { padding: 14px 16px; }
.ya-fld__inp:focus      { border-color: var(--c-accent); background: var(--c-white); box-shadow: 0 0 0 3px rgba(252,225,22,.22); }
.ya-fld__inp.is-err     { border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(224,49,49,.15); }
.ya-fld__lbl {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%);
    font-size: 14px; color: var(--c-black); opacity: .55;
    pointer-events: none;
    transition: transform 180ms var(--ease), font-size 180ms var(--ease), opacity 180ms var(--ease), letter-spacing 180ms var(--ease);
}
.ya-fld__inp:focus ~ .ya-fld__lbl,
.ya-fld__inp:not(:placeholder-shown) ~ .ya-fld__lbl {
    transform: translateY(-150%);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .8;
}

.ya-fld__ghost {
    position: absolute; left: 17px; top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex; align-items: center;
    white-space: nowrap;
    font: inherit; font-size: 15px;
    color: var(--c-black); opacity: .42;
    z-index: 2;
    max-width: calc(100% - 34px);
    overflow: hidden;
}
.ya-fld__ghost-t { display: inline; }
.ya-fld__ghost-c {
    display: inline-block;
    width: 2px; height: 17px;
    background: var(--c-black);
    margin-left: 2px;
    vertical-align: middle;
    animation: ya-cursor-blink 1.05s steps(2, end) infinite;
}
.ya-fld--ghost:focus-within .ya-fld__ghost { display: none; }
.ya-fld--ghost .ya-fld__inp:not(:placeholder-shown) ~ .ya-fld__ghost { display: none; }

@keyframes ya-cursor-blink { 0% { opacity: 1; } 50%, 100% { opacity: 0; } }

.ya-m__btn {
    width: 100%; height: 52px;
    border: 0; border-radius: 10px;
    background: var(--c-accent); color: var(--c-black);
    font: inherit; font-size: 15px; font-weight: 500;
    cursor: pointer;
    margin-top: 6px;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), opacity 180ms var(--ease);
}
.ya-m__btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(252,225,22,.35); background: var(--c-accent-h); }
.ya-m__btn:active:not(:disabled) { transform: none; }
.ya-m__btn:disabled { opacity: .5; cursor: not-allowed; }

.ya-sms__policy    { font-size: 11.5px; color: var(--c-black); opacity: .6; line-height: 1.5; margin: 12px 0 0; text-align: center; }
.ya-sms__policy a  { color: var(--c-black); text-decoration: underline; text-decoration-color: rgba(10,10,10,.3); text-underline-offset: 2px; }
.ya-sms__policy a:hover { text-decoration-color: var(--c-black); }

.ya-sms__to        { font-size: 13.5px; color: var(--c-black); margin: 0 0 20px; line-height: 1.5; }
.ya-sms__to strong { font-weight: 500; }
.ya-sms__change    { background: none; border: 0; padding: 0 4px; font: inherit; font-size: 13px; color: var(--c-black); opacity: .6; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(10,10,10,.3); text-underline-offset: 2px; }
.ya-sms__change:hover { opacity: 1; text-decoration-color: var(--c-black); }

.ya-sms__boxes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.ya-sms__box {
    width: 100%; min-width: 0; height: 64px;
    border: 1.5px solid var(--c-border); border-radius: 12px;
    background: #fafafa;
    text-align: center;
    font: 600 26px/1 'yarbo-vf', system-ui, sans-serif;
    color: var(--c-black);
    outline: none;
    transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.ya-sms__box:focus      { border-color: var(--c-accent); background: var(--c-white); box-shadow: 0 0 0 3px rgba(252,225,22,.22); }
.ya-sms__box.is-filled  { background: var(--c-white); border-color: var(--c-black); }
.ya-sms__boxes.is-err .ya-sms__box { border-color: var(--c-red); animation: ya-shake 420ms var(--ease); }

.ya-sms__resend     { display: flex; justify-content: center; margin-top: 4px; }
.ya-sms__timer,
.ya-sms__resend-btn { font-size: 12.5px; color: var(--c-black); opacity: .6; }
.ya-sms__timer strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.ya-sms__resend-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--c-black); cursor: pointer; opacity: 1; text-decoration: underline; text-decoration-color: rgba(10,10,10,.3); text-underline-offset: 2px; }
.ya-sms__resend-btn:hover { text-decoration-color: var(--c-black); }

.ya-sms__ok {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
    font-size: 13px; color: var(--c-black);
    padding: 8px 14px;
    background: rgba(45,127,58,.08);
    border-radius: 100px;
    margin: 0 0 18px;
}
.ya-sms__ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-green); }

.ya-sms__err {
    font-size: 13px; color: var(--c-red);
    background: rgba(224,49,49,.08);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.ya-sms__notice {
    background: #f5f4ef;
    border-radius: 14px;
    padding: 20px 22px;
    margin-top: 6px;
    animation: ya-step-in 300ms var(--ease);
}
.ya-sms__notice--has-account { background: rgba(252,225,22,.12); }
.ya-sms__notice-t   { font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--c-black); margin-bottom: 6px; }
.ya-sms__notice-d   { font-size: 13px; color: var(--c-black); opacity: .7; line-height: 1.5; margin-bottom: 14px; }

.ya-status {
    position: absolute;
    inset: -12px -16px;
    z-index: 20;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-radius: 16px;
    opacity: 0;
    transform: scale(.98);
    transition: opacity 280ms cubic-bezier(.25, 1, .5, 1), transform 280ms cubic-bezier(.25, 1, .5, 1);
}
.ya-status.is-on  { opacity: 1; transform: scale(1); }
.ya-status.is-out { opacity: 0; transform: scale(1.02); }

.ya-status__panel {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 24px 32px 22px;
    min-width: 260px;
    text-align: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(10,10,10,.14), 0 0 0 1px rgba(10,10,10,.03);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    animation: ya-status-in 420ms cubic-bezier(.2, .8, .2, 1);
}

.ya-status__icon {
    color: var(--c-black);
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.ya-status__icon::before {
    content: "";
    position: absolute; inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252,225,22,.4) 0%, transparent 65%);
    animation: ya-status-glow 1.8s ease-in-out infinite;
    z-index: -1;
}
.ya-status__ring {
    stroke-dasharray: 138;
    stroke-dashoffset: 138;
    animation: ya-status-ring 620ms cubic-bezier(.45, 0, .2, 1) 80ms forwards;
    transform-origin: center;
    transform: rotate(-90deg);
}
.ya-status__check {
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: ya-status-check 360ms cubic-bezier(.65, 0, .35, 1) 520ms forwards;
}

.ya-status__title {
    font-size: 17px; font-weight: 500; letter-spacing: -.015em;
    color: var(--c-black);
    animation: ya-status-fade-up 420ms cubic-bezier(.2, .8, .2, 1) 180ms both;
}
.ya-status__sub {
    font-size: 12.5px; color: var(--c-black); opacity: .58; line-height: 1.4;
    animation: ya-status-fade-up 420ms cubic-bezier(.2, .8, .2, 1) 260ms both;
}

.ya-status__bar {
    width: 100%; height: 3px;
    background: rgba(10,10,10,.08);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px;
    animation: ya-status-fade-up 420ms cubic-bezier(.2, .8, .2, 1) 340ms both;
}
.ya-status__bar-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--c-accent), #ffd700);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(252,225,22,.65);
    animation: ya-status-bar 1100ms cubic-bezier(.35, 0, .2, 1) 420ms forwards;
}
.ya-status--transition .ya-status__check    { animation-duration: 280ms; }
.ya-status--transition .ya-status__bar-fill { animation-duration: 500ms; }

@keyframes ya-status-in      { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ya-status-ring    { to   { stroke-dashoffset: 0; } }
@keyframes ya-status-check   { to   { stroke-dashoffset: 0; } }
@keyframes ya-status-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ya-status-bar     { to   { width: 100%; } }
@keyframes ya-status-glow    { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }

.ya-acc {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--c-border);
}
.ya-acc__sum {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 0;
    font-size: 13.5px; font-weight: 500; color: var(--c-black);
    cursor: pointer;
    opacity: .75;
    list-style: none;
    transition: opacity 180ms var(--ease);
}
.ya-acc__sum::-webkit-details-marker { display: none; }
.ya-acc__sum:hover { opacity: 1; }
.ya-acc__chev   { transition: transform 260ms var(--ease); }
.ya-acc[open] .ya-acc__chev { transform: rotate(180deg); }
.ya-acc[open] .ya-acc__sum  { opacity: 1; }
.ya-acc__body   { padding-top: 16px; animation: ya-step-in 300ms var(--ease); }


.ya-m__sep {
    position: relative;
    text-align: center;
    margin: 16px 0 14px;
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--c-black); opacity: .5;
}
.ya-m__sep::before, .ya-m__sep::after {
    content: "";
    position: absolute; top: 50%;
    width: calc(50% - 60px); height: 1px;
    background: var(--c-border);
}
.ya-m__sep::before { left: 0; }
.ya-m__sep::after  { right: 0; }
.ya-m__sep span    { background: var(--c-white); padding: 0 12px; }

.ya-m__err {
    font-size: 13px; color: var(--c-red);
    background: rgba(224,49,49,.08);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
}
.ya-m__forgot-row   { display: flex; justify-content: flex-end; margin: -6px 0 10px; }
.ya-m__forgot       { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--c-black); opacity: .6; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(10,10,10,.3); text-underline-offset: 2px; }
.ya-m__forgot:hover { opacity: 1; text-decoration-color: var(--c-black); }


.ya-m__privacy { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--c-white); z-index: 3; padding: 36px 40px 20px; transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.ya-m__privacy[hidden] { display: none; }
.ya-m__privacy--out { opacity: 0; transform: translateX(12px); pointer-events: none; }
.ya-m__priv-head    { padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.ya-m__priv-back {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 0; cursor: pointer;
    padding: 8px 10px; margin-left: -10px;
    border-radius: 6px;
    font: inherit; font-size: 13px; font-weight: 500; color: var(--c-black);
    transition: background 140ms var(--ease);
}
.ya-m__priv-back:hover  { background: var(--c-surface); }
.ya-m__priv-scroll      { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 8px 20px 4px; scrollbar-width: thin; scrollbar-color: rgba(10,10,10,.2) transparent; }
.ya-m__priv-scroll::-webkit-scrollbar { width: 5px; }
.ya-m__priv-scroll::-webkit-scrollbar-track { background: transparent; }
.ya-m__priv-scroll::-webkit-scrollbar-thumb { background: rgba(10,10,10,.2); border-radius: 3px; }
.ya-m__priv-body        { font-size: 13px; color: var(--c-black); line-height: 1.6; }
.ya-m__priv-body h1     { font-size: 18px !important; font-weight: 500 !important; letter-spacing: -.015em; margin: 0 0 12px !important; line-height: 1.25; }
.ya-m__priv-body h2     { font-size: 15px !important; font-weight: 500 !important; margin: 18px 0 8px !important; line-height: 1.3; }
.ya-m__priv-body h3     { font-size: 13.5px !important; font-weight: 500 !important; margin: 14px 0 6px !important; }
.ya-m__priv-body p      { margin: 0 0 10px; }
.ya-m__priv-body ul, .ya-m__priv-body ol { padding-left: 18px; margin: 0 0 10px; }
.ya-m__priv-body li     { margin-bottom: 4px; }
.ya-m__priv-body a      { color: var(--c-black); text-decoration: underline; text-underline-offset: 2px; }
.ya-m__priv-load        { text-align: center; padding: 40px 0; color: var(--c-muted); font-size: 13px; }
.ya-m__priv-foot        { padding-top: 14px; border-top: 1px solid var(--c-border); }
.ya-m__priv-accept {
    width: 100%; height: 48px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--c-black); color: var(--c-white);
    border: 0; border-radius: 10px;
    font: inherit; font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: background 180ms var(--ease);
}
.ya-m__priv-accept:hover { background: var(--c-deep); }

.ya-m__right {
    background: #f5f4ef;
    padding: 36px 24px 28px;
    display: flex; flex-direction: column; gap: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(10,10,10,.15) transparent;
}
.ya-m__right::-webkit-scrollbar { width: 4px; }
.ya-m__right::-webkit-scrollbar-track { background: transparent; }
.ya-m__right::-webkit-scrollbar-thumb { background: rgba(10,10,10,.15); border-radius: 2px; }
.ya-m__staff {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: var(--c-white);
    border: 1.5px solid var(--c-border); border-radius: 100px;
    font-size: 12px; font-weight: 500; color: var(--c-black);
    text-decoration: none;
    transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
.ya-m__staff:hover  { border-color: var(--c-black); transform: translateY(-1px); }
.ya-m__staff span   { flex: 1; }

.ya-m__trust    { display: flex; flex-direction: column; gap: 14px; }
.ya-m__tr       { display: flex; align-items: flex-start; gap: 11px; }
.ya-m__tr-i {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-white);
    border: 1px solid var(--c-border); border-radius: 50%;
    color: var(--c-black);
}
.ya-m__tr-t     { font-size: 12.5px; font-weight: 500; color: var(--c-black); line-height: 1.35; }
.ya-m__tr-d     { font-size: 11.5px; color: var(--c-black); opacity: .58; line-height: 1.4; margin-top: 2px; }

.ya-m__r-links      { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(10,10,10,.08); display: flex; flex-direction: column; gap: 6px; }
.ya-m__r-links a    { font-size: 11.5px; color: var(--c-black); opacity: .6; text-decoration: none; }
.ya-m__r-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 2px; }
.ya-m__r-contact    { display: flex; flex-direction: column; gap: 4px; }
.ya-m__r-contact a  { font-size: 12px; font-weight: 500; color: var(--c-black); text-decoration: none; }
.ya-m__r-contact a:hover { text-decoration: underline; }

.ya-dev {
    position: fixed; right: 16px; bottom: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: var(--c-black); color: var(--c-accent);
    border-radius: 100px;
    font-size: 11.5px; font-weight: 500; letter-spacing: .04em;
    cursor: pointer;
    user-select: none;
    z-index: 1200;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.ya-dev:hover       { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.ya-dev__dot        { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); animation: ya-pulse 1.6s var(--ease) infinite; }

.ya-dev-modal       { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); z-index: 1300; display: flex; align-items: center; justify-content: center; padding: var(--s-4); }
.ya-dev-modal[hidden] { display: none; }
.ya-dev-modal__box {
    width: min(540px, 100%); max-height: 90vh; overflow-y: auto;
    padding: 36px 32px;
    background: var(--c-white);
    border-radius: 18px;
    box-shadow: 0 40px 120px rgba(0,0,0,.4);
    position: relative;
}
.ya-dev-modal__x {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border: 0; cursor: pointer;
    background: var(--c-surface); color: var(--c-black);
    border-radius: 50%;
    font-size: 22px; line-height: 1;
}
.ya-dev-modal__x:hover      { background: var(--c-border); }
.ya-dev-modal__screen[hidden] { display: none; }
.ya-dev-modal__eyebrow      { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-black); opacity: .55; margin-bottom: 6px; }
.ya-dev-modal__title        { font-size: 22px; font-weight: 500; letter-spacing: -.015em; color: var(--c-black); margin: 0 0 8px; }
.ya-dev-modal__desc         { font-size: 13.5px; color: var(--c-black); opacity: .7; line-height: 1.5; margin: 0 0 20px; }
.ya-dev-modal__err          { font-size: 13px; color: var(--c-red); text-align: center; margin-top: 6px; }

.ya-dev-pin         { display: grid; grid-template-columns: repeat(4, 56px); gap: 10px; justify-content: center; margin: 8px 0 14px; }
.ya-dev-pin__box {
    width: 56px; height: 64px;
    border: 1.5px solid var(--c-border); border-radius: 12px;
    background: #fafafa;
    text-align: center;
    font: 600 24px/1 'yarbo-vf', system-ui, sans-serif;
    color: var(--c-black);
    outline: none;
    transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.ya-dev-pin__box:focus      { border-color: var(--c-black); background: var(--c-white); box-shadow: 0 0 0 3px rgba(10,10,10,.1); }
.ya-dev-pin__box.is-err     { border-color: var(--c-red); }

.ya-dev-memo        { padding-left: 24px; margin: 0 0 18px; font-size: 13.5px; color: var(--c-black); line-height: 1.55; }
.ya-dev-memo li     { margin-bottom: 14px; }
.ya-dev-memo li::marker { font-weight: 500; color: var(--c-black); }
.ya-dev-memo strong { font-weight: 500; }
.ya-dev-memo a      { color: var(--c-black); text-decoration: underline; text-decoration-color: rgba(10,10,10,.4); text-underline-offset: 2px; }
.ya-dev-memo a:hover { text-decoration-color: var(--c-black); }
.ya-dev-memo pre, .ya-dev-memo code {
    font: 500 12.5px/1.5 ui-monospace, 'SF Mono', Consolas, monospace;
    background: var(--c-black); color: var(--c-accent);
    padding: 2px 6px; border-radius: 4px;
}
.ya-dev-memo pre    { display: block; padding: 12px 14px; border-radius: 8px; margin: 8px 0 0; white-space: pre-wrap; word-break: break-word; }

.ya-dev-memo__tip {
    background: #f5f4ef;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12.5px; line-height: 1.5;
    color: var(--c-black); opacity: .85;
    margin-bottom: 10px;
}
.ya-dev-memo__tip strong        { font-weight: 500; display: block; margin-bottom: 4px; }
.ya-dev-memo__tip--warn         { background: rgba(252,225,22,.15); border-left: 3px solid var(--c-accent); opacity: 1; }

.is-shake { animation: ya-shake 420ms var(--ease); }

@keyframes ya-fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes ya-box-in    { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ya-ben-in    { from { opacity: 0; transform: translateY(8px); }           to { opacity: 1; transform: none; } }
@keyframes ya-step-in   { from { opacity: 0; transform: translateX(8px); }           to { opacity: 1; transform: none; } }
@keyframes ya-pulse     { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ya-shake     { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

@media (max-width: 960px) {
    .ya-m                       { grid-template-columns: 1fr; max-height: 92vh; }
    .ya-m__left, .ya-m__right   { display: none; }
    .ya-m__center               { padding: 32px 24px; }
}
.ya-consent{display:flex;flex-direction:column;gap:12px;margin:12px 0 0}
.ya-consent__row{display:flex;align-items:flex-start;gap:10px;cursor:pointer;user-select:none;font-family:var(--font);font-size:12px;line-height:1.5;color:var(--c-black);opacity:0.75;transition:opacity .15s var(--ease)}
.ya-consent__row:hover{opacity:0.95}
.ya-consent__row input{position:absolute;opacity:0;width:0;height:0;pointer-events:none}
.ya-consent__box{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1.5px solid rgba(0,0,0,0.25);border-radius:4px;background:#fff;margin-top:1px;transition:border-color .15s var(--ease),background .15s var(--ease)}
.ya-consent__box::after{content:'';display:block;width:9px;height:9px;background:var(--c-accent);border-radius:1.5px;transform:scale(0);transition:transform .18s cubic-bezier(0.34,1.56,0.64,1)}
.ya-consent__row input:checked + .ya-consent__box{border-color:var(--c-accent)}
.ya-consent__row input:checked + .ya-consent__box::after{transform:scale(1)}
.ya-consent__row input:focus-visible + .ya-consent__box{box-shadow:0 0 0 3px rgba(252,225,22,0.3)}
.ya-consent__text{flex:1;min-width:0}
.ya-consent__text a{color:inherit;text-decoration:underline;text-underline-offset:2px;opacity:1}
.ya-consent__text a:hover{color:var(--c-black)}
.ya-consent__hint{display:block;font-size:11.5px;font-weight:var(--w-bold);min-height:0;padding:4px 0 0;color:var(--c-red);text-align:center;transition:color .15s var(--ease)}
.ya-consent__row--shake{animation:yaConsentShake .4s ease}
@keyframes yaConsentShake{0%,100%{transform:translateX(0)}15%{transform:translateX(-5px)}30%{transform:translateX(4px)}45%{transform:translateX(-3px)}60%{transform:translateX(2px)}75%{transform:translateX(-1px)}}
@media(max-width:600px){.ya-consent__row{font-size:13px}}

.ya-cw{background:#fff;border:1px solid rgba(0,0,0,0.08);border-radius:12px;padding:16px;margin:16px 0;font-family:var(--font)}
.ya-cw__title{font-size:11px;font-weight:var(--w-black);letter-spacing:0.08em;color:var(--c-black);opacity:0.55;margin-bottom:12px}
.ya-cw__row{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid rgba(0,0,0,0.05)}
.ya-cw__row:last-of-type{border-bottom:none}
.ya-cw__icon{font-size:18px;line-height:1;flex-shrink:0;width:24px;text-align:center}
.ya-cw__body{flex:1;min-width:0}
.ya-cw__label{font-size:14px;font-weight:var(--w-bold);color:var(--c-black);margin-bottom:2px}
.ya-cw__info{font-size:12px;color:var(--c-black);opacity:0.55}
.ya-cw__row--ok .ya-cw__label{color:var(--c-green,#15803d)}
.ya-cw__row--revoked .ya-cw__label{color:var(--c-red,#dc2626)}
.ya-cw__row--none{opacity:0.55}
.ya-cw__revoke{flex-shrink:0;padding:6px 12px;border:1px solid rgba(220,38,38,0.3);border-radius:6px;background:none;color:#dc2626;font-family:var(--font);font-size:12px;font-weight:var(--w-bold);cursor:pointer;transition:background .15s var(--ease)}
.ya-cw__revoke:hover{background:rgba(220,38,38,0.08)}
.ya-cw__history{margin-top:14px;padding-top:14px;border-top:1px solid rgba(0,0,0,0.05);font-size:12px}
.ya-cw__history summary{cursor:pointer;font-weight:var(--w-bold);color:var(--c-black);opacity:0.7;outline:none}
.ya-cw__history summary:hover{opacity:1}
.ya-cw__history ul{margin:10px 0 0;padding:0 0 0 18px;color:var(--c-black);opacity:0.7}
.ya-cw__history li{padding:3px 0}

#cart-overlay { padding: var(--s-4); }

.co-box--flow {
    position: relative;
    width: min(900px, 96vw);
    height: 620px;
    max-height: 92vh;
    background: var(--c-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .3);
    display: grid;
    grid-template-columns: 340px 1fr;
    animation: ya-box-in 320ms var(--ease);
}

.co-x {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    width: 34px;
    height: 34px;
    border: 0;
    cursor: pointer;
    background: var(--c-surface);
    color: var(--c-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 180ms var(--ease);
}
.co-x:hover { background: var(--c-border); }
.co-x:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.co-flow-left {
    background: linear-gradient(155deg, #F5F5F7 0%, #EDEDF0 100%);
    padding: 32px 32px 28px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    min-width: 0;
}
.co-flow-left::-webkit-scrollbar { width: 4px; }
.co-flow-left::-webkit-scrollbar-track { background: transparent; }
.co-flow-left::-webkit-scrollbar-thumb { background: rgba(10,10,10,.15); border-radius: 2px; }

.co-brand { display: flex; align-items: center; margin-bottom: 20px; color: var(--c-black); }
.co-brand-wm { height: 18px; width: auto; display: block; }

.co-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-black);
    opacity: .7;
    margin: 0 0 8px;
    transition: opacity 220ms var(--ease);
}
.co-left-h {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.018em;
    color: var(--c-black);
    margin: 0 0 16px;
}

.co-left-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    transition: opacity 260ms var(--ease);
}
.co-left-summary--empty { display: none; }

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: var(--c-white);
    border-radius: var(--r-sm);
    font-size: 13px;
    line-height: 1.35;
}
.checkout-item__name {
    color: var(--c-black);
    font-weight: 500;
    flex: 1;
    min-width: 0;
}
.checkout-item__meta {
    color: var(--c-muted);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 12px;
}
.checkout-item__meta strong {
    color: var(--c-black);
    font-weight: 600;
    font-size: 13px;
}

.co-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0 14px;
    border-top: 1px solid rgba(10,10,10,.1);
    border-bottom: 1px solid rgba(10,10,10,.1);
    margin-bottom: 14px;
}
.co-total-l {
    font-size: 13px;
    color: var(--c-muted);
    font-weight: 500;
}
.co-total-p {
    font-size: 22px;
    font-weight: 600;
    color: var(--c-black);
    letter-spacing: -.01em;
}

.co-bens {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.co-bens li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--c-black);
    opacity: .85;
    line-height: 1.35;
}
.co-bens li svg { flex-shrink: 0; color: var(--c-green); }

.co-flow-right {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: var(--c-white);
}

.flow-slide {
    position: absolute;
    inset: 0;
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(32px);
    transition: transform 460ms cubic-bezier(.22, 1, .36, 1),
                opacity   280ms cubic-bezier(.33, 0, .67, 1);
    pointer-events: none;
    overflow-y: auto;
    scrollbar-width: thin;
    will-change: transform, opacity;
}
.flow-slide::-webkit-scrollbar { width: 4px; }
.flow-slide::-webkit-scrollbar-track { background: transparent; }
.flow-slide::-webkit-scrollbar-thumb { background: rgba(10,10,10,.15); border-radius: 2px; }

.flow-slide[hidden] { display: none; }
.flow-slide--active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.flow-slide--exit-left {
    opacity: 0;
    transform: translateX(-32px);
}
.flow-slide--exit-right {
    opacity: 0;
    transform: translateX(32px);
}
.flow-slide--enter-from-right { opacity: 0; transform: translateX(32px); }
.flow-slide--enter-from-left  { opacity: 0; transform: translateX(-32px); }

.co-back {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 12px 0 9px;
    margin-bottom: 12px;
    border: 0;
    cursor: pointer;
    background: var(--c-surface);
    color: var(--c-black);
    border-radius: var(--r-pill);
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.co-back:hover { background: var(--c-border); transform: translateX(-2px); }
.co-back:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.co-back[hidden] { display: none; }

#cart-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--c-muted);
    font-size: 14px;
    margin: auto 0;
}
.cart-empty__icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-surface);
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--c-muted);
}
.cart-empty__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-black);
    margin-bottom: 6px;
}

.cart-list-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-black);
    opacity: .65;
    letter-spacing: .02em;
    margin: 0 0 14px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 52px 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 10px 12px;
    background: var(--c-surface);
    border-radius: var(--r-sm);
    transition: opacity 180ms var(--ease);
}
.cart-item--removing { opacity: .4; pointer-events: none; }

.cart-item__img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--c-white);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }

.cart-item__info { min-width: 0; }
.cart-item__name {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-black);
    line-height: 1.3;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-item__price {
    font-size: 12.5px;
    color: var(--c-muted);
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    background: var(--c-white);
    border-radius: var(--r-pill);
    padding: 3px;
    gap: 2px;
}
.cart-qty__btn {
    width: 26px;
    height: 26px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 160ms var(--ease);
    font-family: inherit;
}
.cart-qty__btn:hover:not(:disabled) { background: var(--c-surface); }
.cart-qty__btn:disabled { opacity: .4; cursor: not-allowed; }
.cart-qty__val {
    min-width: 22px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-black);
    font-variant-numeric: tabular-nums;
}

.cart-item__remove {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--c-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 160ms var(--ease), color 160ms var(--ease);
}
.cart-item__remove:hover { background: rgba(224,49,49,.1); color: var(--c-red); }
.cart-item__remove:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.cart-foot {
    padding-top: 16px;
    border-top: 1px solid var(--c-border);
    margin-top: auto;
}

.co-head { margin-bottom: 16px; padding-right: 44px; }
.co-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--c-black);
    line-height: 1.2;
    margin: 0 0 6px;
}
.co-desc {
    font-size: 13px;
    color: var(--c-black);
    opacity: .65;
    line-height: 1.45;
    margin: 0;
}

.checkout-step { display: none; flex-direction: column; flex: 1; min-height: 0; }
.checkout-step--active { display: flex; }

.co-form { display: flex; flex-direction: column; gap: 14px; }

.co-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.co-field { display: flex; flex-direction: column; }
.co-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-black);
    opacity: .75;
    margin-bottom: 6px;
    letter-spacing: -.005em;
}
.co-label-txt span[aria-hidden="true"] {
    color: var(--c-red);
    margin-left: 2px;
}
.co-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    opacity: .85;
}
.co-lock[hidden] { display: none; }

.co-input {
    display: block;
    width: 100%;
    padding: 11px 14px;
    font: inherit;
    font-size: 14px;
    color: var(--c-black);
    background: #fafafa;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    outline: none;
    transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.co-input::placeholder { color: var(--c-subtle); }
.co-input:hover:not(.co-input--locked) { border-color: var(--c-border); }
.co-input:focus:not(.co-input--locked) {
    background: var(--c-white);
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(252, 225, 22, .22);
}
.co-input--area {
    resize: none;
    min-height: 56px;
    line-height: 1.4;
    font-family: inherit;
}
.co-input--locked {
    background-color: #F0F0F2;
    color: var(--c-black);
    cursor: not-allowed;
    opacity: .9;
    border-color: transparent;
    padding-right: 38px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8A8AC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V8a4 4 0 018 0v3'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
}
.co-input--locked:focus { outline: none; box-shadow: none; border-color: transparent; }

.co-hint {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: -4px 0 0;
    padding: 9px 12px;
    background: #FFFBE8;
    border-radius: var(--r-sm);
    font-size: 12px;
    line-height: 1.4;
    color: var(--c-black);
    opacity: .85;
}
.co-hint[hidden] { display: none; }
.co-hint svg { flex-shrink: 0; margin-top: 2px; color: var(--c-black); opacity: .6; }
.co-hint-link {
    color: var(--c-black);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}
.co-hint-link:hover { opacity: .7; }

.co-error {
    background: #FDECEC;
    color: var(--c-red);
    padding: 10px 12px;
    border-radius: var(--r-sm);
    font-size: 12.5px;
    line-height: 1.4;
}

.co-submit {
    display: block;
    width: 100%;
    padding: 14px var(--s-6);
    margin-top: 4px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-white);
    background: var(--c-black);
    border: 0;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: background 180ms var(--ease), transform 180ms var(--ease);
    letter-spacing: -.01em;
}
.co-submit:hover:not(:disabled) {
    background: var(--c-deep);
    transform: translateY(-1px);
}
.co-submit:active:not(:disabled) { transform: translateY(0); }
.co-submit:disabled { opacity: .6; cursor: not-allowed; }
.co-submit:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.co-success {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: auto;
}
.co-success__icon { width: 72px; height: 72px; margin: 0 auto 20px; }
.co-success__icon svg { width: 100%; height: 100%; display: block; }
.co-success__title {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--c-black);
    margin: 0 0 12px;
    line-height: 1.15;
}
.co-success__desc {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.5;
    margin: 0 0 20px;
}
.co-success__oid {
    display: inline-block;
    font-size: 14px;
    color: var(--c-black);
    padding: 10px 18px;
    background: var(--c-surface);
    border-radius: var(--r-sm);
    margin-bottom: 24px;
}
.co-success__oid strong { font-weight: 600; margin-left: 6px; }
.co-submit--success { max-width: 220px; margin: 0 auto; }

@media (max-width: 760px) {
    #cart-overlay { padding: 0; align-items: stretch; }
    .co-box--flow {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    .co-flow-left {
        padding: 18px 20px 16px;
        max-height: 38vh;
    }
    .co-brand { margin-bottom: 12px; }
    .co-brand-wm { height: 16px; }
    .co-left-h { font-size: 18px; margin-bottom: 12px; }
    .co-bens { display: none; }
    .flow-slide { padding: 22px 20px 24px; }
    .co-title { font-size: 20px; }
}

@media (max-width: 480px) {
    .co-field-row { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 44px 1fr auto; }
    .cart-item__remove { grid-column: 3; grid-row: 1; }
    .cart-qty { grid-column: 2 / -1; grid-row: 2; justify-self: start; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .flow-slide { transition: none; }
    .co-box--flow { animation: none; }
}

.cart-qty__val--pulse {
    animation: cart-qty-pulse 380ms cubic-bezier(.34, 1.56, .64, 1);
    animation-fill-mode: both;
}
@keyframes cart-qty-pulse {
    0%   { transform: scale(1);    color: var(--c-black); }
    35%  { transform: scale(1.32); color: var(--c-black); }
    100% { transform: scale(1);    color: var(--c-black); }
}
.cart-qty__val { transition: color 220ms var(--ease); display: inline-block; }
.checkout-item__sub { display: inline-block; font-variant-numeric: tabular-nums; }
.co-total-p { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
    .cart-qty__val--pulse { animation: none; }
}

.co-mobile-bar { display: none; }

@media (max-width: 760px) {
    #cart-overlay {
        padding: 0 !important;
        align-items: stretch !important;
    }

    .co-box--flow {
        width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: 100dvh !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: auto 1fr !important;
        overflow: hidden;
    }

    .co-x { display: none !important; }

    .co-mobile-bar {
        position: sticky;
        top: 0;
        z-index: 30;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 10px 12px;
        min-height: 52px;
        background: rgba(255, 255, 255, 0.94);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        backdrop-filter: blur(16px) saturate(180%);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        flex-shrink: 0;
    }

    .co-mobile-back {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        height: 36px;
        padding: 0 12px 0 8px;
        background: transparent;
        border: none;
        border-radius: 100px;
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        color: #1D1D1F;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .co-mobile-back[hidden] { display: none; }
    .co-mobile-back:active { background: rgba(0, 0, 0, 0.05); }
    .co-mobile-back svg { width: 16px; height: 16px; }

    .co-mobile-title {
        flex: 1;
        text-align: center;
        font-size: 16px;
        font-weight: 900;
        letter-spacing: -0.01em;
        color: #1D1D1F;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .co-mobile-back[hidden] + .co-mobile-title {
        text-align: left;
        padding-left: 4px;
    }

    .co-mobile-close {
        width: 36px;
        height: 36px;
        padding: 0;
        background: rgba(0, 0, 0, 0.06);
        border: none;
        border-radius: 50%;
        color: #1D1D1F;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        flex-shrink: 0;
    }
    .co-mobile-close:active { background: rgba(0, 0, 0, 0.1); }
    .co-mobile-close svg { width: 16px; height: 16px; }

    .co-flow-left { display: none !important; }

    .co-flow-right {
        flex: 1;
        min-height: 0;
        width: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        background: #fff;
        position: relative;
    }

    .flow-slide {
        padding: 0 !important;
        display: block;
    }

    #cart-content {
        padding: 14px 16px 24px;
        display: block;
    }

    .cart-empty {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 40px 20px;
        text-align: center;
        min-height: calc(100dvh - 180px);
    }

    .cart-empty__icon {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: #F5F5F7;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 6px;
        color: #1D1D1F;
    }
    .cart-empty__icon svg { width: 28px; height: 28px; }

    .cart-empty__title {
        font-size: 19px;
        font-weight: 900;
        color: #1D1D1F;
        letter-spacing: -0.01em;
    }

    .cart-empty__desc {
        font-size: 14px;
        color: var(--c-muted, #888);
        margin-bottom: 10px;
    }

    .cart-empty__cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 22px;
        background: var(--c-accent, #FCE116);
        color: #1D1D1F;
        border: none;
        border-radius: 100px;
        font-family: inherit;
        font-size: 14px;
        font-weight: 900;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        box-shadow: 0 6px 20px rgba(252, 225, 22, 0.35);
    }
    .cart-empty__cta:active {
        transform: scale(0.96);
    }

    .cart-items {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }

    .cart-item {
        display: grid;
        grid-template-columns: 60px 1fr auto;
        grid-template-rows: auto auto;
        grid-column-gap: 12px;
        align-items: center;
        padding: 14px;
        background: #F5F5F7;
        border-radius: 14px;
        position: relative;
    }

    .cart-item__img {
        grid-row: 1 / span 2;
        width: 60px;
        height: 60px;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }
    .cart-item__img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .cart-item__info {
        min-width: 0;
        grid-column: 2;
        grid-row: 1;
    }

    .cart-item__name {
        font-size: 14px;
        font-weight: 700;
        color: #1D1D1F;
        margin-bottom: 2px;
        letter-spacing: -0.01em;
    }

    .cart-item__price {
        font-size: 13px;
        color: var(--c-muted, #666);
        font-weight: 500;
    }

    .cart-qty {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-top: 8px;
        background: #fff;
        border-radius: 100px;
        padding: 2px;
    }

    .cart-qty__btn {
        width: 30px;
        height: 30px;
        border: none;
        background: transparent;
        font-size: 16px;
        font-weight: 700;
        color: #1D1D1F;
        cursor: pointer;
        border-radius: 50%;
        -webkit-tap-highlight-color: transparent;
    }
    .cart-qty__btn:active { background: rgba(0, 0, 0, 0.06); }

    .cart-qty__val {
        min-width: 22px;
        text-align: center;
        font-size: 14px;
        font-weight: 700;
    }

    .cart-item__remove {
        grid-column: 3;
        grid-row: 1;
        align-self: start;
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        color: var(--c-muted, #888);
        cursor: pointer;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }
    .cart-item__remove:active { background: rgba(0, 0, 0, 0.06); }
    .cart-item__remove svg { width: 14px; height: 14px; }

    .cart-foot {
        position: static;
        margin: 18px -16px 0;
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
        position: sticky;
        bottom: 0;
        z-index: 20;
    }

    #cart-checkout-btn,
    #checkout-submit,
    .cart-foot .co-submit {
        display: flex !important;
        width: 100%;
        height: 52px;
        padding: 0 16px;
        border: none;
        border-radius: 14px;
        background: var(--c-accent, #FCE116) !important;
        color: #1D1D1F !important;
        font-family: inherit;
        font-size: 15px;
        font-weight: 900;
        letter-spacing: -0.01em;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        gap: 8px;
        -webkit-tap-highlight-color: transparent;
    }

    .checkout-step {
        padding: 20px 16px 110px;
        display: flex;
        flex-direction: column;
    }

    #checkout-back-btn { display: none !important; }

    .co-head { margin-bottom: 18px; }

    .co-title {
        font-size: 20px !important;
        font-weight: 900 !important;
        letter-spacing: -0.02em;
        color: #1D1D1F;
        margin: 0 0 4px;
    }

    .co-desc {
        font-size: 13.5px !important;
        line-height: 1.45;
        color: var(--c-muted, #666);
        margin: 0;
    }

    .co-form {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .co-field-row {
        display: flex !important;
        flex-direction: column;
        grid-template-columns: none !important;
        gap: 14px;
    }

    .co-field {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .co-label {
        font-size: 12.5px;
        font-weight: 700;
        color: var(--c-muted, #666);
        text-transform: none;
        letter-spacing: 0;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .co-input {
        width: 100%;
        height: 48px;
        padding: 0 14px;
        background: #F5F5F7;
        border: 1.5px solid transparent;
        border-radius: 12px;
        font-family: inherit;
        font-size: 15px;
        color: #1D1D1F;
        outline: none;
        -webkit-tap-highlight-color: transparent;
        transition: border-color .15s ease, background .15s ease;
    }
    .co-input:focus {
        border-color: var(--c-accent, #FCE116);
        background: #fff;
    }
    .co-input--area {
        height: auto;
        min-height: 76px;
        padding: 12px 14px;
        line-height: 1.4;
        resize: vertical;
    }

    .co-input::placeholder { color: #A1A1A6; }

    .co-form #checkout-submit {
        position: sticky;
        bottom: 0;
        margin: 14px -16px -20px;
        border-radius: 0;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
        z-index: 10;
        height: calc(52px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
    }

    .co-error {
        padding: 12px 14px;
        background: rgba(220, 38, 38, 0.08);
        color: #DC2626;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 500;
    }

    #checkout-step-success { display: none !important; }
}

@media (max-width: 380px) {
    .cart-item { padding: 12px; grid-template-columns: 52px 1fr auto; grid-column-gap: 10px; }
    .cart-item__img { width: 52px; height: 52px; }
    .co-title { font-size: 18px !important; }
    .cart-empty__icon { width: 56px; height: 56px; }
    .cart-empty__title { font-size: 17px; }
}

@media (max-width: 760px) {

    #checkout-step-success[hidden] { display: none !important; }
    #checkout-step-success.checkout-step--active { display: flex !important; }

    .cart-total-m {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        padding: 14px 2px 10px;
        margin-top: 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    .cart-total-m__l {
        font-size: 14px;
        color: var(--c-muted, #666);
        font-weight: 600;
    }
    .cart-total-m__v {
        font-size: 22px;
        font-weight: 900;
        color: #1D1D1F;
        letter-spacing: -0.02em;
        font-variant-numeric: tabular-nums;
    }

    .cart-bens-m {
        list-style: none;
        padding: 0;
        margin: 4px 0 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .cart-bens-m li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 500;
        color: #1D1D1F;
    }
    .cart-bens-m svg {
        flex-shrink: 0;
        width: 14px;
        height: 14px;
        color: var(--c-green, #2D7F3A);
    }

    #cart-content {
        padding: 14px 16px 90px;
    }

    #checkout-step-order {
        padding: 18px 16px calc(24px + env(safe-area-inset-bottom)) !important;
    }

    .co-form #checkout-submit {
        position: static !important;
        width: 100%;
        height: 52px;
        margin: 6px 0 0 !important;
        border-radius: 14px !important;
        padding: 0 16px !important;
        z-index: auto;
        box-shadow: none;
    }

    .co-field--ghost {
        position: relative;
    }

    .co-field__ctrl {
        position: relative;
        display: block;
    }

    .co-field__ctrl--area {
        min-height: 76px;
    }

    .co-ghost {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        pointer-events: none;
        font-family: inherit;
        font-size: 15px;
        font-weight: 500;
        color: #1D1D1F;
        opacity: 0.42;
        white-space: nowrap;
        overflow: hidden;
        z-index: 2;
        transition: opacity .18s ease;
    }

    .co-ghost-t {
        display: inline-block;
    }

    .co-ghost--area {
        top: 12px;
        bottom: auto;
        height: 22px;
        align-items: flex-start;
    }

    .co-field--ghost .co-input:focus ~ .co-ghost,
    .co-field--ghost .co-input:not(:placeholder-shown) ~ .co-ghost,
    .co-field--ghost .co-input[readonly] ~ .co-ghost,
    .co-field--ghost .co-input.co-input--locked ~ .co-ghost {
        opacity: 0;
        visibility: hidden;
    }

    .co-ghost-t {
        font-family: inherit;
    }

    .co-ghost-c {
        display: inline-block;
        width: 2px;
        height: 16px;
        background: #1D1D1F;
        margin-left: 2px;
        vertical-align: middle;
        animation: co-ghost-blink 1.05s steps(2, end) infinite;
    }

    @keyframes co-ghost-blink {
        0%, 50% { opacity: 1; }
        51%, 100% { opacity: 0; }
    }

    #checkout-step-success {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 24px;
        min-height: 70vh;
        text-align: center;
    }

    .co-success {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        max-width: 320px;
    }

    .co-success__icon {
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .co-success__icon svg { width: 80px; height: 80px; }

    .co-success__title {
        margin: 4px 0 0;
        font-size: 24px;
        font-weight: 900;
        letter-spacing: -0.02em;
        color: #1D1D1F;
    }

    .co-success__desc {
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
        color: var(--c-muted, #666);
    }

    .co-success__oid {
        margin-top: 8px;
        padding: 10px 16px;
        background: #F5F5F7;
        border-radius: 10px;
        font-size: 13px;
        color: #1D1D1F;
        font-weight: 600;
    }
    .co-success__oid strong {
        font-weight: 900;
        font-family: 'SF Mono', ui-monospace, monospace;
    }

    .co-submit--success {
        display: flex !important;
        width: 100%;
        max-width: 280px;
        margin-top: 16px;
        height: 48px;
        border: none;
        border-radius: 14px;
        background: var(--c-accent, #FCE116);
        color: #1D1D1F;
        font-family: inherit;
        font-size: 15px;
        font-weight: 900;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 760px) {

    .cart-bens-m { display: none !important; }

    .cart-bens-m2 {
        margin-top: 18px;
        padding: 14px 16px;
        background: #F5F5F7;
        border-radius: 16px;
    }
    .cart-bens-m2__title {
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--c-muted, #666);
        margin-bottom: 12px;
    }
    .cart-bens-m2__item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 8px 0;
    }
    .cart-bens-m2__item + .cart-bens-m2__item {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    .cart-bens-m2__ico {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        background: #fff;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1D1D1F;
    }
    .cart-bens-m2__text {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .cart-bens-m2__text strong {
        font-size: 13.5px;
        font-weight: 900;
        color: #1D1D1F;
        letter-spacing: -0.01em;
    }
    .cart-bens-m2__text span {
        font-size: 12.5px;
        color: var(--c-muted, #666);
        line-height: 1.35;
    }

    .cart-auth-cta {
        margin-top: 12px;
        padding: 14px 16px;
        background: linear-gradient(135deg, #1D1D1F 0%, #2B2B2F 100%);
        color: #fff;
        border-radius: 16px;
        display: grid;
        grid-template-columns: 36px 1fr auto;
        gap: 12px;
        align-items: center;
    }
    .cart-auth-cta__icon {
        width: 36px;
        height: 36px;
        background: rgba(252, 225, 22, 0.18);
        color: #FCE116;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cart-auth-cta__body {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .cart-auth-cta__title {
        font-size: 13.5px;
        font-weight: 900;
        letter-spacing: -0.01em;
    }
    .cart-auth-cta__desc {
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.35;
    }
    .cart-auth-cta__btn {
        padding: 8px 14px;
        border: none;
        border-radius: 100px;
        background: var(--c-accent, #FCE116);
        color: #1D1D1F;
        font-family: inherit;
        font-size: 12.5px;
        font-weight: 900;
        white-space: nowrap;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .cart-prev-orders {
        margin-top: 28px;
        width: 100%;
        max-width: 320px;
        text-align: left;
        padding: 14px 16px;
        background: #F5F5F7;
        border-radius: 14px;
    }
    .cart-prev-orders__title {
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--c-muted, #666);
        margin-bottom: 8px;
    }
    .cart-prev-order {
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 6px 0;
        font-size: 13px;
        font-weight: 500;
    }
    .cart-prev-order + .cart-prev-order {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    .cart-prev-order__num {
        font-weight: 900;
        color: #1D1D1F;
        font-family: 'SF Mono', ui-monospace, monospace;
    }
    .cart-prev-order__date {
        color: var(--c-muted, #666);
        font-size: 12px;
    }
    .cart-prev-order__sum {
        margin-left: auto;
        font-weight: 700;
        color: #1D1D1F;
    }
    .cart-prev-orders__cta {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
        padding: 8px 12px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 100px;
        font-family: inherit;
        font-size: 12px;
        font-weight: 700;
        color: #1D1D1F;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .co-success__stored {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: -4px 0 0;
        padding: 0;
        font-size: 11.5px;
        color: var(--c-muted, #666);
        font-weight: 500;
    }
    .co-success__stored svg {
        color: var(--c-green, #2D7F3A);
    }

    .co-success__cta {
        width: 100%;
        max-width: 320px;
        margin-top: 18px;
        padding: 16px 18px 18px;
        background: #F5F5F7;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .co-success__cta-title {
        font-size: 15px;
        font-weight: 900;
        letter-spacing: -0.01em;
        color: #1D1D1F;
        text-align: center;
    }
    .co-success__cta-desc {
        font-size: 12.5px;
        line-height: 1.4;
        color: var(--c-muted, #666);
        text-align: center;
        margin-bottom: 6px;
    }
    .co-submit--ghost {
        background: transparent !important;
        color: var(--c-muted, #666) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        height: 40px !important;
        border: none;
    }
    .co-submit--ghost:active { background: rgba(0, 0, 0, 0.04) !important; }
}

@media (max-width: 760px) {

    .co-consent {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 2px;
        font-size: 12.5px;
        line-height: 1.4;
        color: var(--c-muted, #666);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    .co-consent__cb {
        position: absolute;
        opacity: 0;
        pointer-events: none;
        width: 0;
        height: 0;
    }

    .co-consent__box {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        margin-top: 1px;
        border: 1.5px solid rgba(0, 0, 0, 0.2);
        border-radius: 6px;
        background: #fff;
        color: transparent;
        transition: all .15s ease;
    }

    .co-consent__cb:checked ~ .co-consent__box {
        background: var(--c-accent, #FCE116);
        border-color: var(--c-accent, #FCE116);
        color: #1D1D1F;
    }

    .co-consent__cb:focus-visible ~ .co-consent__box {
        box-shadow: 0 0 0 3px rgba(252, 225, 22, 0.4);
    }

    .co-consent__txt {
        flex: 1;
        min-width: 0;
    }

    .co-consent__txt a {
        color: #1D1D1F;
        font-weight: 600;
        text-decoration: underline;
        text-decoration-color: rgba(0, 0, 0, 0.25);
        text-underline-offset: 2px;
    }

    #checkout-step-success.checkout-step--active {
        opacity: 0;
        animation: co-success-fade-in .5s cubic-bezier(0.22, 1, 0.36, 1) .2s forwards;
    }
    @keyframes co-success-fade-in {
        to { opacity: 1; }
    }

    .co-success__icon svg {
        animation: co-success-icon-pop .6s cubic-bezier(0.34, 1.56, 0.64, 1) .3s both;
    }
    @keyframes co-success-icon-pop {
        0%   { transform: scale(0.3); opacity: 0; }
        60%  { transform: scale(1.08); opacity: 1; }
        100% { transform: scale(1); opacity: 1; }
    }

    .co-success__title {
        opacity: 0;
        animation: co-success-slide-up .4s cubic-bezier(0.22, 1, 0.36, 1) .65s forwards;
    }
    .co-success__desc {
        opacity: 0;
        animation: co-success-slide-up .4s cubic-bezier(0.22, 1, 0.36, 1) .78s forwards;
    }
    .co-success__oid {
        opacity: 0;
        animation: co-success-slide-up .4s cubic-bezier(0.22, 1, 0.36, 1) .9s forwards;
    }
    .co-success__stored {
        opacity: 0;
        animation: co-success-slide-up .4s cubic-bezier(0.22, 1, 0.36, 1) 1.02s forwards;
    }
    .co-success__cta:not([hidden]) {
        opacity: 0;
        animation: co-success-slide-up .5s cubic-bezier(0.22, 1, 0.36, 1) 1.18s forwards;
    }
    @keyframes co-success-slide-up {
        from { opacity: 0; transform: translateY(10px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    #checkout-step-success.checkout-step--active {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (prefers-reduced-motion: reduce) {
    #checkout-step-success.checkout-step--active,
    #checkout-step-success.checkout-step--active * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 760px) {

    .co-field__wrap {
        position: relative;
    }

    .co-field--ghost .co-ghost {
        position: absolute;
        left: 15px;
        top: 0;
        bottom: 0;
        height: auto;
        display: flex;
        align-items: center;
        pointer-events: none;
        font-size: 15px;
        font-weight: 500;
        color: #1D1D1F;
        opacity: 0.4;
        white-space: nowrap;
        overflow: hidden;
        max-width: calc(100% - 32px);
        z-index: 2;
        transition: opacity .18s ease;
    }

    .co-ghost--area {
        top: 12px;
        bottom: auto;
        align-items: flex-start;
        height: auto;
    }

    .co-field--ghost .co-input:focus ~ .co-ghost,
    .co-field--ghost .co-input:not(:placeholder-shown) ~ .co-ghost,
    .co-field--ghost .co-input[readonly] ~ .co-ghost,
    .co-field__wrap:focus-within .co-ghost,
    .co-field__wrap .co-input:not(:placeholder-shown) ~ .co-ghost {
        opacity: 0 !important;
        visibility: hidden;
    }

    .co-consent__link {
        background: none;
        border: none;
        padding: 0;
        font: inherit;
        color: #1D1D1F;
        font-weight: 700;
        text-decoration: underline;
        text-decoration-color: rgba(0, 0, 0, 0.25);
        text-underline-offset: 2px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    #checkout-step-privacy {
        padding: 0 !important;
        display: none;
        flex-direction: column;
        height: 100%;
    }
    #checkout-step-privacy.checkout-step--active {
        display: flex !important;
    }

    .co-priv {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .co-priv__head {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        flex-shrink: 0;
    }
    .co-priv__back {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        height: 34px;
        padding: 0 10px;
        background: transparent;
        border: none;
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        color: #1D1D1F;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        border-radius: 100px;
    }
    .co-priv__back:active {
        background: rgba(0, 0, 0, 0.05);
    }
    .co-priv__back svg {
        width: 14px;
        height: 14px;
    }
    .co-priv__title {
        font-size: 15px;
        font-weight: 900;
        color: #1D1D1F;
    }
    .co-priv__body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding: 18px 18px 14px;
        font-size: 13.5px;
        line-height: 1.55;
        color: #2B2B2F;
        -webkit-overflow-scrolling: touch;
    }
    .co-priv__body h1,
    .co-priv__body h2,
    .co-priv__body h3 {
        font-size: 14.5px;
        margin: 18px 0 6px;
        color: #1D1D1F;
        font-weight: 900;
    }
    .co-priv__body h1:first-child,
    .co-priv__body h2:first-child {
        margin-top: 0;
    }
    .co-priv__body p {
        margin: 0 0 10px;
    }
    .co-priv__body ul, .co-priv__body ol {
        padding-left: 18px;
        margin: 0 0 10px;
    }
    .co-priv__loader {
        padding: 40px 0;
        text-align: center;
        color: var(--c-muted, #888);
    }
    .co-priv__foot {
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(255, 255, 255, 0.96);
        flex-shrink: 0;
    }
    .co-priv__foot .co-submit {
        width: 100%;
        height: 48px;
        border: none;
        border-radius: 14px;
        font-family: inherit;
        font-size: 15px;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--c-accent, #FCE116);
        color: #1D1D1F;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .shop__pp-header-actions {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .shop__pp-header-cart {
        position: relative;
        width: 36px;
        height: 36px;
        padding: 0;
        background: rgba(0, 0, 0, 0.06);
        border: none;
        border-radius: 50%;
        color: #1D1D1F;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        flex-shrink: 0;
    }
    .shop__pp-header-cart:active {
        background: rgba(0, 0, 0, 0.1);
    }
    .shop__pp-header-cart svg {
        width: 18px;
        height: 18px;
    }
    .shop__pp-header-cart-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        background: var(--c-accent, #FCE116);
        color: #1D1D1F;
        border-radius: 100px;
        font-size: 10px;
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 0 2px #fff;
    }
    .shop__pp-header-cart-badge[hidden] {
        display: none;
    }
}

@media (max-width: 760px) {

    .co-consent__link {
        background: none;
        border: none;
        padding: 0;
        font: inherit;
        color: #1D1D1F;
        font-weight: 600;
        text-decoration: underline;
        text-decoration-color: rgba(0, 0, 0, 0.25);
        text-underline-offset: 2px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .co-consent__link:active { color: var(--c-muted, #666); }

    #checkout-step-priv {
        padding: 16px 16px calc(20px + env(safe-area-inset-bottom)) !important;
        display: flex;
        flex-direction: column;
        height: calc(100dvh - 52px);
        overflow: hidden;
    }

    #checkout-step-priv[hidden] { display: none !important; }

    #checkout-step-priv.checkout-step--active {
        display: flex !important;
    }

    .co-priv-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 6px 2px 14px;
        font-size: 13.5px;
        line-height: 1.5;
        color: #2B2B2F;
    }
    .co-priv-body h1,
    .co-priv-body h2,
    .co-priv-body h3 {
        font-size: 15px;
        font-weight: 900;
        color: #1D1D1F;
        margin: 16px 0 6px;
        letter-spacing: -0.01em;
    }
    .co-priv-body h1:first-child,
    .co-priv-body h2:first-child,
    .co-priv-body h3:first-child { margin-top: 0; }
    .co-priv-body p { margin: 0 0 10px; }
    .co-priv-body ul, .co-priv-body ol {
        padding-left: 20px;
        margin: 0 0 10px;
    }
    .co-priv-body li { margin-bottom: 4px; }

    #co-priv-accept {
        flex-shrink: 0;
        height: 52px;
        margin-top: 12px;
        border-radius: 14px !important;
        position: static !important;
        background: var(--c-accent, #FCE116) !important;
        color: #1D1D1F !important;
        font-weight: 900 !important;
    }

    .shop__pp-header-bar {
        gap: 4px;
    }

    .shop__pp-header-cart {
        position: relative;
        width: 40px;
        height: 40px;
        padding: 0;
        margin-left: auto;
        margin-right: 4px;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        border-radius: 50%;
        color: #1D1D1F;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        flex-shrink: 0;
    }
    .shop__pp-header-cart:active {
        background: rgba(0, 0, 0, 0.1);
    }
    .shop__pp-header-cart svg {
        width: 18px;
        height: 18px;
    }
    .shop__pp-header-cart-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        background: var(--c-accent, #FCE116);
        color: #1D1D1F;
        border-radius: 100px;
        font-size: 10px;
        font-weight: 900;
        line-height: 16px;
        text-align: center;
        font-family: 'SF Mono', ui-monospace, monospace;
        box-shadow: 0 0 0 2px #fff;
    }
    .shop__pp-header-cart-badge[hidden] { display: none; }
}

@media (max-width: 760px) {

    #checkout-error { display: none !important; }

    .co-field-hint {
        margin: 6px 2px 0;
        font-size: 12.5px;
        font-weight: 500;
        line-height: 1.35;
        color: #DC2626;
    }
    .co-field-hint[hidden] { display: none; }

    .co-field--shake .co-input,
    .co-consent--shake .co-consent__box {
        border-color: #DC2626 !important;
        background: #FEE !important;
        animation: co-shake .45s cubic-bezier(.36, .07, .19, .97);
    }
    .co-field--shake { animation: co-shake .45s cubic-bezier(.36, .07, .19, .97); }
    .co-consent--shake { animation: co-shake .45s cubic-bezier(.36, .07, .19, .97); }

    @keyframes co-shake {
        10%, 90% { transform: translate3d(-2px, 0, 0); }
        20%, 80% { transform: translate3d(4px, 0, 0); }
        30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
        40%, 60% { transform: translate3d(6px, 0, 0); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .co-field--shake, .co-consent--shake { animation: none !important; }
}

/* =========================================================================
   DESKTOP: стили новых элементов (корзина/checkout/политика/success)
   ========================================================================= */
@media (min-width: 761px) {

    /* На десктопе мобильный header-bar не показываем — у ПК свой .co-x */
    .co-mobile-bar { display: none !important; }

    /* На десктопе Итого и Вы в надёжных руках дублируются с .co-flow-left — скрываем */
    .cart-total-m { display: none !important; }
    .cart-bens-m2 { display: none !important; }

    /* ==================== Auth CTA в корзине (тёмная карточка, увеличенная на ПК) ==================== */
    .cart-bens-m2 {
        margin: 18px 0 0;
        padding: 18px 20px;
        background: #F5F5F7;
        border-radius: 16px;
    }
    .cart-bens-m2__title {
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--c-muted, #666);
        margin-bottom: 14px;
    }
    .cart-bens-m2__item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 10px 0;
    }
    .cart-bens-m2__item + .cart-bens-m2__item {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    .cart-bens-m2__ico {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        background: #fff;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1D1D1F;
    }
    .cart-bens-m2__ico svg { width: 20px; height: 20px; }
    .cart-bens-m2__text {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    .cart-bens-m2__text strong {
        font-size: 14px;
        font-weight: 900;
        color: #1D1D1F;
        letter-spacing: -0.01em;
    }
    .cart-bens-m2__text span {
        font-size: 13px;
        color: var(--c-muted, #666);
        line-height: 1.4;
    }

    /* ==================== Пустая корзина ==================== */
    .cart-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 60px 24px;
        text-align: center;
        min-height: 420px;
    }
    .cart-empty__icon {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: #F5F5F7;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
        color: #1D1D1F;
    }
    .cart-empty__icon svg { width: 30px; height: 30px; }
    .cart-empty__title {
        font-size: 22px;
        font-weight: 900;
        color: #1D1D1F;
        letter-spacing: -0.01em;
        margin: 0;
    }
    .cart-empty__desc {
        font-size: 14.5px;
        color: var(--c-muted, #888);
        margin: 0 0 12px;
    }
    .cart-empty__cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        background: var(--c-accent, #FCE116);
        color: #1D1D1F;
        border: none;
        border-radius: 100px;
        font-family: inherit;
        font-size: 14px;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 6px 20px rgba(252, 225, 22, 0.35);
        transition: transform .18s ease, box-shadow .18s ease;
    }
    .cart-empty__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(252, 225, 22, 0.45); }
    .cart-empty__cta:active { transform: scale(0.96); }

    /* ==================== Прошлые заказы ==================== */
    .cart-prev-orders {
        margin-top: 28px;
        width: 100%;
        max-width: 360px;
        text-align: left;
        padding: 16px 18px;
        background: #F5F5F7;
        border-radius: 14px;
    }
    .cart-prev-orders__title {
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--c-muted, #666);
        margin-bottom: 10px;
    }
    .cart-prev-order {
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 8px 0;
        font-size: 13.5px;
        font-weight: 500;
    }
    .cart-prev-order + .cart-prev-order {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    .cart-prev-order__num {
        font-weight: 900;
        color: #1D1D1F;
        font-family: 'SF Mono', ui-monospace, monospace;
    }
    .cart-prev-order__date {
        color: var(--c-muted, #666);
        font-size: 12px;
    }
    .cart-prev-order__sum {
        margin-left: auto;
        font-weight: 700;
        color: #1D1D1F;
    }
    .cart-prev-orders__cta {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 12px;
        padding: 8px 14px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 100px;
        font-family: inherit;
        font-size: 12px;
        font-weight: 700;
        color: #1D1D1F;
        cursor: pointer;
        transition: background .15s ease;
    }
    .cart-prev-orders__cta:hover { background: rgba(0, 0, 0, 0.04); }

    /* ==================== Auth CTA в корзине (тёмная карточка) ==================== */
    .cart-auth-cta {
        margin-top: 18px;
        padding: 16px 20px;
        background: linear-gradient(135deg, #1D1D1F 0%, #2B2B2F 100%);
        color: #fff;
        border-radius: 16px;
        display: grid;
        grid-template-columns: 44px 1fr auto;
        gap: 14px;
        align-items: center;
    }
    .cart-auth-cta__icon {
        width: 44px;
        height: 44px;
        background: rgba(252, 225, 22, 0.18);
        color: #FCE116;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cart-auth-cta__body {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }
    .cart-auth-cta__title {
        font-size: 15px;
        font-weight: 900;
        letter-spacing: -0.01em;
    }
    .cart-auth-cta__desc {
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.4;
    }
    .cart-auth-cta__btn {
        padding: 10px 18px;
        border: none;
        border-radius: 100px;
        background: var(--c-accent, #FCE116);
        color: #1D1D1F;
        font-family: inherit;
        font-size: 13px;
        font-weight: 900;
        white-space: nowrap;
        cursor: pointer;
        transition: transform .15s ease;
    }
    .cart-auth-cta__btn:hover { transform: scale(1.04); }
    .cart-auth-cta__btn:active { transform: scale(0.96); }

    /* ==================== Форма: wrapper для ghost ==================== */
    .co-field--ghost {
        position: relative;
    }
    .co-field__ctrl {
        position: relative;
        display: block;
    }
    .co-field__ctrl--area {
        min-height: 80px;
    }
    .co-ghost {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        pointer-events: none;
        font-family: inherit;
        font-size: 15px;
        font-weight: 500;
        color: #1D1D1F;
        opacity: 0.42;
        white-space: nowrap;
        overflow: hidden;
        z-index: 2;
        transition: opacity .18s ease;
    }
    .co-ghost-t { display: inline-block; }
    .co-ghost--area {
        top: 14px;
        bottom: auto;
        height: 22px;
        align-items: flex-start;
    }
    .co-ghost-c {
        display: inline-block;
        width: 2px;
        height: 18px;
        background: #1D1D1F;
        margin-left: 2px;
        vertical-align: middle;
        animation: co-ghost-blink 1.05s steps(2, end) infinite;
    }
    @keyframes co-ghost-blink {
        0%, 50% { opacity: 1; }
        51%, 100% { opacity: 0; }
    }
    .co-field--ghost .co-input:focus ~ .co-ghost,
    .co-field--ghost .co-input:not(:placeholder-shown) ~ .co-ghost,
    .co-field--ghost .co-input[readonly] ~ .co-ghost,
    .co-field--ghost .co-input.co-input--locked ~ .co-ghost {
        opacity: 0;
        visibility: hidden;
    }

    /* ==================== Checkbox согласия (кастомный) ==================== */
    .co-consent {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 2px;
        font-size: 13px;
        line-height: 1.45;
        color: var(--c-muted, #666);
        cursor: pointer;
        user-select: none;
    }
    .co-consent__cb {
        position: absolute;
        opacity: 0;
        pointer-events: none;
        width: 0;
        height: 0;
    }
    .co-consent__box {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        margin-top: 1px;
        border: 1.5px solid rgba(0, 0, 0, 0.2);
        border-radius: 6px;
        background: #fff;
        color: transparent;
        transition: all .15s ease;
    }
    .co-consent__cb:checked ~ .co-consent__box {
        background: var(--c-accent, #FCE116);
        border-color: var(--c-accent, #FCE116);
        color: #1D1D1F;
    }
    .co-consent__cb:focus-visible ~ .co-consent__box {
        box-shadow: 0 0 0 3px rgba(252, 225, 22, 0.4);
    }
    .co-consent__txt { flex: 1; min-width: 0; }
    .co-consent__link {
        background: none;
        border: none;
        padding: 0;
        font: inherit;
        color: #1D1D1F;
        font-weight: 600;
        text-decoration: underline;
        text-decoration-color: rgba(0, 0, 0, 0.25);
        text-underline-offset: 2px;
        cursor: pointer;
    }
    .co-consent__link:hover { text-decoration-color: #1D1D1F; }

    /* ==================== Inline hint под полем + shake ==================== */
    .co-field-hint {
        margin: 8px 2px 0;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.4;
        color: #DC2626;
    }
    .co-field-hint[hidden] { display: none; }

    .co-field--shake .co-input,
    .co-consent--shake .co-consent__box {
        border-color: #DC2626 !important;
        background: #FEE !important;
    }
    .co-field--shake, .co-consent--shake {
        animation: co-shake .45s cubic-bezier(.36, .07, .19, .97);
    }
    @keyframes co-shake {
        10%, 90% { transform: translate3d(-2px, 0, 0); }
        20%, 80% { transform: translate3d(4px, 0, 0); }
        30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
        40%, 60% { transform: translate3d(6px, 0, 0); }
    }

    #checkout-error[hidden] { display: none; }

    .co-form {
        padding-bottom: 8px;
    }
    .co-form #checkout-submit {
        margin-top: 8px;
    }

    /* ==================== Политика inline ==================== */
    #checkout-step-priv {
        padding: 28px 32px 28px !important;
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }
    #checkout-step-priv[hidden] { display: none !important; }
    #checkout-step-priv.checkout-step--active { display: flex !important; }

    .co-priv-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding: 8px 4px 16px;
        font-size: 14.5px;
        line-height: 1.55;
        color: #2B2B2F;
    }
    .co-priv-body h1,
    .co-priv-body .legal-title {
        font-size: 22px !important;
        font-weight: 900 !important;
        color: #1D1D1F;
        margin: 0 0 10px !important;
        letter-spacing: -0.02em;
        line-height: 1.2 !important;
    }
    .co-priv-body h2 {
        font-size: 17px;
        font-weight: 900;
        color: #1D1D1F;
        margin: 18px 0 8px;
        letter-spacing: -0.01em;
    }
    .co-priv-body h3 {
        font-size: 15px;
        font-weight: 800;
        color: #1D1D1F;
        margin: 14px 0 6px;
    }
    .co-priv-body p { margin: 0 0 10px; }
    .co-priv-body ul, .co-priv-body ol {
        padding-left: 22px;
        margin: 0 0 12px;
    }
    .co-priv-body li { margin-bottom: 4px; }
    .co-priv-body .legal-date {
        font-size: 13px;
        color: var(--c-muted, #888);
        margin-bottom: 16px;
    }

    #co-priv-accept {
        flex-shrink: 0;
        height: 52px;
        margin-top: 16px;
        border: none;
        border-radius: 14px;
        background: var(--c-accent, #FCE116);
        color: #1D1D1F;
        font-family: inherit;
        font-size: 15px;
        font-weight: 900;
        letter-spacing: -0.01em;
        cursor: pointer;
        transition: transform .12s ease;
    }
    #co-priv-accept:hover { transform: scale(1.01); }
    #co-priv-accept:active { transform: scale(0.98); }

    /* ==================== Success: плашка "Номер сохранён" ==================== */
    .co-success__stored {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 4px 0 0;
        padding: 0;
        font-size: 12.5px;
        color: var(--c-muted, #666);
        font-weight: 500;
    }
    .co-success__stored svg {
        color: var(--c-green, #2D7F3A);
        flex-shrink: 0;
    }

    /* ==================== Success: CTA блок (серая карточка) ==================== */
    .co-success__cta {
        width: 100%;
        max-width: 360px;
        margin: 20px auto 0;
        padding: 20px 22px 22px;
        background: #F5F5F7;
        border-radius: 18px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .co-success__cta[hidden] { display: none; }
    .co-success__cta-title {
        font-size: 16px;
        font-weight: 900;
        letter-spacing: -0.01em;
        color: #1D1D1F;
        text-align: center;
    }
    .co-success__cta-desc {
        font-size: 13px;
        line-height: 1.45;
        color: var(--c-muted, #666);
        text-align: center;
        margin-bottom: 8px;
    }

    .co-submit--ghost,
    .co-success__cta .co-submit--ghost {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 48px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        color: var(--c-muted, #666) !important;
        font-family: inherit !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border: none !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        cursor: pointer;
        text-decoration: none;
        line-height: 1 !important;
        transition: background .15s ease, color .15s ease;
    }
    .co-submit--ghost:hover,
    .co-success__cta .co-submit--ghost:hover {
        color: #1D1D1F !important;
        background: rgba(0, 0, 0, 0.04) !important;
    }

    .co-success__cta .co-submit--success {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: none !important;
        height: 48px !important;
        padding: 0 16px !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 12px !important;
        background: var(--c-accent, #FCE116) !important;
        color: #1D1D1F !important;
        font-family: inherit !important;
        font-size: 15px !important;
        font-weight: 900 !important;
        letter-spacing: -0.01em !important;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        line-height: 1 !important;
        box-sizing: border-box;
        transition: transform .12s ease;
    }
    .co-success__cta .co-submit--success:hover {
        transform: scale(1.02);
        background: var(--c-accent-h, #FFD700) !important;
    }
}



@media (max-width: 760px) {

    #auth-overlay.modal-overlay {
        padding: 0 !important;
        align-items: stretch !important;
        background: #F5F4EF;
        backdrop-filter: none;
    }

    #auth-overlay .ya-m {
        width: 100% !important;
        max-width: none !important;
        min-height: 100dvh !important;
        max-height: none !important;
        height: 100dvh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #F5F4EF !important;
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        animation: none !important;
        overflow-y: auto !important;
    }

    #auth-overlay .ya-m__left {
        display: none !important;
    }

    #auth-overlay .ya-m__right {
        display: contents !important;
    }

    #auth-overlay .ya-m__right > *:not(.ya-m__staff) {
        display: none !important;
    }

    #auth-overlay .ya-m__staff {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        margin: 16px auto 8px !important;
        padding: 4px 8px !important;
        background: transparent !important;
        border: none !important;
        color: rgba(10,10,10,.38) !important;
        font-size: 11.5px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        width: fit-content !important;
        touch-action: manipulation;
    }

    #auth-overlay .ya-m__staff:active {
        color: rgba(10,10,10,.7) !important;
    }

    #auth-overlay .ya-m__staff svg {
        width: 11px !important;
        height: 11px !important;
        stroke: currentColor !important;
        opacity: .7;
    }

    #auth-overlay .ya-m__x {
        top: calc(14px + env(safe-area-inset-top)) !important;
        right: 14px !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(10,10,10,.06) !important;
        color: #0A0A0A !important;
        border-radius: 50% !important;
        z-index: 20 !important;
        touch-action: manipulation;
    }

    #auth-overlay .ya-m__x:active {
        background: rgba(10,10,10,.12) !important;
    }

    #auth-overlay .ya-m__center {
        padding: calc(72px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom)) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        overflow-y: auto !important;
        width: 100% !important;
        max-width: 460px !important;
        margin: 0 auto !important;
    }

    #auth-overlay .ya-m__c-wrap::before {
        content: '';
        display: block;
        width: 120px;
        height: 44px;
        margin: 0 auto 28px;
        background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%202000%20245%22%20fill=%22%25230A0A0A%22%3E%3Cg%20transform=%22translate%280,245%29%20scale%28.1,-.1%29%22%20stroke=%22none%22%3E%3Cpath%20d=%22M17116%202269c-288-42-559-228-700-481-41-74-87-198-102-276-19-100-19-510%200-607%2074-375%20370-669%20756-752%2079-17%20157-18%201095-18l1010%200%20100%2028c368%20103%20615%20353%20706%20716%2016%2062%2019%20114%2019%20337l0%20263-41%20125c-57%20174-127%20287-253%20409-145%20140-337%20231-537%20257-102%2012-1966%2012-2053-1zm2029-394c222-42%20399-210%20450-426%2021-91%2021-399-1-483-28-108-72-185-154-267-79-79-178-137-270-158-29-7-390-11-1019-11-853%200-981%202-1034%2016-204%2053-356%20209-412%20422-18%2072-21%20382-4%20464%2045%20216%20223%20395%20439%20442%2099%2021%201894%2023%202005%201zM125%202255c-81-29-129-118-105-197%2014-48%2030-65%20241-249%2079-69%20182-159%20228-200%20249-219%20356-294%20563-393%20155-75%20309-127%20463-157%20139-27%20413-37%20551-19%20384%2048%20758%20222%201064%20495%2073%2064%20108%2094%20225%20195%20270%20230%20322%20280%20334%20319%2015%2050%2014%2063-5%20112-26%2062-82%2099-154%2099-63%200-97-17-180-94-47-43-132-116-211-182-25-22-84-72-130-113-46-40-97-85-114-100-321-278-757-414-1200-372-209%2019-383%2066-560%20151-160%2077-226%20129-699%20548-83%2074-162%20139-176%20147-42%2021-93%2025-135%2010zM5322%202251c-127-37-246-116-326-217-71-88-483-616-581-745-38-50-90-117-115-149-25-31-57-73-71-91-15-19-72-92-128-163-55-71-109-140-118-154-10-13-70-90-134-171-64-81-121-157-128-169-16-31-13-118%205-155%2031-58%20105-107%20163-107%2032%200%2098%2031%20131%2062%2014%2013%2061%2070%20105%20127%2044%2057%20104%20133%20134%20170%2030%2036%2071%2089%2091%20116%2021%2028%2049%2062%2063%2078l26%2027%201054%200%201055%200%2043-57c24-32%2071-91%20104-133%2033-41%2089-113%20125-159%20167-215%20176-222%20264-223%20110-1%20194%2088%20184%20194-5%2051-26%2086-118%20199-25%2031-88%20111-140%20178-52%2068-100%20128-105%20134-6%207-42%2053-80%20102-38%2050-113%20144-165%20210-52%2065-117%20149-145%20185-151%20200-547%20702-592%20751-60%2064-140%20116-234%20150-89%2032-275%2037-367%2010zm256-380c20-10%2048-29%2062-41%2014-12%2036-32%2050-44%2030-25%20135-154%20310-381%2030-38%2057-72%2060-75%2011-9%20165-210%20180-235%208-13%2011-27%207-31-8-8-1480-15-1509-7-25%206-15%2022%20121%20194%2064%2080%20161%20203%20216%20274%20252%20324%20297%20362%20418%20364%2029%201%2063-7%2085-18zM7968%202247c-50-31-74-63-86-122-18-85%2015-173%2082-214%2033-21%2039-21%201452-21%20947%200%201431-4%201456-10%2053-15%20119-69%20148-120%2020-37%2024-59%2024-120%200-86-22-140-76-185-76-64%2025-60-1408-65-1264-5-1306-6-1350-25-67-29-140-77-188-126-46-46-112-171-133-249-17-66-24-640-9-708%2013-60%2050-109%2097-128%2066-28%20176-12%20226%2034%2050%2045%2052%2058%2057%20392%205%20295%206%20317%2026%20350%2011%2019%2035%2045%2054%2057l33%2023%20546%200c602%200%20687-6%20891-59%20104-26%20220-65%20275-90%2011-6%2058-26%20104-46%20226-97%20520-286%20841-540%20187-148%20205-156%20282-129%2083%2029%20135%20109%20123%20190-7%2048-58%20123-115%20170-19%2016-37%2031-40%2034-36%2041-353%20284-487%20375-40%2026-82%2059-95%2072l-21%2023%20102%200c120%200%20235%2021%20305%2057%2090%2045%20187%20133%20240%20217%20166%20261%20130%20605-85%20818-79%2078-191%20140-284%20157-40%208-506%2011-1504%2011l-1446%200-37-23zM12183%202254c-40-17-90-84-99-133-12-64%2011-141%2056-186l40-40%201453-5c1325-5%201455-6%201482-22%2093-50%20152-159%20141-257-11-95-63-166-151-207-12-5-609-11-1470-14l-1450-5-33-23c-18-13-41-41-52-62-19-36-20-60-20-332%200-318%208-385%2063-508%2058-129%20182-248%20316-302l56-23%201275-3c857-2%201298%201%201345%208%20171%2026%20336%20148%20420%20310%2063%20124%2078%20196%2072%20345-6%20148-33%20232-116%20354-31%2047-31%2058%205%20106%2034%2045%2081%20151%20100%20225%2025%2098%2016%20292-19%20380-42%20109-79%20167-152%20241-80%2081-194%20143-291%20159-36%206-624%2010-1499%209-1220-1-1445-3-1472-15zm2963-1282c132-84%20149-270%2036-383-31-30-62-51-89-58-30-8-388-11-1276-9l-1236%203-28%2021c-15%2011-41%2040-58%2063-30%2042-30%2044-34%20197-2%2085%200%20165%203%20179l6%2025%201313-2%201312-3%2051-33zM1635%20824c-17-9-42-32-55-52-25-35-25-36-25-287l0-252%2027-35c47-61%2088-71%20295-66%20177%203%20178%203%20215%2031%2066%2051%2069%2067%2066%20340-3%20273-4%20278-84%20317-36%2018-59%2020-225%2019-143%200-191-4-214-15z%22/%3E%3C/g%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    #auth-overlay .ya-m__c-title {
        font-size: 28px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        letter-spacing: -.024em !important;
        color: #0A0A0A !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }

    #auth-overlay .ya-m__c-desc {
        font-size: 14px !important;
        color: #6E6E73 !important;
        opacity: 1 !important;
        text-align: center !important;
        margin-bottom: 28px !important;
    }

    #auth-overlay .ya-m__tabs,
    #auth-overlay .ya-m__submode {
        background: rgba(10,10,10,.05) !important;
        border: none !important;
        padding: 4px !important;
        border-radius: 100px !important;
        margin-bottom: 18px !important;
        position: relative !important;
    }

    #auth-overlay .ya-m__tab-slider,
    #auth-overlay .ya-m__submode-slider {
        background: #fff !important;
        border-radius: 100px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,.08) !important;
        border: none !important;
        top: 4px !important;
        left: 4px !important;
        width: calc(50% - 4px) !important;
        height: calc(100% - 8px) !important;
    }

    #auth-overlay .ya-m__submode-btn {
        min-height: 40px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        touch-action: manipulation !important;
    }

    #auth-overlay .ya-fld__inp {
        padding: 16px 18px !important;
        font-size: 17px !important;
        font-weight: 500 !important;
        min-height: 56px !important;
        border-radius: 14px !important;
        background: #fff !important;
        border: 1.5px solid rgba(10,10,10,.1) !important;
        -webkit-appearance: none;
    }

    #auth-overlay .ya-fld__inp:focus {
        border-color: #0A0A0A !important;
        box-shadow: 0 0 0 4px rgba(252,225,22,.25) !important;
    }

    #auth-overlay .ya-fld--ghost .ya-fld__inp {
        padding: 16px 18px !important;
    }

    #auth-overlay .ya-m__btn {
        min-height: 56px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        margin-top: 16px !important;
        background: #FCE116 !important;
        color: #0A0A0A !important;
        box-shadow: 0 6px 16px rgba(252,225,22,.3);
        touch-action: manipulation;
        letter-spacing: -.01em;
    }

    #auth-overlay .ya-m__btn:hover:not(:disabled) {
        transform: none !important;
        box-shadow: 0 6px 16px rgba(252,225,22,.3) !important;
    }

    #auth-overlay .ya-m__btn:active:not(:disabled) {
        transform: scale(.98) !important;
    }

    #auth-overlay .ya-m__btn:disabled {
        opacity: 1 !important;
        background: rgba(10,10,10,.08) !important;
        color: rgba(10,10,10,.35) !important;
        box-shadow: none !important;
    }

    #auth-overlay .ya-sms__boxes {
        gap: 10px !important;
        margin: 8px 0 20px !important;
        justify-content: center !important;
    }

    #auth-overlay .ya-sms__box {
        width: 58px !important;
        height: 68px !important;
        font-size: 28px !important;
        font-weight: 600 !important;
        border-radius: 14px !important;
        background: #fff !important;
        border: 1.5px solid rgba(10,10,10,.1) !important;
    }

    #auth-overlay .ya-sms__box:focus {
        border-color: #0A0A0A !important;
        box-shadow: 0 0 0 4px rgba(252,225,22,.25) !important;
    }

    #auth-overlay .ya-sms__to {
        font-size: 13px !important;
        color: #6E6E73 !important;
        text-align: center !important;
        margin-bottom: 14px !important;
    }

    #auth-overlay .ya-sms__to strong {
        color: #0A0A0A;
    }

    #auth-overlay .ya-sms__change {
        color: #0A0A0A !important;
        font-weight: 600 !important;
        text-decoration: underline !important;
        touch-action: manipulation;
    }

    #auth-overlay .ya-sms__resend {
        text-align: center !important;
        font-size: 13px !important;
        margin-top: 16px !important;
    }

    #auth-overlay .ya-sms__err {
        text-align: center !important;
        font-size: 13px !important;
        margin-top: 8px !important;
    }

    #auth-overlay .ya-consent {
        margin-top: 16px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    #auth-overlay .ya-m__privacy {
        padding: calc(24px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)) !important;
    }

    #auth-overlay .ya-m__priv-back {
        min-height: 40px !important;
        font-size: 14px !important;
        touch-action: manipulation;
    }


    #auth-overlay .ya-m__privacy:not([hidden]) {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        display: flex !important;
        flex-direction: column !important;
        background: #F5F4EF !important;
        z-index: 10000 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    #auth-overlay .ya-m__priv-head {
        flex-shrink: 0 !important;
        padding: calc(14px + env(safe-area-inset-top)) 16px 12px !important;
        border-bottom: 1px solid rgba(10,10,10,.08) !important;
        background: #F5F4EF !important;
    }

    #auth-overlay .ya-m__priv-scroll {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 16px 20px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
    }

    #auth-overlay .ya-m__priv-scroll::-webkit-scrollbar {
        display: none !important;
    }

    #auth-overlay .ya-m__priv-body {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    #auth-overlay .ya-m__priv-foot {
        flex-shrink: 0 !important;
        padding: 12px 20px calc(16px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid rgba(10,10,10,.08) !important;
        background: #F5F4EF !important;
    }

    #auth-overlay .ya-m__priv-accept {
        min-height: 56px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
    }

    #auth-overlay .ya-m,
    #auth-overlay .ya-m__center,
    #auth-overlay .ya-m__left {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    #auth-overlay .ya-m::-webkit-scrollbar,
    #auth-overlay .ya-m__center::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    #auth-overlay a.ya-m__oa--gu,
    #auth-overlay .ya-m__oauth a[href*="esia"],
    #auth-overlay .ya-m__oauth .ya-m__oa--gu {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #auth-overlay .ya-m__oauth-section {
        margin-top: 24px !important;
    }

    #auth-overlay .ya-m__oauth {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    #auth-overlay .ya-m__oa {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        min-height: 52px !important;
        padding: 14px 18px !important;
        border-radius: 14px !important;
        border: none !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        touch-action: manipulation;
        transition: transform .12s ease-out, opacity .12s;
    }

    #auth-overlay .ya-m__oa:active {
        transform: scale(.98) !important;
        opacity: .85;
    }

    #auth-overlay .ya-m__oa--vk {
        background: #0A0A0A !important;
        color: #fff !important;
    }

    #auth-overlay .ya-m__oa--ya {
        background: #0A0A0A !important;
        color: #fff !important;
    }

    #auth-overlay .ya-m__oa-logo {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        flex-shrink: 0 !important;
    }

    #auth-overlay .ya-m__oa-logo svg {
        width: 24px !important;
        height: 24px !important;
    }

    #auth-overlay .ya-m__oa--vk .ya-m__oa-logo svg rect {
        fill: #0077FF !important;
    }

    #auth-overlay .ya-m__oa--ya .ya-m__oa-logo svg rect {
        fill: #FC3F1D !important;
    }

    #auth-overlay .ya-m__oa-text {
        color: inherit !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: -.01em !important;
    }

}


.ya-m__oa--vk,
.ya-m__oa--ya {
    pointer-events: none !important;
    cursor: default !important;
}

.ya-m__right { padding-top: 64px !important; }
