/* A small contact card in existing sidebars; no extra column is created. */
body .nbd-sidebar-contact {
	box-sizing: border-box;
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	margin: 0 0 20px;
	padding: 22px 18px;
	border: 1px solid #d7e6f8;
	border-radius: 18px;
	background: linear-gradient(145deg, #fff 15%, #edf5ff 100%);
	box-shadow: 0 10px 28px rgb(22 53 102 / 7%);
	color: #17376c;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
}

body .nbd-sidebar-contact *,
body .nbd-sidebar-contact *::before,
body .nbd-sidebar-contact *::after { box-sizing: border-box; }

body .nbd-sidebar-contact__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 12px;
	border: 1px solid #d8e8fd;
	border-radius: 50%;
	background: #fff;
	color: #2568bf;
}

body .nbd-sidebar-contact__icon svg { display: block; width: 28px; height: 28px; }
body .nbd-sidebar-contact .nbd-sidebar-contact__title { margin: 0 0 8px; color: #17376c; font: inherit; font-size: 20px !important; font-weight: 600 !important; line-height: 1.35; }
body .nbd-sidebar-contact .nbd-sidebar-contact__copy { margin: 0 0 16px; color: #4d6281; font: inherit; font-size: 14px !important; }
body .nbd-sidebar-contact a { color: inherit; text-decoration: none !important; border-bottom: 0; }
body .nbd-sidebar-contact__phone { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 16px; }
body .nbd-sidebar-contact__phone span { color: #4d6281; font-size: 14px !important; }
body .nbd-sidebar-contact__phone strong { color: #185cae; font-size: 20px !important; font-weight: 600 !important; line-height: 1.4; white-space: nowrap; }
body .nbd-sidebar-contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
body .nbd-sidebar-contact .nbd-sidebar-contact__button { display: inline-flex; flex: 1 1 104px; justify-content: center; align-items: center; gap: 7px; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #bed4ef; border-radius: 11px; background: #fff; color: #174b87; font-family: inherit; font-size: 14px !important; font-weight: 600 !important; line-height: 1.35; letter-spacing: 0; text-transform: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
body .nbd-sidebar-contact .nbd-sidebar-contact__button--call { border-color: #ffcf32; background: #ffcf32; color: #17376c; }
body .nbd-sidebar-contact__button svg { display: block; position: static; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; }
body .nbd-sidebar-contact__button span { min-width: 0; font: inherit; }
body .nbd-sidebar-contact a:focus-visible { outline: 3px solid #327cd5; outline-offset: 4px; }

@media (min-width: 850px) {
	/* Stretch the actual rail, not just its short widget wrapper, to its row. */
	body .nbd-sidebar-contact-column { display: flex; flex-direction: column; align-self: stretch; }
	body .nbd-sidebar-contact-rail { display: flex; flex-direction: column; align-self: stretch; flex: 1 1 auto; min-width: 0; overflow: visible; }
	body .nbd-news-sidebar.nbd-sidebar-contact-rail { gap: 18px; }
	body.nbd-catalog-archive .nbd-sidebar-contact-rail .nbd-catalog-sidebar-categories { position: static !important; }
	body .nbd-sidebar-contact-rail > .nbd-sidebar-contact { position: sticky; top: var(--nbd-sidebar-sticky-top, 112px); align-self: stretch; }
	body .nbd-sidebar-contact-rail > .nbd-sidebar-contact--too-tall { position: relative; top: auto; }
}

@media (max-width: 849px) {
	body .nbd-sidebar-contact { position: static; grid-column: 1 / -1; margin-bottom: 0; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	body .nbd-sidebar-contact__button:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgb(22 53 102 / 12%); }
}

@media (prefers-reduced-motion: reduce) {
	body .nbd-sidebar-contact__button { transition: none !important; }
}
