/* —— Корзина —— */
.basket-page {
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: var(--site-fg, #000b5a);
	max-width: 720px;
	margin: 0 auto;
	padding: 4px 8px 32px;
	box-sizing: border-box;
}
.basket-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
	padding: 0 2px;
	font-size: 12.5px;
	font-weight: 550;
	opacity: 0.65;
}
.basket-crumbs a {
	color: inherit;
	text-decoration: none;
}
.basket-crumbs a:hover { text-decoration: underline; opacity: 1; }
.basket-crumbs__sep { opacity: 0.55; }
.basket-crumbs__cur { opacity: 0.9; }
.basket-page__title {
	margin: 0 0 6px;
	padding: 0 2px;
	font-size: clamp(1.55rem, 3.2vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}
.basket-head {
	margin: 0 0 10px;
	padding: 0 2px;
}
.basket-head__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
}
.basket-head__summary {
	margin: 0;
	font-size: 13.5px;
	font-weight: 550;
	opacity: 0.62;
	line-height: 1.35;
}
.basket-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid transparent;
	font: inherit;
	font-size: 13.5px;
	font-weight: 650;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.basket-btn--primary {
	background: rgba(13, 148, 136, 0.9);
	border-color: rgba(13, 148, 136, 0.9);
	color: #fff;
}
.basket-btn--primary:hover { background: rgba(13, 148, 136, 1); }
.basket-btn--ghost {
	background: transparent;
	border-color: rgba(15, 23, 42, 0.14);
}
.basket-btn--ghost:hover { background: rgba(15, 23, 42, 0.05); }
.basket-btn--clear {
	padding: 6px 10px;
	font-size: 12.5px;
	opacity: 0.85;
}

