/* Floating fragrance concierge; native catalogue facts and controls remain live. */
.scent-chat[data-chat-position="left"]{right:auto;left:24px}
.scent-chat[data-chat-position="left"] :is(.scent-chat-panel,.scent-chat-welcome){right:auto;left:0}
.scent-chat .scent-chat-launcher,.scent-chat .scent-chat-form>button{color:var(--scent-chat-on-accent,#fff)}
.scent-chat .scent-chat-launcher:hover{color:var(--scent-chat-on-header,#fff)}
.scent-chat .scent-chat-header :is(p,[data-chat-mode],.scent-chat-close){color:var(--scent-chat-on-header,#fff)}
@media(max-width:767px){.scent-chat[data-chat-position="left"]{left:12px}}
.scent-chat{--scent-chat-bottom:24px;position:fixed;right:24px;bottom:calc(var(--scent-chat-bottom) + env(safe-area-inset-bottom,0px));z-index:900;font-family:var(--scent-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);color:var(--scent-ink,#142334);font-size:14px;line-height:1.5}
.scent-chat button,.scent-chat textarea{font:inherit}
.scent-chat button{cursor:pointer;touch-action:manipulation}
.scent-chat-welcome{position:absolute;right:0;bottom:72px;width:280px;max-width:calc(100vw - 24px);padding:18px 18px 10px;border:1px solid var(--scent-line,#dde4e9);border-radius:16px 16px 4px 16px;background:#fff;box-shadow:0 8px 32px #14233424}
.scent-chat-welcome p{margin:0 20px 6px 0;font-size:13px;line-height:1.6;color:var(--scent-muted,#5e6d79)}
.scent-chat-welcome strong{display:block;margin-bottom:5px;font-size:15px;line-height:1.4;font-weight:600;color:var(--scent-ink,#142334)}
.scent-chat-welcome-close{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--scent-muted,#5e6d79);font-size:24px!important}
.scent-chat-welcome-action{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;width:100%;padding:8px 0;border:0;background:transparent;color:var(--scent-blue,#53738b);font-size:14px;font-weight:600}
.scent-chat-welcome-action:hover{text-decoration:underline}
.scent-chat-launcher{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:14px 20px;border:1px solid #ffffff35;border-radius:999px;background:var(--scent-blue,#53738b);color:#fff;box-shadow:0 6px 24px #14233430;font-size:14px;font-weight:600}
.scent-chat-launcher:hover{background:var(--scent-ink,#142334)}
.scent-chat-launcher svg{width:25px;height:25px;flex-shrink:0}
.scent-chat-panel{position:absolute;right:0;bottom:72px;display:flex;flex-direction:column;width:400px;max-width:calc(100vw - 32px);height:620px;max-height:calc(100dvh - var(--scent-chat-bottom) - 96px - env(safe-area-inset-bottom,0px));overflow:hidden;border:1px solid var(--scent-line,#dde4e9);border-radius:20px;background:#faf9f7;box-shadow:0 16px 65px #14233430}
.scent-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 20px 18px;background:var(--scent-ink,#142334);color:#fff;flex-shrink:0}
.scent-chat-header p{margin:0 0 6px;font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.16em;color:#c1d2de}
.scent-chat-header h2{margin:0;font:400 25px/1.2 var(--scent-font-heading,Georgia,serif);letter-spacing:-.025em;color:inherit}
.scent-chat-header [data-chat-mode]{display:block;margin-top:8px;font-size:12px;color:#d5e2ea}
.scent-chat-close{display:grid;place-items:center;flex:0 0 44px;width:44px;min-height:44px;margin:-10px -10px 0 0;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;font-size:28px!important}
.scent-chat-close:hover{background:#ffffff15}
.scent-chat-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 16px;border-bottom:1px solid #e9e5e1;background:#fff;font-size:11px;color:var(--scent-muted,#5e6d79);flex-shrink:0}
.scent-chat-tools button{min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--scent-blue,#53738b);font-size:12px;font-weight:600}
.scent-chat-messages{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex:1;min-height:80px;overflow-y:auto;overscroll-behavior:contain;padding:18px 14px;scrollbar-width:thin}
.scent-chat-message{flex-shrink:0;max-width:94%;padding:12px 14px;border:1px solid #e7e4e0;border-radius:14px 14px 14px 4px;background:#fff}
.scent-chat-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.scent-chat-user{align-self:flex-end;background:#e9eff3;border-color:#dce6ec;border-radius:14px 14px 4px 14px}
.scent-chat-pending{color:var(--scent-muted,#5e6d79)}
.scent-chat-message .scent-chat-mode-note{margin-top:8px;font-size:11px;color:var(--scent-muted,#5e6d79)}
.scent-chat-support-links{display:flex;flex-wrap:wrap;gap:0 12px;margin-top:6px}
.scent-chat-support-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--scent-blue,#53738b);font-size:13px;font-weight:600}
.scent-chat-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:4px 14px 12px;flex-shrink:0}
.scent-chat-suggestions button{min-height:44px;padding:8px 12px;border:1px solid #d8e1e7;border-radius:999px;background:#fff;color:var(--scent-blue,#53738b);font-size:12px}
.scent-chat-suggestions button:hover{background:#edf2f5}
.scent-chat-form{display:flex;align-items:flex-end;gap:8px;margin:0 12px;padding:6px 6px 6px 12px;border:1px solid #d7d4d0;border-radius:24px;background:#fff;flex-shrink:0}
.scent-chat-form:focus-within{border-color:var(--scent-blue,#53738b);box-shadow:0 0 0 2px #53738b1a}
.scent-chat-form textarea{flex:1;min-width:0;width:100%;height:44px;max-height:96px;resize:none;margin:0;padding:10px 0;border:0;border-radius:0;background:transparent;color:var(--scent-ink,#142334);font-size:16px;line-height:24px}
.scent-chat-form textarea:focus-visible{outline:0}
.scent-chat-form>button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;border-radius:50%;background:var(--scent-blue,#53738b);color:#fff}
.scent-chat-form>button svg{width:22px;height:22px}
.scent-chat .scent-chat-disclosure{flex-shrink:0;margin:8px 18px 12px;font-size:10px;line-height:1.5;color:var(--scent-muted,#5e6d79)}
.scent-chat-disclosure a{color:inherit}
.scent-chat-products{display:grid;width:100%;gap:10px;flex-shrink:0}
/* The narrow chat panel uses horizontal cards at every viewport width. */
.scent-chat-products .scent-card{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:10px;padding:10px;border:1px solid #e8e3df;border-radius:14px;background:#fff;box-shadow:0 2px 5px #30251c08}
.scent-chat-products .scent-card .scent-card-image{align-self:start;width:64px;height:88px;aspect-ratio:auto;background:transparent;border-radius:6px}
.scent-chat-products .scent-card .scent-card-image img{width:100%;height:100%;padding:2px;object-fit:contain}
.scent-chat-products .scent-card .scent-card-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;min-width:0;padding:0}
.scent-chat-products .scent-card .scent-card-body>.scent-eyebrow{grid-column:1/-1;margin:0;font-size:10px;line-height:1.4}
.scent-chat-products .scent-card .scent-card-body h3{grid-column:1/-1;min-height:0;margin:0;font-size:15px;line-height:1.35}
.scent-chat-products .scent-card .scent-card-meta,.scent-chat-products .scent-card .scent-card-stock{grid-column:1/-1;min-height:0;margin:0;font-size:12px;line-height:1.4}
.scent-chat-products .scent-card .scent-card-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;grid-column:1/-1;overflow:hidden;margin:0;font-size:12px;line-height:1.5}
.scent-chat-products .scent-card .scent-match-reason{display:none}
.scent-chat-products .scent-card .scent-card-price{grid-column:1/-1;margin:0 0 4px;padding:0;font-size:18px}
.scent-chat-products .scent-card .scent-card-proof{display:flex;flex-wrap:wrap;gap:0 8px;margin:0;font-size:12px}
.scent-chat-products .scent-card .scent-card-rating{min-height:44px;font-size:12px}
.scent-chat-products .scent-card .scent-card-rating-count{font-size:11px}
.scent-chat-products .scent-card .scent-card-saving,.scent-chat-products .scent-card .scent-card-current-price del{font-size:12px}
.scent-chat-products .scent-card .scent-sample-price{font-size:10px}
.scent-chat-products .scent-card .scent-card-add{display:inline-flex;grid-column:1;order:1;min-width:0;min-height:44px;margin:0;padding:8px;gap:4px;border-radius:999px;font-size:12px}
.scent-chat-products .scent-card .scent-card-view{display:inline-flex;grid-column:2;order:2;align-items:center;justify-content:center;min-width:60px;min-height:44px;padding:8px 12px;border-radius:999px;background:#e5e2e0;color:#171717;font-size:12px;font-weight:600;text-decoration:none}
.scent-chat-products .scent-card .scent-card-body>a.added_to_cart{grid-column:1/-1;order:3}
.scent-chat-products .scent-card .scent-card-actions{display:flex;grid-column:1/-1;order:4;flex-wrap:wrap;gap:0 8px;margin:4px 0 0;padding:4px 0 0;border-top:1px solid #e8e3df}
.scent-chat-products .scent-card .scent-card-actions button{min-height:44px;font-size:12px}
.scent-chat-products .scent-card .scent-badge{top:auto;bottom:2px;left:2px;padding:2px 4px;font-size:9px}
.scent-chat-products .scent-card .scent-sale-badge{top:2px;right:2px;padding:2px 4px;font-size:9px}
.scent-chat-products .scent-card .scent-stock-badge{display:none}
body:has(.scent-compare-bar:not([hidden])) .scent-chat{--scent-chat-bottom:100px}
@media(max-width:767px){
 .scent-chat{--scent-chat-bottom:16px;right:12px}
 .scent-chat-launcher{width:56px;height:56px;padding:14px}
 .scent-chat-launcher>span{display:none}
 .scent-chat-panel{bottom:68px;width:400px;max-width:calc(100vw - 24px);border-radius:18px;max-height:calc(100dvh - var(--scent-chat-bottom) - 88px - env(safe-area-inset-bottom,0px))}
 body:has(.scent-mobile-purchase) .scent-chat{--scent-chat-bottom:104px}
 body:has(.scent-mobile-purchase):has(.scent-compare-bar:not([hidden])) .scent-chat{--scent-chat-bottom:180px}
}
@media(max-height:550px){
 .scent-chat-header{padding:12px 16px}
 .scent-chat-header [data-chat-mode],.scent-chat-tools,.scent-chat-suggestions{display:none}
}
