.ucd{box-sizing:border-box;position:fixed;inset:0 0 0 auto;width:480px;max-width:100%;height:100%;height:100dvh;max-height:100%;margin:0;padding:0;border:0;background:#fff;color:#0f0f17;font:14px/1.5 'UTry Inter',Arial,sans-serif;overflow:hidden;overscroll-behavior:contain;box-shadow:-8px 0 40px #0f0f1714}
.ucd *,.ucd *::before,.ucd *::after{box-sizing:border-box}
.ucd[open]{display:flex;flex-direction:column;animation:ucd-enter .2s ease-out}
.ucd::backdrop{background:rgb(15 15 23 / 40%)}
.ucd [hidden]{display:none!important}
.ucd h2,.ucd h3,.ucd p{margin:0}
.ucd button,.ucd input{font:inherit;color:inherit}
.ucd button{cursor:pointer}
.ucd button:disabled{opacity:.4;cursor:default}
.ucd a{color:inherit;text-underline-offset:3px}
.ucd :is(a,button,input,[tabindex]):focus-visible{outline:2px solid #ff7710;outline-offset:-2px}
.ucd__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid #eaeaed;flex-shrink:0}
.ucd__header h2{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:600;line-height:32px}
.ucd__badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;padding:2px 8px;border-radius:24px;background:#f2f2f4;font-size:14px;line-height:24px}
.ucd__close{width:44px;height:44px;border:0;background:transparent;font-size:30px!important;line-height:1;border-radius:50%;flex-shrink:0}
.ucd__close:hover{background:#f2f2f4}
.ucd__status{flex-shrink:0;padding:0 24px;overflow-wrap:anywhere}
.ucd__status:has([data-utry-cart-message]:not(:empty)){padding-block:12px;background:#fff4eb}
.ucd__status button{min-height:44px;border:0;background:transparent;text-decoration:underline;margin-left:8px}
.ucd__content{flex:1;min-height:0;display:flex;flex-direction:column}
.ucd__form{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}
.ucd__items{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 24px}
.ucd__item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:24px 0;border-bottom:1px solid #eaeaed}
.ucd__item:last-child{border-bottom:0}
.ucd__image{display:block;width:96px;height:120px;overflow:hidden;border-radius:12px;background:#f2f2f4}
.ucd__image img,.ucd__image svg{display:block;width:100%;height:100%;object-fit:contain}
.ucd__details{min-width:0;overflow-wrap:anywhere}
.ucd__details h3{font-size:16px;line-height:24px;font-weight:600}
.ucd__details h3 a{text-decoration:none}
.ucd__details p{color:#686870;margin-top:4px;font-size:12px}
.ucd__price{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}
.ucd__price s{color:#93939b}
.ucd .ucd__discount{color:#ae4b00}
.ucd__item-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;flex-wrap:wrap}
.ucd__quantity{display:flex;align-items:center;border:1px solid #ceced3;border-radius:12px;overflow:hidden}
.ucd__quantity button{width:44px;height:44px;border:0;background:#fff;font-size:20px}
.ucd__quantity input{width:44px;height:44px;min-width:0;border:0;border-inline:1px solid #eaeaed;border-radius:0;background:#fff;text-align:center;appearance:textfield;-moz-appearance:textfield;padding:0 2px}
.ucd__quantity input::-webkit-inner-spin-button,.ucd__quantity input::-webkit-outer-spin-button{appearance:none;margin:0}
.ucd__remove{min-height:44px;padding:0 8px;border:0;background:transparent;color:#686870!important;text-decoration:underline}
.ucd__summary{flex-shrink:0;max-height:45vh;max-height:45dvh;overflow-y:auto;border-top:1px solid #eaeaed;background:#fff;padding:20px 24px max(20px,env(safe-area-inset-bottom));box-shadow:0 -8px 24px #0f0f1705}
.ucd__total{display:flex;justify-content:space-between;gap:16px;font-size:18px;overflow-wrap:anywhere}
.ucd__total>*{min-width:0}
.ucd__total.ucd__discount{font-size:13px;margin-bottom:12px}
.ucd .ucd__tax{font-size:12px;color:#686870;margin:8px 0 16px}
.ucd .ucd__button{display:flex;justify-content:center;align-items:center;min-height:48px;width:100%;padding:12px 20px;border:0;border-radius:999px;background:#0f0f17;color:white;font-weight:600;text-decoration:none;text-align:center}
.ucd .ucd__button:hover{background:#3d3d47}
.ucd__view{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:4px}
.ucd__empty{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:16px;padding:32px 24px max(32px,env(safe-area-inset-bottom));text-align:center}
.ucd__empty>svg{flex-shrink:0;color:#93939b}
.ucd__empty h3{font-size:22px;font-weight:600}
.ucd__empty p{color:#686870}
.ucd__empty .ucd__button{max-width:280px;margin-top:8px;flex-shrink:0}
@media(max-width:749px){.ucd{width:100%}.ucd__header{padding:12px 16px}.ucd__header h2{font-size:22px}.ucd__status{padding-inline:16px}.ucd__items{padding:0 16px}.ucd__item{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:20px 0}.ucd__image{width:80px;height:104px}.ucd__summary{padding:16px 16px max(12px,env(safe-area-inset-bottom))}.ucd__total{font-size:16px}}
@keyframes ucd-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.ucd[open]{animation:none}}
