/* Noria Store — shopping assistant chat widget.
   Uses the Noria theme's colour tokens when present, with built-in fallbacks. */
.nr-chat svg, .nr-chat-launch svg { display: block; }
.nr-chat__icon, .nr-chat__form button { display: inline-flex; align-items: center; justify-content: center; }
.nr-chat-launch {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 250;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border: 0;
	border-radius: 99px;
	background: var(--nr-navy, #0A1630);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 14px 34px -12px rgba(10, 22, 48, .55);
	transition: transform .2s, opacity .2s, background-color .2s;
}
.nr-chat-launch svg { color: #E2A77F; font-size: 18px; }
.nr-chat-launch:hover { background: var(--nr-navy-2, #132B5C); transform: translateY(-2px); }
.nr-chat-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }

.nr-chat {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 260;
	width: min(400px, calc(100vw - 32px));
	height: min(640px, calc(100vh - 120px));
	opacity: 0;
	transform: translateY(16px) scale(.98);
	transform-origin: bottom right;
	transition: opacity .2s, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.nr-chat.is-open { opacity: 1; transform: none; }
.nr-chat[hidden] { display: none; }
.nr-chat__panel {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--nr-ivory-2, #FBF7F1);
	border: 1px solid var(--nr-line, #E8DDCC);
	border-radius: var(--nr-r-xl, 20px);
	box-shadow: 0 30px 70px -20px rgba(10, 22, 48, .45);
	overflow: hidden;
}
.nr-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--nr-navy, #0A1630); color: #fff; }
.nr-chat__head img { width: 36px; height: 36px; border-radius: 10px; }
.nr-chat__head div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.nr-chat__head b { font-size: 15px; }
.nr-chat__head span { font-size: 12px; color: var(--nr-on-navy, #C9D3E6); }
.nr-chat__icon { width: 34px; height: 34px; border: 0; border-radius: 99px; background: transparent; color: #fff; cursor: pointer; font-size: 15px; }
.nr-chat__icon:hover { background: rgba(255, 255, 255, .12); }

.nr-chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.nr-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.nr-msg p { margin: 0 0 6px; padding: 0; }
.nr-msg p:last-child { margin-bottom: 0; }
.nr-msg ul { margin: 4px 0 6px; padding-left: 18px !important; }
.nr-msg li { margin: 2px 0; }
.nr-msg--user { align-self: flex-end; background: var(--nr-navy, #0A1630); color: #fff; border-bottom-right-radius: 4px; }
.nr-msg--bot { align-self: flex-start; background: #fff; color: var(--nr-body, #4A4A55); border: 1px solid var(--nr-line, #E8DDCC); border-bottom-left-radius: 4px; }
.nr-msg--bot strong { color: var(--nr-navy, #0A1630); }
.nr-msg--bot a { color: var(--nr-cognac, #A4532B); }
.nr-msg.is-error { background: #FFF4F1; border-color: #F1D3C7; }
.nr-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.nr-typing i { width: 7px; height: 7px; border-radius: 99px; background: var(--nr-faint, #A39B8E); animation: nr-typing 1.1s infinite ease-in-out; }
.nr-typing i:nth-child(2) { animation-delay: .15s; }
.nr-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes nr-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.nr-chat-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.nr-chat-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--nr-line, #E8DDCC);
	border-radius: 12px;
	background: var(--nr-ivory-2, #FBF7F1);
	text-decoration: none;
	color: var(--nr-navy, #0A1630) !important;
	transition: border-color .15s, background-color .15s;
}
.nr-chat-card:hover { border-color: var(--nr-cognac, #A4532B); background: #fff; }
.nr-chat-card img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; flex: none; }
.nr-chat-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.nr-chat-card__body b { font-size: 13.5px; font-weight: 600; }
.nr-chat-card__body small { font-size: 12px; color: var(--nr-muted, #6B6458); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nr-chat-card__price { font-size: 13px; font-weight: 700; color: var(--nr-cognac, #A4532B); margin-top: 2px; }
.nr-chat-card__price s { color: var(--nr-faint, #A39B8E); font-weight: 400; margin-left: 4px; }
.nr-chat-card__go { color: var(--nr-faint, #A39B8E); font-size: 12px; }

.nr-chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.nr-chat__chips[hidden] { display: none; }
.nr-chat__chips button { border: 1px solid var(--nr-line-2, #E3D6C2); background: #fff; color: var(--nr-navy, #0A1630); border-radius: 99px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.nr-chat__chips button:hover { border-color: var(--nr-cognac, #A4532B); color: var(--nr-cognac, #A4532B); }

.nr-chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--nr-line, #E8DDCC); background: #fff; }
.nr-chat__form textarea {
	flex: 1;
	resize: none;
	border: 1px solid var(--nr-line-2, #E3D6C2);
	border-radius: 14px;
	padding: 10px 12px;
	font: inherit;
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--nr-navy, #0A1630);
	background: var(--nr-ivory-2, #FBF7F1);
	max-height: 120px;
	outline: none;
}
.nr-chat__form textarea:focus { border-color: var(--nr-navy, #0A1630); background: #fff; }
.nr-chat__form button { width: 42px; height: 42px; flex: none; border: 0; border-radius: 99px; background: var(--nr-cognac, #A4532B); color: #fff; cursor: pointer; font-size: 15px; }
.nr-chat__form button:disabled { opacity: .45; cursor: default; }
.nr-chat__fine { margin: 0; padding: 0 14px 10px; background: #fff; font-size: 11px; line-height: 1.4; color: var(--nr-faint, #A39B8E); }

@media (max-width: 760px) {
	.nr-chat-launch { right: 16px; bottom: 80px; padding: 13px; }
	.nr-chat-launch span { display: none; }
	.nr-chat { inset: 0; width: auto; height: auto; transform: translateY(24px); }
	.nr-chat__panel { border-radius: 0; border: 0; }
	body.nr-chat-open { overflow: hidden; }
	body.nr-chat-open .nr-tabbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nr-chat, .nr-chat-launch { transition: opacity .15s linear; transform: none !important; }
}

/* Showroom page */
.nr-showroom-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; padding-bottom: 72px; align-items: start; }
.nr-showroom-page__lede { font-size: 18px; line-height: 1.6; color: var(--nr-body, #4A4A55); margin: 0 0 24px; padding: 0; }
.nr-nap { display: grid; gap: 14px; margin: 0 0 24px; padding: 20px; background: #fff; border: 1px solid var(--nr-line, #E8DDCC); border-radius: var(--nr-r-xl, 20px); }
.nr-nap dt { font-size: 13px; font-weight: 600; color: var(--nr-muted, #6B6458); margin-bottom: 2px; }
.nr-nap dt i { width: 18px; color: var(--nr-cognac, #A4532B); }
.nr-nap dd { margin: 0 0 0 24px; color: var(--nr-navy, #0A1630); font-weight: 500; }
.nr-nap address { font-style: normal; }
.nr-nap a { color: var(--nr-navy, #0A1630); }
.nr-showroom-page__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.nr-showroom-page h2 { font-size: 24px !important; font-weight: 800; margin: 0 0 12px; }
.nr-showroom-page__list { margin: 0; padding-left: 20px !important; color: var(--nr-body, #4A4A55); line-height: 1.8; }
.nr-showroom-page__map { position: sticky; top: 130px; border-radius: var(--nr-r-xl, 20px); overflow: hidden; border: 1px solid var(--nr-line, #E8DDCC); background: #EAE3D8; aspect-ratio: 4 / 3.4; }
.nr-showroom-page__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 980px) {
	.nr-showroom-page { grid-template-columns: 1fr; }
	.nr-showroom-page__map { position: static; aspect-ratio: 4 / 3; }
}

/* Category SEO copy below the grid */
.nr-shop__about { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--nr-line, #E8DDCC); max-width: 820px; }
.nr-shop__about h2 { font-size: 22px !important; font-weight: 800; margin: 0 0 10px; }
.nr-shop__about p { color: var(--nr-body, #4A4A55); line-height: 1.7; padding: 0; margin: 0 0 12px; }