.basket-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(15, 23, 42, 0.1);
}
.basket-card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px 14px;
	padding: 16px 2px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.1);
	box-sizing: border-box;
}
.basket-card__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(15, 23, 42, 0.04);
	text-decoration: none;
}
.basket-card__thumb img {
	max-width: 72px;
	max-height: 72px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.basket-card__img-ph {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: rgba(15, 23, 42, 0.08);
}
.basket-card__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.basket-card__title {
	color: inherit;
	text-decoration: none;
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1.3;
}
.basket-card__title:hover { text-decoration: underline; color: #0d9488; }
.basket-card__art {
	font-size: 12.5px;
	font-weight: 550;
	opacity: 0.55;
	line-height: 1.25;
}
.basket-badge {
	display: inline-flex;
	align-items: center;
	margin-top: 2px;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.2;
}
.basket-badge--ok {
	background: #dcfce7;
	color: #166534;
}
.basket-badge--partial {
	background: #e0f2fe;
	color: #075985;
}
.basket-badge--no {
	background: #fef3c7;
	color: #92400e;
}
.basket-card__actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin-top: 8px;
}
.basket-card__stepper {
	flex: 0 0 auto;
	min-width: 100px;
}
.basket-card__stepper--last {
	box-shadow: inset 0 0 0 1px rgba(45, 140, 160, 0.35);
}
.basket-card__stepper--over {
	box-shadow: inset 0 0 0 1px rgba(180, 140, 40, 0.4);
	background: #f8ecc0;
}
.basket-card__pricewrap {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	margin-left: auto;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.basket-card__sum {
	font-size: 15.5px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.basket-card__currency {
	font-size: 13px;
	font-weight: 650;
	opacity: 0.7;
}
.basket-card__remove {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	opacity: 0.4;
	-webkit-appearance: none;
	appearance: none;
}
.basket-card__remove:hover,
.basket-card__remove:focus-visible {
	opacity: 0.9;
	background: rgba(15, 23, 42, 0.06);
	outline: none;
}
.basket-card__meta-extra {
	display: none;
}
.basket-qty {
	/* inside qty-stepper */
	border: 0 !important;
	background: transparent !important;
}
.basket-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 14px 0 4px;
	padding: 12px 2px 4px;
	border-top: 1px solid rgba(15, 23, 42, 0.1);
}
.basket-footer__lab {
	font-size: 15px;
	font-weight: 800;
}
.basket-footer__vals {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 16px;
	margin-left: auto;
	font-variant-numeric: tabular-nums;
}
.basket-footer__qty {
	font-size: 13.5px;
	font-weight: 650;
	opacity: 0.7;
}
.basket-footer__sum {
	font-size: 16px;
	font-weight: 800;
}
.basket-footer__extra {
	flex: 1 1 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 12.5px;
	opacity: 0.65;
	font-weight: 600;
}

.basket-panel {
	margin-top: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: var(--site-header-bg, #e1d6d8);
	box-sizing: border-box;
}
.basket-checkout__title {
	margin: 0 0 12px;
	font-size: 1.1rem;
	font-weight: 750;
	letter-spacing: -0.015em;
}
.basket-checkout__block { margin-bottom: 14px; }
.basket-checkout__block:last-child { margin-bottom: 0; }
.basket-checkout__q {
	margin: 0 0 6px;
	font-weight: 700;
}
.basket-checkout__a,
.basket-checkout__hint {
	margin: 0 0 8px;
	opacity: 0.85;
}
.basket-legend {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.basket-legend li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.35;
}
.basket-swatch {
	flex: 0 0 28px;
	height: 16px;
	margin-top: 2px;
	border-radius: 4px;
	border: 1px solid rgba(15, 23, 42, 0.12);
}
.basket-swatch--last { background: #82cada; }
.basket-swatch--over { background: #f2d675; }
.basket-checkout__hint--tight { margin-bottom: 10px; }
.basket-seg {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
.basket-seg__opt {
	display: block;
	position: relative;
	margin: 0;
	cursor: pointer;
}
.basket-seg__opt input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.basket-seg__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	min-height: 64px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.14);
	background: rgba(255, 255, 255, 0.45);
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.basket-seg__title {
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
}
.basket-seg__hint {
	font-size: 12px;
	opacity: 0.65;
	font-weight: 500;
}
.basket-seg__opt input:focus-visible + .basket-seg__card {
	outline: 2px solid rgba(13, 148, 136, 0.55);
	outline-offset: 2px;
}
.basket-seg__opt input:checked + .basket-seg__card {
	border-color: rgba(13, 148, 136, 0.65);
	background: rgba(13, 148, 136, 0.12);
	box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.28);
}
.basket-seg__opt:hover .basket-seg__card {
	border-color: rgba(13, 148, 136, 0.4);
}

.basket-guide {
	margin: 12px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(15, 23, 42, 0.03);
}
.basket-guide__title {
	font-weight: 700;
	margin-bottom: 8px;
	font-size: 13.5px;
}
.basket-steps {
	margin: 0;
	padding-left: 1.2em;
	font-size: 13px;
	line-height: 1.45;
}
.basket-steps li { margin: 0 0 6px; }
.basket-steps a { color: #0d9488; font-weight: 650; }
.basket-guide__note {
	margin: 10px 0 0;
	font-size: 13px;
	opacity: 0.85;
}

.basket-pay-block { margin-top: 14px; }
.basket-pay-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.basket-pay {
	display: block;
	position: relative;
	margin: 0;
	cursor: pointer;
}
.basket-pay input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.basket-pay__card {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: rgba(255, 255, 255, 0.4);
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.basket-pay__title { font-weight: 700; font-size: 13.5px; }
.basket-pay__hint { font-size: 12.5px; opacity: 0.7; line-height: 1.35; }
.basket-pay input:checked + .basket-pay__card {
	border-color: rgba(13, 148, 136, 0.65);
	background: rgba(13, 148, 136, 0.12);
	box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.28);
}
.basket-pay:hover .basket-pay__card { border-color: rgba(13, 148, 136, 0.4); }
.basket-pay input:focus-visible + .basket-pay__card {
	outline: 2px solid rgba(13, 148, 136, 0.55);
	outline-offset: 2px;
}

.basket-form {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.basket-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 0 12px;
}
.basket-field__lab {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	opacity: 0.7;
}
.basket-field__hint {
	font-size: 12px;
	opacity: 0.6;
	line-height: 1.3;
}
.basket-field__input {
	width: 100%;
	max-width: 280px;
	padding: 10px 12px;
	border: 1px solid rgba(15, 23, 42, 0.18);
	border-radius: 10px;
	font: inherit;
	font-size: 15px;
	font-weight: 650;
	text-align: left;
	background: rgba(255, 255, 255, 0.85);
	color: inherit;
	box-sizing: border-box;
}
.basket-field__input:focus {
	outline: none;
	border-color: rgba(13, 148, 136, 0.55);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.basket-btn--send { margin-top: 4px; min-width: 160px; }
.basket-contacts-form { margin-top: 4px; }

@media (max-width: 520px) {
	.basket-seg {
		grid-template-columns: 1fr;
	}
	.basket-seg__card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		min-height: 48px;
		gap: 8px;
	}
	.basket-seg__hint { text-align: right; }
}

.basket-delivery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 8px;
}
.basket-radio {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-weight: 550;
}
.basket-radio input { margin: 0; accent-color: #0d9488; }
.basket-stage2 { margin-top: 12px; }

.basket-panel .basket-meta,
.basket-sent .basket-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.basket-meta__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	padding: 6px 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.basket-meta__row span { opacity: 0.65; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.basket-meta__row strong { font-weight: 650; text-align: right; }
.basket-contacts {
	padding-top: 4px;
	font-size: 13.5px;
	line-height: 1.5;
}
.basket-contacts__lab {
	font-size: 12px;
	font-weight: 650;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	opacity: 0.65;
	margin-bottom: 4px;
}

.basket-empty {
	text-align: center;
	padding: 36px 16px;
	border-radius: 14px;
	border: 1px dashed rgba(15, 23, 42, 0.18);
	background: var(--site-header-bg, #e1d6d8);
}
.basket-empty__ico { font-size: 2rem; margin-bottom: 8px; opacity: 0.7; }
.basket-empty__title {
	margin: 0 0 6px;
	font-size: 1.15rem;
	font-weight: 750;
}
.basket-empty__text {
	margin: 0 0 16px;
	opacity: 0.7;
	font-size: 13.5px;
}

html.theme-preset-new2026 .basket-crumbs,
html.theme-preset-new2026 .basket-head__summary {
	color: #e0f2f1;
	opacity: 0.72;
}
html.theme-preset-new2026 .basket-page__title,
html.theme-preset-new2026 .basket-card__title,
html.theme-preset-new2026 .basket-footer__lab,
html.theme-preset-new2026 .basket-footer__sum,
html.theme-preset-new2026 .basket-card__sum {
	color: #e0f2f1;
}
html.theme-preset-new2026 .basket-list,
html.theme-preset-new2026 .basket-card,
html.theme-preset-new2026 .basket-footer {
	border-color: rgba(255, 255, 255, 0.12);
}
html.theme-preset-new2026 .basket-card__thumb {
	background: rgba(255, 255, 255, 0.06);
}
html.theme-preset-new2026 .basket-card__title:hover { color: #7ee8d4; }
html.theme-preset-new2026 .basket-card__remove:hover,
html.theme-preset-new2026 .basket-card__remove:focus-visible {
	background: rgba(255, 255, 255, 0.08);
}
html.theme-preset-new2026 .basket-panel,
html.theme-preset-new2026 .basket-empty {
	background: var(--site-header-bg, rgba(0, 0, 0, 0.28));
	border-color: rgba(255, 255, 255, 0.12);
	color: var(--site-header-fg, #e0f2f1);
}
html.theme-preset-new2026 .basket-btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
	color: #e0f2f1;
}
html.theme-preset-new2026 .basket-seg__card,
html.theme-preset-new2026 .basket-pay__card,
html.theme-preset-new2026 .basket-guide {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
}
html.theme-preset-new2026 .basket-seg__opt input:checked + .basket-seg__card,
html.theme-preset-new2026 .basket-pay input:checked + .basket-pay__card {
	background: rgba(13, 148, 136, 0.22);
	border-color: rgba(126, 232, 212, 0.45);
}
html.theme-preset-new2026 .basket-field__input {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	color: #e0f2f1;
}
html.theme-preset-new2026 .basket-steps a { color: #7ee8d4; }

.section-title {
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 8px 0 12px;
	padding: 0 4px;
}

.site-content {
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.search-results {
	margin: 4px 0 18px;
	padding: 0;
}
.search-results__head {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--site-panel, rgba(255, 255, 255, 0.55));
	border: 1px solid rgba(15, 23, 42, 0.1);
	box-sizing: border-box;
}
.search-results__title {
	margin: 0 0 4px;
	padding: 0;
	font-size: 1.2rem;
	font-weight: 750;
	line-height: 1.25;
	color: var(--site-fg, #000b5a);
	text-indent: 0;
	text-align: left;
}
.search-results__query,
.search-results__meta {
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
	line-height: 1.4;
	text-indent: 0;
	text-align: left;
	opacity: 0.92;
}
.search-results__meta { margin-top: 4px; }
.search-results__term {
	font-weight: 750;
	color: #0f766e;
}
.search-results__sort {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-top: 8px;
}
.search-results__empty {
	margin: 0;
	padding: 10px 12px;
	font-size: 0.95rem;
	line-height: 1.45;
	text-indent: 0;
	text-align: left;
	border-radius: 12px;
	background: var(--site-panel, rgba(255, 255, 255, 0.45));
	border: 1px solid rgba(15, 23, 42, 0.1);
}
html.theme-preset-new2026 .search-results__head,
html.theme-preset-new2026 .search-results__empty {
	background: rgba(0, 0, 0, 0.28);
	border-color: rgba(255, 255, 255, 0.12);
	color: #e0f2f1;
}
html.theme-preset-new2026 .search-results__title { color: #e0f2f1; }
html.theme-preset-new2026 .search-results__term { color: #7ee8d4; }

@media (max-width: 1100px) {
	.nav { padding: 6px 2px 10px; font-size: 12.5px; }
	.product-title { padding: 2px 2px 4px; }
	.site-content { margin: 8px; }
	.search-results__head { padding: 8px 10px; margin-bottom: 8px; }
	.search-results__title {
		margin: 0 0 2px;
		font-size: 1.05rem;
	}
	.search-results__query,
	.search-results__meta,
	.search-results__empty {
		font-size: 13px;
	}
	.search-results__sort { margin-top: 6px; gap: 5px; }
	.product-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding: 4px 0 12px;
		justify-content: stretch;
	}
	.product-tile {
		width: auto;
		min-width: 0;
		min-height: 0;
		padding: 8px 6px 10px;
		border-radius: 10px;
		box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	}
	.product-tile:hover {
		transform: none;
		box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	}
	.product-tile a {
		gap: 4px;
		font-size: 11.5px;
		line-height: 1.25;
	}
	.product-tile__img {
		height: 72px;
	}
	.product-tile__img img {
		max-height: 68px;
	}
	.product-tile__name {
		font-size: 11.5px;
		font-weight: 600;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
	.product-tile__art { font-size: 10px; }
	.product-tile__status { font-size: 10px; }
	.product-tile__brand { padding-top: 4px; min-height: 12px; }
	.product-tile__brand img { height: 8px !important; width: auto !important; }
	.product-tile__brand-txt { font-size: 9px; }
	.catalog-products__toolbar { margin-bottom: 8px; }
	.catalog-products__view-btn,
	.search-results__sort-btn { height: 1.7rem; font-size: 12px; padding: 0 0.55rem; }
}

