/*
 * Шаблон atlant: плашка «Корзина | Войти Регистрация» на страницах магазина
 * (/uslugi/magazin/, /personal/cart/, /personal/order/ — см. $isShopPage в header.php).
 * Оформление повторяет ortoped-modern/modern-header-footer.css (блок «Top bar»),
 * но все правила ограничены классом .atlant-shop-bar, чтобы не задеть остальной шаблон.
 * Цвета — те же, что переменные --orto-* у Ортопеда.
 */

/* В template_styles.css шаблона этот блок скрыт (display:none) — на страницах магазина показываем. */
.header_top_section_container_one.atlant-shop-bar {
	display: block;
	float: right;
	padding-top: 10px;
}

.atlant-shop-bar .bx_cart_login_top {
	float: right;
	margin-bottom: 8px;
	padding: 8px 16px;
	border-radius: 12px;
	line-height: 1.4;
	background: rgba(255, 255, 255, 0.96);
	color: #334155;
	box-shadow: 0 2px 14px rgba(8, 47, 73, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.8);
	white-space: normal;
}

.atlant-shop-bar .bx_cart_login_top > div {
	display: block;
}

.atlant-shop-bar .bx_cart_login_top table,
.atlant-shop-bar .bx_cart_login_top tbody,
.atlant-shop-bar .bx_cart_login_top tr {
	display: block;
	width: auto;
	border: none;
	margin: 0;
}

.atlant-shop-bar .bx_cart_login_top tr {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 4px 20px;
}

.atlant-shop-bar .bx_cart_login_top td {
	display: block;
	padding: 0 !important;
	vertical-align: middle;
}

.atlant-shop-bar .bx-hdr-profile {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 16px;
}

.atlant-shop-bar .bx-basket-block {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	position: static;
	margin: 0;
	padding: 0;
	white-space: normal;
	font-size: 13px;
	line-height: 1.5;
	color: #64748b;
}

.atlant-shop-bar .bx-basket-block > .fa,
.atlant-shop-bar .bx-basket-block i.fa-shopping-cart {
	position: static;
	width: auto;
	margin-right: 0;
	font-size: 14px;
	color: #0891b2;
}

.atlant-shop-bar .bx-basket-block br {
	display: none;
}

.atlant-shop-bar .bx-basket-block span {
	display: inline;
	color: #64748b;
}

.atlant-shop-bar .bx-basket-block strong {
	color: #0c4a6e;
	font-weight: 700;
}

.atlant-shop-bar .bx_login_block {
	float: none;
	padding-left: 20px;
	margin-left: 4px;
	border-left: 1px solid rgba(12, 74, 110, 0.12);
	background: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.atlant-shop-bar .bx_cart_login_top a,
.atlant-shop-bar .bx-basket-block a {
	color: #0c4a6e;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: color 0.2s ease;
}

.atlant-shop-bar .bx_cart_login_top a:hover,
.atlant-shop-bar .bx-basket-block a:hover {
	color: #0891b2;
	text-decoration: none;
}
