

/* Start:/local/js/ui/modal/modal.css?17962098164030*/
/* ===== SiteModal: каркас ===== */
:root {
	--sm-accent: #d71920;
	--sm-accent-dark: #b5121a;
	--sm-accent-soft: #fdeceb;
	--sm-text: #1f1f1f;
	--sm-muted: #6e6e6e;
	--sm-border: #e2e2e2;
	--sm-radius: 24px;
}

.sm-lock {
	overflow: hidden;
}

.sm {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.sm[hidden] {
	display: none;
}

.sm__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, .55);
	opacity: 0;
	transition: opacity .2s ease;
}

.sm__dialog {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 36px 32px 32px;
	background: #fff;
	color: var(--sm-text);
	border-radius: var(--sm-radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
	outline: none;
	opacity: 0;
	transform: translateY(12px) scale(.98);
	transition: opacity .2s ease, transform .2s ease;
}

.sm-open .sm__overlay {
	opacity: 1;
}

.sm-open .sm__dialog {
	opacity: 1;
	transform: none;
}

.sm__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f3f3f3;
	color: var(--sm-text);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.sm__close:hover {
	background: var(--sm-accent);
	color: #fff;
}

.sm__loader {
	width: 36px;
	height: 36px;
	margin: 24px auto;
	border: 3px solid var(--sm-accent-soft);
	border-top-color: var(--sm-accent);
	border-radius: 50%;
	animation: sm-spin .8s linear infinite;
}

@keyframes sm-spin {
	to { transform: rotate(360deg); }
}

/* Мобильные: «шторка» снизу */
@media (max-width: 640px) {
	.sm {
		align-items: flex-end;
		padding: 0;
	}

	.sm__dialog {
		max-width: none;
		max-height: 92vh;
		max-height: 92dvh;
		padding: 32px 20px calc(24px + env(safe-area-inset-bottom, 0px));
		border-radius: var(--sm-radius) var(--sm-radius) 0 0;
		transform: translateY(100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sm__overlay,
	.sm__dialog {
		transition: none;
	}
	.sm__loader {
		animation-duration: 2s;
	}
}

/* ===== Элементы контента модалок (префикс sm-) ===== */
.sm-title {
	margin: 0 36px 8px 0;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
}

.sm-text {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--sm-muted);
}

.sm-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sm-input {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 20px;
	font: inherit;
	font-size: 16px; /* 16px, чтобы iOS не зумил страницу при фокусе */
	color: var(--sm-text);
	background: #fff;
	border: 1px solid var(--sm-border);
	border-radius: 999px;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.sm-input::placeholder {
	color: #a3a3a3;
}

.sm-input:focus {
	border-color: var(--sm-accent);
	box-shadow: 0 0 0 3px var(--sm-accent-soft);
}

.sm-input.is-error {
	border-color: var(--sm-accent);
}

.sm-error {
	margin: -6px 0 0 20px;
	font-size: 13px;
	color: var(--sm-accent);
}

.sm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 24px;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: var(--sm-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s ease, transform .1s ease;
}

.sm-btn:hover {
	background: var(--sm-accent-dark);
}

.sm-btn:active {
	transform: scale(.98);
}

.sm-btn:disabled {
	opacity: .6;
	cursor: default;
}

.sm-link {
	align-self: center;
	padding: 4px 0;
	font-size: 15px;
	color: var(--sm-accent);
	text-decoration: none;
	background: none;
	border: 0;
	cursor: pointer;
}

.sm-link:hover {
	text-decoration: underline;
}
/* End */


/* Start:/local/templates/.default/components/bitrix/system.auth.form/shop-modal2026/style.css?1796212041818*/
/* Дополнения к стилям SiteModal для формы авторизации.
   Остальное (sm-form, sm-input, sm-btn, sm-link) берётся из modal.css */

.sm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sm-field .sm-error {
    margin: 0 0 0 20px;
}

.sm-alert {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--sm-accent-dark, #b5121a);
    background: var(--sm-accent-soft, #fdeceb);
    border-radius: 16px;
}
.sm-field { display: flex; flex-direction: column; gap: 6px; }
.sm-field .sm-error { margin: 0 0 0 20px; }

.sm-input.is-error {
    border-color: #d71920;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(215, 25, 32, .12);
}
.sm-input.is-error:focus {
    box-shadow: 0 0 0 3px rgba(215, 25, 32, .22);
}
/* End */


/* Start:/local/templates/.default/components/bitrix/search.title/catalog/style.css?17274306582235*/
div.title-search-result {
	border:1px solid #c6c6c6;
	display:none;
	overflow:hidden;
	z-index:205;
}

table.title-search-result {
	border-collapse: collapse;
	border:none;
	width:10%;
}

table.title-search-result th {
	background-color:#F7F7F7;
	border-right:1px solid #e8e8e8;
	color:#949494;
	font-weight:normal;
	padding-top:2px;
	padding-bottom:2px;
	padding-left:14px;
 	padding-right:12px;
	text-align:right;
	vertical-align:top;
	white-space:nowrap;
	width:1%;
}

table.title-search-result td {
	background-color:white;
	font-weight:normal;
	padding-top:2px;
	padding-bottom:2px;
	text-align:left;
	white-space:nowrap;
}

table.title-search-result td.title-search-item {
	padding-left:8px;
	padding-right:15px;
}

table.title-search-result td.title-search-item a {
	padding-left:4px;
	padding-right:15px;
	vertical-align:top;
	display:block;
}

table.title-search-result td.title-search-item img {
	vertical-align:top;
}

table.title-search-result td.title-search-item b {
	color:#cf0000;
	font-weight:normal;
}

table.title-search-result tr.title-search-selected td
,table.title-search-result tr.title-search-selected a
,table.title-search-result tr.title-search-selected td.title-search-more a
{
	background-color:#fff2be;
}

table.title-search-result td.title-search-more {
	font-size:11px;
	font-weight:normal;
	padding-right:15px;
	padding-left:24px;
	padding-top:0px;
}

table.title-search-result td.title-search-more a
{
	padding-left:12px;
	padding-right:15px;
	text-decoration:none;
	color:#999999;
}

table.title-search-result td.title-search-all {
	padding-left:24px;
	padding-right:15px;
}

table.title-search-result td.title-search-all a
{
	padding-left:4px;
	text-decoration:none;
	color:#808080;
}

table.title-search-result td.title-search-separator
, table.title-search-result th.title-search-separator {
	padding-top:0px;
	padding-bottom:0px;
	font-size:4px;
}

div.title-search-fader {
	display:none;
	background-image: url('/local/templates/.default/components/bitrix/search.title/catalog/images/fader.png');
	background-position: right top;
	background-repeat: repeat-y;
	position:absolute;
}

p.title-search-preview {
	font-size:12px;
}
div.title-search-result td.title-search-price span {
	font-size: 26px;
}

.search-product-list {
	height: 270px;
	overflow-y: auto;
}
/* End */
/* /local/js/ui/modal/modal.css?17962098164030 */
/* /local/templates/.default/components/bitrix/system.auth.form/shop-modal2026/style.css?1796212041818 */
/* /local/templates/.default/components/bitrix/search.title/catalog/style.css?17274306582235 */
