/* Patti — chat widget */
.dhbot{--bm:#9b1c1f;--bd:#6e1013;--bg:#d4a55a;--bi:#2a1d17;position:fixed;right:20px;bottom:20px;z-index:9990;font-family:Manrope,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--bi)}
.dhbot.dhbot-left{right:auto;left:20px}
.dhbot *{box-sizing:border-box}

/* launcher */
.dhbot-launch{position:relative;display:block;width:76px;height:76px;padding:0;border:0;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff,#f3e6d6);box-shadow:0 12px 30px rgba(60,20,10,.35),0 0 0 3px #fff;cursor:pointer;transition:transform .25s}
.dhbot-launch:hover{transform:translateY(-3px) scale(1.04)}
.dhbot-launch img{position:absolute;left:50%;top:50%;width:68px;height:auto;transform:translate(-50%,-50%);border-radius:0;pointer-events:none}
.dhbot-ring{position:absolute;inset:-8px;border-radius:50%;border:2px solid rgba(155,28,31,.55);animation:dhbot-pulse 2.4s ease-out infinite;pointer-events:none}
@keyframes dhbot-pulse{0%{transform:scale(.88);opacity:.9}70%,100%{transform:scale(1.22);opacity:0}}
.dhbot-dot{position:absolute;right:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#22c55e;border:3px solid #fff}
.dhbot-tip{position:absolute;right:88px;top:50%;transform:translateY(-50%);white-space:nowrap;background:#fff;color:var(--bi);font-size:13.5px;font-weight:700;padding:10px 16px;border-radius:14px;box-shadow:0 10px 28px rgba(60,20,10,.22);animation:dhbot-tip .5s .8s both;pointer-events:none}
.dhbot-tip::after{content:"";position:absolute;right:-6px;top:50%;width:12px;height:12px;background:#fff;transform:translateY(-50%) rotate(45deg)}
.dhbot-left .dhbot-tip{right:auto;left:88px}.dhbot-left .dhbot-tip::after{right:auto;left:-6px}
@keyframes dhbot-tip{from{opacity:0;transform:translateY(-50%) translateX(10px)}to{opacity:1;transform:translateY(-50%)}}
.dhbot.seen .dhbot-tip,.dhbot.is-open .dhbot-tip{display:none}
.dhbot.is-open .dhbot-ring{display:none}

/* window */
.dhbot-panel{position:absolute;right:0;bottom:92px;width:392px;height:min(640px,calc(100vh - 130px));display:flex;flex-direction:column;background:#fffaf4;border-radius:24px;overflow:hidden;box-shadow:0 30px 80px rgba(40,10,5,.45),0 0 0 1px rgba(155,28,31,.08);animation:dhbot-in .3s cubic-bezier(.2,.9,.3,1.1)}
.dhbot-left .dhbot-panel{right:auto;left:0}
.dhbot-panel[hidden]{display:none}
@keyframes dhbot-in{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}

.dhbot-head{position:relative;display:flex;align-items:center;gap:12px;padding:16px 14px 16px 16px;color:#fff;background:radial-gradient(260px 120px at 90% 0,rgba(212,165,90,.45),transparent 70%),linear-gradient(135deg,#8a1719,#4d0b0d)}
.dhbot-av{position:relative;flex:none;width:48px;height:48px;border-radius:50%;padding:2px;background:conic-gradient(from 0deg,#e8c98f,#d4a55a,#fff6,#e8c98f);animation:dhbot-spin 6s linear infinite}
.dhbot-av img{display:block;width:100%;height:100%;border-radius:50%;background:#f6e7d3;object-fit:cover;animation:dhbot-spin 6s linear infinite reverse}
@keyframes dhbot-spin{to{transform:rotate(360deg)}}
.dhbot-who{flex:1;min-width:0;line-height:1.2}
.dhbot-who b{display:block;font-size:17px;letter-spacing:.01em}
.dhbot-spark{font-style:normal;color:#f1d28a;font-size:13px;animation:dhbot-tw 2s ease-in-out infinite}
@keyframes dhbot-tw{50%{opacity:.35;transform:scale(.8)}}
.dhbot-who small{display:flex;align-items:center;gap:6px;font-size:12px;color:#f0d9c4;margin-top:3px}
.dhbot-on{width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 3px rgba(74,222,128,.25)}
.dhbot-ico{flex:none;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:20px;line-height:1;cursor:pointer;transition:background .2s}
.dhbot-ico:hover{background:rgba(255,255,255,.28)}

.dhbot-msgs{flex:1;overflow-y:auto;padding:18px 14px 8px;display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,#fff7ee,#fffaf4);scroll-behavior:smooth}
.dhbot-row{display:flex;gap:9px;align-items:flex-end;animation:dhbot-pop .28s ease both}
@keyframes dhbot-pop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.dhbot-u{justify-content:flex-end}
.dhbot-mav{flex:none;width:30px;height:30px;border-radius:50%;overflow:hidden;background:#f6e7d3;box-shadow:0 0 0 2px #fff,0 2px 8px rgba(60,20,10,.2)}
.dhbot-mav img{display:block;width:100%;height:100%;object-fit:cover}
.dhbot-col{max-width:calc(100% - 42px);display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.dhbot-bub{padding:11px 15px;border-radius:18px;font-size:14.5px;line-height:1.55;word-wrap:break-word}
.dhbot-bub p{margin:0 0 .6em}.dhbot-bub p:last-child{margin:0}
.dhbot-b .dhbot-bub{background:#fff;border:1px solid #f0e2d0;border-bottom-left-radius:5px;box-shadow:0 2px 10px rgba(80,30,10,.06)}
.dhbot-u .dhbot-bub{max-width:82%;background:linear-gradient(135deg,#b3282b,#8a1719);color:#fff;border-bottom-right-radius:5px;box-shadow:0 6px 16px rgba(155,28,31,.28)}
.dhbot-bub a{color:var(--bm);font-weight:700;text-decoration:underline}
.dhbot-bub.typing-on::after{content:"";display:inline-block;width:7px;height:15px;margin-left:2px;vertical-align:-2px;background:var(--bm);border-radius:2px;animation:dhbot-cur .8s steps(2) infinite}
@keyframes dhbot-cur{50%{opacity:0}}

.dhbot-dots{display:flex;gap:5px;padding:14px 16px}
.dhbot-dots i{width:8px;height:8px;border-radius:50%;background:#c9a98b;animation:dhbot-b 1.1s infinite ease-in-out}
.dhbot-dots i:nth-child(2){animation-delay:.15s}.dhbot-dots i:nth-child(3){animation-delay:.3s}
@keyframes dhbot-b{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-6px);opacity:1}}

.dhbot-chips,.dhbot-actions{display:flex;flex-wrap:wrap;gap:7px}
.dhbot-chips button{padding:8px 14px;border:1.5px solid #e8c9a8;border-radius:99px;background:#fff;color:var(--bd);font:600 13px/1.25 inherit;font-family:inherit;text-align:left;cursor:pointer;transition:.2s}
.dhbot-chips button:hover{background:var(--bm);border-color:var(--bm);color:#fff;transform:translateY(-1px)}
.dhbot-actions a{display:inline-flex;align-items:center;padding:9px 16px;border-radius:99px;background:linear-gradient(135deg,#d9ac62,#b98532);color:#1a0f08!important;font-size:13px;font-weight:800;text-decoration:none!important;box-shadow:0 5px 14px rgba(185,133,50,.3);transition:transform .2s}
.dhbot-actions a:hover{transform:translateY(-1px)}

.dhbot-form{display:flex;gap:8px;padding:10px 12px 6px;background:#fffaf4;border-top:1px solid #f0e2d0}
.dhbot-form input{flex:1;min-width:0;height:46px;padding:0 18px;border:1.5px solid #ead8c3;border-radius:99px;background:#fff;color:var(--bi);font:500 14.5px inherit;font-family:inherit;outline:0;transition:border-color .2s,box-shadow .2s}
.dhbot-form input:focus{border-color:var(--bm);box-shadow:0 0 0 4px rgba(155,28,31,.12)}
.dhbot-send{flex:none;width:46px;height:46px;border:0;border-radius:50%;background:linear-gradient(135deg,#b3282b,#8a1719);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 16px rgba(155,28,31,.3);transition:transform .2s}
.dhbot-send:hover{transform:scale(1.07)}
.dhbot-send svg{width:20px;height:20px;margin-left:2px}
.dhbot-note{margin:0;padding:2px 14px 12px;text-align:center;font-size:11.5px;color:#9a8878;background:#fffaf4}

@media(max-width:560px){
	.dhbot{right:12px;bottom:12px}
	.dhbot.dhbot-left{left:12px}
	.dhbot-launch{width:64px;height:64px}
	.dhbot-launch img{width:57px}
	.dhbot-panel{position:fixed;left:0;right:0;bottom:0;width:100%;height:min(86vh,680px);border-radius:24px 24px 0 0}
	.dhbot.is-open .dhbot-launch{display:none}
	.dhbot-tip{right:76px}
}
@media(prefers-reduced-motion:reduce){.dhbot *{animation:none!important}}
/* keep clear of the mobile buy bar on product pages */
@media(max-width:960px){body.single-product .dhbot:not(.is-open){bottom:84px}}
