#mall-gift-dialog{width:min(540px,calc(100vw - 28px));box-sizing:border-box;overflow-x:hidden;color:#17181d;}
#mall-gift-dialog [hidden]{display:none!important;}
#mall-gift-dialog .mall-dialog-symbol{width:42px;height:42px;margin-bottom:14px;}
#mall-gift-dialog h2{font-size:clamp(26px,5vw,36px);line-height:1.1;}
#mall-gift-dialog .mall-dialog-intro{font-size:14px;line-height:1.55;}
#mall-gift-dialog .mall-dialog-product{margin:18px 0;}
.mall-gift-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
#mall-gift-form label,.mall-gift-message-label{font-size:12px;font-weight:600;line-height:1.5;}
#mall-gift-form label>span:not(.mall-gift-consent span){font-weight:400;color:#6d7079;font-size:11px;}
#mall-gift-form input:not([type=checkbox]):not([type=radio]),#mall-gift-form select{display:block;width:100%;min-width:0;box-sizing:border-box;background:#fff;border:1px solid #d9dbe4;border-radius:12px;padding:12px;font:inherit;font-size:16px;line-height:1.4;color:#17181d;margin-top:6px;box-shadow:none;}
#mall-gift-form input:focus-visible,#mall-gift-form select:focus-visible{outline:2px solid #423af4;outline-offset:2px;}
.mall-gift-message-label{display:block;margin-top:16px;}
.mall-gift-preview{padding:14px 16px;margin:10px 0 16px;background:#f1f2fa;border-radius:12px;font-size:14px;line-height:1.6;color:#363945;}
#mall-gift-form .mall-gift-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:400;line-height:1.6;margin:16px 0;}
.mall-gift-consent input{appearance:auto;flex:0 0 17px;width:17px;height:17px;margin-top:2px;accent-color:#423af4;}
.mall-gift-consent a{color:#423af4;text-underline-offset:3px;}
.mall-gift-sender{font-size:11px;line-height:1.5;text-align:center;color:#686b76;margin:10px 0 0;}
.mall-gift-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
.mall-gift-delivery-status:empty{display:none;}
.mall-gift-delivery-status{font-size:13px;line-height:1.55;margin:14px 0;color:#454958;overflow-wrap:anywhere;}
.mall-gift-delivery-status.is-error{padding:12px;border-radius:10px;background:#fff0f2;color:#9d273a;}
.mall-gift-alternative{margin-top:20px;padding-top:18px;border-top:1px solid #e0e2ea;}
.mall-gift-alternative>span{display:block;font-size:12px;color:#696e7a;margin-bottom:10px;}
#mall-gift-dialog .mall-gift-label{display:none;}#mall-gift-dialog #mall-gift-url{font-size:12px;text-overflow:ellipsis;min-height:42px;}
#mall-gift-dialog .mall-dialog-secondary{margin-top:8px;min-height:46px;font-size:13px;}
#mall-gift-dialog .mall-dialog-secondary svg{width:18px;height:18px;}
#mall-gift-dialog .mall-dialog-primary{background:#423af4;color:#fff;border:0;cursor:pointer;}
#mall-gift-dialog .mall-dialog-primary:disabled{opacity:.55;cursor:wait;}
.mall-gift-sent{padding:18px 0;text-align:center;}
.mall-gift-sent>svg{width:48px;height:48px;border-radius:50%;padding:10px;background:#edf1ff;color:#423af4;}
.mall-gift-sent h3{font-size:23px;margin:14px 0 8px;}
.mall-gift-sent p{font-size:14px;line-height:1.5;}
@media(max-width:420px){.mall-gift-fields{grid-template-columns:1fr;gap:12px;}#mall-gift-dialog{padding:22px 18px;}#mall-gift-dialog .mall-dialog-product{font-size:12px;}#mall-gift-dialog .mall-dialog-close{top:12px;right:12px;}}

#mall-gift-form .mall-gift-recipient,#mall-gift-form .mall-gift-name{display:block;}
#mall-gift-form .mall-gift-identity{padding:0;margin:16px 0 12px;border:0;min-width:0;}
#mall-gift-form .mall-gift-identity legend{font-size:12px;font-weight:600;line-height:1.5;margin:0 0 8px;padding:0;float:none;width:auto;color:#17181d;}
#mall-gift-form .mall-gift-identity-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
#mall-gift-form .mall-gift-identity-options label{position:relative;display:flex;margin:0;cursor:pointer;min-width:0;}
#mall-gift-form .mall-gift-identity-options input{position:absolute;opacity:0;width:1px;height:1px;}
#mall-gift-form .mall-gift-identity-options span{display:flex;align-items:center;justify-content:center;min-height:46px;width:100%;padding:10px 8px;box-sizing:border-box;border:1px solid #d9dbe4;border-radius:12px;font-size:13px;font-weight:600;color:#414451;background:#fff;line-height:1.35;text-align:center;}
#mall-gift-form .mall-gift-identity-options input:checked+span{border-color:#423af4;background:#efedff;color:#3026ba;box-shadow:inset 0 0 0 1px #423af4;}
#mall-gift-form .mall-gift-identity-options input:focus-visible+span{outline:2px solid #423af4;outline-offset:3px;}
#mall-gift-form .mall-gift-identity-note{font-size:12px;line-height:1.5;color:#686b76;margin:8px 0 0;}
