/* ====================================================================
   Ask LaPrima — chat floater (Phase D, 2026-10-21)
   File: laprima-child/css/lps-ask.css · enqueued by inc/lps-ask.php
   Tokens: terra #B45734 · terra-dk #9E4D2E · paper #FAF6EE · cream #F3E9D9
           ink #2C2722 · violet #7C5CD0 (AI accent). Cards reuse .lps-buy-btn.
   Desktop: a resizable panel, bottom-right. ≤640px: full screen.
   ==================================================================== */
/* --lps-font-body was never defined, so every `font: … var(--lps-font-body, inherit)` shorthand below was invalid and dropped (10-23). Define it once here. */
:root { --lps-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
.lps-ask, .lps-ask * { box-sizing: border-box; }

/* --- launcher: an icon in the header utility row (Macy's pattern) ------ */
.lps-ask__launch {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0 !important; margin: 0; border: 0 !important; border-radius: 999px;
	background: transparent !important; color: #7C5CD0 !important; cursor: pointer; line-height: 1;
}
.lps-ask__launch:hover, .lps-ask__launch:focus-visible { background: #EEE9FB !important; }
.lps-ask__launch .lps-ask__spark { width: 26px; height: 26px; display: block; }
.lps-ask__launch .lps-ask__beta-tag {
	position: absolute; top: 2px; right: -2px; margin: 0; padding: 0;
	font: 600 7px/1 var(--lps-font-body, system-ui, sans-serif) !important; letter-spacing: .5px; color: #7C5CD0; opacity: 1; /* 11-06 WCAG: 4.9:1 at full opacity (.85 read 3.7) */
}
@media (max-width: 640px) { .lps-ask__launch { width: 40px; height: 40px; } .lps-ask__launch .lps-ask__spark { width: 24px; height: 24px; } .lps-ask__launch .lps-ask__beta-tag { display: none; } }

/* --- panel: a right-side drawer on desktop (Macy's), full screen on phones --- */
.lps-ask {
	position: fixed; right: 0; top: 0; bottom: 0; z-index: 9001;
	width: 440px; max-width: 100vw; min-width: 340px; height: auto;
	display: flex; flex-direction: column; overflow: hidden;
	background: #fff; color: #2C2722; border-left: 1px solid #E5D9C5;
	box-shadow: -12px 0 40px rgba(44, 39, 34, .14);
	font-family: var(--lps-font-body, inherit);
}
.lps-ask[hidden] { display: none; }
.lps-ask.is-resizing { user-select: none; }

/* resize: left edge grip (width); height is the window's */
.lps-ask__grip {
	position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	width: 16px; height: 64px; display: flex; align-items: center; justify-content: center;
	color: #fff; cursor: ew-resize; font-size: 18px; font-weight: 700; user-select: none;
	border-radius: 0 10px 10px 0; background: #B45734; /* terracotta (10-27 Culver demo: the cream grip was hard to find) */
	box-shadow: 2px 0 6px rgba(44, 39, 34, .18);
}
.lps-ask__grip:hover { background: #9E4D2E; }

/* --- header: white, one row (Macy's) ---------------------------- */
.lps-ask__head { background: #2C2722; color: #FAF6EE; padding: 12px 16px 10px; flex: none; }
.lps-ask__row { display: flex; align-items: center; gap: 12px; }
.lps-ask__title { margin: 0 !important; padding: 0 !important; flex: 1; font: 600 20px/1.2 var(--lps-font-display, Georgia, serif) !important; color: #FAF6EE; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lps-ask__beta { display: inline-block; align-self: flex-start; margin: -6px 0 0 2px; font: 600 8px/1 var(--lps-font-body, system-ui, sans-serif) !important; letter-spacing: .8px; color: #B9A6F0; }
.lps-ask__clear { background: none !important; border: 0 !important; color: #C9BFB2 !important; font: 500 11px/1 var(--lps-font-body, inherit) !important; text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px !important; min-height: 0 !important; box-shadow: none !important; cursor: pointer; }
.lps-ask__clear:hover, .lps-ask__clear:focus-visible { background: none !important; color: #FAF6EE !important; }
.lps-ask__close { background: none !important; border: 0 !important; color: #FAF6EE !important; padding: 0 !important; width: 36px; height: 36px; min-height: 0 !important; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; box-shadow: none !important; cursor: pointer; }
.lps-ask__close:hover, .lps-ask__close:focus-visible { background: #4A433B !important; }
.lps-ask__terms { margin: 6px 0 0; font-size: 11px; line-height: 1.4; color: #C9BFB2; }
.lps-ask__terms a { color: #E8DCC8; text-decoration: underline; text-underline-offset: 2px; } /* 11-06: links read as links (Berman) */
.lps-ask__terms-log { display: block; margin-top: 2px; }
.lps-ask__caption { margin: 6px 0 0; font-size: 11px; line-height: 1.4; color: #6B6259; text-align: center; } /* 11-06: persistent in-panel mistake warning */

/* --- log --------------------------------------------------------- */
.lps-ask__log { flex: 1; overflow: auto; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.lps-ask__welcome { background: #F3E9D9; border-radius: 14px; padding: 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.lps-ask__welcome b { font: 500 20px/1.15 var(--lps-font-display, Georgia, serif); color: #2C2722; }
.lps-ask__welcome span { font-size: 13px; color: #5B4F42; line-height: 1.45; }
.lps-ask__hello { font-size: 14px; line-height: 1.5; }
.lps-ask__sug { display: flex; flex-direction: column; gap: 8px; }
.lps-ask__sug small { font-size: 11px; letter-spacing: .4px; color: #7A6E5E; text-transform: uppercase; }
.lps-ask__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lps-ask__pills button, .lps-ask__next button {
	background: #fff; border: 1px solid #B45734; color: #9E4D2E; border-radius: 999px;
	font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.2; padding: 9px 13px; min-height: 40px; cursor: pointer;
}
.lps-ask__pills button:hover, .lps-ask__next button:hover { background: #FAF6EE; }
.lps-ask__next { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 4px; }
.lps-ask__next button { font-size: 13px; padding: 9px 14px; min-height: 40px; }

.lps-ask__msg { max-width: 88%; padding: 10px 13px; font-size: 14px; line-height: 1.45; }
.lps-ask__msg--me { align-self: flex-end; background: #B45734; color: #fff; border-radius: 16px 16px 4px 16px; max-width: 82%; white-space: pre-wrap; }
.lps-ask__msg--ai { align-self: stretch; max-width: none; background: #FAF6EE; border: 1px solid #E5D9C5; border-radius: 16px 16px 16px 4px; }
.lps-ask__msg--ai p { margin: 0 0 .6em; } .lps-ask__msg--ai p:last-child { margin-bottom: 0; }
.lps-ask__msg--ai ul { margin: .3em 0 .6em 1.1em; padding: 0; } .lps-ask__msg--ai li { margin: .2em 0; }
.lps-ask__msg--err { align-self: flex-start; background: #FBEFEA; border: 1px solid #E8B8A6; color: #7A3A22; border-radius: 12px; font-size: 13px; }
.lps-ask__wait { align-self: flex-start; color: #7A6E5E; font-size: 13px; padding: 4px 8px; }
.lps-ask__wait i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: #B45734; animation: lpsAskDot 1s infinite; }
.lps-ask__wait i:nth-child(2) { animation-delay: .15s; } .lps-ask__wait i:nth-child(3) { animation-delay: .3s; }
@keyframes lpsAskDot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* --- product tiles: horizontal strip, scroll-snap, arrows ------------- */
.lps-ask__cardwrap { margin-left: 4px; }
.lps-ask__cards { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; padding: 4px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #D9CDB9 transparent; -webkit-overflow-scrolling: touch; }
.lps-ask__cards::-webkit-scrollbar { height: 6px; } .lps-ask__cards::-webkit-scrollbar-thumb { background: #D9CDB9; border-radius: 999px; }
.lps-ask__card { position: relative; flex: 0 0 170px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #E5D9C5; border-radius: 12px; padding: 8px; }
.lps-ask__thumb { display: block; width: 100%; aspect-ratio: 1; border-radius: 8px; background: #F3E9D9; overflow: hidden; }
.lps-ask__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- the stage: every hotspot in the chat opens here, just LEFT of the drawer (desktop only) ---
   Renderers: --product (mini-PDP), --video (muted player), --brand (summary). Width set per show from the free space.
   It lives in <body>, so the theme's a/p/ul rules reach it: margins and link styles are pinned. */
.lps-ask__stage {
	position: fixed; z-index: 9002; width: 600px; max-width: calc(100vw - 480px);
	background: #fff; border: 1px solid #E5D9C5; border-radius: 14px; box-shadow: 0 18px 50px rgba(44, 39, 34, .22);
	padding: 14px; display: none; flex-direction: column; box-sizing: border-box; color: #2C2722; font-family: var(--lps-font-body, inherit);
	opacity: 0; transform: translateX(8px); transition: opacity .15s ease, transform .15s ease;
}
.lps-ask__stage.is-on { display: flex; opacity: 1; transform: none; }
/* Narrow stage (10-27 Culver demo: a wide chat left ~440px and the specs broke word by word).
   The stage sizes itself from the room left of the drawer, so it reacts to its OWN width:
   under 600px the photo stacks on top and specs run one per line. */
.lps-ask__stage { container-type: inline-size; container-name: lpsstage; }
.lps-ask__stage p, .lps-ask__stage ul { margin: 0 !important; }
.lps-ask__stage-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lps-ask__stage-row { display: flex; gap: 18px; align-items: flex-start; }
.lps-ask__stage-photo { flex: 0 0 42%; aspect-ratio: 1; border-radius: 10px; background: #FAF6EE; overflow: hidden; }
.lps-ask__stage-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lps-ask__stage-det { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.lps-ask__stage-eyebrow { font: 600 11px/1.2 var(--lps-font-body, inherit); letter-spacing: .4px; color: #9E4D2E; text-transform: uppercase; }
.lps-ask__stage-title { font: 500 19px/1.25 var(--lps-font-display, Georgia, serif); color: #2C2722; }
.lps-ask__stage-blurb { font-size: 12.5px; line-height: 1.45; color: #5A4F44; }
.lps-ask__stage-h { font: 600 10.5px/1 var(--lps-font-body, inherit); letter-spacing: .6px; text-transform: uppercase; color: #7A6E5E; margin-top: 2px; }
.lps-ask__stage-ul { padding-left: 16px !important; font-size: 12px; line-height: 1.45; display: flex; flex-direction: column; gap: 2px; list-style: disc; }
.lps-ask__stage-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 14px; font-size: 12px; }
.lps-ask__stage-specs > div { display: flex; gap: 6px; min-width: 0; }
.lps-ask__stage-specs > div span:first-child { color: #7A6E5E; flex: 0 0 68px; }
.lps-ask__stage-care { font-size: 12px; line-height: 1.45; }
.lps-ask__stage-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #F0E6D6; padding-top: 10px; font-size: 11px; color: #7A6E5E; flex-wrap: wrap; }
.lps-ask__stage-where { display: flex; align-items: center; gap: 5px; }
.lps-ask__stage-where .lps-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #6B625A; margin-left: 4px; }
.lps-ask__stage-where .lps-dot--direct { background: #B45734; } .lps-ask__stage-where .lps-dot--amazon { background: #FF9900; } .lps-ask__stage-where .lps-dot--walmart { background: #0071CE; } .lps-ask__stage-where .lps-dot--target { background: #CC0000; }
/* video */
.lps-ask__stage-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #2C2722; overflow: hidden; }
.lps-ask__stage-frame iframe, .lps-ask__stage-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.lps-ask__stage-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 11px; color: #7A6E5E; line-height: 1.4; }
.lps-ask__stage-meta > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lps-ask__stage-meta .lps-ask__stage-title { font-size: 16px; }
.lps-ask__stage-meta > span { flex: 0 0 auto; text-align: right; max-width: 46%; }
/* brand */
.lps-ask__stage-brandhd { display: flex; align-items: center; gap: 14px; background: #F3E9D9; border-radius: 10px; padding: 12px 14px; }
.lps-ask__stage-brandhd > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lps-ask__stage-logo { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid #E5D9C5; overflow: hidden; display: flex; align-items: center; justify-content: center; font: 600 18px/1 var(--lps-font-display, Georgia, serif); color: #9E4D2E; }
.lps-ask__stage-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lps-ask__stage-brandname { font: 500 22px/1.15 var(--lps-font-display, Georgia, serif); color: #B45734; }
.lps-ask__stage-tag { font-size: 12.5px; color: #5A4F44; }
.lps-ask__stage-meta2 { font-size: 11px; color: #7A6E5E; }
.lps-ask__stage-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lps-ask__stage-cols > div { display: flex; flex-direction: column; gap: 4px; }
.lps-ask__stage-cols p { font-size: 12.5px; line-height: 1.5; }
.lps-ask__stage-qa { display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.45; }
.lps-ask__stage-qa b { color: #2C2722; font-weight: 600; }
.lps-ask__stage-links { display: flex; gap: 14px; }
.lps-ask__stage-links a { color: #9E4D2E !important; text-decoration: none !important; font-weight: 500; }
.lps-ask__stage-links a:hover { text-decoration: underline !important; }
@media (max-width: 900px), (hover: none) { .lps-ask__stage { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .lps-ask__stage { transition: none; } }
/* tile hotspots: brand eyebrow (dotted underline on hover) and the video chip */
.lps-ask__cbrand.is-spot { cursor: default; text-decoration: underline dotted rgba(180,87,52,.5); text-underline-offset: 2px; }
.lps-ask__vchip { align-self: flex-start; display: inline-flex !important; align-items: center; gap: 4px; margin: 2px 0 0 !important; padding: 3px 8px 3px 6px !important; min-height: 0 !important; border: 1px solid #D9CDB9 !important; border-radius: 999px !important; background: #fff !important; color: #9E4D2E !important; font: 500 10.5px/1 var(--lps-font-body, inherit) !important; text-decoration: none !important; box-shadow: none !important; }
.lps-ask__vchip svg { width: 10px; height: 10px; fill: currentColor; }
.lps-ask__vchip:hover { background: #B45734 !important; border-color: #B45734 !important; color: #fff !important; }
.lps-ask__cbrand { font-size: 10px; color: #9E4D2E; font-weight: 600; letter-spacing: .4px; margin-top: 4px; }
.lps-ask__ctitle { font-size: 12px; font-weight: 500; line-height: 1.3; color: #2C2722; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.lps-ask__ctitle:hover { text-decoration: underline; }
/* variations chip — bottom of the tile, above the dots; icon matches the search grid's "4 colors". Longhand props on purpose:
   `font:` shorthand with var(--x, inherit) is invalid (CSS-wide keyword inside var()) and the whole line drops — the chip then inherits 20px. */
.lps-ask__vrt { display: flex; align-items: flex-start; gap: 4px; margin-top: auto; padding-top: 4px; font-size: 10.5px; line-height: 1.4; font-weight: 500; color: #6B5F52; }
.lps-ask__vrt + .lps-ask__where { margin-top: 0; }
.lps-ask__vrt svg { width: 11px; height: 11px; flex: 0 0 auto; margin-top: 2px; }
.lps-ask__vrt a { color: #9E4D2E; text-decoration: underline dotted rgba(180,87,52,.5); text-underline-offset: 2px; }
.lps-ask__vrt a:hover { color: #B45734; text-decoration-style: solid; }
.lps-ask__vrt--stage { font-size: 12px; margin: 4px 0 6px; padding-top: 0; }
.lps-ask__save { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 999px; border: 1px solid #E5D9C5; background: rgba(255,255,255,.92); color: #B45734; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; z-index: 1; }
.lps-ask__save svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.lps-ask__save.is-saved, .lps-ask__save[aria-pressed="true"] { border-color: #B45734; }
.lps-ask__save.is-saved svg, .lps-ask__save[aria-pressed="true"] svg { fill: #B45734; }
/* where-to-buy dots (the brand card's .lps-dot, defined in style.css) + one honest button to the PDP */
.lps-ask__where { display: flex; align-items: center; gap: 5px; min-height: 16px; margin-top: auto; padding-top: 4px; font-size: 10.5px; color: #7A6E5E; }
.lps-ask__where-lbl { margin-right: 1px; }
.lps-ask__where .lps-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #6B625A; }
.lps-ask__where .lps-dot--direct { background: #B45734; } .lps-ask__where .lps-dot--amazon { background: #FF9900; } .lps-ask__where .lps-dot--walmart { background: #0071CE; } .lps-ask__where .lps-dot--target { background: #CC0000; }
.lps-ask__see { display: inline-flex !important; align-self: center; align-items: center; margin: 6px auto 0 !important; padding: 4px 10px !important; min-height: 0 !important; line-height: 1.2 !important; border: 1px solid #D9CDB9 !important; border-radius: 999px !important; background: #fff !important; color: #9E4D2E !important; font-size: 10.5px !important; font-weight: 500 !important; font-family: var(--lps-font-body, inherit) !important; text-decoration: none !important; box-shadow: none !important; }
.lps-ask__see:hover, .lps-ask__see:focus-visible { background: #B45734 !important; border-color: #B45734 !important; color: #fff !important; }
.lps-ask__unavail { font-size: 10.5px; color: #7A6E5E; }
.lps-ask__cardfoot { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; color: #7A6E5E; }
.lps-ask__arrow { width: 32px; height: 32px; border-radius: 999px; border: 1px solid #E5D9C5; background: #fff; color: #2C2722; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.lps-ask__arrow:hover { border-color: #B45734; color: #9E4D2E; }
.lps-ask__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.lps-ask__cardfoot span { margin-left: 4px; }

/* --- brand chips --------------------------------------------------- */
.lps-ask__brands { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 4px; }
.lps-ask__brand { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E5D9C5; border-radius: 999px; padding: 5px 12px 5px 5px; color: #2C2722; text-decoration: none; font: 500 13px/1.2 inherit; min-height: 40px; }
.lps-ask__brand:hover { border-color: #B45734; color: #9E4D2E; }
.lps-ask__brand img { width: 30px; height: 30px; border-radius: 999px; object-fit: cover; background: #F3E9D9; }
.lps-ask__brand span { font-family: var(--lps-font-display, Georgia, serif); font-weight: 600; font-size: 14px; }

/* --- feedback --------------------------------------------------- */
.lps-ask__fb { display: flex; align-items: center; gap: 8px; margin-left: 4px; font-size: 12px; color: #7A6E5E; }
.lps-ask__fb button { background: #fff; border: 1px solid #E5D9C5; border-radius: 999px; width: 36px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; color: #2C2722; }
.lps-ask__fb button.is-on { border-color: #B45734; color: #B45734; }
.lps-ask__fb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* --- footer ----------------------------------------------------- */
.lps-ask__foot { padding: 10px 12px 12px; border-top: 1px solid #E5D9C5; background: #fff; flex: none; display: flex; flex-direction: column; gap: 6px; }
.lps-ask__form { display: flex; align-items: flex-end; gap: 8px; margin: 0; }
.lps-ask__pill { flex: 1; display: flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid #B45734; border-radius: 24px; padding: 4px 4px 4px 14px; min-height: 46px; }
.lps-ask__pill:focus-within { outline: 2px solid #9E4D2E; outline-offset: 1px; }
.lps-ask__input, .lps-ask__input:focus, .lps-ask__input:focus-visible {
	flex: 1; min-width: 0; width: auto; margin: 0; border: 0 !important; outline: none !important; box-shadow: none !important; border-radius: 0 !important;
	background: transparent !important; font: 14px/1.4 var(--lps-font-body, inherit) !important; color: #2C2722; resize: none; max-height: 120px; min-height: 0; padding: 6px 0 !important; overflow-y: auto; scrollbar-width: none;
}
.lps-ask__input::-webkit-scrollbar { display: none; }
.lps-ask__tool { background: #fff; border: 1px solid #B45734; color: #B45734; border-radius: 999px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; flex: none; }
.lps-ask__tool--cam, .lps-ask__tool--paste { border-color: #7C5CD0; color: #7C5CD0; }
.lps-ask__tool[hidden], .lps-ask [hidden] { display: none !important; }
.lps-ask__send { background: #B45734; border: 0; color: #fff; border-radius: 999px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; flex: none; }
.lps-ask__send:hover { background: #9E4D2E; }
.lps-ask__send[disabled] { opacity: .5; cursor: default; }
.lps-ask__disclosure { margin: 0; font-size: 11px; line-height: 1.4; color: #7A6E5E; text-align: center; }

/* --- phones: full screen, no grip -------------------------------- */
@media (max-width: 640px) {
	.lps-ask { left: 0; right: 0; width: 100vw !important; min-width: 0; max-width: none; border-left: 0; box-shadow: none; }
	.lps-ask__grip { display: none; }
	.lps-ask__title { font-size: 18px; }
	.lps-ask__card { flex-basis: 156px; }
}
@media (prefers-reduced-motion: reduce) { .lps-ask__wait i { animation: none; opacity: .6; } }

/* --- (i) help, draft badge, site/contact chips (2026-10-22) --- */
.lps-ask__title { cursor: help; }
.lps-ask__title[aria-expanded="true"] { text-decoration: underline dotted #B9A6F0; text-underline-offset: 5px; }
.lps-ask__help-body .lps-ask__stage-ul { font-size: 12.5px; gap: 6px; }
.lps-ask__helpcard { background: #F3E9D9; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.lps-ask__helpcard .lps-ask__stage-title { font-size: 17px; }
.lps-ask__helpcard-x { align-self: flex-end; background: #fff !important; border: 1px solid #B45734 !important; color: #9E4D2E !important; border-radius: 999px !important; font: 500 12px/1 var(--lps-font-body, inherit) !important; padding: 8px 14px !important; min-height: 0 !important; box-shadow: none !important; cursor: pointer; }
.lps-ask__draft { position: absolute; top: 12px; left: 12px; z-index: 1; background: #2C2722; color: #FAF6EE; font: 700 9px/1 var(--lps-font-body, inherit); letter-spacing: .6px; padding: 4px 6px; border-radius: 4px; }
.lps-ask__brand--site { padding: 5px 12px; }
.lps-ask__brand--site span { font-family: var(--lps-font-body, inherit); font-weight: 500; font-size: 12.5px; color: #9E4D2E; }

/* --- page-aware: the context chip in the chat + the PDP's "Ask about this item" line (2026-10-22) --- */
.lps-ask__ctx { display: flex; align-items: center; gap: 10px; border: 1px solid #D9CDE9; background: #F5F2FB; border-radius: 12px; padding: 8px 10px; }
.lps-ask__ctx img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #FAF6EE; flex: 0 0 auto; }
.lps-ask__ctx > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lps-ask__ctx b { font: 600 10px/1 var(--lps-font-body, inherit); letter-spacing: .5px; text-transform: uppercase; color: #7C5CD0; }
.lps-ask__ctx span { font-size: 12.5px; font-weight: 500; color: #2C2722; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lps-ask__ctx-x { background: none !important; border: 0 !important; color: #7A6E5E !important; width: 28px; height: 28px; min-height: 0 !important; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; box-shadow: none !important; cursor: pointer; flex: 0 0 auto; }
.lps-ask__ctx-x svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.lps-ask__ctx-x:hover { color: #2C2722 !important; }
.lps-ask__item { display: inline-flex !important; align-items: center; gap: 7px; align-self: flex-start; margin: 2px 0 10px !important; padding: 8px 14px !important; min-height: 0 !important; border: 1px solid #7C5CD0 !important; border-radius: 999px !important; background: #fff !important; color: #7C5CD0 !important; font: 500 13px/1 var(--lps-font-body, inherit) !important; letter-spacing: 0; text-decoration: none !important; box-shadow: none !important; cursor: pointer; }
.lps-ask__item svg { width: 14px; height: 14px; fill: currentColor; }
.lps-ask__item:hover, .lps-ask__item:focus-visible { background: #7C5CD0 !important; color: #fff !important; }
.lps-ask__ctxslot { flex: none; }
.lps-ask__ctxslot:empty { display: none; }
.lps-ask__ctxturn { display: flex; align-items: center; gap: 10px; padding: 8px 0 2px; border-top: 1px dashed #D9CDE9; margin-top: 4px; }
.lps-ask__ctxturn img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #FAF6EE; flex: 0 0 auto; }
.lps-ask__ctxturn > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lps-ask__ctxturn b { font: 600 10px/1 var(--lps-font-body, inherit); letter-spacing: .5px; text-transform: uppercase; color: #7C5CD0; }
.lps-ask__ctxturn span { font-size: 12.5px; font-weight: 500; color: #2C2722; }
.lps-ask__ctxturn a { font-size: 11px; color: #9E4D2E; text-decoration: none; }
.lps-ask__ctxturn a:hover { text-decoration: underline; }
.lps-ask__ctxturn--gen b { color: #7A6E5E; }
.lps-ask__ctxturn .lps-ask__ctx-x { margin-left: auto; }
.lps-ask__ctxbar { display: flex; align-items: center; gap: 8px; border: 1px solid #D9CDE9; background: #F5F2FB; border-radius: 10px; padding: 5px 6px 5px 6px; }
.lps-ask__ctxbar img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; background: #FAF6EE; flex: 0 0 auto; }
.lps-ask__ctxbar > div { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; }
.lps-ask__ctxbar b { font: 600 9.5px/1 var(--lps-font-body, inherit); letter-spacing: .5px; text-transform: uppercase; color: #7C5CD0; white-space: nowrap; }
.lps-ask__ctxbar span { font-size: 12px; font-weight: 500; color: #2C2722; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lps-ask__hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
/* disclosure: phones show one line + "more" (10-22) */
.lps-ask__more { display: none; }
@media (max-width: 640px) {
	.lps-ask__disclosure { position: relative; text-align: left; padding-right: 44px; }
	.lps-ask__disclosure:not(.is-open) span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
	.lps-ask__more { display: inline !important; position: absolute; right: 0; top: 0; background: none !important; border: 0 !important; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; color: #9E4D2E !important; font: 500 11px/1.4 var(--lps-font-body, inherit) !important; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
}
.lps-ask__ctxbar { transition: opacity .15s ease; }
.lps-ask__ctxbar.is-hidden { display: none; }

/* Search by photo (2026-10-22): the shopper's photo turn — thumb shown this turn only, never persisted */
.lps-ask__msg--photo{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.lps-ask__msg--photo svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;vertical-align:-3px;margin-right:6px}
.lps-ask__msg--photo img{max-width:160px;max-height:160px;border-radius:10px;object-fit:cover;border:1px solid rgba(44,39,34,.12)}

/* --- PDP slim Ask row (2026-10-23, D-slim): one violet pill at the top of the details column --- */
.lps-ask__itemrow { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 0 0 12px !important; padding: 9px 16px !important; min-height: 0 !important; border: 1px solid #D9CDE9 !important; border-radius: 999px !important; background: #F7F4FC !important; color: #5A4A3E !important; font: 400 13px/1.3 var(--lps-font-body, inherit) !important; text-align: left; box-shadow: none !important; cursor: pointer; }
.lps-ask__itemrow-q { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.lps-ask__itemrow-q svg { width: 14px; height: 14px; fill: #7C5CD0; flex: none; }
.lps-ask__itemrow-go { color: #7254C8; /* 11-06 WCAG: 5.1:1 on the tinted row (#7C5CD0 was 4.49) */ font-weight: 600; white-space: nowrap; flex: none; }
.lps-ask__itemrow:hover, .lps-ask__itemrow:focus-visible { background: #EFE9FB !important; border-color: #7C5CD0 !important; }
.lps-ask__itemrow-long, .lps-ask__itemrow-short { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lps-ask__itemrow-short { display: none; }
/* Phones (10-23): one line, shorter label, tighter pill — the long label wrapped to two lines and doubled the height */
@media (max-width: 600px) {
	.lps-ask__itemrow { padding: 7px 14px !important; margin: 4px 0 10px !important; font-size: 13px !important; }
	.lps-ask__itemrow-long { display: none; }
	.lps-ask__itemrow-short { display: inline; }
}

/* Maker link under a Prop 65 answer (rule 12, 2026-10-24) */
.lps-ask__maker { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--terra, #B45734); border-radius: 999px; color: var(--terra-dk, #9E4D2E); font-size: 13px; font-weight: 600; text-decoration: none; background: #fff; }
.lps-ask__maker:hover { background: #FAF6EE; }

/* 2026-10-25: "See all {Brand} pieces" under a one-brand card strip (the strip shows up to 8) */
.lps-ask__allrow { margin-top: 6px; }
.lps-ask__allrow .lps-ask__all { margin: 0 !important; font-size: 12px !important; padding: 5px 12px !important; }

/* 2026-10-25: one-time hover hint on the first card a desktop shopper sees */
.lps-ask__card--hint { animation: lpsAskHint 1.4s ease-in-out 3; }
@keyframes lpsAskHint { 0%,100% { box-shadow: 0 0 0 0 rgba(180,87,52,0); } 50% { box-shadow: 0 0 0 3px rgba(180,87,52,.45); } }
@media (prefers-reduced-motion: reduce) { .lps-ask__card--hint { animation: none; box-shadow: 0 0 0 2px rgba(180,87,52,.45); } }

.lps-ask__where { flex-wrap: wrap; column-gap: 8px; }

@container lpsstage (max-width: 600px) {
	.lps-ask__stage-row { flex-direction: column; gap: 12px; }
	.lps-ask__stage-photo { flex: none; width: 100%; max-height: 220px; aspect-ratio: auto; height: 220px; }
	.lps-ask__stage-specs { grid-template-columns: minmax(0, 1fr); }
	.lps-ask__stage-specs > div span:first-child { flex-basis: 84px; }
	.lps-ask__stage-title { font-size: 18px; }
}
