.khdc-product-note{margin:0 0 18px;direction:rtl}
.khdc-trigger[hidden],.khdc-dialog:not([open]),.khdc-dialog [hidden]{display:none!important}
.khdc-product-note button.khdc-trigger,button.khdc-trigger{display:inline-flex;align-items:center;gap:9px;max-width:100%;min-height:42px;padding:9px 12px;border:1px solid #ded4c6;border-radius:4px;background:#faf7f2;color:#5b4834;font:inherit;font-size:13px;line-height:1.7;text-align:right;cursor:pointer;box-shadow:none}
.khdc-product-note button.khdc-trigger:hover,.khdc-product-note button.khdc-trigger:focus,button.khdc-trigger:hover,button.khdc-trigger:focus{background:#f2eade;color:#463725;border-color:#b9a88f}
.khdc-trigger strong{font-weight:700;white-space:nowrap}
.khdc-trigger .khdc-info{display:inline-grid;place-items:center;flex:0 0 19px;height:19px;border:1.5px solid currentColor;border-radius:50%;font-family:Arial,sans-serif;font-weight:700}
.khdc-dialog{box-sizing:border-box;width:560px;max-width:calc(100vw - 32px);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #e8e3dd;border-radius:12px;background:#fff;color:#222;box-shadow:0 24px 80px #0003;font-family:KalamehFaNum-Regular,var(--e-global-typography-primary-font-family,Tahoma),sans-serif;font-size:15px;line-height:1.85;text-align:right;overflow:hidden}
.khdc-dialog[open]{display:flex;flex-direction:column}
.khdc-dialog::backdrop{background:rgba(15,18,22,.55)}
.khdc-dialog *{box-sizing:border-box}
.khdc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:20px 24px 16px;border-bottom:1px solid #eee9e3}
.khdc-eyebrow{font-size:12px;color:#856b4d}
.khdc-header h2{margin:3px 0 0;color:#191919;font:inherit;font-size:20px;font-weight:700;line-height:1.6}
.khdc-dialog button.khdc-close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;margin:0;padding:0;border:1px solid #e8e6e2;border-radius:50%;background:#fff;color:#555;font:26px/1 Arial,sans-serif;box-shadow:none;cursor:pointer}
.khdc-dialog button.khdc-close:hover{background:#f5f3ef;color:#111}
.khdc-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 24px}
.khdc-body p{margin:0 0 16px;font:inherit}
.khdc-body .khdc-intro{color:#58534d}
.khdc-intro strong{color:#222}
.khdc-body .khdc-lead{margin-bottom:12px;font-weight:700}
.khdc-steps{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px;padding:0;list-style:none}
.khdc-steps li{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid #ece8e2;border-radius:8px;background:#fcfbf9}
.khdc-steps li>span{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#efe7dc;color:#705637;font-size:13px}
.khdc-steps strong,.khdc-steps small{display:block;font:inherit}
.khdc-steps strong{font-size:14px;font-weight:700}
.khdc-steps small{margin-top:3px;font-size:12px;color:#71695f;line-height:1.8}
.khdc-body .khdc-explanation{font-size:14px;color:#686057}
.khdc-body .khdc-warning{padding:12px 14px;border-right:3px solid #aa8b63;border-radius:4px;background:#f7f1e8;color:#655038;font-size:14px}
.khdc-body .khdc-brand{margin:0;color:#888078;font-size:12px;text-align:center}
.khdc-footer{flex-shrink:0;padding:14px 24px;border-top:1px solid #eee9e3}
.khdc-dialog button.khdc-done{display:block;width:100%;min-height:44px;margin:0;padding:10px 20px;border:1px solid #111;border-radius:4px;background:#111;color:#fff;font:inherit;font-weight:700;line-height:1.5;cursor:pointer;box-shadow:none}
.khdc-dialog button.khdc-done:hover{background:#333;color:#fff}
.khdc-dialog button:focus-visible,.khdc-trigger:focus-visible,.khdc-body:focus-visible{outline:2px solid #856b4d;outline-offset:3px}
.khdc-added{display:flex;flex-direction:column;gap:2px;margin-bottom:18px;padding:12px 14px;border:1px solid #dce7df;border-radius:8px;background:#f3f8f4;color:#345b41;font-size:13px}
.khdc-added-name{overflow-wrap:anywhere;font-weight:700}
html.khdc-is-open{overflow:hidden}
@media(max-width:480px){.khdc-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.khdc-header{padding:16px}.khdc-header h2{font-size:18px}.khdc-body{padding:16px;font-size:14px}.khdc-footer{padding:12px 16px}.khdc-steps{grid-template-columns:1fr;gap:8px}.khdc-steps li{padding:10px 12px}.khdc-trigger{flex-wrap:wrap}}
