/* Discount KOTO Marketing & Growth - refined visitor experience */
.dk-share-pill{display:inline-flex;align-items:center;gap:5px;background:#dcfce7;color:#009a44;border-radius:999px;padding:5px 11px;font-weight:900;font-size:11px;line-height:1}
.dk-referral-card{background:linear-gradient(120deg,#fff7fb,#f2fff9);border:1px solid #f9a8d4;border-radius:18px;padding:18px;box-shadow:0 12px 28px rgba(15,23,42,.06);margin:18px 0;font-family:inherit;max-width:100%;box-sizing:border-box}.dk-referral-card-premium{display:block}.dk-referral-main{max-width:100%}.dk-referral-card h3{margin:8px 0 5px;color:#07132d;font-size:18px}.dk-referral-card p{margin:4px 0 12px;color:#334155}
.dk-ref-stats{display:grid;grid-template-columns:repeat(5,minmax(95px,1fr));gap:10px;margin:12px 0}.dk-ref-stats div{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px}.dk-ref-stats span{display:block;color:#64748b;font-size:11px;font-weight:800}.dk-ref-stats b{display:block;color:#d10074;font-size:14px;margin-top:2px}
.dk-share-toolbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #f9a8d4;border-radius:18px;padding:12px 14px;box-shadow:none;margin:10px 0;box-sizing:border-box}.dk-share-toolbar-title{font-weight:900;color:#07132d;font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dk-share-toolbar-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.dk-mini-action{border:0;border-radius:14px;padding:10px 14px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;gap:6px;line-height:1;box-shadow:0 8px 16px rgba(15,23,42,.10)}.dk-qr-action{background:#d10074;color:#fff}.dk-share-action{background:#009a44;color:#fff}.dk-mini-action:hover{filter:brightness(.97);transform:translateY(-1px)}
.dk-share-popover{position:absolute;right:14px;top:calc(100% + 10px);width:min(520px,calc(100vw - 32px));background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 22px 55px rgba(15,23,42,.22);padding:16px;display:none;z-index:1000}.dk-share-popover.is-open{display:block}.dk-share-popover:before{content:'';position:absolute;right:70px;top:-9px;width:18px;height:18px;background:#fff;border-left:1px solid #e2e8f0;border-top:1px solid #e2e8f0;transform:rotate(45deg)}.dk-share-popover-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.dk-share-popover-head strong{font-size:20px;color:#334155}.dk-share-popover-head button{border:0;background:#fee2e2;color:#991b1b;border-radius:50%;width:30px;height:30px;font-size:18px;cursor:pointer}.dk-share-channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dk-share-channel{border:0;background:#fff;text-decoration:none;color:#334155!important;display:flex;align-items:center;gap:12px;border-radius:14px;padding:10px;cursor:pointer;text-align:left;font-family:inherit}.dk-share-channel:hover{background:#f8fafc}.dk-share-channel b{font-size:14px}.dk-ch-icon{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:18px;flex-shrink:0}.dk-ch-icon.fb{background:#1877f2}.dk-ch-icon.msg{background:#0084ff}.dk-ch-icon.x{background:#111827}.dk-ch-icon.wa{background:#25d366}.dk-ch-icon.tg{background:#229ed9}.dk-ch-icon.em{background:#334155}.dk-ch-icon.cp{background:#111827}
.dk-qr-modal{position:fixed;inset:0;background:rgba(15,23,42,.62);display:none;align-items:center;justify-content:center;z-index:9999;padding:18px}.dk-qr-modal.is-open{display:flex}.dk-qr-dialog{background:#fff;border-radius:24px;padding:24px;max-width:420px;width:100%;text-align:center;position:relative;box-shadow:0 25px 80px rgba(0,0,0,.3)}.dk-qr-dialog h3{margin:10px 0;color:#07132d}.dk-qr-dialog img{width:260px;height:260px;max-width:100%;border:1px solid #e2e8f0;border-radius:16px;padding:10px;background:#fff}.dk-qr-dialog p{color:#64748b;margin:10px 0}.dk-qr-close{position:absolute;right:14px;top:10px;border:0;background:#fee2e2;color:#991b1b;border-radius:50%;width:34px;height:34px;font-size:22px;cursor:pointer}.dk-qr-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px}.dk-qr-actions a,.dk-qr-actions button{border:0;background:#d10074;color:#fff!important;text-decoration:none;border-radius:12px;padding:9px 12px;font-weight:800;cursor:pointer;display:inline-block}
body.dk-show-required-marks label.dk-field-required:after,body.dk-show-required-marks .dk-required-star:after{content:' *';color:#dc2626;font-weight:900}.dk-required-note{display:none!important}.submit-form label .required-star,.submit-form label .asteriskField{color:#dc2626;font-weight:900}.merchant-portal-shell{max-width:1120px;margin:0 auto;padding:0 14px}.merchant-portal-shell>.dk-referral-card{margin-left:0;margin-right:0}.shop-detail-title-row .dk-share-toolbar{min-width:230px;margin:0;align-self:flex-start}.shop-offer-header-line .dk-share-toolbar{margin-left:auto;min-width:220px}.offer-row>.dk-share-toolbar{margin-top:14px}
@media(max-width:900px){.dk-ref-stats{grid-template-columns:repeat(2,1fr)}.dk-share-channel-grid{grid-template-columns:1fr}.shop-detail-title-row{flex-wrap:wrap}.shop-detail-title-row .dk-share-toolbar{width:100%}}
@media(max-width:640px){.dk-share-toolbar{display:block}.dk-share-toolbar-title{white-space:normal;margin-bottom:10px}.dk-share-toolbar-actions{justify-content:flex-start}.dk-share-popover{left:0;right:auto;width:100%;box-sizing:border-box}.dk-ref-stats{grid-template-columns:1fr 1fr}}

/* Discount KOTO refined QR/share experience */
.dk-share-toolbar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;background:#fff!important;border:1px solid #f9a8d4!important;border-radius:18px!important;padding:10px 12px!important;min-height:72px!important;box-sizing:border-box!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important;}
.dk-visible-qr{width:54px;height:54px;border:0;background:#fff;border-radius:12px;padding:4px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(15,23,42,.10);cursor:pointer;transition:.18s ease;flex:0 0 auto;}
.dk-visible-qr:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.14)}
.dk-visible-qr img{width:46px!important;height:46px!important;display:block;object-fit:contain;}
.dk-share-toolbar-actions{display:flex;gap:8px;align-items:center;flex-shrink:0;}
.dk-mini-action{border:0;border-radius:14px;padding:12px 18px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;gap:6px;line-height:1;box-shadow:0 8px 16px rgba(15,23,42,.10);font-size:15px;}
.dk-share-action{background:#009a44;color:#fff;}
.dk-share-popover{right:10px!important;}
.dk-ch-icon.wa{background:#25d366;font-size:0;position:relative;}
.dk-ch-icon.wa:before{content:'☎';font-size:18px;color:#fff;transform:rotate(-18deg);}
.dk-ch-icon.msg{background:#0084ff;}
.dk-ch-icon.fb{background:#1877f2;}
.dk-ch-icon.tg{background:#229ed9;}
.dk-ch-icon.em{background:#334155;}
.dk-ch-icon.cp{background:#111827;font-size:17px;}
.dk-qr-modal{position:fixed;inset:0;background:rgba(15,23,42,.55);display:none;align-items:center;justify-content:center;z-index:2000;padding:20px;}
.dk-qr-modal.is-open{display:flex;}
.dk-qr-dialog{background:#fff;border-radius:24px;max-width:420px;width:100%;padding:24px;text-align:center;box-shadow:0 30px 90px rgba(15,23,42,.35);position:relative;border:1px solid #f9a8d4;}
.dk-qr-dialog>img{width:min(300px,80vw)!important;height:min(300px,80vw)!important;object-fit:contain;margin:12px auto;display:block;border:1px solid #e5e7eb;border-radius:18px;padding:10px;background:#fff;}
.dk-qr-close{position:absolute;right:14px;top:12px;border:0;background:#fee2e2;color:#991b1b;border-radius:50%;width:32px;height:32px;font-size:20px;cursor:pointer;}
.dk-qr-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:12px;}
.dk-qr-actions a,.dk-qr-actions button{border:0;background:#009a44;color:#fff!important;text-decoration:none;border-radius:12px;padding:10px 14px;font-weight:900;cursor:pointer;}
.dk-referral-card-premium .dk-share-toolbar{margin-top:14px;width:100%;justify-content:flex-end!important;}
.dk-referral-card-premium .dk-share-toolbar:before{content:'Join Discount KOTO with my referral';margin-right:auto;font-weight:900;color:#07132d;font-size:16px;}
.shop-detail-title-row .dk-share-toolbar{margin-left:auto;min-width:170px!important;}
.shop-offer-header-line .dk-share-toolbar,.offer-row>.dk-share-toolbar{margin-top:14px;margin-left:0;width:100%;min-width:0!important;}
.offer-row>.dk-share-toolbar:before{content:'';margin-right:auto;}
.merchant-portal-shell{max-width:1120px;margin:0 auto;padding:0 14px 32px;}
.merchant-portal-shell .merchant-section-card{max-width:100%!important;}
.merchant-portal-shell>.dk-referral-card{max-width:100%;margin-left:0!important;margin-right:0!important;}
@media(max-width:640px){.dk-share-toolbar{min-height:auto!important;flex-wrap:wrap!important;justify-content:flex-start!important}.dk-referral-card-premium .dk-share-toolbar:before{width:100%;margin-right:0}.shop-detail-title-row .dk-share-toolbar{width:100%;margin-left:0}.dk-mini-action{padding:11px 14px}}
