/* ИИ-помощник 101shar — стили виджета.
 * Свой вид — только у значка и раскладки окна. Кнопки, крестик, заголовок, поле ввода и карточки наборов
 * оформляет тема сайта (классы WooCommerce), чтобы помощник выглядел как остальной сайт.
 * Все классы с префиксом shp-.
 */
.shp-root {
	--shp-line: #ececec;
	--shp-muted: #6f6f6f;
	--shp-sheet: 90; /* высота окна на телефоне, % экрана */
	--shp-soft: #ececec;   /* светло-серые кнопки и сообщения покупателя */
	--shp-soft-2: #e2e2e2; /* при наведении */
	--shp-frame: #cfcfcf;  /* рамка строки ввода */
	box-sizing: border-box;
}
.shp-root *, .shp-root *::before, .shp-root *::after { box-sizing: border-box; }
.shp-root [hidden] { display: none !important; }

/* ---------- Значок (единственная «своя» кнопка) ---------- */
.shp-floating { position: fixed; z-index: 99990; bottom: calc(var(--shp-db, 20px) + env(safe-area-inset-bottom, 0px)); }
.shp-floating.shp-left { left: calc(var(--shp-ds, 20px) + env(safe-area-inset-left, 0px)); right: auto; }
.shp-floating.shp-right { right: calc(var(--shp-ds, 20px) + env(safe-area-inset-right, 0px)); left: auto; }

