html.hkcd-open{overflow:hidden}
#hkcd-dialog{position:fixed;inset:0 auto 0 0;box-sizing:border-box;margin:0;width:min(470px,100%);max-width:100%;height:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:26px 28px;background:#fff;color:#00234b;overflow-y:auto;overscroll-behavior:contain;font-family:inherit;box-shadow:10px 0 40px #001c321a;text-align:right}
#hkcd-dialog[open]{animation:hkcd-enter .25s ease-out}
#hkcd-dialog::backdrop{background:rgba(0,0,0,.34)}
#hkcd-dialog *{box-sizing:border-box}
#hkcd-dialog a{color:inherit;text-decoration:none}
#hkcd-dialog .hkcd-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
#hkcd-dialog h2{font-size:22px;margin:0;font-weight:750;color:#00234b}
#hkcd-dialog .hkcd-close{display:flex;align-items:center;gap:12px;background:none;border:0;padding:8px 0;color:#00234b;font:inherit;font-size:14px;cursor:pointer}
#hkcd-dialog .hkcd-close span{font-size:26px;line-height:1}
#hkcd-dialog .hkcd-item{display:grid;grid-template-columns:110px minmax(0,1fr);direction:ltr;gap:18px;border:1px solid #e7e0d5;border-radius:17px;padding:18px 14px;margin-bottom:14px}
#hkcd-dialog .hkcd-details{direction:rtl;min-width:0}
#hkcd-dialog .hkcd-details strong{display:block;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
#hkcd-dialog .hkcd-image img{width:100%;height:120px;object-fit:contain}
#hkcd-dialog .hkcd-price{font-size:17px;font-weight:700;margin:10px 0}
#hkcd-dialog .hkcd-item-actions{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-top:16px}
#hkcd-dialog .hkcd-item-actions a{text-decoration:underline;text-underline-offset:4px}
#hkcd-dialog .variation{font-size:12px;margin:6px 0}
#hkcd-dialog .variation p{margin:0}
#hkcd-dialog .hkcd-summary-title{font-size:15px;margin:22px 0 12px;color:#647e9c}
#hkcd-dialog .hkcd-summary{background:#faf5eb;border-radius:20px;padding:22px 20px}
#hkcd-dialog .hkcd-row{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:16px;flex-wrap:wrap}
#hkcd-dialog .hkcd-shipping{font-size:13px;line-height:1.9;margin:15px 0 22px;padding-bottom:20px;border-bottom:1px solid #e7e0d5}
#hkcd-dialog .hkcd-checkout{display:block;text-align:center;background:#001bff;color:#fff;border-radius:40px;padding:16px 12px;font-size:16px;font-weight:700}
#hkcd-dialog .hkcd-view{display:block;text-align:center;font-size:13px;margin-top:15px}
#hkcd-dialog .hkcd-status{font-size:14px;line-height:1.9}
#hkcd-dialog .hkcd-status:empty{display:none}
#hkcd-dialog[aria-busy=true] .hkcd-content{opacity:.55;pointer-events:none}
#hkcd-dialog .hkcd-empty{text-align:center;padding:60px 0;color:#647e9c}
#hkcd-dialog :focus-visible{outline:2px solid #001bff;outline-offset:4px}
@keyframes hkcd-enter{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){#hkcd-dialog[open]{animation:none}}
@media(max-width:480px){#hkcd-dialog{padding:20px 16px}#hkcd-dialog .hkcd-item{grid-template-columns:85px minmax(0,1fr);gap:12px}#hkcd-dialog .hkcd-image img{height:100px}}
#hkcd-dialog .hkcd-quantity{display:inline-flex;direction:ltr;align-items:center;gap:12px;background:#faf5eb;border-radius:30px;padding:3px 8px;min-height:40px}
#hkcd-dialog .hkcd-quantity button{border:0;background:transparent;color:#647e9c;padding:3px 6px;font:inherit;font-size:23px;cursor:pointer;min-width:28px}
#hkcd-dialog .hkcd-quantity button:disabled{opacity:.3;cursor:default}
#hkcd-dialog .hkcd-item-actions{align-items:center}
#hkcd-dialog .hkcd-add{display:block;width:100%;background:#001bff;color:#fff;border:0;border-radius:28px;padding:10px 12px;font:inherit;font-size:13px;cursor:pointer;text-align:center}