/* Тема задаёт кнопкам фон, рамку и углы для наведения и нажатия — у значка их нет ни в одном состоянии. */
.shp-root .shp-fab,
.shp-root .shp-fab:hover,
.shp-root .shp-fab:focus,
.shp-root .shp-fab:active,
.shp-root .shp-fab:focus-visible {
	display: block !important; width: 62px !important; height: 62px !important; min-width: 0 !important; min-height: 0 !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	background: transparent !important; background-image: none !important; box-shadow: none !important;
	color: inherit !important; line-height: 0 !important; text-indent: 0 !important; outline: none;
	cursor: pointer; filter: drop-shadow(0 8px 16px rgba(17, 17, 17, .28)); transition: transform .15s ease;
}
.shp-root .shp-fab:hover { transform: scale(1.06); }
.shp-root .shp-fab:focus-visible { outline: 2px solid #3D8BFF !important; outline-offset: 3px; }
.shp-root .shp-fab::before, .shp-root .shp-fab::after { display: none !important; content: none !important; }
.shp-icon { display: block; width: 100%; height: 100%; }
.shp-icon-img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.shp-ring { transform-box: fill-box; transform-origin: center; animation: shp-spin 7s linear infinite; }
@keyframes shp-spin { to { transform: rotate(360deg); } }
.shp-open .shp-fab { visibility: hidden; }

/* ---------- Подсказка «ИИ-помощник» (с другой стороны от значка) ---------- */
.shp-hint {
	position: absolute; bottom: 50%; transform: translateY(50%);
	display: flex; align-items: center; gap: 8px;
	background: #111; color: #fff; border-radius: 14px; padding: 9px 8px 9px 14px;
	box-shadow: 0 8px 22px rgba(17, 17, 17, .25); white-space: nowrap; font-size: 14px; line-height: 1.35;
	animation: shp-hint-in .25s ease-out;
}
.shp-right .shp-hint { right: 74px; }
.shp-left .shp-hint { left: 74px; }
.shp-hint::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.shp-right .shp-hint::after { right: -6px; border-left-color: #111; border-right: 0; }
.shp-left .shp-hint::after { left: -6px; border-right-color: #111; border-left: 0; }
.shp-hint-text { cursor: pointer; display: flex; flex-direction: column; }
.shp-hint-text b { font-size: 14px; font-weight: 700; }
.shp-hint-text b::before {
	content: "✦ "; background: linear-gradient(120deg, #9D86FF, #5EA2FF 55%, #FF7FB5);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.shp-hint-text span { font-size: 12.5px; color: #CFCBDC; }
.shp-root .shp-hint-x { font: inherit; font-size: 18px; line-height: 1; color: #9A97A8 !important; background: none !important; border: 0 !important; box-shadow: none !important; cursor: pointer; width: 28px; height: 28px; padding: 0 !important; min-height: 0 !important; }
@keyframes shp-hint-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Окно ---------- */
.shp-panel { background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.shp-panel--inline { min-height: 520px; height: 70vh; max-height: 820px; border: 1px solid var(--shp-line); }

/* Компьютер и планшет: отдельное окно по центру поверх затемнённого сайта. */
.shp-backdrop { position: fixed; inset: 0; background: rgba(17, 17, 17, .45); animation: shp-fade .18s ease-out; }
.shp-floating .shp-panel {
	position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: min(1000px, calc(100vw - 48px)); max-height: calc(100vh - 48px); min-height: min(440px, calc(100vh - 48px));
	box-shadow: 0 24px 64px rgba(17, 17, 17, .3);
	animation: shp-pop .2s ease-out;
}
@keyframes shp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes shp-pop { from { opacity: 0; transform: translate(-50%, -48%) scale(.98); } to { opacity: 1; transform: translate(-50%, -50%); } }
html.shp-lock, html.shp-lock body { overflow: hidden; }

/* Шапка — как у мини-корзины темы: заголовок шрифтом темы заглавными, тонкий крестик, тонкая линия. */
.shp-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px 24px 16px; border-bottom: 1px solid var(--shp-line); }
.shp-handle { display: none; }
.shp-root .shp-title { margin: 0 !important; padding: 0; font-size: 22px; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; flex: 1; min-width: 0; }
.shp-test { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #8A5A00; background: #FFE9A8; border-radius: 4px; padding: 2px 6px; }
.shp-tools { display: flex; align-items: center; gap: 10px; }
.shp-root .shp-link { font: inherit; font-size: 13px; color: inherit; opacity: .7; background: none !important; border: 0 !important; box-shadow: none !important; padding: 4px !important; min-height: 0 !important; cursor: pointer; text-decoration: underline; }
.shp-root .shp-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0 !important; min-height: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; color: inherit !important; cursor: pointer; }
.shp-root .shp-close:hover { opacity: .6; }

.shp-log { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.shp-msg { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.shp-user { align-items: flex-end; }
.shp-bubble { max-width: min(90%, 68ch); padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.shp-bot .shp-bubble { background: #f5f5f5; border-bottom-left-radius: 4px; align-self: flex-start; }
.shp-user .shp-bubble { background: var(--shp-soft); color: #111; border-bottom-right-radius: 4px; }
.shp-bubble a { color: inherit; text-decoration: underline; }
.shp-error { outline: 1px solid #d03b3b; }
.shp-root .shp-tg { align-self: flex-start; }

/* Светло-серые кнопки помощника: ответы «Для мальчика / Для девочки», «Постарше», «Смотреть на сайте». */
.shp-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.shp-log > .shp-quick .shp-qbtn { white-space: normal; height: auto !important; min-height: 38px !important; padding: 8px 14px !important; text-align: left; }
.shp-root .shp-qbtn, .shp-root .shp-qbtn:hover, .shp-root .shp-qbtn:focus, .shp-root .shp-qbtn:active,
.shp-root .shp-site-btn, .shp-root .shp-site-btn:hover, .shp-root .shp-site-btn:focus, .shp-root .shp-site-btn:active {
	display: inline-flex !important; align-items: center; justify-content: center; min-height: 0 !important; height: 38px !important;
	margin: 0 !important; padding: 0 16px !important; border: 1px solid #dcdcdc !important; border-radius: 6px !important;
	background: var(--shp-soft) !important; background-image: none !important; color: #111 !important; box-shadow: none !important;
	font: inherit; font-size: 14px !important; font-weight: 500 !important; line-height: 1 !important; letter-spacing: 0 !important;
	text-transform: none !important; text-decoration: none !important; white-space: nowrap; cursor: pointer; width: auto !important;
}
.shp-root .shp-qbtn:hover, .shp-root .shp-site-btn:hover { background: var(--shp-soft-2) !important; }
.shp-root .shp-more:disabled { opacity: .6; cursor: default; }
.shp-age-row { justify-content: center; }
.shp-root .shp-site-btn, .shp-root .shp-site-btn:hover, .shp-root .shp-site-btn:focus, .shp-root .shp-site-btn:active { align-self: center; height: 44px !important; padding: 0 22px !important; font-weight: 600 !important; margin-top: 6px !important; }

.shp-dots { display: inline-flex; gap: 5px; padding: 14px; }
.shp-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--shp-muted); animation: shp-b 1s infinite ease-in-out; }
.shp-dots span:nth-child(2) { animation-delay: .15s; }
.shp-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes shp-b { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }


/* ---------- Карточки наборов: разметка каталога темы, раскладка помощника ---------- */
.shp-cards-wrap { min-width: 0; }
.shp-cards-wrap ul.products {
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 28px 20px !important;
	margin: 6px 0 0 !important; padding: 0 !important; list-style: none !important; width: auto !important;
}
.shp-cards-wrap ul.products::before, .shp-cards-wrap ul.products::after { display: none !important; content: none !important; }
.shp-cards-wrap ul.products li.product {
	width: auto !important; max-width: none !important; margin: 0 !important; float: none !important; clear: none !important;
	flex: none !important; grid-column: auto !important;
}
.shp-cards-wrap img { max-width: 100%; height: auto; }
/* Запасная карточка (если шаблон темы недоступен) — в духе каталога сайта. */
.shp-fallback li.product { text-align: center; }
.shp-fallback a { color: inherit; text-decoration: none; display: block; }
.shp-fallback img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; margin: 0 0 12px; }
.shp-fallback .woocommerce-loop-product__title { font-size: 14px; text-transform: uppercase; font-weight: 400; margin: 0 0 6px; line-height: 1.35; }
.shp-fallback .price { font-weight: 600; }

/* ---------- Строка ввода: одна рамка, внутри поле в одну строку и кнопка ---------- */
.shp-form { display: flex; flex-direction: column; gap: 8px; padding: 12px 24px 16px; border-top: 1px solid var(--shp-line); margin: 0; }
.shp-box { display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 5px 0 14px; border: 1px solid var(--shp-frame); border-radius: 8px; background: #fff; }
.shp-box:focus-within { border-color: #8c8c8c; }
.shp-root input.shp-input, .shp-root input.shp-input:focus {
	flex: 1; min-width: 0; width: auto !important; height: 44px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
	border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important;
	font: inherit; font-size: 15px !important; line-height: 44px !important; color: inherit;
}
.shp-root input.shp-input::placeholder { color: #999; opacity: 1; }
.shp-root .shp-send, .shp-root .shp-send:hover, .shp-root .shp-send:focus, .shp-root .shp-send:active {
	flex: none; display: inline-flex !important; align-items: center; justify-content: center; width: auto !important;
	height: 34px !important; min-height: 0 !important; margin: 0 !important; padding: 0 12px !important;
	border: 1px solid #dcdcdc !important; border-radius: 6px !important; background: var(--shp-soft) !important; background-image: none !important;
	color: #111 !important; box-shadow: none !important; font: inherit; font-size: 11.5px !important; font-weight: 700 !important;
	line-height: 1 !important; letter-spacing: .05em !important; text-transform: uppercase !important; white-space: nowrap; cursor: pointer;
}
.shp-root .shp-send:hover { background: var(--shp-soft-2) !important; }
.shp-root .shp-send--arrow, .shp-root .shp-send--arrow:hover, .shp-root .shp-send--arrow:focus { width: 34px !important; padding: 0 !important; }
.shp-root .shp-send:disabled { opacity: .5; cursor: default; }

/* Подсказки слов над строкой ввода — одна строка. */
.shp-suggest { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.shp-suggest::-webkit-scrollbar { display: none; }
.shp-root .shp-sug, .shp-root .shp-sug:hover, .shp-root .shp-sug:focus {
	flex: none; height: 30px !important; min-height: 0 !important; margin: 0 !important; padding: 0 12px !important;
	border: 1px solid #dcdcdc !important; border-radius: 6px !important; background: #f6f6f6 !important; background-image: none !important;
	color: #111 !important; box-shadow: none !important; font: inherit; font-size: 14px !important; font-weight: 400 !important;
	line-height: 1 !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; width: auto !important;
}
.shp-root .shp-sug:hover { background: var(--shp-soft) !important; }

/* ---------- Телефон: окно выезжает снизу ---------- */
@media (max-width: 520px) {
	.shp-floating { bottom: calc(var(--shp-mb, 16px) + env(safe-area-inset-bottom, 0px)); }
	.shp-floating.shp-left { left: calc(var(--shp-ms, 14px) + env(safe-area-inset-left, 0px)); }
	.shp-floating.shp-right { right: calc(var(--shp-ms, 14px) + env(safe-area-inset-right, 0px)); }
	.shp-root .shp-fab, .shp-root .shp-fab:hover, .shp-root .shp-fab:focus, .shp-root .shp-fab:active { width: 58px !important; height: 58px !important; }
	.shp-right .shp-hint { right: 68px; }
	.shp-left .shp-hint { left: 68px; }
	.shp-hint { max-width: calc(100vw - 100px); }

	.shp-floating .shp-panel {
		left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%;
		height: calc(var(--shp-sheet) * 1vh); height: calc(var(--shp-sheet) * 1dvh);
		max-height: none; min-height: 0;
		border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(17, 17, 17, .2);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		animation: shp-up .25s ease-out; transition: transform .2s ease;
	}
	.shp-floating .shp-panel.shp-dragging { transition: none; }
	@keyframes shp-up { from { transform: translateY(100%); } to { transform: none; } }
	.shp-floating .shp-head { padding: 24px 16px 12px 18px; touch-action: none; }
	.shp-floating .shp-handle { display: block; position: absolute; top: 8px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 3px; background: #d4d4d4; }
	.shp-root .shp-title { font-size: 18px; }
	.shp-log { padding: 14px 14px; }
	.shp-form { padding: 10px 12px 12px; }
	.shp-cards-wrap ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 12px !important; }
	.shp-root input.shp-input, .shp-root input.shp-input:focus { font-size: 16px !important; } /* iOS не увеличивает страницу при фокусе */
	/* Safari 26 на iPhone: плавающая панель браузера закрывает низ окна — поднимаем строку ввода над ней. */
	.shp-ios26.shp-floating .shp-panel { padding-bottom: max(76px, calc(env(safe-area-inset-bottom, 0px) + 42px)); }
	.shp-ios26.shp-floating.shp-kb .shp-panel { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.shp-dots span, .shp-floating .shp-panel, .shp-backdrop, .shp-ring, .shp-hint { animation: none; }
}

/* Карточки без кнопок: тема могла добавить свою кнопку другим способом. */
.shp-root .shp-cards-wrap li.product .add_to_cart_button,
.shp-root .shp-cards-wrap li.product a.button,
.shp-root .shp-cards-wrap li.product .added_to_cart { display: none !important; }
/* 1.12: independent interface, no theme product controls */
.shp-root{font-family:inherit;color:#171717;--shp-soft:#f2f2f2}
.shp-body{display:flex;flex:1;min-height:0;overflow:hidden}.shp-body .shp-log{flex:1}.shp-results{flex:1;min-width:0;overflow:auto;padding:20px;overscroll-behavior:contain;border-left:1px solid #eee}
.shp-floating .shp-panel{border-radius:24px;height:min(820px,85vh);width:min(1400px,94vw)}
.shp-root .shp-title{text-transform:none!important;font-size:21px;font-weight:600;letter-spacing:0}
.shp-root .shp-qbtn,.shp-root .shp-qbtn:hover,.shp-root .shp-qbtn:focus{border-radius:999px!important;background:#fff!important;border:1px solid #ddd!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important}
.shp-root .shp-qbtn:hover{background:#f2f2f2!important}.shp-bubble{border-radius:18px!important}.shp-bot .shp-bubble{background:#f7f7f7}
.shp-root .shp-send,.shp-root .shp-send:hover,.shp-root .shp-send:focus{border-radius:50%!important;background:#171717!important;color:white!important;border:0!important}.shp-box{border-radius:999px}
.shp-root .shp-fallback .woocommerce-loop-product__title{text-transform:none!important;font-size:14px!important;text-align:left;line-height:1.4}.shp-fallback li.product{text-align:left}.shp-fallback img{height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:10px}.shp-fallback .price{font-weight:650;color:#171717}
.shp-root .shp-fab-label{position:absolute;bottom:0;left:72px;background:#fff!important;border:1px solid #eee!important;color:#171717!important;border-radius:15px!important;box-shadow:0 4px 18px #0002!important;padding:9px 13px!important;white-space:nowrap;text-align:left;line-height:1.3;text-transform:none!important;font:inherit;display:flex;flex-direction:column}.shp-right .shp-fab-label{left:auto;right:72px}.shp-fab-label b{font-size:14px}.shp-fab-label span{font-size:12px;color:#777}.shp-open .shp-fab-label{visibility:hidden}
.shp-root .shp-fab{filter:none!important}.shp-icon-img{object-fit:contain}.shp-thinking-balloon{width:55px;height:70px;object-fit:contain;animation:shp-float 1.8s ease-in-out infinite}.shp-dots:has(.shp-thinking-balloon){background:transparent!important;padding:0}.shp-intro{position:fixed;inset:0;display:grid;place-items:center;z-index:2;pointer-events:none}.shp-intro img{width:min(260px,50vw);max-height:55vh;object-fit:contain;mix-blend-mode:normal;animation:shp-flight 1.5s ease-in-out forwards;border-radius:40%}.shp-floating .shp-panel.shp-intro-panel{animation:shp-reveal 1.5s ease-in-out both}
@keyframes shp-float{50%{transform:translateY(-5px) rotate(4deg)}}@keyframes shp-flight{0%,18%{transform:translateY(0)}100%{transform:translateY(-110vh)}}@keyframes shp-reveal{0%,20%{opacity:0;translate:0 100vh}100%{opacity:1;translate:0 0}}
@media(min-width:521px){.shp-split .shp-log{flex:0 0 30%;max-width:360px}.shp-panel:not(.shp-split) .shp-log{max-width:720px;width:100%;margin:auto}.shp-panel:not(.shp-split) .shp-form{width:min(100%,720px);align-self:center}.shp-results .shp-cards-wrap ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px 12px!important}}
@media(min-width:521px) and (max-width:950px){.shp-results .shp-cards-wrap ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.shp-floating .shp-panel{height:calc(var(--shp-sheet)*1dvh);width:100%;border-radius:20px 20px 0 0}.shp-results{display:none}.shp-root .shp-fab-label{left:64px}.shp-right .shp-fab-label{right:64px;left:auto}}
@media(prefers-reduced-motion:reduce){.shp-intro,.shp-thinking-balloon,.shp-intro-panel{animation:none!important}.shp-intro{display:none}}
/* Welcome screen and launcher assets */
.shp-welcome-art{display:flex;flex:0 0 39%;align-items:center;justify-content:center;background:linear-gradient(90deg,#f7dce4 0%,#fae9ee 64%,#fff 100%);min-width:0}.shp-welcome-art img{width:min(70%,300px);max-height:85%;object-fit:contain}.shp-welcome .shp-log{margin:0!important;max-width:none!important;justify-content:center;padding:32px}.shp-welcome .shp-bubble{background:transparent!important;font-size:clamp(22px,2vw,34px);padding:0;font-weight:600;line-height:1.3}.shp-welcome .shp-form{width:100%!important}.shp-quick-label{color:#666;font-size:13px}.shp-root .shp-fab{height:80px!important;width:60px!important}.shp-root .shp-fab-label{bottom:14px}.shp-icon-img{border-radius:0!important;object-fit:contain!important}.shp-intro img{border-radius:0;width:min(300px,56vw);max-height:70vh;transform-origin:center}.shp-intro{z-index:3}.shp-invite-only .shp-fab,.shp-invite-only .shp-fab-label{display:none!important}.shp-invite{margin:12px 0 24px}.shp-root.shp-invite button{display:flex;flex-direction:column;gap:4px;align-items:flex-start;justify-content:center;width:100%;padding:18px 20px;border:1px solid #ddd;border-radius:12px;color:#171717;background:#f8f8f8;font:inherit;text-transform:none;letter-spacing:0;cursor:pointer}.shp-invite button span{font-size:13px;color:#555}
@media(max-width:520px){.shp-root .shp-fab{width:54px!important;height:73px!important}.shp-root .shp-fab-label{bottom:10px}.shp-root .shp-title{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shp-tools{gap:5px}.shp-root .shp-link{font-size:11px}.shp-welcome-art{display:none!important}.shp-root .shp-fab-label{max-width:calc(100vw - 90px);white-space:normal}}

.shp-root [hidden]{display:none!important}

/* 1.12.1 — independent cards, header and conversation palette. */
.shp-root,.shp-root .shp-panel,.shp-root .shp-panel button,.shp-root .shp-panel input{font-family:Arial,Helvetica,sans-serif!important}
.shp-root .shp-head{flex:none;min-width:0;gap:12px}
.shp-root .shp-title{display:flex;align-items:center;gap:12px;min-width:0;font:600 19px/1.25 Arial,Helvetica,sans-serif!important;white-space:normal!important;overflow:visible!important}
.shp-root .shp-header-logo{display:block!important;width:auto!important;height:44px!important;max-width:100px!important;max-height:44px!important;object-fit:contain!important;flex:none;margin:0!important;transform:none!important}
.shp-root .shp-header-title{font:600 19px/1.25 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;color:#171717!important;min-width:0}
.shp-root .shp-tools{flex:none}.shp-root .shp-bot .shp-bubble:not(.shp-dots){background:var(--shp-bot-bg,#f3f3f3)!important;color:var(--shp-bot-fg,#171717)!important}
.shp-root .shp-user .shp-bubble{background:var(--shp-user-bg,#252525)!important;color:var(--shp-user-fg,#fff)!important}
.shp-root .shp-welcome .shp-bot .shp-bubble{background:transparent!important;color:#171717!important}
.shp-root .shp-body{align-items:stretch;min-height:0}.shp-root .shp-log{justify-content:flex-start;min-width:0}.shp-root .shp-welcome .shp-log{justify-content:center}.shp-root .shp-msg{flex:none}
.shp-root .shp-results{display:block;min-height:0;min-width:0;align-self:stretch;padding:20px!important;overflow-y:auto;overflow-x:hidden;text-align:left;}
.shp-root .shp-results[hidden]{display:none!important}
.shp-root .shp-cards-wrap,.shp-root .shp-site-cards{display:block!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
.shp-root .shp-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 14px!important;align-items:start!important;align-content:start!important;justify-items:stretch!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
.shp-root .shp-card{display:block!important;position:relative!important;width:100%!important;height:auto!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;float:none!important}
.shp-root .shp-card-link{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:7px!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;color:#171717!important;text-decoration:none!important;border:0!important;box-shadow:none!important;transform:none!important}
.shp-root .shp-card-photo{display:block!important;position:static!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;border-radius:8px!important;margin:0!important;padding:0!important;opacity:1!important;transform:none!important}
.shp-root .shp-card-name{display:block!important;margin:0!important;font:400 14px/1.35 Arial,Helvetica,sans-serif!important;text-transform:none!important;overflow-wrap:anywhere;color:#171717!important}
.shp-root .shp-card-price{display:block!important;margin:0!important;font:600 16px/1.35 Arial,Helvetica,sans-serif!important;color:#171717!important}
.shp-root .shp-card-link:focus-visible{outline:2px solid #333;outline-offset:3px}
.shp-root .shp-card-link:hover .shp-card-name{text-decoration:underline}
.shp-root .shp-fab,.shp-root .shp-fab:hover,.shp-root .shp-fab:focus,.shp-root .shp-fab:active,.shp-root .shp-fab:focus-visible{width:60px!important;height:80px!important;min-width:60px!important;min-height:80px!important;max-width:60px!important;max-height:80px!important;transform:none!important;scale:1!important;transition:none!important}
.shp-root .shp-fab .shp-icon-img,.shp-root .shp-fab:hover .shp-icon-img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;transform:none!important;scale:1!important;transition:none!important}
.shp-root .shp-fab-label.shp-return-label{height:50px!important;min-height:50px!important;justify-content:center!important;padding:0 16px!important;bottom:10px!important;transform:none!important;cursor:pointer}
.shp-root .shp-return-label b{font:600 var(--shp-return-d,16px)/1.25 Arial,Helvetica,sans-serif!important}
@media(min-width:521px){.shp-root .shp-panel.shp-split .shp-log{flex:0 0 30%;max-width:360px;margin:0}.shp-root .shp-panel.shp-split .shp-results{flex:1 1 0}}
@media(min-width:521px) and (max-width:950px){.shp-root .shp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.shp-root .shp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px!important}.shp-root .shp-results{display:none!important}.shp-root .shp-header-logo{height:30px!important;max-height:30px!important;max-width:64px!important}.shp-root .shp-title{gap:7px}.shp-root .shp-header-title{font-size:15px!important}.shp-root .shp-head{gap:5px}.shp-root .shp-fab,.shp-root .shp-fab:hover,.shp-root .shp-fab:focus,.shp-root .shp-fab:active,.shp-root .shp-fab:focus-visible{width:54px!important;height:73px!important;min-width:54px!important;min-height:73px!important;max-width:54px!important;max-height:73px!important}.shp-root .shp-return-label b{font-size:var(--shp-return-m,14px)!important}.shp-root .shp-fab-label.shp-return-label{height:auto!important;min-height:0!important;padding:9px 13px!important}}

/* 1.12.2 */
.shp-root .shp-card-photo{width:100%!important;height:auto!important;aspect-ratio:3/4!important;object-fit:cover!important;object-position:center!important}
.shp-root .shp-card-name{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;height:2.7em!important;min-height:2.7em!important}
.shp-root .shp-title{gap:16px!important}.shp-root .shp-header-logo+.shp-header-title{border-left:1px solid #ddd;padding-left:16px}
.shp-root .shp-header-title{font:400 16px/1.25 "Golos Text",Arial,sans-serif!important;color:#333!important}
.shp-root .shp-fab:focus{outline:none!important;box-shadow:none!important}.shp-root .shp-fab:focus-visible{outline:2px solid #777!important;outline-offset:3px!important}
@media(max-width:520px){.shp-root .shp-header-title{font-size:14px!important}}

/* 1.12.6 — отдельная подборка и автоматическая подгрузка. */
.shp-root .shp-similar{display:block!important;box-sizing:border-box!important;margin:32px 0 0!important;padding:16px 0 0!important;border-top:1px solid #e6e6e6!important;width:100%!important;}
.shp-root .shp-similar .shp-similar-title{font:600 24px/1.3 Arial,Helvetica,sans-serif!important;color:inherit!important;margin:0 0 20px!important;padding:0!important;}
@media(max-width:520px){.shp-root .shp-similar .shp-similar-title{font-size:20px!important}}
.shp-root .shp-more{min-height:12px;text-align:center;font-size:13px;color:inherit;padding:5px 0;}
.shp-root .shp-more-error{cursor:pointer;text-decoration:underline;}

/* 1.12.8 — scoped similar heading; inline server fallback covers stale CSS. */
.shp-root .shp-cards-wrap > .shp-similar{display:block!important;box-sizing:border-box!important;width:100%!important;margin:32px 0 0!important;padding:16px 0 0!important;border-top:1px solid #e6e6e6!important;}
.shp-root .shp-cards-wrap > .shp-similar > .shp-similar-title{display:block!important;font:600 clamp(20px,2vw,24px)/1.3 Arial,Helvetica,sans-serif!important;color:#171717!important;margin:0 0 20px!important;padding:0!important;text-transform:none!important;letter-spacing:normal!important;}
