/* ==========================================================================
   CactusGarden — тема поверх Cassiopeia Extended
   Преемственность: зелёная гамма cactusgarden.ru
   (#acc387 фон, тёмная шапка, ярко-зелёный акцент меню),
   оформление — современное: плоское, с мягкими тенями и скруглениями.
   ========================================================================== */

:root {
	/* фирменные цвета */
	--cg-body: #acc387;
	--cg-header-a: #24401f;
	--cg-header-b: #33512c;
	--cg-nav: #1b3118;
	--cg-accent: #669900;
	--cg-accent-soft: #7cb342;
	--cg-green: #2e7d32;
	--cg-green-dark: #1b5e20;
	--cg-ink: #22331f;
	/* нейтральные */
	--cg-card: #ffffff;
	--cg-line: #e2e9d4;
	--cg-soft: #f2f6ea;
	--cg-text: #33402e;
	--cg-muted: #6b7a62;
	/* форма */
	--cg-radius: 12px;
	--cg-radius-s: 8px;
	--cg-shadow: 0 10px 30px rgba(27, 49, 24, .18);
	--cg-shadow-s: 0 2px 8px rgba(27, 49, 24, .10);
	--cg-w: 1280px;
}

/* ---------- База ---------- */
body {
	background: var(--cg-body);
	color: var(--cg-text);
	line-height: 1.6;
}

::selection {
	background: var(--cg-accent-soft);
	color: #12230f;
}

h1, h2, h3, .h1, .h2, .h3 {
	color: var(--cg-ink);
	letter-spacing: -.01em;
}

a {
	color: var(--cg-green);
	text-underline-offset: 2px;
	transition: color .15s ease;
}

a:hover,
a:focus {
	color: var(--cg-green-dark);
}

a:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--cg-accent-soft);
	outline-offset: 1px;
}

/* ---------- Каркас: белая «плавающая» карточка ---------- */
.site-grid {
	max-width: var(--cg-w);
	margin: 28px auto;
	background: var(--cg-card);
	border-radius: var(--cg-radius);
	box-shadow: var(--cg-shadow);
	overflow: hidden;
}

.container-component {
	padding: 8px 28px 28px;
}

.container-sidebar-right {
	padding: 20px 24px 24px 0;
}

/* ---------- Шапка ---------- */
.container-header {
	background: linear-gradient(115deg, var(--cg-header-a), var(--cg-header-b));
	box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.container-header > .grid-child {
	max-width: var(--cg-w);
	margin-inline: auto;
	padding-inline: 24px;
}

.container-header .navbar-brand {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 0;
}

/* Логотип: иконка кактуса слева + текст, по вертикали центрированы */
.container-header .brand-logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.container-header .brand-logo::before {
	content: "";
	flex: 0 0 auto;
	width: 38px;
	height: 40px;
	background: url("../images/cactus-icon.png") no-repeat center / contain;
	transform-origin: 50% 92%;
}

.container-header .brand-logo img {
	height: 30px;
	width: auto;
	display: block;
}

/* Покачивание кактуса при наведении на логотип */
.container-header .navbar-brand:hover .brand-logo::before {
	animation: cactus-sway 1.15s ease-in-out;
}

@keyframes cactus-sway {
	0%, 100% { transform: rotate(0); }
	18% { transform: rotate(-8deg); }
	42% { transform: rotate(6deg); }
	66% { transform: rotate(-3.5deg); }
	86% { transform: rotate(1.8deg); }
}

@media (prefers-reduced-motion: reduce) {
	.container-header .navbar-brand:hover .brand-logo::before {
		animation: none;
	}
}

.container-header .site-description {
	color: #b9d3a4;
	font-style: italic;
	font-size: .95rem;
	line-height: 1.35;
	border-left: 1px solid rgba(255, 255, 255, .18);
	padding-left: 18px;
	max-width: 320px;
}

.container-header .site-title {
	color: #ffffff;
}

/* ---------- Полоса меню ---------- */
.container-header .container-nav {
	background: var(--cg-nav);
	border-top: 1px solid rgba(255, 255, 255, .07);
	padding: 0 24px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	max-width: none; /* полоса на всю ширину */
	border-radius: 0;
}

@media (min-width: 1328px) {
	.container-header .container-nav {
		padding-inline: calc((100% - var(--cg-w)) / 2 + 24px);
	}
}

.container-nav .mod-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	flex: 1 1 auto;
	font-size: .98rem;
}

/* переопределяет отступы mod-menu Cassiopeia (li+li { margin-left: 1.55em }) */
.container-header .mod-menu > li + li {
	margin-left: 0;
}

.container-nav .mod-menu > li {
	margin: 0;
}

.container-nav .mod-menu > li > a,
.container-nav .mod-menu > li > span {
	display: block;
	padding: 8px 15px;
	margin: 2px 1px;
	border-radius: 7px;
	color: rgba(255, 255, 255, .92);
	text-decoration: none;
	font-weight: 500;
	letter-spacing: .01em;
	transition: background .15s ease, color .15s ease;
}

.container-nav .mod-menu > li > a:hover,
.container-nav .mod-menu > li > a:focus {
	background: rgba(255, 255, 255, .12);
	color: #ffffff;
	text-decoration: none;
}

.container-nav .mod-menu > li.active > a,
.container-nav .mod-menu > li > a[aria-current="page"] {
	background: var(--cg-accent);
	color: #ffffff;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
}

/* выпадающие подменю */
.container-nav .mod-menu .nav-child {
	background: #ffffff;
	border: 1px solid var(--cg-line);
	border-radius: var(--cg-radius-s);
	box-shadow: var(--cg-shadow-s);
	padding: 6px;
}

.container-nav .mod-menu .nav-child a {
	color: var(--cg-text);
	border-radius: 6px;
}

.container-nav .mod-menu .nav-child a:hover {
	background: var(--cg-soft);
	color: var(--cg-green-dark);
}

/* ---------- Топбар: компактный вход ---------- */
.container-topbar {
	background: rgba(0, 0, 0, .30);
	font-size: .86rem;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 2px 24px;
	min-height: 30px;
}

@media (min-width: 1328px) {
	.container-topbar {
		padding-inline: calc((100% - var(--cg-w)) / 2 + 24px);
	}
}

.plants-login {
	position: relative;
}

.plants-login svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.plants-login .pl-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 6px;
	color: #cfe3b8;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: background .15s ease, color .15s ease;
}

.plants-login .pl-toggle::-webkit-details-marker {
	display: none;
}

.plants-login .pl-toggle:hover,
.plants-login .pl-details[open] > .pl-toggle {
	background: rgba(255, 255, 255, .12);
	color: #ffffff;
}

/* выпадающая панель */
.plants-login .pl-drop {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	width: 270px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
	padding: 16px;
	z-index: 1050;
	color: var(--cg-text);
	font-size: .92rem;
}

.plants-login .pl-field {
	display: block;
	margin-bottom: 10px;
}

.plants-login .pl-field span {
	display: block;
	font-size: .82rem;
	color: var(--cg-muted);
	margin-bottom: 3px;
}

.plants-login .pl-field input {
	width: 100%;
	padding: 7px 10px;
}

.plants-login .pl-remember {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: .88rem;
	margin: 4px 0 12px;
	cursor: pointer;
}

.plants-login .pl-submit {
	width: 100%;
}

.plants-login .pl-links {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-size: .85rem;
}

/* меню кабинета */
.plants-login .pl-drop-menu {
	width: 210px;
	padding: 8px;
}

.plants-login .pl-menu a,
.plants-login .pl-logout {
	display: block;
	width: 100%;
	text-align: left;
	padding: 8px 12px;
	border-radius: 7px;
	color: var(--cg-text);
	text-decoration: none;
	background: none;
	border: 0;
	font-size: .92rem;
	cursor: pointer;
	transition: background .15s ease;
}

.plants-login .pl-menu a:hover,
.plants-login .pl-logout:hover {
	background: var(--cg-soft);
	color: var(--cg-green-dark);
	text-decoration: none;
}

.plants-login .pl-logout-form {
	margin: 6px 0 0;
	padding-top: 6px;
	border-top: 1px solid var(--cg-line);
}

/* ---------- Мини-корзина ---------- */
.plants-minicart {
	margin-left: auto;
}

.plants-minicart a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, .92);
	text-decoration: none;
	padding: 8px 15px;
	margin: 2px 1px;
	border-radius: 7px;
	font-weight: 500;
	transition: background .15s ease;
}

.plants-minicart a:hover {
	background: rgba(255, 255, 255, .12);
	color: #ffffff;
}

.plants-minicart svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.plants-minicart .count {
	background: var(--cg-accent-soft);
	color: #12230f;
	border-radius: 999px;
	padding: 1px 8px;
	font-weight: 700;
	font-size: .82em;
	line-height: 1.5;
}

.plants-minicart .sum {
	font-weight: 600;
	font-size: .95em;
	color: #d7e8c2;
}

/* ---------- Хлебные крошки ---------- */
.mod-breadcrumbs__wrapper,
.container-breadcrumbs {
	border-bottom: 1px solid var(--cg-line);
	padding: 10px 0;
	margin-bottom: 18px;
}

.breadcrumb,
.mod-breadcrumbs {
	font-size: .86rem;
	color: var(--cg-muted);
}

.breadcrumb a,
.mod-breadcrumbs a {
	color: var(--cg-green);
}

.breadcrumb-item.active,
.mod-breadcrumbs .active {
	color: var(--cg-muted);
}

/* ---------- Типографика контента ---------- */
.item-page p,
.com-content-article p {
	margin-bottom: 1em;
}

.page-header h1,
.item-page h1,
h1.item-title {
	font-size: 1.75rem;
	font-weight: 650;
	margin-bottom: 1rem;
}

img {
	border-radius: var(--cg-radius-s);
}

/* ---------- Карточки модулей (новости, сайдбар) ---------- */
.card {
	--card-bg: #ffffff;
	background-color: #ffffff;
	border: 1px solid var(--cg-line);
	border-radius: var(--cg-radius);
	box-shadow: var(--cg-shadow-s);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(27, 49, 24, .14);
}

.card-header {
	background: var(--cg-soft);
	border-bottom: 1px solid var(--cg-line);
	color: var(--cg-ink);
	font-weight: 650;
	font-size: 1.02rem;
	padding: .7rem 1.1rem;
}

/* ---------- Кнопки ---------- */
.btn {
	border-radius: var(--cg-radius-s);
	font-weight: 550;
	transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn-primary,
.mod-login .btn,
input[type="submit"].btn {
	background: var(--cg-green);
	border: 1px solid var(--cg-green);
	color: #ffffff;
	box-shadow: var(--cg-shadow-s);
}

.btn-primary:hover,
.mod-login .btn:hover,
.btn-primary:focus {
	background: var(--cg-green-dark);
	border-color: var(--cg-green-dark);
	color: #ffffff;
}

/* кнопки магазина — фирменный акцент */
.btn-success,
.btn-arrow-right.btn-success,
.jshop .btn-success,
.jshop .btn-primary,
.jshop .button.btn,
.jshop input[type="submit"] {
	background: linear-gradient(to bottom, #6fae2e, #4e7d1e);
	border: 1px solid #4e7d1e;
	color: #ffffff;
	border-radius: var(--cg-radius-s);
	box-shadow: var(--cg-shadow-s);
	text-shadow: none;
}

.btn-success:hover,
.btn-arrow-right.btn-success:hover,
.jshop .btn-success:hover,
.jshop .btn-primary:hover,
.jshop input[type="submit"]:hover {
	background: linear-gradient(to bottom, #5c9423, #406317);
	border-color: #406317;
	color: #ffffff;
}

.btn-secondary,
.btn-outline-secondary {
	border-color: #c8d4b6;
	color: var(--cg-text);
}

.btn-secondary:hover {
	background: var(--cg-soft);
	border-color: #aebfa0;
	color: var(--cg-ink);
}

/* ---------- Поля ввода ---------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select,
.form-control {
	border: 1px solid #c8d4b6;
	border-radius: var(--cg-radius-s);
	transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
	border-color: var(--cg-accent-soft);
	box-shadow: 0 0 0 .2rem rgba(124, 179, 66, .22);
	outline: none;
}

/* ---------- Таблицы (корзина, заказы) ---------- */
.jshop table,
.table {
	border-color: var(--cg-line);
}

.jshop table thead,
.jshop_cart table thead,
.table thead {
	background: var(--cg-soft);
	color: var(--cg-ink);
}

.jshop table th,
.jshop table td,
.table th,
.table td {
	border-color: var(--cg-line);
}

/* ---------- Магазин ---------- */
.jshop h1,
.jshop_list_product .product .name a,
.productfull .product_name {
	color: var(--cg-ink);
}

.jshop_list_product .product .name a:hover {
	color: var(--cg-green-dark);
}

.jshop .product .product_label,
.block_product .product_label {
	color: var(--cg-muted);
	font-size: .85rem;
}

/* цена (специфичность выше, чем у default.css JoomShopping) */
body .jshop_price,
body .prod_price,
body .productfull #block_price,
body #block_price {
	color: var(--cg-green-dark);
	font-weight: 700;
}

body .productfull #block_price {
	font-size: 1.4rem;
}

/* карточки товаров в списках */
.jshop_list_product .product,
.jshop .block_product {
	border: 1px solid var(--cg-line);
	border-radius: var(--cg-radius);
	padding: 14px;
	transition: transform .18s ease, box-shadow .18s ease;
	background: #ffffff;
}

.jshop_list_product .product:hover,
.jshop .block_product:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(27, 49, 24, .14);
}

.jshop_list_product .product img,
.jshop .block_product img,
.jshop_list_category img {
	border-radius: var(--cg-radius-s);
}

/* категории магазина */
.jshop_list_category .sblock2 a,
.jshop_categ a {
	font-weight: 600;
	color: var(--cg-green-dark);
}

/* ---------- Галерея ---------- */
.com-plants h1 {
	font-size: 1.75rem;
	font-weight: 650;
}

.plants-grid .plants-showcase .plants-card {
	border: 1px solid var(--cg-line);
	border-radius: var(--cg-radius);
	overflow: hidden;
	background: #ffffff;
	transition: transform .18s ease, box-shadow .18s ease;
}

.plants-grid .plants-showcase .plants-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(27, 49, 24, .16);
}

.plants-grid .plants-showcase .plants-card img {
	border-radius: 0;
	transition: transform .25s ease;
}

.plants-grid .plants-showcase .plants-card:hover img {
	transform: scale(1.04);
}

.plants-nav a,
.plants-gallery a.plants-cat-title {
	color: var(--cg-green-dark);
}

/* ---------- Сайдбар ---------- */
.container-sidebar-right .card,
.sidebar-right .mod-login {
	border: 1px solid var(--cg-line);
	border-radius: var(--cg-radius);
	box-shadow: var(--cg-shadow-s);
}

.sidebar-right .card-header {
	background: var(--cg-soft);
}

/* ---------- Пагинация ---------- */
.pagination .page-link {
	color: var(--cg-green);
	border-color: var(--cg-line);
	border-radius: var(--cg-radius-s);
	margin: 0 2px;
}

.pagination .page-item.active .page-link {
	background: var(--cg-green);
	border-color: var(--cg-green);
	color: #ffffff;
}

.pagination .page-link:hover {
	background: var(--cg-soft);
	color: var(--cg-green-dark);
}

/* ---------- Подвал ---------- */
.container-footer,
.footer {
	background: var(--cg-nav);
	color: #b9cdb0;
	font-size: .92rem;
	margin-top: 28px;
}

.container-footer a,
.footer a {
	color: #a5d6a7;
}

.container-footer a:hover,
.footer a:hover {
	color: #ffffff;
}

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
	.site-grid {
		margin: 14px 10px;
		border-radius: 10px;
	}

	.container-component {
		padding: 6px 16px 20px;
	}

	.container-header .navbar-brand {
		padding: 10px 0;
	}

	.container-header .brand-logo::before {
		width: 30px;
		height: 32px;
	}

	.container-header .brand-logo img {
		height: 24px;
	}

	.container-header .site-description {
		font-size: .85rem;
		max-width: 220px;
	}

	.container-nav .mod-menu > li > a,
	.container-nav .mod-menu > li > span {
		padding: 8px 11px;
	}
}

@media (max-width: 576px) {
	/* на узких экранах корзина — только иконка со счётчиком */
	.plants-minicart .label,
	.plants-minicart .sum {
		display: none;
	}
}

/* ============================================================
   ГЛАВНАЯ СТРАНИЦА (mod_plants_hero)
   ============================================================ */

/* Скрыть хлебные крошки на главной */
.itemid-101 .mod-breadcrumbs__wrapper {
	display: none;
}

/* Banner на всю ширину белой карточки, без отступов сетки */
.itemid-101 .container-banner {
	margin-top: -24px;
}

/* ---------- Hero ---------- */

.plants-hero {
	position: relative;
	height: 340px;
	overflow: hidden;
}

.ph-slides,
.ph-slide {
	position: absolute;
	inset: 0;
}

.ph-slide {
	background-size: cover;
	background-position: center 40%;
	opacity: 0;
	transition: opacity 1.4s ease;
	animation: ph-kenburns 18s ease-in-out infinite alternate;
	animation-play-state: paused;
}

.ph-slide.active {
	opacity: 1;
	animation-play-state: running;
}

@keyframes ph-kenburns {
	from { transform: scale(1); }
	to   { transform: scale(1.08); }
}

.ph-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(18, 32, 14, .78) 0%, rgba(18, 32, 14, .45) 45%, rgba(18, 32, 14, .12) 100%);
}

.ph-content {
	position: relative;
	z-index: 2;
	max-width: 620px;
	padding: 48px 48px;
	color: #fff;
}

.ph-title {
	margin: 0 0 14px;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.ph-sub {
	margin: 0 0 28px;
	font-size: 1.15rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, .92);
	text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}

.ph-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ph-btn {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ph-btn:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.ph-btn-primary {
	background: linear-gradient(180deg, #6fae2e, #4e7d1e);
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(46, 90, 15, .45);
}

.ph-btn-primary:hover {
	box-shadow: 0 7px 20px rgba(46, 90, 15, .55);
	color: #fff !important;
}

.ph-btn-ghost {
	background: rgba(255, 255, 255, .14);
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, .75);
	backdrop-filter: blur(3px);
}

.ph-btn-ghost:hover {
	background: rgba(255, 255, 255, .28);
	color: #fff !important;
}

.ph-dots {
	position: absolute;
	z-index: 3;
	right: 11px;
	bottom: 5px;
	display: flex;
	gap: 0;
}

.ph-dot {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.ph-dot::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .45);
	transition: background-color .25s ease, transform .25s ease;
}

.ph-dot:hover::before {
	background: rgba(255, 255, 255, .8);
}

.ph-dot.active::before {
	background: #fff;
	transform: scale(1.25);
}

.ph-dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -6px;
}

/* ---------- Полоса преимуществ ---------- */

.plants-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	padding: 26px 32px;
	border-bottom: 1px solid #e4ecd9;
}

.pf-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pf-icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #eef4e3;
	color: #3c6b22;
}

.pf-icon svg {
	width: 24px;
	height: 24px;
}

.pf-num {
	font-size: 1.35rem;
	font-weight: 700;
	color: #2e5d1f;
	line-height: 1.2;
}

.pf-text {
	font-size: .95rem;
	line-height: 1.35;
	color: #41503a;
}

.pf-item .pf-num + .pf-text {
	margin-left: -6px;
}

/* ---------- Витрина категорий ---------- */

.plants-gallery-banner {
	position: relative;
	height: 190px;
	margin: 0 0 24px;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(30, 50, 20, .14);
}

.plants-gallery-banner-scroll {
	height: 190px;
	overflow-x: auto;
	overflow-y: hidden;
	border-radius: 14px;
	overscroll-behavior-x: contain;
	scrollbar-color: rgba(60, 90, 45, .45) rgba(255, 255, 255, .5);
	scrollbar-width: thin;
}

.plants-gallery-banner-link {
	display: block;
	width: 100%;
	min-width: 1000px;
	height: 190px;
}

.plants-gallery-banner-link img {
	display: block;
	width: 100%;
	min-width: 1000px;
	max-width: none;
	height: 190px;
	object-fit: cover;
	border-radius: 0;
	transition: filter .3s ease;
}

.plants-gallery-banner-link:hover img,
.plants-gallery-banner-link:focus img {
	filter: saturate(1.08);
}

.plants-gallery-banner-link:focus-visible {
	outline: 3px solid #7cb342;
	outline-offset: -3px;
}

.plants-showcase {
	padding: 34px 32px 40px;
}

.plants-section-title {
	margin: 0 0 22px;
	font-size: 1.6rem;
	font-weight: 700;
	color: #27431c;
}

.plants-showcase .plants-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.plants-showcase .plants-card {
	position: relative;
	display: block;
	height: 190px;
	overflow: hidden;
	border: 1px solid rgba(52, 75, 39, .08);
	border-radius: 14px;
	background: linear-gradient(145deg, #f3f8ed, #e2efd9);
	box-shadow: 0 2px 10px rgba(30, 50, 20, .12);
	transition: transform .25s ease, box-shadow .25s ease;
}

.plants-showcase .plants-card:nth-child(1) {
	background: linear-gradient(145deg, #f1f9e9, #dcefd2);
}

.plants-showcase .plants-card:nth-child(2) {
	background: linear-gradient(145deg, #fdf3ef, #f3ded7);
}

.plants-showcase .plants-card:nth-child(3) {
	background: linear-gradient(145deg, #eef9f5, #d6eae4);
}

.plants-showcase .plants-card:nth-child(4) {
	background: linear-gradient(145deg, #fff9e9, #f1e2bf);
}

.plants-showcase .plants-card:nth-child(5) {
	background: linear-gradient(145deg, #faf3e9, #eadbc5);
}

.plants-showcase .plants-card:nth-child(6) {
	background: linear-gradient(145deg, #f7f2f9, #e7ddec);
}

.plants-showcase .plants-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(30, 50, 20, .2);
	text-decoration: none;
}

.plants-showcase .plants-card-img {
	position: absolute;
	inset: 0 0 36px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	transition: filter .3s ease;
}

.plants-showcase .plants-card:hover .plants-card-img {
	filter: saturate(1.12);
}

.plants-showcase .plants-card::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 36px;
	border-top: 1px solid rgba(52, 75, 39, .06);
	background: rgba(255, 255, 255, .84);
	backdrop-filter: blur(8px);
}

.plants-showcase .plants-card-title {
	position: absolute;
	z-index: 2;
	left: 12px;
	right: 12px;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	color: #294321;
	font-size: .98rem;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	text-shadow: none;
}

/* ---------- Появление при прокрутке ---------- */

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.ph-slide { animation: none; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.plants-showcase .plants-card, .plants-showcase .plants-card-img, .ph-btn { transition: none; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 992px) {
	.plants-hero { height: 300px; }
	.ph-content { padding: 38px 34px; }
	.ph-title { font-size: 1.9rem; }
	.plants-showcase .plants-cards { grid-template-columns: repeat(2, 1fr); }
	.plants-features { grid-template-columns: 1fr; gap: 14px; padding: 22px 24px; }
}

@media (max-width: 576px) {
	.plants-hero { height: 260px; }
	.itemid-101 .container-banner { margin-top: -16px; }
	.ph-content { padding: 28px 22px; }
	.ph-title { font-size: 1.45rem; }
	.ph-sub { font-size: .98rem; margin-bottom: 20px; }
	.ph-btn { padding: 10px 20px; font-size: .92rem; }
	.ph-dots { right: 1px; bottom: 0; }
	.plants-showcase { padding: 24px 18px 28px; }
	.plants-showcase .plants-cards { grid-template-columns: 1fr; gap: 14px; }
	.plants-showcase .plants-card { height: 150px; }
}

/* Карточка с описанием магазина на главной */
.itemid-101 .container-banner {
	margin-bottom: 0;
}

.itemid-101 .container-component {
	padding-top: 0;
}

.itemid-101 .container-component > main {
	margin-top: 0;
}

.home-welcome {
	max-width: 960px;
	margin: 0 auto 8px;
	padding: 26px 30px;
	font-size: 1rem;
	line-height: 1.65;
	text-align: left;
	color: #37452f;
	background: linear-gradient(135deg, #f7faf2 0%, #edf4e5 100%);
	border: 1px solid #dce7d1;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(38, 65, 29, .07);
}

.home-welcome-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 17px;
	padding-bottom: 17px;
	border-bottom: 1px solid #d9e5cd;
}

.home-welcome h2 {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
	color: #27431c;
}

.home-welcome-facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.home-welcome-facts span {
	padding: 7px 11px;
	font-size: .78rem;
	line-height: 1.35;
	color: #536548;
	background: rgba(255, 255, 255, .8);
	border: 1px solid #dce7d1;
	border-radius: 999px;
}

.home-welcome-facts strong {
	color: #2f6b2f;
	font-weight: 700;
}

.home-welcome p {
	margin: 0 0 10px;
}

.home-welcome p:last-child {
	margin-bottom: 0;
}

.home-welcome a {
	font-weight: 600;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

@media (max-width: 768px) {
	.home-welcome {
		padding: 22px 20px;
	}

	.home-welcome-head {
		display: block;
		margin-bottom: 14px;
		padding-bottom: 14px;
	}

	.home-welcome h2 {
		margin-bottom: 12px;
		font-size: 1.22rem;
	}

	.home-welcome-facts {
		display: grid;
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	.home-welcome-facts span {
		border-radius: 10px;
	}
}

/* Новости на главной — один столбец, с датой публикации */
.main-bottom ul.mod-articlesnews-horizontal {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-bottom .mod-articlesnews-horizontal > li {
	margin: 0 0 14px;
	padding: 18px 22px;
	background: #f7faf2;
	border: 1px solid #e2ebd6;
	border-radius: 12px;
	transition: box-shadow .25s ease;
}

.main-bottom .mod-articlesnews-horizontal > li:last-child {
	margin-bottom: 0;
}

.main-bottom .mod-articlesnews-horizontal > li:hover {
	box-shadow: 0 6px 16px rgba(30, 50, 20, .10);
}

.main-bottom .mod-articlesnews-horizontal .newsflash-title {
	margin: 0 0 4px;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.3;
	color: #27431c;
}

.main-bottom .news-date {
	margin: 0 0 8px;
	font-size: .82rem;
	color: #7d8b6f;
}

.main-bottom .mod-articlesnews-horizontal li p {
	margin: 0;
	font-size: .95rem;
	line-height: 1.55;
	color: #4a5641;
}

.main-bottom .mod-articlesnews-horizontal .news-text p + p {
	margin-top: 6px;
}

/* ---------- Галерея: карточки родов/категорий ---------- */
.com-plants .plants-card {
	border: 1px solid #e2ebd6;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(30, 50, 20, .06);
	transition: transform .25s ease, box-shadow .25s ease;
}

.com-plants .plants-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 22px rgba(30, 50, 20, .16);
}

.com-plants .plants-photo {
	transition: transform .45s ease;
}

.com-plants .plants-card:hover .plants-photo {
	transform: scale(1.05);
}

.com-plants .plants-card-body {
	padding: 10px 14px 12px;
	background: #fff;
}

.com-plants .plants-name {
	font-size: 1.02rem;
	line-height: 1.3;
}

.com-plants .plants-name a {
	color: #27431c;
	font-weight: 600;
	text-decoration: none;
	transition: color .2s ease;
}

.com-plants .plants-card:hover .plants-name a,
.com-plants .plants-name a:hover {
	color: #4e7d1e;
}

.com-plants .plants-count {
	margin-left: 5px;
	font-size: .82rem;
	font-style: normal;
	color: #8a977c;
}

@media (prefers-reduced-motion: reduce) {
	.com-plants .plants-card,
	.com-plants .plants-photo { transition: none; }
}

/* ---------- Галерея: подписи по центру, новый шрифт ---------- */
.com-plants .plants-card-body {
	text-align: center;
	padding: 12px 14px 13px;
}

.com-plants .plants-name {
	font-size: 1.06rem;
	font-style: normal;
	font-weight: 600;
	letter-spacing: .01em;
}

.com-plants .plants-name a {
	font-style: normal;
}

.com-plants .plants-count {
	font-size: .85rem;
	font-weight: 400;
}

/* ---------- Галерея: значки магазина прижаты к низу карточки ---------- */
.com-plants .plants-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
}

.com-plants .plants-card .plants-card-body .plants-shop-icons {
	margin-top: auto;
	padding-top: 8px;
	justify-content: center;
}

/* ---------- Галерея: ссылки на соседние фото ---------- */
.com-plants .plants-taxon-nav {
	gap: 14px;
	margin: 4px 0 22px;
	font-size: 14px;
}

.com-plants .plants-taxon-nav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 48%;
	padding: 10px 18px;
	background: #f1f7e9;
	border: 1px solid #d7e4c6;
	border-radius: 999px;
	color: #2e5d1f;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(30, 50, 20, .06);
	transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.com-plants .plants-taxon-nav a::before,
.com-plants .plants-taxon-nav a::after {
	font-size: 1.15em;
	line-height: 1;
	transition: transform .25s ease;
}

.com-plants .plants-taxon-nav a.prev::before {
	content: "\2190"; /* ← */
}

.com-plants .plants-taxon-nav a.next::after {
	content: "\2192"; /* → */
}

.com-plants .plants-taxon-nav a:hover {
	background: #e4f0d5;
	border-color: #b7cf9a;
	box-shadow: 0 4px 12px rgba(30, 50, 20, .12);
	text-decoration: none;
}

.com-plants .plants-taxon-nav a.prev:hover::before {
	transform: translateX(-4px);
}

.com-plants .plants-taxon-nav a.next:hover::after {
	transform: translateX(4px);
}

.com-plants .plants-taxon-nav a span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 576px) {
	.com-plants .plants-taxon-nav a {
		padding: 8px 13px;
		font-size: 13px;
	}
}

/* ---------- Подвал ---------- */
.footer-copy {
	margin-top: 6px;
	font-size: .9rem;
	color: #a5d6a7;
}

/* ---------- Страница новостей (/news) ---------- */
.itemid-149 .article-info-term {
	display: none;
}

.itemid-149 .blog-item {
	padding: 18px 0 20px;
	border-bottom: 1px solid #e4ecd9;
}

.itemid-149 .blog-item:last-child {
	border-bottom: none;
}

.itemid-149 .blog-item .page-header h2 {
	margin: 0 0 6px;
	font-size: 1.3rem;
	line-height: 1.3;
	color: #27431c;
}

.itemid-149 .article-info {
	margin: 0 0 10px;
	font-size: .85rem;
}

.itemid-149 .article-info .published {
	margin-inline-start: 0;
	color: #7d8b6f;
}

.itemid-149 .item-content p {
	margin: 0 0 8px;
	line-height: 1.5;
}

.itemid-149 .blog-item .readmore a {
	display: inline-block;
	margin-top: 6px;
	padding: 6px 16px;
	border: 1px solid #c9dcb2;
	border-radius: 999px;
	color: #2e5d1f;
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease;
}

.itemid-149 .blog-item .readmore a:hover {
	background: #eef4e3;
}

/* ---------- Страница статей (/articles) ---------- */
.cg-articles-index .com-content-category-blog__items.blog-items.columns-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.cg-articles-index .com-content-category-blog__item.blog-item {
	box-sizing: border-box;
	width: auto;
	margin: 0;
	padding: 24px;
	border: 1px solid #d8e4cb;
	border-radius: 16px;
	background: #fbfcf8;
	box-shadow: 0 4px 16px rgba(35, 63, 23, .05);
}

@media (max-width: 767px) {
	.cg-articles-index .com-content-category-blog__items.blog-items.columns-2 {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.cg-articles-index .com-content-category-blog__item.blog-item {
		padding: 18px;
	}
}

/* ---------- Мобильное меню ---------- */
.plants-menu-toggle {
	display: none;
	align-items: center;
	gap: 9px;
	padding: 8px 13px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 7px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.plants-menu-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 19px;
	height: 18px;
}

.plants-menu-burger > span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 991.98px) {
	.container-header .container-nav {
		padding: 6px 16px;
	}

	.container-header .plants-menu-toggle {
		display: inline-flex;
	}

	.container-header .container-nav > .mod-menu {
		display: none;
		flex: 1 0 100%;
		order: 3;
		padding: 7px 0 10px;
	}

	.container-header .container-nav.menu-open > .mod-menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.container-header .container-nav .mod-menu > li > a,
	.container-header .container-nav .mod-menu > li > span {
		margin: 1px 0;
		padding: 10px 13px;
	}

	.container-header .container-nav .mod-menu .nav-child {
		position: static;
		width: 100%;
		box-shadow: none;
	}

	.container-header .container-nav.menu-open .plants-menu-burger > span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.container-header .container-nav.menu-open .plants-menu-burger > span:nth-child(2) {
		opacity: 0;
	}

	.container-header .container-nav.menu-open .plants-menu-burger > span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.plants-menu-burger > span {
		transition: none;
	}
}

/* ---------- Карточка товара: фото сеянца и взрослого растения ---------- */
.productfull .image_middle #list_product_image_middle,
.productfull .image_middle #list_product_image_middle .lightbox {
	display: block;
	width: 100%;
}

.productfull .image_middle #list_product_image_middle img,
.plants-adult-photo img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: var(--cg-radius-s);
}

.plants-adult {
	width: 100%;
	margin: 18px 0;
}

.productfull .plants-locality {
	margin: 0 0 14px;
	line-height: 1.45;
}

.productfull .plants-locality span,
.plants-adult-title {
	font-weight: 600;
}

.plants-adult-title {
	margin-bottom: 8px;
}

.plants-adult-photos {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.plants-adult-photo {
	display: block;
}

.plants-adult-more {
	margin-top: 7px;
}

/* ---------- Приветствие внутри слайдера ---------- */
.ph-lead {
	margin: 0 0 10px;
	font-size: 1.12rem;
	font-weight: 500;
	line-height: 1.45;
	color: rgba(255, 255, 255, .96);
	text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}

.ph-sub {
	margin-bottom: 0;
	font-size: 1rem;
}

.ph-sub a {
	color: #ffffff;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .55);
	text-underline-offset: 3px;
}

.ph-sub a:hover,
.ph-sub a:focus {
	color: #ffffff;
	text-decoration-color: #ffffff;
}

@media (max-width: 992px) {
	.plants-hero { height: 340px; }
	.ph-lead { font-size: 1.05rem; }
	.ph-sub { font-size: .96rem; }
}

@media (max-width: 576px) {
	.plants-hero { height: 360px; }
	.ph-content { padding-top: 25px; padding-bottom: 32px; }
	.ph-lead { font-size: .98rem; }
	.ph-sub { font-size: .9rem; line-height: 1.4; margin-bottom: 0; }
}

/* ============================================================
   КАТАЛОГ МАГАЗИНА: категории и карточки товаров
   ============================================================ */

/* Фильтр количества — компактная панель без лишнего пустого места */
body .jshop_list_product #sort_count {
	margin: 0 0 22px;
	padding: 10px 14px;
	border: 1px solid var(--cg-line);
	border-radius: 10px;
	background: #f7f9f4;
}

body .jshop_list_product #sort_count .form_sort_count,
body .jshop_list_product #sort_count .block_sorting_count_to_page {
	display: flex;
	justify-content: flex-end;
	margin: 0;
}

body .jshop_list_product #sort_count .box_products_count_to_page {
	align-items: center;
	gap: 10px;
	margin: 0;
}

body .jshop_list_product #sort_count .control-label {
	margin: 0;
	padding: 0;
	color: var(--cg-muted);
	font-size: .9rem;
}

body .jshop_list_product #sort_count .controls {
	margin: 0;
}

body .jshop_list_product #sort_count select {
	width: auto;
	min-width: 86px;
	margin: 0;
	padding: 7px 30px 7px 11px;
	border: 1px solid var(--cg-line);
	border-radius: 8px;
	background-color: #ffffff;
	color: var(--cg-ink);
}

/* Единая CSS-сетка вместо штатных обёрток с двойными рамками */
body .jshop_list_product #comjshop_list_product > .row-fluid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	margin: 0;
}

body .jshop_list_product #comjshop_list_product > .row-fluid > .sblock3 {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

body .jshop_list_product #comjshop_list_product > .row-fluid > .sblock3 > .block_product,
body .jshop_list_product #comjshop_list_product > .row-fluid > .sblock3 > .block_product:hover {
	float: none;
	width: auto;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transform: none;
}

body .jshop_list_product #comjshop_list_product > .row-fluid > .sblock3 > .block_product > .product {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: none;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--cg-line);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(27, 49, 24, .05);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

@media (hover: hover) {
	body .jshop_list_product #comjshop_list_product > .row-fluid > .sblock3 > .block_product > .product:hover {
		transform: translateY(-4px);
		border-color: #c4d4b4;
		box-shadow: 0 12px 28px rgba(27, 49, 24, .13);
	}
}

/* Фотография занимает всю ширину карточки и стоит перед названием */
body .jshop_list_product .product > .image {
	order: 0;
	float: none;
	width: 100%;
	margin: 0;
	padding: 12px 12px 0;
	text-align: center;
}

body .jshop_list_product .product .image_block {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	background: #f3f5ef;
}

body .jshop_list_product .product .image_block a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

body .jshop_list_product .product .image_block img.jshop_img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
	transition: transform .35s ease;
}

@media (hover: hover) {
	body .jshop_list_product .product:hover .image_block img.jshop_img {
		transform: scale(1.045);
	}
}

body .jshop_list_product .product > .name {
	order: 1;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 14px 16px 10px;
	text-align: left;
}

body .jshop_list_product .product > .name a {
	display: block;
	color: var(--cg-ink);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.38;
	text-decoration: none;
	overflow-wrap: anywhere;
}

body .jshop_list_product .product > .name a:hover,
body .jshop_list_product .product > .name a:focus {
	color: var(--cg-green-dark);
	text-decoration: none;
}

body .jshop_list_product .product > .oiproduct {
	display: flex;
	order: 3;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0 16px 16px;
	text-align: left;
}

/* Наличие, цена и склад */
body .jshop_list_product .product .block_available {
	align-self: flex-start;
	margin: 0 0 9px;
	padding: 4px 9px;
	border-radius: 999px;
	background: #edf5e5;
	color: #47762c;
	font-size: .76rem;
	font-weight: 600;
	line-height: 1.25;
}

body .jshop_list_product .product .block_available.not_available,
body .jshop_list_product .product .block_available.unavailable {
	background: #f3f1ed;
	color: #7b7168;
}

body .jshop_list_product .product .jshop_price {
	margin: 0 0 7px;
	color: var(--cg-green-dark);
	font-size: 1.35rem;
	font-weight: 750;
	line-height: 1.25;
}

body .jshop_list_product .product .old_price {
	color: var(--cg-muted);
	font-size: .88rem;
	font-weight: 400;
}

body .jshop_list_product .product .price_extra_info:empty,
body .jshop_list_product .product .extra_fields:empty {
	display: none;
}

body .jshop_list_product .product .qty_in_stock {
	margin: 0 0 8px;
	color: var(--cg-muted);
	font-size: .78rem;
	line-height: 1.35;
}

body .jshop_list_product .product > .description {
	order: 2;
	margin: 0;
	padding: 0 16px 12px;
	color: #58634f;
	font-size: .86rem;
	line-height: 1.45;
}

body .jshop_list_product .product > .description > span {
	font-weight: 600;
}

body .jshop_list_product .product .product_label {
	margin: 0 0 7px;
	text-align: left;
}

/* Количество и покупка в списке товаров */
body .jshop_list_product .product .buttons {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	width: 100%;
	margin: auto 0 0;
	padding: 0;
	text-align: center;
}

body .jshop_list_product .product .product-quantity {
	display: grid;
	grid-template-columns: 32px 42px 32px;
	flex: 0 0 auto;
	height: 38px;
	overflow: hidden;
	border: 1px solid #ccd8c1;
	border-radius: 8px;
	background: #ffffff;
}

body .jshop_list_product .product .product-quantity-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: #f3f7ed;
	color: #3e612c;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

body .jshop_list_product .product .product-quantity-btn:hover,
body .jshop_list_product .product .product-quantity-btn:focus-visible {
	background: #dfeccd;
	color: #294c19;
	outline: none;
}

body .jshop_list_product .product .product-quantity-input {
	width: 42px;
	min-width: 0;
	height: 36px;
	margin: 0;
	padding: 0 2px;
	border: 0;
	border-right: 1px solid #dce5d4;
	border-left: 1px solid #dce5d4;
	border-radius: 0;
	background: #ffffff;
	color: var(--cg-ink);
	font-size: .9rem;
	font-weight: 600;
	line-height: 36px;
	text-align: center;
	box-shadow: none;
	appearance: textfield;
	-moz-appearance: textfield;
}

body .jshop_list_product .product .product-quantity-input::-webkit-inner-spin-button,
body .jshop_list_product .product .product-quantity-input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body .jshop_list_product .product .product-quantity-input:focus {
	position: relative;
	z-index: 1;
	outline: 2px solid rgba(94, 143, 62, .3);
	outline-offset: -2px;
}

body .jshop_list_product .product .buttons .cg-list-buy-form {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

body .jshop_list_product .product .buttons .cg-list-buy-form .button_buy {
	width: 100%;
}

body .jshop_list_product .product .buttons .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	min-height: 38px;
	margin: 0;
	padding: 8px 7px;
	border-radius: 8px;
	font-size: .82rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	white-space: normal;
}

body .jshop_list_product .product .buttons .button_buy {
	border: 1px solid #5d8f25;
	background: linear-gradient(180deg, #75ae35, #588824);
	color: #ffffff;
	box-shadow: none;
}

body .jshop_list_product .product .buttons .button_buy:hover,
body .jshop_list_product .product .buttons .button_buy:focus {
	border-color: #4b771c;
	background: linear-gradient(180deg, #679c2d, #4c781e);
	color: #ffffff;
}

body .jshop_list_product .product .buttons .button_detail {
	border: 1px solid #ccd8c1;
	background: #f5f8f1;
	color: #3e612c;
	box-shadow: none;
}

body .jshop_list_product .product .buttons .button_detail:hover,
body .jshop_list_product .product .buttons .button_detail:focus {
	border-color: #a9bf96;
	background: #eaf2e1;
	color: #294c19;
}

/* Приветствие на корневой странице магазина: убираем старое inline-оформление */
body.view-category.no-task #comjshop > .category_description {
	margin: 0 0 24px;
	padding: 18px 22px;
	border: 1px solid var(--cg-line);
	border-radius: 12px;
	background: #f7f9f4;
}

body.view-category.no-task #comjshop > .category_description p {
	margin: 0;
}

body.view-category.no-task #comjshop > .category_description p:not([style]) {
	display: none;
}

body.view-category.no-task #comjshop > .category_description p[style] {
	text-align: center !important;
}

body.view-category.no-task #comjshop > .category_description span[style] {
	color: #46533e !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	line-height: 1.6 !important;
}

/* Карточки разделов магазина */
body .jshop_list_category .row-fluid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

body .jshop_list_category .jshop_categ.category {
	display: flex;
	float: none;
	flex-direction: column;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--cg-line);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(27, 49, 24, .05);
	transition: transform .2s ease, box-shadow .2s ease;
}

@media (hover: hover) {
	body .jshop_list_category .jshop_categ.category:hover {
		transform: translateY(-4px);
		box-shadow: 0 12px 28px rgba(27, 49, 24, .13);
	}
}

body .jshop_list_category .jshop_categ .image {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f3f5ef;
}

body .jshop_list_category .jshop_categ .image a {
	display: block;
	width: 100%;
	height: 100%;
}

body .jshop_list_category .jshop_categ .image img.jshop_img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
	transition: transform .35s ease;
}

@media (hover: hover) {
	body .jshop_list_category .jshop_categ:hover .image img.jshop_img {
		transform: scale(1.045);
	}
}

body .jshop_list_category .jshop_categ .category_info {
	width: 100%;
	margin: 0;
	padding: 17px 16px 18px;
	text-align: center;
}

body .jshop_list_category .jshop_categ .title-category {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 650;
	line-height: 1.35;
}

body .jshop_list_category .jshop_categ .title-category a {
	color: var(--cg-ink);
	text-decoration: none;
}

body .jshop_list_category .jshop_categ .title-category a:hover,
body .jshop_list_category .jshop_categ .title-category a:focus {
	color: var(--cg-green-dark);
}

body .jshop_list_category .jshop_categ .qty-products {
	display: block;
	margin-top: 6px;
	color: var(--cg-muted);
	font-size: .8rem;
}

body .jshop_list_category .jshop_categ .category_short_description {
	margin: 8px 0 0;
	color: var(--cg-muted);
	font-size: .88rem;
	line-height: 1.45;
}

/* Пагинация и итоговый счётчик */
body .jshop_list_product .jshop_pagination {
	margin-top: 26px;
	text-align: center;
}

body .jshop_list_product .jshop_pagination .pagination {
	justify-content: center;
}

body .jshop_list_product .jshop_pagination .pagenav,
body .jshop_list_product .jshop_pagination .counter {
	color: var(--cg-muted);
}

@media (max-width: 1199.98px) {
	body .jshop_list_product #comjshop_list_product > .row-fluid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	body .jshop_list_product #comjshop_list_product > .row-fluid,
	body .jshop_list_category .row-fluid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 575.98px) {
	body .jshop_list_product #comjshop_list_product > .row-fluid,
	body .jshop_list_category .row-fluid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	body .jshop_list_product #sort_count {
		margin-bottom: 16px;
		padding: 10px 12px;
	}

	body .jshop_list_product #sort_count .form_sort_count,
	body .jshop_list_product #sort_count .block_sorting_count_to_page {
		justify-content: space-between;
	}

	body .jshop_list_product .product > .name {
		padding-top: 13px;
	}

	body .jshop_list_product .product .buttons .btn {
		min-height: 42px;
		font-size: .9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body .jshop_list_product #comjshop_list_product > .row-fluid > .sblock3 > .block_product > .product,
	body .jshop_list_product .product .image_block img.jshop_img,
	body .jshop_list_category .jshop_categ.category,
	body .jshop_list_category .jshop_categ .image img.jshop_img {
		transition: none;
	}
}

/* Схематичные растения на главной странице магазина */
body.view-category.no-task .jshop_list_category .jshop_categ .image {
	position: relative;
	isolation: isolate;
	background: linear-gradient(145deg, #f7f9f2 0%, #e8efdf 100%);
}

body.view-category.no-task .jshop_list_category .jshop_categ .image::before,
body.view-category.no-task .jshop_list_category .jshop_categ .image::after {
	content: "";
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	pointer-events: none;
}

body.view-category.no-task .jshop_list_category .jshop_categ .image::before {
	left: -25%;
	bottom: -46%;
	width: 72%;
	aspect-ratio: 1;
	background: rgba(255, 255, 255, .56);
}

body.view-category.no-task .jshop_list_category .jshop_categ .image::after {
	top: -22%;
	right: -15%;
	width: 45%;
	aspect-ratio: 1;
	background: rgba(111, 145, 74, .08);
}

body.view-category.no-task .jshop_list_category .jshop_categ .image a {
	position: relative;
	z-index: 1;
}

body.view-category.no-task .jshop_list_category .jshop_categ .image img.jshop_img {
	object-fit: contain;
	transform: scale(.96);
	transform-origin: 50% 88%;
	filter: drop-shadow(0 10px 12px rgba(36, 64, 31, .12));
	transition: filter .3s ease;
}

@keyframes category-plant-sway {
	0%, 100% {
		transform: rotate(0) scale(.96);
	}

	35% {
		transform: rotate(-3deg) scale(1);
	}

	65% {
		transform: rotate(2deg) scale(1);
	}

	82% {
		transform: rotate(-1deg) scale(.98);
	}
}

@media (hover: hover) {
	body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image img.jshop_img {
		animation: category-plant-sway 1.3s ease-in-out;
		filter: drop-shadow(0 14px 15px rgba(36, 64, 31, .18));
	}
}

@media (prefers-reduced-motion: reduce) {
	body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image img.jshop_img {
		animation: none;
	}
}

/* Пакетики семян на /shop: отдельный слой для независимой hover-анимации */
body.view-category.no-task .jshop_list_category .jshop_categ .image a[href$="/seeds-cactus"]::after,
body.view-category.no-task .jshop_list_category .jshop_categ .image a[href$="/seeds-lithops"]::after,
body.view-category.no-task .jshop_list_category .jshop_categ .image a[href$="/seeds-succulents"]::after {
	content: "";
	position: absolute;
	z-index: 2;
	left: 72.65625%;
	top: 59.375%;
	width: 29.53125%;
	aspect-ratio: 189 / 207;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	filter: drop-shadow(3px 4px 3px rgba(32, 25, 14, .24));
	pointer-events: none;
	transform-origin: 50% 88%;
}

body.view-category.no-task .jshop_list_category .jshop_categ .image a[href$="/seeds-cactus"]::after {
	background-image: url("../../../../../components/com_jshopping/files/img_categories/cg-seeds-cactus-ariocarpus-packet.png");
}

body.view-category.no-task .jshop_list_category .jshop_categ .image a[href$="/seeds-lithops"]::after {
	background-image: url("../../../../../components/com_jshopping/files/img_categories/cg-seeds-lithops-schwantesii-c106-packet.png");
}

body.view-category.no-task .jshop_list_category .jshop_categ .image a[href$="/seeds-succulents"]::after {
	background-image: url("../../../../../components/com_jshopping/files/img_categories/cg-seeds-succulents-haworthia-cooperi-venusta-packet.png");
}

body.view-category.no-task .jshop_list_category .jshop_categ .image a[href$="/seeds-cactus"] img.jshop_img,
body.view-category.no-task .jshop_list_category .jshop_categ .image a[href$="/seeds-lithops"] img.jshop_img,
body.view-category.no-task .jshop_list_category .jshop_categ .image a[href$="/seeds-succulents"] img.jshop_img,
body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image a[href$="/seeds-cactus"] img.jshop_img,
body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image a[href$="/seeds-lithops"] img.jshop_img,
body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image a[href$="/seeds-succulents"] img.jshop_img {
	transform: none;
	animation: none;
	filter: none;
}

@keyframes seed-packet-sway {
	0%, 100% {
		transform: translateY(0) rotate(0);
		filter: drop-shadow(3px 4px 3px rgba(32, 25, 14, .24));
	}

	35% {
		transform: translateY(-5px) rotate(-3deg);
		filter: drop-shadow(5px 8px 5px rgba(32, 25, 14, .22));
	}

	65% {
		transform: translateY(-3px) rotate(2deg);
		filter: drop-shadow(4px 7px 4px rgba(32, 25, 14, .22));
	}

	82% {
		transform: translateY(-1px) rotate(-1deg);
	}
}

@media (hover: hover) {
	body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image a[href$="/seeds-cactus"]::after,
	body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image a[href$="/seeds-lithops"]::after,
	body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image a[href$="/seeds-succulents"]::after {
		animation: seed-packet-sway 1.15s ease-in-out;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image a[href$="/seeds-cactus"]::after,
	body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image a[href$="/seeds-lithops"]::after,
	body.view-category.no-task .jshop_list_category .jshop_categ.category:hover .image a[href$="/seeds-succulents"]::after {
		animation: none;
	}
}

/* Широкая карточка семян на главной: растение в центре, пакетик на камнях справа */
.plants-showcase .plants-card-img.plants-card-img-seed {
	background-position: center top;
	background-size: cover;
}

.plants-showcase .plants-card-img .plants-card-seed-packet {
	position: absolute;
	z-index: 1;
	left: 74%;
	top: 30%;
	width: 22%;
	aspect-ratio: 216 / 236;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	filter: drop-shadow(3px 4px 3px rgba(32, 25, 14, .24));
	pointer-events: none;
	transform-origin: 50% 88%;
}

@media (max-width: 576px) {
	.plants-showcase .plants-card-img.plants-card-img-seed {
		background-position: left top;
		background-size: cover;
	}

	.plants-showcase .plants-card-img .plants-card-seed-packet {
		left: 74%;
		top: 17%;
		width: 23%;
	}
}

@media (hover: hover) {
	.plants-showcase .plants-card:hover .plants-card-seed-packet {
		animation: seed-packet-sway 1.15s ease-in-out;
	}
}

@media (prefers-reduced-motion: reduce) {
	.plants-showcase .plants-card:hover .plants-card-seed-packet {
		animation: none;
	}
}

/* Три карточки растений на главной: лёгкое покачивание без пакетиков */
.plants-showcase .plants-card-img.plants-card-img-plant {
	background-position: center top;
	background-size: cover;
	transform: scale(1.03);
	transform-origin: 50% 88%;
}

@keyframes home-plant-sway {
	0%, 100% {
		transform: rotate(0) scale(1.03);
	}

	35% {
		transform: rotate(-2.5deg) scale(1.06);
	}

	65% {
		transform: rotate(1.8deg) scale(1.06);
	}

	82% {
		transform: rotate(-.8deg) scale(1.04);
	}
}

@media (hover: hover) {
	.plants-showcase .plants-card:hover .plants-card-img-plant {
		animation: home-plant-sway 1.3s ease-in-out;
	}
}

@media (prefers-reduced-motion: reduce) {
	.plants-showcase .plants-card:hover .plants-card-img-plant {
		animation: none;
	}
}

/* Название категории и компактная панель количества товаров */
body #comjshop > .category-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 16px;
}

body #comjshop > .category-heading > h1 {
	margin: 0;
}

body #comjshop > .category-heading > .category-toolbar {
	flex: 0 0 auto;
	margin: 0;
}

body #comjshop > .category-heading > .category-toolbar #sort_count,
body #comjshop > .category-heading > .category-toolbar .form_sort_count {
	margin: 0;
}

body #comjshop > .category-heading > .category-toolbar .block_sorting_count_to_page {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 6px 7px 6px 14px;
	border: 1px solid #dce5d4;
	border-radius: 12px;
	background: #f5f8f1;
	box-shadow: 0 2px 8px rgba(36, 61, 25, .05);
}

body #comjshop > .category-heading > .category-toolbar .control-group {
	align-items: center;
	gap: 9px;
	margin: 0;
}

body #comjshop > .category-heading > .category-toolbar .control-label {
	flex-shrink: 0;
	width: auto;
	margin: 0;
	padding: 0;
	color: #5f6e56;
	font-size: .88rem;
	line-height: 1.2;
	white-space: nowrap;
}

body #comjshop > .category-heading > .category-toolbar .controls {
	margin: 0;
}

body #comjshop > .category-heading > .category-toolbar select#limit {
	width: auto;
	min-width: 78px;
	height: 36px;
	margin: 0;
	padding: 6px 31px 6px 12px;
	border: 1px solid #cbd9bd;
	border-radius: 9px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%234b6b36' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px 8px;
	appearance: none;
	-webkit-appearance: none;
	color: #2c421f;
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: 0 1px 2px rgba(31, 54, 21, .06);
	cursor: pointer;
}

body #comjshop > .category-heading > .category-toolbar select#limit:hover {
	border-color: #9eb68b;
}

body #comjshop > .category-heading > .category-toolbar select#limit:focus {
	border-color: #6f9952;
	outline: 3px solid rgba(94, 143, 62, .18);
	outline-offset: 1px;
}

@media (max-width: 576px) {
	body #comjshop > .category-heading {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	body #comjshop > .category-heading > .category-toolbar {
		width: 100%;
	}

	body #comjshop > .category-heading > .category-toolbar .block_sorting_count_to_page {
		display: flex;
		width: 100%;
		justify-content: space-between;
	}

	body #comjshop > .category-heading > .category-toolbar .control-group {
		flex: 1;
		justify-content: space-between;
	}

	body #comjshop > .category-heading > .category-toolbar select#limit {
		min-width: 82px;
	}
}

/* Четыре колонки в разделах кактусов и семян кактусов на десктопе */
@media (min-width: 992px) {
	body #comjshop.category-id-1 .jshop_list_category .row-fluid,
	body #comjshop.category-id-6 .jshop_list_category .row-fluid,
	body #comjshop.category-id-1 .jshop_list_product #comjshop_list_product > .row-fluid,
	body #comjshop.category-id-6 .jshop_list_product #comjshop_list_product > .row-fluid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Более компактные подписи карточек во внутренних категориях */
body:not(.view-category.no-task) .jshop_list_category .jshop_categ .category_info {
	padding: 10px 14px 11px;
}

body:not(.view-category.no-task) .jshop_list_category .jshop_categ .qty-products {
	margin-top: 4px;
}

/* Семена: компактный список в один столбец с фото таксона */
body #comjshop.seed-products .jshop_list_product #comjshop_list_product > .row-fluid {
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

body #comjshop.seed-products .jshop_list_product #comjshop_list_product > .row-fluid > [class*="sblock"] > .block_product,
body #comjshop.seed-products .jshop_list_product #comjshop_list_product > .row-fluid > [class*="sblock"] > .block_product:hover {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body #comjshop.seed-products .jshop_list_product #comjshop_list_product > .row-fluid > [class*="sblock"] > .block_product > .product {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) minmax(150px, auto);
	grid-template-areas:
		"image name price"
		"image description buttons";
	align-items: center;
	gap: 8px 18px;
	padding: 12px 14px;
}

body #comjshop.seed-products .jshop_list_product .product::before,
body #comjshop.seed-products .jshop_list_product .product::after {
	display: none;
}

body #comjshop.seed-products .jshop_list_product .product > .image {
	grid-area: image;
	align-self: center;
	padding: 0;
}

body #comjshop.seed-products .jshop_list_product .product .image_block {
	width: 104px;
	height: 88px;
	min-height: 0;
	aspect-ratio: auto;
}

body #comjshop.seed-products .jshop_list_product .product .image_block img.seed-image-gallery {
	object-fit: cover;
}

body #comjshop.seed-products .jshop_list_product .product .image_block img.seed-image-empty {
	padding: 13px;
	object-fit: contain;
	background: linear-gradient(145deg, #faf8f1, #eee9dc);
}

body #comjshop.seed-products .jshop_list_product .product > .name {
	grid-area: name;
	align-self: center;
	padding: 0;
}

body #comjshop.seed-products .jshop_list_product .product .seed-list-stock {
	display: block;
	margin-top: 4px;
	color: var(--cg-muted);
	font-size: .82rem;
	font-weight: 400;
	line-height: 1.25;
}

body #comjshop.seed-products .jshop_list_product .product > .oiproduct {
	display: contents;
}

body #comjshop.seed-products .jshop_list_product .product .block_available,
body #comjshop.seed-products .jshop_list_product .product .qty_in_stock,
body #comjshop.seed-products .jshop_list_product .product .price_extra_info,
body #comjshop.seed-products .jshop_list_product .product .extra_fields {
	display: none;
}

body #comjshop.seed-products .jshop_list_product .product .jshop_price {
	grid-area: price;
	align-self: center;
	justify-self: end;
	margin: 0;
	white-space: nowrap;
}

body #comjshop.seed-products .jshop_list_product .product > .description {
	grid-area: description;
	align-self: start;
	margin: 0;
	padding: 0;
}

body #comjshop.seed-products .jshop_list_product .product .buttons {
	grid-area: buttons;
	align-self: start;
	justify-self: end;
	flex-wrap: nowrap;
	margin: 0;
}

body #comjshop.seed-products .jshop_list_product .product .buttons .btn {
	min-height: 36px;
	padding: 7px 12px;
	font-size: .86rem;
}

body #comjshop.seed-products .jshop_list_product .product .product-quantity {
	height: 36px;
}

body #comjshop.seed-products .jshop_list_product .product .product-quantity-input {
	height: 34px;
	line-height: 34px;
}

@media (max-width: 767.98px) {
	body #comjshop.seed-products .jshop_list_product #comjshop_list_product > .row-fluid > [class*="sblock"] > .block_product > .product {
		grid-template-columns: 82px minmax(0, 1fr);
		grid-template-areas:
			"image name"
			"image price"
			"description description"
			"buttons buttons";
		gap: 6px 12px;
		padding: 12px;
	}

	body #comjshop.seed-products .jshop_list_product .product .image_block {
		width: 82px;
		height: 82px;
	}

	body #comjshop.seed-products .jshop_list_product .product .jshop_price {
		justify-self: start;
	}

	body #comjshop.seed-products .jshop_list_product .product .description {
		margin-top: 5px;
	}

	body #comjshop.seed-products .jshop_list_product .product .buttons {
		justify-self: start;
		flex-wrap: wrap;
		margin-top: 4px;
	}
}

/* ---------- Подробная карточка товара ---------- */
body .productfull .product-prev-next {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	max-width: 1000px;
	margin: 4px 0 20px;
	font-size: 14px;
}

body .productfull .product-prev-next a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 48%;
	padding: 10px 18px;
	border: 1px solid #d7e4c6;
	border-radius: 999px;
	background: #f1f7e9;
	color: #2e5d1f;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(30, 50, 20, .06);
	transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body .productfull .product-prev-next a.next {
	margin-left: auto;
	text-align: right;
}

body .productfull .product-prev-next a::before,
body .productfull .product-prev-next a::after {
	flex: 0 0 auto;
	font-size: 1.15em;
	line-height: 1;
	transition: transform .25s ease;
}

body .productfull .product-prev-next a.prev::before {
	content: "\2190";
}

body .productfull .product-prev-next a.next::after {
	content: "\2192";
}

body .productfull .product-prev-next a:hover {
	border-color: #b7cf9a;
	background: #e4f0d5;
	box-shadow: 0 4px 12px rgba(30, 50, 20, .12);
	text-decoration: none;
}

body .productfull .product-prev-next a.prev:hover::before {
	transform: translateX(-4px);
}

body .productfull .product-prev-next a.next:hover::after {
	transform: translateX(4px);
}

body .productfull .product-prev-next a span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body .productfull .product-prev-next > span {
	flex: 1 1 auto;
}

body .productfull > h1 {
	margin: 0 0 9px;
	color: var(--cg-ink);
	font-size: clamp(1.7rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.22;
}

body .productfull > .plants-locality {
	margin: 0 0 22px;
	color: #58634f;
	font-size: .96rem;
	line-height: 1.5;
}

body .productfull > .row.jshop {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 22px;
	margin: 0;
}

body .productfull > .row.jshop > .col-lg-4,
body .productfull > .row.jshop > .col-lg-8 {
	flex: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

body .productfull .image_middle {
	margin: 0;
	padding: 12px;
	border: 1px solid var(--cg-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: none;
}

body .productfull .image_middle #list_product_image_middle .lightbox {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #f2f4ee;
}

body .productfull .image_middle #list_product_image_middle img {
	width: 100%;
	height: auto;
	max-height: 520px;
	aspect-ratio: auto;
	object-fit: contain;
	border-radius: 8px;
	transition: transform .35s ease;
}

body .productfull .plants-adult-photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
	transition: transform .35s ease;
}

body .productfull .image_middle #list_product_image_middle img[src*="noimage"] {
	padding: 48px;
	object-fit: contain;
}

@media (hover: hover) {
	body .productfull .image_middle #list_product_image_middle .lightbox:hover img,
	body .productfull .plants-adult-photo:hover img {
		transform: scale(1.025);
	}
}

body .productfull .text_zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: 0;
	border-radius: 50%;
	background: rgba(34, 59, 28, .82);
	color: #fff;
	font-size: 0;
	line-height: 1;
	text-decoration: none;
	pointer-events: none;
}

body .productfull .text_zoom .icon-zoom-in::before {
	content: "↗";
	font-size: 1.15rem;
	font-weight: 400;
}

body .productfull .image_thumb_list {
	margin: 12px 2px 0;
}

body .productfull > .row.jshop > .jshop_oiproduct {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin: 0;
	padding: 28px;
	border: 1px solid #dce5d4;
	border-radius: 16px;
	background: #f8faf5;
	box-shadow: none;
}

body .productfull .prod_price {
	margin: 0 0 20px;
	padding: 0 0 18px;
	border-bottom: 1px solid #dce5d4;
	font-size: 0;
	line-height: 1.15;
}

body .productfull .prod_price_label {
	display: block;
	margin-bottom: 7px;
	color: var(--cg-muted);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

body .productfull #block_price {
	display: block;
	color: var(--cg-green-dark);
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: -.02em;
}

body .productfull .old_price {
	margin: -8px 0 14px;
	color: var(--cg-muted);
}

body .productfull .extra_fields {
	margin: 0 0 18px;
	padding: 3px 16px;
	border: 1px solid #e0e7da;
	border-radius: 10px;
	background: #fff;
}

body .productfull .extra_fields_el {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid #dfe7d7;
	line-height: 1.4;
}

body .productfull .extra_fields_el:last-child {
	border-bottom: 0;
}

body .productfull .extra_fields_name {
	color: #58634f;
	font-weight: 500;
}

body .productfull .extra_fields_value {
	color: var(--cg-ink);
	font-weight: 650;
	text-align: right;
}

body .productfull .qty_in_stock {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 4px;
	margin: 0 0 12px;
	padding: 6px 11px;
	border: 1px solid #d4e2ca;
	border-radius: 999px;
	background: #edf4e8;
	color: #3e612c;
	font-size: .84rem;
	font-weight: 500;
	line-height: 1.35;
}

body .productfull .qty_in_stock::before {
	width: 7px;
	height: 7px;
	margin-right: 3px;
	border-radius: 50%;
	background: #5a8c3f;
	content: "";
}

body .productfull #product_qty {
	font-weight: 650;
}

body .productfull .block_available.not_available {
	align-self: flex-start;
	margin: 0 0 14px;
	padding: 6px 10px;
	border-radius: 8px;
	background: #f3f1ed;
	color: #7b7168;
}

body .productfull .prod_buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px;
	border: 1px solid #dce5d4;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(45, 74, 34, .06);
}

body .productfull .prod_qty_input.product-quantity {
	display: grid;
	grid-template-columns: 40px 46px 40px;
	flex: 0 0 auto;
	height: 48px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid #ccd8c1;
	border-radius: 10px;
	background: #fff;
}

body .productfull .product-quantity-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: #f3f7ed;
	color: #3e612c;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

body .productfull .product-quantity-btn:hover,
body .productfull .product-quantity-btn:focus-visible {
	background: #e3edd9;
	color: #294d1a;
}

body .productfull .product-quantity-btn:focus-visible,
body .productfull .product-quantity-input:focus-visible,
body .productfull .product-buttons .btn-buy:focus-visible {
	outline: 3px solid rgba(46, 125, 50, .25);
	outline-offset: 2px;
}

body .productfull .product-quantity-btn:disabled {
	background: #f6f8f3;
	color: #9aa492;
	cursor: not-allowed;
}

body .productfull .product-quantity-input {
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-right: 1px solid #dce5d3;
	border-left: 1px solid #dce5d3;
	border-radius: 0;
	background: #fff;
	color: var(--cg-ink);
	font-size: .95rem;
	font-weight: 600;
	line-height: 46px;
	text-align: center;
	box-shadow: none;
	appearance: textfield;
}

body .productfull .product-quantity-input::-webkit-inner-spin-button,
body .productfull .product-quantity-input::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

body .productfull .product-buttons {
	display: flex;
	flex: 1 1 auto;
	gap: 8px;
	margin: 0;
	padding: 0;
}

body .productfull .product-buttons .btn-buy {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 20px;
	border: 0;
	border-radius: 10px;
	background: var(--cg-green);
	color: #fff;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 3px 8px rgba(46, 125, 50, .16);
	transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

body .productfull .product-buttons .btn-buy:hover,
body .productfull .product-buttons .btn-buy:focus-visible {
	background: var(--cg-green-dark);
	color: #fff;
	box-shadow: 0 5px 12px rgba(46, 125, 50, .2);
	transform: translateY(-1px);
}

body .productfull .product-buttons .btn-buy:active {
	transform: translateY(0);
}

body .productfull .product-adult-section {
	margin-top: 30px;
}

body .productfull .plants-adult {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body .productfull .plants-adult-title {
	margin: 0 0 14px;
	padding: 0 0 10px;
	border-bottom: 1px solid var(--cg-line);
	color: var(--cg-ink);
	font-size: 1.08rem;
	font-weight: 650;
}

body .productfull .plants-adult-photos {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

body .productfull .plants-adult-photo {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	background: #f2f4ee;
}

body .productfull .plants-adult-more {
	margin-top: 12px;
	text-align: right;
}

body .productfull .plants-adult-more a {
	color: var(--cg-green-dark);
	font-weight: 600;
	text-decoration: none;
}

body .productfull .plants-adult-more a:hover {
	text-decoration: underline;
}

body .productfull .jshop_prod_description:empty {
	display: none;
}

body .productfull .jshop_prod_description:not(:empty) {
	margin-top: 24px;
	padding: 20px 22px;
	border-radius: 14px;
	background: #f4f7ef;
	line-height: 1.65;
}

@media (min-width: 576px) {
	body .productfull .plants-adult-photos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	body .productfull > .row.jshop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
		max-width: 1000px;
	}

	body .productfull .plants-adult-photos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (max-width: 575.98px) {
	body .productfull .product-prev-next {
		gap: 8px;
		margin-bottom: 16px;
		font-size: 12px;
	}

	body .productfull .product-prev-next a {
		padding: 8px 11px;
	}

	body .productfull .product-prev-next a span {
		font-size: 0;
	}

	body .productfull .product-prev-next a.prev span::after,
	body .productfull .product-prev-next a.next span::after {
		font-size: 12px;
	}

	body .productfull .product-prev-next a.prev span::after {
		content: "Назад";
	}

	body .productfull .product-prev-next a.next span::after {
		content: "Вперёд";
	}

	body .productfull .image_middle,
	body .productfull > .row.jshop > .jshop_oiproduct {
		border-radius: 14px;
	}

	body .productfull .image_middle {
		padding: 10px;
	}

	body .productfull > .row.jshop > .jshop_oiproduct {
		padding: 20px;
	}

	body .productfull #block_price {
		font-size: 1.65rem;
	}

	body .productfull .prod_buttons {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 12px;
	}

	body .productfull .prod_qty_input.product-quantity {
		grid-template-columns: 48px minmax(48px, 1fr) 48px;
		width: 100%;
		height: 46px;
	}

	body .productfull .product-quantity-input {
		width: 100%;
		height: 44px;
		line-height: 44px;
	}

	body .productfull .product-buttons .btn-buy {
		min-height: 46px;
		padding: 11px 16px;
	}
}

/* Цена и покупка прижаты к нижнему краю карточки растения */
body #comjshop:not(.seed-products) .jshop_list_product .product .jshop_price {
	width: calc(100% - 116px);
	margin: auto 0 10px 116px;
	text-align: center;
}

body #comjshop:not(.seed-products) .jshop_list_product .product .buttons {
	margin: 0;
}

/* У товара без собственного фото не оставляем пустую колонку */
body .productfull.product-no-image > .row.jshop {
	grid-template-columns: minmax(0, 520px);
	width: 100%;
	max-width: 520px;
}

/* На десктопе блок информации повторяет ширину фото из галереи */
@media (min-width: 992px) {
	body .productfull.product-no-image > .row.jshop {
		grid-template-columns: minmax(0, 1fr);
		width: calc((100% - 36px) / 3);
		max-width: none;
	}
}

body .productfull.product-no-image > .row.jshop > .col-lg-4 {
	display: none;
}

/* ---------- Корзина ---------- */
body #comjshop.cg-cart-page {
	max-width: 100%;
}

.cg-cart-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 4px 0 24px;
}

.cg-cart-heading h1 {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.25;
}

.cg-cart-heading__count {
	flex: 0 0 auto;
	padding: 6px 12px;
	border: 1px solid var(--cg-line);
	border-radius: 999px;
	background: var(--cg-soft);
	color: var(--cg-text);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.4;
}

.cg-cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
}

.cg-cart-items {
	min-width: 0;
}

.cg-cart-items table.cart,
.cg-cart-items table.cart tbody {
	display: block;
	width: 100%;
}

.cg-cart-items table.cart {
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
}

.cg-cart-items table.cart tbody {
	display: grid;
	gap: 14px;
}

.cg-cart-items table.cart > tbody > tr:first-child:not(.jshop_prod_cart) {
	display: none;
}

.cg-cart-items table.cart tr.jshop_prod_cart {
	display: grid;
	grid-template-columns: 88px minmax(130px, 1fr) 92px 124px 96px 36px;
	gap: 14px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--cg-line);
	border-radius: 16px;
	background: var(--cg-card);
	box-shadow: 0 3px 12px rgba(27, 49, 24, .06);
	transition: border-color .18s ease, box-shadow .18s ease;
}

.cg-cart-items table.cart tr.jshop_prod_cart:hover {
	border-color: #cbd9b9;
	box-shadow: 0 7px 20px rgba(27, 49, 24, .10);
}

.cg-cart-item-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 7px;
	margin-top: 4px;
}

.cg-cart-items .cg-product-kind {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 2px 6px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	vertical-align: middle;
	white-space: nowrap;
}

.cg-cart-items .cg-product-kind--seed {
	border-color: #e0bd31;
	background: #fff3bf;
	color: #6b5300;
}

.cg-cart-items .cg-product-kind--plant {
	border-color: #8fb876;
	background: #e7f3df;
	color: #285f3b;
}

.cg-cart-items table.cart tr.jshop_prod_cart > td {
	display: block;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	vertical-align: middle;
}

.cg-cart-items .cg-cart-item__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--cg-soft);
}

.cg-cart-items .cg-cart-item__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	object-fit: contain;
}

.cg-cart-no-image {
	display: block;
	width: 100%;
	height: 100%;
	background: url("../images/cactus-icon.png") no-repeat center / 44px auto;
	opacity: .65;
}

.cg-cart-items .product_name .prodname {
	display: inline;
	color: var(--cg-ink);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.4;
	text-decoration: none;
}

.cg-cart-items .product_name .prodname:hover {
	color: var(--cg-green);
	text-decoration: underline;
}

.cg-cart-items .jshop_code_prod {
	display: inline;
	margin: 0;
	color: var(--cg-muted);
	font-size: .75rem;
	line-height: 1.4;
}

.cg-cart-items .product_name .manufacturer,
.cg-cart-items .product_name .manufacturer_code,
.cg-cart-items .product_name .real_ean,
.cg-cart-items .product_name .deliverytime,
.cg-cart-items .product_name .jshop_attribute,
.cg-cart-items .product_name .jshop_free_attribute,
.cg-cart-items .product_name .extra_fields {
	margin-top: 4px;
	color: var(--cg-muted);
	font-size: .8125rem;
	line-height: 1.45;
}

.cg-cart-items .single_price .price,
.cg-cart-items .total_price .data {
	color: var(--cg-ink);
	font-weight: 650;
	white-space: nowrap;
}

.cg-cart-items .total_price .data {
	color: var(--cg-green-dark);
	font-size: 1.0625rem;
	font-weight: 700;
}

.cg-cart-items .taxinfo,
.cg-cart-items .basic_price {
	display: block;
	margin-top: 4px;
	color: var(--cg-muted);
	font-size: .75rem;
	font-weight: 400;
	white-space: normal;
}

.cg-cart-items .quantity .data {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cg-cart-items .quantity .mobile-cart-inline {
	display: none;
}

.cg-cart-items .quantity input.inputbox {
	width: 58px;
	height: 42px;
	margin: 0;
	padding: 4px;
	border-color: #c8d4b6;
	border-radius: 10px;
	background: var(--cg-card);
	color: var(--cg-ink);
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	box-shadow: none;
}

.cg-cart-items .cart_reload {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	margin: 0;
	border: 1px solid #c8d4b6;
	border-radius: 10px;
	background: var(--cg-soft);
	color: var(--cg-green-dark);
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}

.cg-cart-items .cart_reload::before {
	margin: 0;
	font-size: 18px;
	line-height: 1;
}

.cg-cart-items .cart_reload:hover {
	border-color: #9fb88a;
	background: #e5efd9;
}

.cg-cart-items .remove .button-img {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: none;
	color: #8a625b;
	font-size: 0;
	line-height: 1;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.cg-cart-items .remove .button-img::before {
	content: "×";
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
}

.cg-cart-items .remove .button-img:hover {
	background: #fff0ec;
	color: #a33b30;
}

.cg-cart-items div.clear-cart {
	margin: 14px 2px 0;
	text-align: right;
}

.cg-cart-items a.clear-cart,
.cg-cart-items a.clear-cart.btn-danger,
.cg-cart-items button.clear-cart,
.cg-cart-items button.clear-cart.btn-danger {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 10px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--cg-muted);
	font-family: inherit;
	font-size: .875rem;
	font-weight: 500;
	line-height: 1.5;
	text-shadow: none;
	cursor: pointer;
}

.cg-cart-items a.clear-cart:hover,
.cg-cart-items button.clear-cart:hover {
	background: #fff0ec;
	color: #963c32;
}

.cg-cart-summary {
	min-width: 0;
	padding: 24px;
	border: 1px solid #dbe6cd;
	border-radius: 16px;
	background: var(--cg-soft);
	position: sticky;
	top: 24px;
}

.cg-cart-summary h2 {
	margin: 0 0 18px;
	color: var(--cg-ink);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.3;
}

.cg-cart-summary .weightorder,
.cg-cart-summary .shippingfree,
.cg-cart-summary .cartdescr {
	margin: 0 0 12px;
	color: var(--cg-text);
	font-size: .875rem;
	line-height: 1.55;
}

.cg-cart-summary .cartdescr:empty {
	display: none;
}

.cg-cart-summary table.jshop_subtotal,
.cg-cart-summary table.jshop_subtotal tbody {
	display: block;
	width: 100%;
}

.cg-cart-summary table.jshop_subtotal {
	border: 0;
}

.cg-cart-summary table.jshop_subtotal tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
}

.cg-cart-summary table.jshop_subtotal td {
	padding: 0;
	border: 0;
	background: transparent;
}

.cg-cart-summary table.jshop_subtotal .name {
	color: var(--cg-text);
	text-align: left;
}

.cg-cart-summary table.jshop_subtotal .value {
	color: var(--cg-ink);
	font-weight: 650;
	text-align: right;
	white-space: nowrap;
}

.cg-cart-summary table.jshop_subtotal tr.total {
	margin-top: 10px;
	padding-top: 18px;
	border-top: 1px solid #cbd9ba;
	font-size: 1.125rem;
}

.cg-cart-summary table.jshop_subtotal tr.total .name,
.cg-cart-summary table.jshop_subtotal tr.total .value {
	color: var(--cg-green-dark);
	font-size: 1.25rem;
	font-weight: 750;
}

.cg-cart-summary table.jshop_subtotal .plusshippinginfo,
.cg-cart-summary table.jshop_subtotal .free_discount {
	color: var(--cg-muted);
	font-size: .8125rem;
	font-weight: 400;
	white-space: normal;
}

.cg-cart-page > form > .cart_buttons {
	margin-top: 24px;
}

.cg-cart-page .cart_buttons #checkout {
	gap: 16px;
}

.cg-cart-page .cart_buttons .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 20px;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 650;
	line-height: 1.4;
	text-decoration: none;
}

.cg-cart-page .cart_buttons .pull-right .btn {
	min-width: 240px;
}

.cg-cart-page .cart_empty_text {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 48px 24px;
	border: 1px solid var(--cg-line);
	border-radius: 16px;
	background: var(--cg-soft);
	text-align: center;
}

.cg-cart-empty__icon {
	display: block;
	width: 72px;
	height: 72px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: #e1ebD5 url("../images/cactus-icon.png") no-repeat center / 38px auto;
}

.cg-cart-page .cart_empty_text strong {
	color: var(--cg-ink);
	font-size: 1.375rem;
	line-height: 1.4;
}

.cg-cart-page .cart_empty_text p {
	max-width: 460px;
	margin: 10px 0 0;
	color: var(--cg-text);
	font-size: 1rem;
	line-height: 1.6;
}

.cg-cart-page .cart_block_discount {
	max-width: 480px;
	margin-top: 24px;
	padding: 20px;
	border: 1px solid var(--cg-line);
	border-radius: 14px;
	background: var(--cg-soft);
}

.cg-cart-page .cart_block_discount .name {
	margin-bottom: 10px;
	color: var(--cg-ink);
	font-weight: 650;
}

.cg-cart-page .cart_block_discount input.inputbox {
	min-height: 42px;
	margin-right: 8px;
}

@media (max-width: 1279.98px) {
	.cg-cart-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 20px;
	}

	.cg-cart-items table.cart tr.jshop_prod_cart {
		grid-template-columns: 76px minmax(110px, 1fr) 82px 112px 86px 32px;
		gap: 10px;
		padding: 14px;
	}

	.cg-cart-items .cg-cart-item__image {
		width: 76px;
		height: 76px;
	}

	.cg-cart-items .quantity .data {
		gap: 6px;
	}

	.cg-cart-items .quantity input.inputbox {
		width: 54px;
	}

	.cg-cart-summary {
		padding: 20px;
	}
}

@media (max-width: 1199.98px) {
	.cg-cart-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-cart-items table.cart tr.jshop_prod_cart {
		grid-template-columns: 88px minmax(150px, 1fr) 100px 124px 104px 36px;
		gap: 14px;
	}

	.cg-cart-items .cg-cart-item__image {
		width: 88px;
		height: 88px;
	}

	.cg-cart-summary {
		position: static;
	}
}

@media (max-width: 767.98px) {
	.cg-cart-heading {
		margin-bottom: 18px;
	}

	.cg-cart-heading h1 {
		font-size: 1.75rem;
	}

	.cg-cart-items table.cart tbody {
		gap: 12px;
	}

	.cg-cart-items table.cart tr.jshop_prod_cart {
		grid-template-columns: 84px minmax(0, 1fr) auto;
		grid-template-areas:
			"cart-image cart-name cart-name"
			"cart-image cart-price cart-price"
			"cart-image cart-quantity cart-quantity"
			"cart-image cart-total cart-remove";
		gap: 8px 12px;
		align-items: start;
		padding: 14px;
		border-radius: 14px;
	}

	.cg-cart-items table.cart tr.jshop_prod_cart > .jshop_img_description_center {
		grid-area: cart-image;
	}

	.cg-cart-items table.cart tr.jshop_prod_cart > .product_name {
		grid-area: cart-name;
	}

	.cg-cart-items table.cart tr.jshop_prod_cart > .single_price {
		grid-area: cart-price;
	}

	.cg-cart-items table.cart tr.jshop_prod_cart > .quantity {
		grid-area: cart-quantity;
	}

	.cg-cart-items table.cart tr.jshop_prod_cart > .total_price {
		grid-area: cart-total;
		align-self: center;
	}

	.cg-cart-items table.cart tr.jshop_prod_cart > .remove {
		grid-area: cart-remove;
		align-self: center;
		justify-self: end;
		margin-top: 0;
	}

	.cg-cart-items .cg-cart-item__image {
		width: 84px;
		height: 84px;
	}

	.cg-cart-items .product_name .prodname {
		font-size: .9375rem;
	}

	.cg-cart-items .single_price .data,
	.cg-cart-items .total_price .data {
		display: flex;
		align-items: baseline;
		gap: 6px;
		font-size: .9375rem;
	}

	.cg-cart-items .single_price .data::before,
	.cg-cart-items .total_price .data::before {
		color: var(--cg-muted);
		font-size: .8125rem;
		font-weight: 400;
		white-space: nowrap;
	}

	.cg-cart-items .single_price .data::before {
		content: "Цена:";
	}

	.cg-cart-items .total_price .data::before {
		content: "Сумма:";
	}

	.cg-cart-items .quantity .data {
		gap: 8px;
	}

	.cg-cart-items .quantity input.inputbox,
	.cg-cart-items .cart_reload {
		height: 40px;
	}

	.cg-cart-items .cart_reload {
		flex-basis: 40px;
		width: 40px;
	}

	.cg-cart-items .remove .button-img {
		width: auto;
		height: 32px;
		padding: 0 3px;
		background: transparent;
		font-size: 0;
	}

	.cg-cart-items .remove .button-img::before {
		margin-right: 4px;
		font-size: 20px;
	}

	.cg-cart-items .remove .button-img::after {
		content: "Удалить";
		font-size: .8125rem;
		font-weight: 550;
	}

	.cg-cart-items div.clear-cart {
		margin-top: 10px;
		text-align: center;
	}

	.cg-cart-summary {
		margin-top: 20px;
		padding: 20px;
	}

	.cg-cart-page > form > .cart_buttons {
		margin-top: 20px;
	}

	.cg-cart-page .cart_buttons #checkout {
		flex-direction: column;
		gap: 10px;
	}

	.cg-cart-page .cart_buttons .pull-left,
	.cg-cart-page .cart_buttons .pull-right {
		width: 100%;
	}

	.cg-cart-page .cart_buttons .pull-right {
		order: -1;
	}

	.cg-cart-page .cart_buttons .btn,
	.cg-cart-page .cart_buttons .pull-right .btn {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 419.98px) {
	.cg-cart-heading {
		align-items: flex-start;
		gap: 10px;
	}

	.cg-cart-heading__count {
		padding: 5px 9px;
		font-size: .75rem;
	}

	.cg-cart-items table.cart tr.jshop_prod_cart {
		grid-template-columns: 76px minmax(0, 1fr) auto;
		gap: 8px 10px;
		padding: 12px;
	}

	.cg-cart-items .cg-cart-item__image {
		width: 76px;
		height: 76px;
	}

	.cg-cart-items .remove .button-img::before {
		margin-right: 0;
	}

	.cg-cart-items .remove .button-img::after {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cg-cart-items table.cart tr.jshop_prod_cart,
	.cg-cart-items .cart_reload,
	.cg-cart-items .remove .button-img {
		transition: none;
	}
}

body #comjshop .cg-cart-items .product_name .data {
	text-align: left;
}

body #comjshop .cg-cart-items .single_price .price {
	color: var(--cg-ink);
}

/* Итог заказа остаётся внутри панели при любой сумме */
.cg-cart-summary table.jshop_subtotal tr {
	min-width: 0;
}

.cg-cart-summary table.jshop_subtotal .name,
.cg-cart-summary table.jshop_subtotal .value {
	width: auto !important;
	min-width: 0;
	max-width: 100%;
}

.cg-cart-summary table.jshop_subtotal .value {
	white-space: normal;
	overflow-wrap: anywhere;
}

.cg-cart-summary table.jshop_subtotal tr.total {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
}

.cg-cart-summary table.jshop_subtotal tr.total .value {
	margin-left: auto;
}

/* Автоматическое изменение количества */
.cg-cart-items .quantity .data {
	gap: 0;
}

.cg-cart-quantity-control {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.cg-cart-items .cg-cart-qty-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0 0 2px;
	border: 1px solid #b9cba6;
	border-radius: 9px;
	background: var(--cg-soft);
	box-shadow: none;
	color: var(--cg-green-dark);
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.cg-cart-items .cg-cart-qty-button:hover:not(:disabled) {
	border-color: #8faa78;
	background: #e3eed7;
}

.cg-cart-items .cg-cart-qty-button:active:not(:disabled) {
	transform: scale(.96);
}

.cg-cart-items .cg-cart-qty-button:disabled {
	opacity: .42;
	cursor: default;
}

.cg-cart-items .quantity input.inputbox {
	width: 44px;
	height: 38px;
	border-radius: 9px;
	font-size: .9375rem;
	appearance: textfield;
	-moz-appearance: textfield;
}

.cg-cart-items .quantity input.inputbox::-webkit-inner-spin-button,
.cg-cart-items .quantity input.inputbox::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.cg-cart-items .cart_reload {
	display: none !important;
}

@media (min-width: 768px) {
	.cg-cart-items table.cart tr.jshop_prod_cart {
		grid-template-columns: 88px minmax(130px, 1fr) 92px 136px 96px 36px;
	}
}

@media (min-width: 768px) and (max-width: 1279.98px) {
	.cg-cart-items table.cart tr.jshop_prod_cart {
		grid-template-columns: 76px minmax(110px, 1fr) 82px 136px 86px 32px;
	}
}

@media (min-width: 768px) and (max-width: 1199.98px) {
	.cg-cart-items table.cart tr.jshop_prod_cart {
		grid-template-columns: 88px minmax(150px, 1fr) 100px 136px 104px 36px;
	}
}

@media (max-width: 767.98px) {
	.cg-cart-items .cg-cart-qty-button {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}

	.cg-cart-items .quantity input.inputbox {
		height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cg-cart-items .cg-cart-qty-button {
		transition: none;
	}
}

/* Изменившиеся остатки в сохранённой корзине */
.plants-stock-alert {
	margin: 0 0 20px;
	padding: 16px 18px;
	border: 1px solid #e3b7ad;
	border-radius: 14px;
	background: #fff4ef;
	color: #78382f;
	font-size: .9375rem;
	line-height: 1.5;
}

.plants-stock-alert strong {
	display: block;
	margin-bottom: 4px;
	font-size: 1.0625rem;
}

.plants-stock-alert p {
	margin: 0 0 8px;
}

.plants-stock-alert ul {
	margin: 0;
	padding-left: 20px;
}

.cg-cart-items table.cart tr.jshop_prod_cart.cg-cart-item--stock-error {
	border-color: #dda99d;
	background: #fff9f6;
	box-shadow: 0 3px 14px rgba(137, 59, 45, .09);
}

.plants-stock-warning {
	margin-top: 9px;
	padding: 7px 9px;
	border-radius: 8px;
	background: #ffe6de;
	color: #8b3328;
	font-size: .8125rem;
	font-weight: 650;
	line-height: 1.4;
}

.cg-cart-page .cart_buttons .pull-right .btn.disabled {
	pointer-events: none;
	opacity: .62;
}

/* Оформление заказа */
.cg-checkout {
	max-width: 1080px;
	margin: 0 auto;
	padding: 4px 0 30px;
}

.cg-checkout-heading {
	margin: 0 0 22px;
}

.cg-checkout-heading h1 {
	margin: 0 0 7px;
	color: var(--cg-ink);
	font-size: clamp(1.65rem, 3vw, 2rem);
	font-weight: 650;
	line-height: 1.2;
}

.cg-checkout-heading p {
	margin: 0;
	color: var(--cg-muted);
	font-size: .9375rem;
	line-height: 1.55;
}

.cg-checkout-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin: 0 0 24px;
	padding: 6px;
	border: 1px solid var(--cg-line);
	border-radius: 16px;
	background: var(--cg-soft);
}

.cg-checkout-steps .jshop_order_step {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-width: 0;
	min-height: 48px;
	padding: 8px 10px;
	border-radius: 11px;
	color: var(--cg-muted);
	font-size: .875rem;
	line-height: 1.25;
	text-align: left;
}

.cg-checkout-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border: 1px solid #cbd8bb;
	border-radius: 50%;
	background: #fff;
	color: var(--cg-green-dark);
	font-size: .75rem;
	font-weight: 650;
}

.cg-checkout-step__label {
	min-width: 0;
}

.cg-checkout-steps .jshop_order_step.active,
.cg-checkout-steps .jshop_order_step.current,
.cg-checkout-steps .jshop_order_step.step_active,
.cg-checkout-steps .jshop_order_step.active_step {
	background: var(--cg-green-dark);
	box-shadow: 0 2px 7px rgba(27, 94, 32, .16);
	color: #fff;
	font-weight: 600;
}

.cg-checkout-steps .jshop_order_step.active .cg-checkout-step__number,
.cg-checkout-steps .jshop_order_step.current .cg-checkout-step__number,
.cg-checkout-steps .jshop_order_step.step_active .cg-checkout-step__number,
.cg-checkout-steps .jshop_order_step.active_step .cg-checkout-step__number {
	border-color: rgba(255, 255, 255, .5);
	background: rgba(255, 255, 255, .16);
	color: #fff;
}

.cg-checkout-steps .jshop_order_step.completed .cg-checkout-step__number,
.cg-checkout-steps .jshop_order_step.prev .cg-checkout-step__number {
	border-color: var(--cg-green);
	background: var(--cg-green);
	color: #fff;
}

.cg-checkout input.form-control,
.cg-checkout input.inputbox,
.cg-checkout select.form-control,
.cg-checkout select.inputbox,
.cg-checkout textarea.form-control,
.cg-checkout textarea.inputbox {
	max-width: 100%;
	border: 1px solid #ccd7c1;
	border-radius: 10px;
	background-color: #fff;
	color: var(--cg-ink);
	box-shadow: none;
}

.cg-checkout input.form-control,
.cg-checkout input.inputbox,
.cg-checkout select.form-control,
.cg-checkout select.inputbox {
	min-height: 46px;
	padding: 10px 13px;
}

.cg-checkout textarea.form-control,
.cg-checkout textarea.inputbox {
	padding: 12px 13px;
}

.cg-checkout input.form-control:focus,
.cg-checkout input.inputbox:focus,
.cg-checkout select.form-control:focus,
.cg-checkout select.inputbox:focus,
.cg-checkout textarea.form-control:focus,
.cg-checkout textarea.inputbox:focus {
	border-color: #7da765;
	box-shadow: 0 0 0 3px rgba(102, 153, 0, .12);
	outline: 0;
}

.cg-checkout .btn {
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 10px;
	font-weight: 600;
	line-height: 1.35;
}

.cg-checkout .btn-success,
.cg-checkout .btn-primary {
	border-color: var(--cg-green-dark);
	background: var(--cg-green-dark);
	color: #fff;
}

.cg-checkout .btn-success:hover,
.cg-checkout .btn-primary:hover {
	border-color: #144d19;
	background: #144d19;
	color: #fff;
}

/* Вход перед оформлением */
.cg-checkout-login {
	max-width: 960px;
}

.cg-checkout-login > .row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

.cg-checkout-login .login_block,
.cg-checkout-login .register_block {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 26px;
	border: 1px solid var(--cg-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--cg-shadow-s);
}

.cg-checkout-login .small_header {
	margin: 0 0 8px;
	color: var(--cg-ink);
	font-size: 1.125rem;
	font-weight: 650;
}

.cg-checkout-login .logintext {
	margin: 0 0 20px;
	color: var(--cg-muted);
	font-size: .875rem;
	line-height: 1.5;
}

.cg-checkout-login .control-elms {
	margin: 0 0 15px;
}

.cg-checkout-login .control-label {
	margin: 0 0 6px;
	padding: 0;
	color: var(--cg-text);
	font-size: .875rem;
	text-align: left;
}

.cg-checkout-login .controls {
	width: 100%;
	margin: 0;
}

.cg-checkout-login input.inputbox {
	width: 100%;
}

.cg-checkout-login .rowremember .controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cg-checkout-login .rowremember input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--cg-green-dark);
}

.cg-checkout-login .rowremember label {
	margin: 0;
}

.cg-checkout-login .rowbutton {
	margin-top: 20px;
}

.cg-checkout-login .rowbutton .btn,
.cg-checkout-login .block_button_register .btn {
	width: 100%;
}

.cg-checkout-login .rowlostpassword {
	margin: 14px 0 0;
	text-align: center;
}

.cg-checkout-login .rowlostpassword a {
	color: var(--cg-green-dark);
	font-size: .875rem;
}

.cg-checkout-login .text_pay_without_reg {
	display: block;
	margin-top: 24px;
	padding: 20px;
	border: 1px solid #d4e1c5;
	border-radius: 12px;
	background: var(--cg-soft);
	text-align: center;
}

.cg-checkout-login .text_pay_without_reg .small_header {
	font-size: 1rem;
}

.cg-checkout-login .text_pay_without_reg p {
	margin: 0 0 14px;
	color: var(--cg-muted);
	font-size: .8125rem;
}

.cg-checkout-login .text_pay_without_reg .btn {
	width: 100%;
}

/* Адрес */
.cg-checkout-address .address_block.max-500 {
	width: 100%;
	max-width: 680px !important;
	margin: 0 auto;
}

.cg-checkout-address .address_block > form {
	padding: 26px;
	border: 1px solid var(--cg-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--cg-shadow-s);
}

.cg-checkout-address .jshop_register {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 17px;
}

.cg-checkout-address .control-group {
	display: block;
	min-width: 0;
	margin: 0;
}

.cg-checkout-address .control-label {
	float: none;
	width: auto;
	margin: 0 0 6px;
	padding: 0;
	color: var(--cg-text);
	font-size: .8125rem;
	font-weight: 550;
	line-height: 1.35;
	text-align: left;
}

.cg-checkout-address .control-label label {
	margin: 0;
}

.cg-checkout-address .control-label span {
	color: #a1372d;
}

.cg-checkout-address .controls {
	width: 100%;
	margin: 0;
}

.cg-checkout-address .controls input,
.cg-checkout-address .controls select {
	width: 100%;
}

.cg-checkout-address .controls:has(#street_nr) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 90px;
	gap: 8px;
}

.cg-checkout-address .controls:has(#d_street_nr) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 90px;
	gap: 8px;
}

.cg-checkout-address .other_delivery_adress {
	grid-column: 1 / -1;
	margin-top: 20px;
	padding: 18px;
	border-radius: 12px;
	background: var(--cg-soft);
}

.cg-checkout-address .other_delivery_adress .control-label {
	margin-bottom: 10px;
	font-size: .9375rem;
}

.cg-checkout-address .other_delivery_adress .controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cg-checkout-address .other_delivery_adress input {
	width: 18px;
	height: 18px;
	margin: 0 0 0 8px;
	accent-color: var(--cg-green-dark);
}

.cg-checkout-address .other_delivery_adress input:first-child {
	margin-left: 0;
}

.cg-checkout-address .other_delivery_adress label {
	margin: 0;
}

.cg-checkout-address #div_delivery {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--cg-line);
}

.cg-checkout-address .jshop_block_privacy_statement {
	margin-top: 22px;
}

.cg-checkout-address .jshop_block_privacy_statement .control-group {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.cg-checkout-address .jshop_block_privacy_statement .controls {
	flex: 0 0 auto;
	order: -1;
}

.cg-checkout-address .jshop_block_privacy_statement input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--cg-green-dark);
}

.cg-checkout-address .jshop_block_privacy_statement a {
	color: var(--cg-green-dark);
}

.cg-checkout-address .box_button {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--cg-line);
}

.cg-checkout-address .box_button .controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}

.cg-checkout-address .requiredtext {
	margin-right: auto;
	color: var(--cg-muted);
	font-size: .75rem;
}

.cg-checkout-address .box_button .btn {
	min-width: 150px;
}

/* Способы оплаты и доставки */
.cg-checkout-payment .checkout_payment_block,
.cg-checkout-shipping .checkout_shipping_block {
	max-width: 850px;
	margin: 0 auto;
}

#table_payments,
#table_shippings {
	display: grid;
	gap: 12px;
}

#table_payments > .name,
#table_shippings > .name {
	position: relative;
	min-width: 0;
	margin: 0;
	border: 1px solid var(--cg-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(27, 49, 24, .04);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

#table_payments > .name:hover,
#table_shippings > .name:hover {
	border-color: #a9bf95;
}

#table_payments > .name:has(input:checked),
#table_shippings > .name:has(input:checked) {
	border-color: #7ca563;
	background: var(--cg-soft);
	box-shadow: 0 0 0 2px rgba(102, 153, 0, .09);
}

#table_payments > .name > input[type="radio"],
#table_shippings > .name > input[type="radio"] {
	position: absolute;
	z-index: 2;
	top: 23px;
	left: 20px;
	width: 19px;
	height: 19px;
	margin: 0;
	accent-color: var(--cg-green-dark);
	cursor: pointer;
}

#table_payments > .name > label,
#table_shippings > .name > label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 64px;
	margin: 0;
	padding: 17px 20px 17px 54px;
	color: var(--cg-ink);
	cursor: pointer;
}

#table_payments > .name > label b,
#table_shippings > .name > label b {
	font-size: .9375rem;
	font-weight: 600;
}

#table_payments .payment_price,
#table_shippings .shipping_price {
	margin-left: auto;
	color: var(--cg-green-dark);
	font-size: .875rem;
	font-weight: 600;
	white-space: nowrap;
}

#table_payments .payment_image,
#table_shippings .shipping_image {
	display: inline-flex;
	align-items: center;
}

#table_payments .payment_image img,
#table_shippings .shipping_image img {
	max-width: 52px;
	max-height: 34px;
}

#table_payments .paymform {
	margin: -4px 0 2px;
	padding: 0 20px 16px 54px;
	color: var(--cg-muted);
	font-size: .875rem;
	line-height: 1.55;
}

#table_payments .paymform .jshop_payment_method {
	padding: 16px;
	border: 1px solid var(--cg-line);
	border-radius: 12px;
	background: var(--cg-soft);
}

#table_shippings .shipping_descr,
#table_shippings .shipping_form,
#table_shippings .shipping_delivery,
#table_shippings .shipping_delivery_date,
#table_shippings .shipping_weight_to_price {
	margin-right: 20px;
	margin-left: 54px;
}

#table_shippings .shipping_descr {
	padding: 0 0 17px;
	color: var(--cg-muted);
	font-size: .875rem;
	line-height: 1.55;
}

#table_shippings .shipping_form:not(:empty) {
	margin-bottom: 17px;
	padding: 15px;
	border-radius: 10px;
	background: #fff;
}

#table_shippings .shipping_delivery,
#table_shippings .shipping_delivery_date {
	padding-bottom: 15px;
	font-size: .8125rem;
}

.cg-checkout-payment form > input[type="submit"],
.cg-checkout-payment form > button[type="submit"],
.cg-checkout-shipping form > input[type="submit"],
.cg-checkout-shipping form > button[type="submit"] {
	display: block;
	min-width: 160px;
	margin: 22px 0 0 auto;
}

.cg-checkout .fivepost-hint {
	display: block;
	margin-top: 6px;
	color: var(--cg-muted);
	font-size: .8125rem;
	line-height: 1.45;
}

.cg-checkout .fivepost-error {
	margin-top: 10px;
	color: #a31f1f;
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.45;
}

/* Состав заказа на подтверждении */
.cg-checkout-cart {
	max-width: 1000px;
	margin: 0 auto 22px;
	overflow: hidden;
	border: 1px solid var(--cg-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--cg-shadow-s);
}

.cg-checkout-cart__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--cg-line);
	background: var(--cg-soft);
}

.cg-checkout-cart__heading h2 {
	margin: 0;
	color: var(--cg-ink);
	font-size: 1.125rem;
	font-weight: 650;
}

.cg-checkout-cart__heading > span {
	padding: 4px 10px;
	border-radius: 20px;
	background: #fff;
	color: var(--cg-muted);
	font-size: .75rem;
}

.cg-checkout-cart table.cartcheckout,
.cg-checkout-cart table.cartcheckout tbody,
.cg-checkout-cart table.jshop_subtotal,
.cg-checkout-cart table.jshop_subtotal tbody {
	display: block;
	width: 100%;
}

.cg-checkout-cart table.cartcheckout {
	margin: 0;
}

.cg-checkout-cart table.cartcheckout > tr:first-child,
.cg-checkout-cart table.cartcheckout > tbody > tr:first-child {
	display: none;
}

.cg-checkout-cart table.cartcheckout tr.jshop_prod_cart {
	display: grid;
	grid-template-columns: 72px minmax(180px, 1fr) 110px 80px 120px;
	align-items: center;
	gap: 16px;
	padding: 16px 22px;
	border-bottom: 1px solid var(--cg-line);
	background: #fff;
}

.cg-checkout-cart table.cartcheckout td {
	display: block;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
}

.cg-checkout-cart .jshop_img_description_center .data,
.cg-checkout-cart .jshop_img_description_center a {
	display: block;
	width: 72px;
	height: 72px;
}

.cg-checkout-cart .jshop_img_description_center img,
.cg-checkout-cart .cg-cart-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 10px;
	background: var(--cg-soft);
	object-fit: contain;
}

.cg-checkout-cart .cg-cart-no-image {
	color: var(--cg-muted);
	font-size: .6875rem;
}

.cg-checkout-cart .product_name .prodname {
	color: var(--cg-ink);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.4;
}

.cg-checkout-cart .single_price,
.cg-checkout-cart .total_price {
	white-space: nowrap;
}

.cg-checkout-cart .single_price .data,
.cg-checkout-cart .quantity .data {
	color: var(--cg-muted);
	font-size: .8125rem;
}

.cg-checkout-cart .total_price .data {
	color: var(--cg-ink);
	font-size: .875rem;
	font-weight: 650;
	text-align: right;
}

.cg-checkout-cart .quantity .mobile-cart-inline {
	display: none;
}

.cg-checkout-cart .cartdescr,
.cg-checkout-cart .weightorder {
	padding: 12px 22px 0;
	color: var(--cg-muted);
	font-size: .8125rem;
}

.cg-checkout-cart table.jshop_subtotal {
	max-width: 420px;
	margin: 18px 22px 20px auto;
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--cg-soft);
}

.cg-checkout-cart table.jshop_subtotal tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 5px 0;
}

.cg-checkout-cart table.jshop_subtotal td {
	padding: 0;
	border: 0;
}

.cg-checkout-cart table.jshop_subtotal .name {
	color: var(--cg-muted);
	font-size: .8125rem;
}

.cg-checkout-cart table.jshop_subtotal .value {
	color: var(--cg-ink);
	font-size: .875rem;
	text-align: right;
	white-space: nowrap;
}

.cg-checkout-cart table.jshop_subtotal tr.total {
	margin-top: 7px;
	padding-top: 12px;
	border-top: 1px solid #cfddbf;
}

.cg-checkout-cart table.jshop_subtotal tr.total .name,
.cg-checkout-cart table.jshop_subtotal tr.total .value {
	color: var(--cg-green-dark);
	font-size: 1.125rem;
	font-weight: 700;
}

/* Подтверждение */
.cg-checkout-preview .checkout_pfinish_block {
	max-width: 1000px;
	margin: 0 auto;
}

.cg-checkout-preview .checkoutinfo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.cg-checkout-preview .checkoutinfo > div {
	padding: 18px 20px;
	border: 1px solid var(--cg-line);
	border-radius: 14px;
	background: #fff;
	color: var(--cg-text);
	font-size: .875rem;
	line-height: 1.6;
}

.cg-checkout-preview .checkoutinfo strong {
	display: block;
	margin: 0 0 6px;
	color: var(--cg-ink);
	font-weight: 650;
}

.cg-checkout-preview .checkoutinfo strong + span {
	display: block;
}

.cg-checkout-preview .pfinish_comment_block {
	margin-top: 18px;
	padding: 22px;
	border: 1px solid var(--cg-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--cg-shadow-s);
}

.cg-checkout-preview .pfinish_comment_block > .name {
	margin-bottom: 8px;
	color: var(--cg-ink);
	font-weight: 650;
}

.cg-checkout-preview .pfinish_comment_block textarea {
	width: 100%;
	min-height: 110px;
	resize: vertical;
}

.cg-checkout-preview .row_agb,
.cg-checkout-preview .row_no_return {
	margin-top: 16px;
	font-size: .8125rem;
	line-height: 1.55;
}

.cg-checkout-preview .row_agb input,
.cg-checkout-preview .row_no_return input {
	width: 18px;
	height: 18px;
	margin: 0 5px 0 0;
	vertical-align: -3px;
	accent-color: var(--cg-green-dark);
}

.cg-checkout-preview .row_agb a {
	color: var(--cg-green-dark);
}

.cg-checkout-preview .box_button {
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
}

.cg-checkout-preview #previewfinish_btn {
	min-width: 230px;
	min-height: 50px;
}

@media (max-width: 767.98px) {
	.cg-checkout {
		padding-bottom: 22px;
	}

	.cg-checkout-heading {
		margin-bottom: 18px;
	}

	.cg-checkout-steps {
		gap: 4px;
		margin-bottom: 18px;
		padding: 4px;
		border-radius: 13px;
	}

	.cg-checkout-steps .jshop_order_step {
		flex-direction: column;
		gap: 5px;
		min-height: 66px;
		padding: 7px 3px;
		font-size: .6875rem;
		line-height: 1.2;
		text-align: center;
	}

	.cg-checkout-step__number {
		flex-basis: 23px;
		width: 23px;
		height: 23px;
		font-size: .6875rem;
	}

	.cg-checkout-login > .row {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.cg-checkout-login .login_block,
	.cg-checkout-login .register_block {
		padding: 20px;
	}

	.cg-checkout-address .address_block > form {
		padding: 18px;
	}

	.cg-checkout-address .jshop_register {
		grid-template-columns: minmax(0, 1fr);
		gap: 15px;
	}

	.cg-checkout-address .box_button .controls {
		flex-wrap: wrap;
	}

	.cg-checkout-address .requiredtext {
		width: 100%;
		margin: 0;
		text-align: center;
	}

	.cg-checkout-address .box_button .btn {
		width: 100%;
	}

	#table_payments > .name > label,
	#table_shippings > .name > label {
		align-items: flex-start;
		flex-wrap: wrap;
		padding-right: 15px;
	}

	#table_payments .payment_price,
	#table_shippings .shipping_price {
		white-space: normal;
	}

	#table_payments .paymform {
		padding-right: 15px;
		padding-left: 20px;
	}

	#table_shippings .shipping_descr,
	#table_shippings .shipping_form,
	#table_shippings .shipping_delivery,
	#table_shippings .shipping_delivery_date,
	#table_shippings .shipping_weight_to_price {
		margin-right: 15px;
		margin-left: 20px;
	}

	.cg-checkout-payment form > input[type="submit"],
	.cg-checkout-payment form > button[type="submit"],
	.cg-checkout-shipping form > input[type="submit"],
	.cg-checkout-shipping form > button[type="submit"] {
		width: 100%;
	}

	.cg-checkout-cart__heading {
		padding: 15px 16px;
	}

	.cg-checkout-cart table.cartcheckout tr.jshop_prod_cart {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas:
			"image product product"
			"image price total"
			"image quantity quantity";
		gap: 7px 12px;
		padding: 14px 16px;
	}

	.cg-checkout-cart table.cartcheckout .jshop_img_description_center {
		grid-area: image;
		align-self: start;
	}

	.cg-checkout-cart table.cartcheckout .product_name {
		grid-area: product;
	}

	.cg-checkout-cart table.cartcheckout .single_price {
		grid-area: price;
	}

	.cg-checkout-cart table.cartcheckout .quantity {
		grid-area: quantity;
	}

	.cg-checkout-cart table.cartcheckout .total_price {
		grid-area: total;
	}

	.cg-checkout-cart .jshop_img_description_center .data,
	.cg-checkout-cart .jshop_img_description_center a,
	.cg-checkout-cart .jshop_img_description_center img,
	.cg-checkout-cart .cg-cart-no-image {
		width: 64px;
		height: 64px;
	}

	.cg-checkout-cart .single_price .data {
		display: flex;
		align-items: baseline;
		gap: 5px;
		white-space: normal;
	}

	.cg-checkout-cart .single_price .data::before {
		content: "Цена:";
		font-size: .6875rem;
	}

	.cg-checkout-cart .quantity .mobile-cart-inline {
		display: inline;
	}

	.cg-checkout-cart .total_price .data {
		font-size: .8125rem;
	}

	.cg-checkout-cart table.jshop_subtotal {
		max-width: none;
		margin: 14px 16px 16px;
		padding: 11px 14px;
	}

	.cg-checkout-preview .checkoutinfo {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.cg-checkout-preview .checkoutinfo > div,
	.cg-checkout-preview .pfinish_comment_block {
		padding: 17px;
	}

	.cg-checkout-preview .box_button,
	.cg-checkout-preview #previewfinish_btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	#table_payments > .name,
	#table_shippings > .name {
		transition: none;
	}
}

/* Исправления после визуальной проверки оформления */
body #comjshop #jshop_menu_order.cg-checkout-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
}

body #comjshop #jshop_menu_order.cg-checkout-steps .jshop_order_step {
	display: flex;
	float: none;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}

body #comjshop.cg-checkout .btn-success,
body #comjshop.cg-checkout .btn-primary {
	border-color: var(--cg-green-dark);
	background: var(--cg-green-dark);
	background-image: none;
	color: #fff;
	box-shadow: none;
}

body #comjshop.cg-checkout .btn-success:hover,
body #comjshop.cg-checkout .btn-primary:hover {
	border-color: #144d19;
	background: #144d19;
	color: #fff;
}

.cg-checkout-address .jshop_block_privacy_statement .control-group {
	display: grid !important;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
	width: 100%;
	margin: 0;
}

.cg-checkout-address .jshop_block_privacy_statement .control-label.name {
	grid-column: 2;
	grid-row: 1;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

.cg-checkout-address .jshop_block_privacy_statement .controls {
	grid-column: 1;
	grid-row: 1;
	width: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.cg-checkout-address .requiredtext {
	width: auto;
	white-space: nowrap;
}

.cg-checkout-preview .checkout_pfinish_block form {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.cg-checkout-preview .pfinish_comment_block {
	width: 100%;
	box-sizing: border-box;
}

.cg-checkout-preview .pfinish_comment_block > .name {
	text-align: left !important;
}

#table_payments .paymform:has(.jshop_payment_method:empty) {
	display: none !important;
}

.cg-checkout-cart table.cartcheckout td {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.cg-checkout-address .box_button .btn {
		width: auto;
	}
}

@media (max-width: 767.98px) {
	body #comjshop #jshop_menu_order.cg-checkout-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}

	body #comjshop #jshop_menu_order.cg-checkout-steps .jshop_order_step {
		flex-direction: column;
		width: auto !important;
		padding: 7px 3px;
	}

	.cg-checkout-cart table.jshop_subtotal {
		width: auto !important;
		box-sizing: border-box;
	}

	.cg-checkout-cart table.jshop_subtotal tr {
		gap: 10px;
	}

	.cg-checkout-cart table.jshop_subtotal tr.total {
		flex-wrap: wrap;
		row-gap: 5px;
	}

	.cg-checkout-cart table.jshop_subtotal tr.total .value {
		margin-left: auto;
	}

	.cg-checkout-address .requiredtext {
		white-space: normal;
	}
}

/* Сброс узких правил старого шаблона на подтверждении */
body #comjshop.cg-checkout-preview .checkout_pfinish_block form {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body #comjshop.cg-checkout-preview .pfinish_comment_block {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 18px 0 0 !important;
}

body #comjshop.cg-checkout-preview .pfinish_comment_block textarea {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}

body #comjshop .cg-checkout-cart table.jshop_subtotal td.name,
body #comjshop .cg-checkout-cart table.jshop_subtotal td.value {
	float: none !important;
	width: auto !important;
	max-width: none !important;
}

body #comjshop .cg-checkout-cart table.cartcheckout td.total_price {
	display: block !important;
}

body #comjshop .cg-checkout-cart .product_name .data {
	text-align: left !important;
}

body #comjshop .cg-checkout-cart .single_price .price {
	color: var(--cg-muted) !important;
	font-size: .8125rem !important;
	font-weight: 400 !important;
}

@media (max-width: 767.98px) {
	body #comjshop .cg-checkout-cart table.jshop_subtotal tr.total {
		flex-wrap: nowrap;
	}

	body #comjshop .cg-checkout-cart table.jshop_subtotal tr.total .name,
	body #comjshop .cg-checkout-cart table.jshop_subtotal tr.total .value {
		font-size: 1rem;
	}
}

/* BEGIN CG PAY PAGE — материал «Оплата и доставка», itemid 204 */
body.itemid-204 .com-content-article__body .cg-pay-page {
	--cg-pay-green: #285c35;
	--cg-pay-dark: #213b28;
	--cg-pay-muted: #667066;
	--cg-pay-border: #dfe6da;
	color: var(--cg-pay-dark);
	font-size: 1rem;
	line-height: 1.62;
}

body.itemid-204 .com-content-article__body .cg-pay-page p {
	margin: 0 0 14px;
}

body.itemid-204 .com-content-article__body .cg-pay-page p:last-child {
	margin-bottom: 0;
}

body.itemid-204 .com-content-article__body .cg-pay-page h2 {
	margin: 0 0 18px;
	color: var(--cg-pay-dark);
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.25;
}

body.itemid-204 .com-content-article__body .cg-pay-page h3 {
	margin: 0 0 5px;
	color: var(--cg-pay-dark);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
}

body.itemid-204 .com-content-article__body .cg-pay-page a {
	color: var(--cg-pay-green);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.itemid-204 .com-content-article__body .cg-pay-notice {
	margin-bottom: 18px;
	padding: 18px 20px;
	border: 1px solid #e3c965;
	border-radius: 14px;
	background: #fff8dc;
}

body.itemid-204 .com-content-article__body .cg-pay-notice > strong {
	display: block;
	margin-bottom: 5px;
	color: #604d08;
	font-size: 1.125rem;
}

body.itemid-204 .com-content-article__body .cg-pay-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}

body.itemid-204 .com-content-article__body .cg-pay-fact {
	padding: 15px 17px;
	border: 1px solid var(--cg-pay-border);
	border-radius: 12px;
	background: #f3f7ed;
}

body.itemid-204 .com-content-article__body .cg-pay-fact strong,
body.itemid-204 .com-content-article__body .cg-pay-fact span {
	display: block;
}

body.itemid-204 .com-content-article__body .cg-pay-fact strong {
	margin-bottom: 3px;
	color: var(--cg-pay-green);
	font-size: 1.35rem;
	line-height: 1.2;
}

body.itemid-204 .com-content-article__body .cg-pay-fact span {
	color: var(--cg-pay-muted);
	font-size: .875rem;
	line-height: 1.4;
}

body.itemid-204 .com-content-article__body .cg-pay-section {
	margin: 0 0 22px;
	padding: 24px;
	border: 1px solid var(--cg-pay-border);
	border-radius: 16px;
	background: #fff;
}

body.itemid-204 .com-content-article__body .cg-pay-steps {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	counter-reset: cg-pay-step;
}

body.itemid-204 .com-content-article__body .cg-pay-steps > li {
	position: relative;
	margin: 0 0 10px;
	padding: 14px 16px 14px 54px;
	border: 1px solid #e7ece2;
	border-radius: 12px;
	background: #fafbf8;
	counter-increment: cg-pay-step;
}

body.itemid-204 .com-content-article__body .cg-pay-steps > li::before {
	content: counter(cg-pay-step);
	position: absolute;
	top: 14px;
	left: 15px;
	display: grid;
	width: 27px;
	height: 27px;
	place-items: center;
	border-radius: 50%;
	background: var(--cg-pay-green);
	color: #fff;
	font-size: .875rem;
	font-weight: 700;
	line-height: 1;
}

body.itemid-204 .com-content-article__body .cg-pay-steps > li:last-child {
	margin-bottom: 0;
}

body.itemid-204 .com-content-article__body .cg-pay-note {
	margin: 18px 0;
	padding: 15px 17px;
	border-left: 4px solid #759b58;
	border-radius: 0 10px 10px 0;
	background: #f1f6e9;
}

body.itemid-204 .com-content-article__body .cg-pay-note p {
	margin-bottom: 9px;
}

body.itemid-204 .com-content-article__body .cg-pay-methods {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0;
}

body.itemid-204 .com-content-article__body .cg-pay-method {
	padding: 16px;
	border: 1px solid var(--cg-pay-border);
	border-radius: 12px;
	background: #f8faf5;
}

body.itemid-204 .com-content-article__body .cg-pay-method p {
	color: var(--cg-pay-muted);
	font-size: .875rem;
	line-height: 1.5;
}

body.itemid-204 .com-content-article__body .cg-pay-warning {
	padding: 13px 16px;
	border: 1px solid #e4b8aa;
	border-radius: 10px;
	background: #fff2ed;
	color: #773a2e;
}

body.itemid-204 .com-content-article__body .cg-pay-table-wrap {
	width: 100%;
	margin: 18px 0 12px;
}

body.itemid-204 .com-content-article__body .cg-pay-table {
	width: 100%;
	border: 1px solid var(--cg-pay-border);
	border-collapse: collapse;
	table-layout: fixed;
	background: #fff;
	font-size: .9375rem;
}

body.itemid-204 .com-content-article__body .cg-pay-table th,
body.itemid-204 .com-content-article__body .cg-pay-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--cg-pay-border);
	text-align: right;
	vertical-align: middle;
	overflow-wrap: anywhere;
}

body.itemid-204 .com-content-article__body .cg-pay-table th:first-child {
	width: 50%;
	text-align: left;
}

body.itemid-204 .com-content-article__body .cg-pay-table thead th {
	background: var(--cg-pay-green);
	color: #fff;
	font-weight: 700;
}

body.itemid-204 .com-content-article__body .cg-pay-table tbody th {
	background: #f5f8f1;
	font-weight: 600;
}

body.itemid-204 .com-content-article__body .cg-pay-table tbody td {
	color: var(--cg-pay-green);
	font-weight: 700;
	white-space: nowrap;
}

body.itemid-204 .com-content-article__body .cg-pay-table tbody tr:last-child th,
body.itemid-204 .com-content-article__body .cg-pay-table tbody tr:last-child td {
	border-bottom: 0;
}

body.itemid-204 .com-content-article__body .cg-pay-small {
	color: var(--cg-pay-muted);
	font-size: .875rem;
}

body.itemid-204 .com-content-article__body .cg-pay-delivery-notes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 20px;
}

body.itemid-204 .com-content-article__body .cg-pay-delivery-notes p {
	padding: 15px 16px;
	border-radius: 10px;
	background: #f5f7f1;
}

body.itemid-204 .com-content-article__body .cg-pay-discounts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

body.itemid-204 .com-content-article__body .cg-pay-discount {
	padding: 18px 14px;
	border: 1px solid #ccdbbd;
	border-radius: 12px;
	background: #f0f6e8;
	text-align: center;
}

body.itemid-204 .com-content-article__body .cg-pay-discount strong,
body.itemid-204 .com-content-article__body .cg-pay-discount span {
	display: block;
}

body.itemid-204 .com-content-article__body .cg-pay-discount strong {
	margin-bottom: 5px;
	color: var(--cg-pay-green);
	font-size: 2rem;
	line-height: 1;
}

body.itemid-204 .com-content-article__body .cg-pay-discount span {
	font-size: .875rem;
}

body.itemid-204 .com-content-article__body .cg-pay-faq-item {
	padding: 16px 0;
	border-top: 1px solid var(--cg-pay-border);
}

body.itemid-204 .com-content-article__body .cg-pay-faq-item:first-child {
	padding-top: 0;
	border-top: 0;
}

body.itemid-204 .com-content-article__body .cg-pay-faq-item:last-child {
	padding-bottom: 0;
}

body.itemid-204 .com-content-article__body .cg-pay-faq-item h3 {
	margin-bottom: 8px;
	color: var(--cg-pay-green);
}

body.itemid-204 .com-content-article__body .cg-pay-faq-item p {
	color: #4f584f;
}

body.itemid-204 .com-content-article__body .cg-pay-copyright {
	padding: 4px 2px;
	color: var(--cg-pay-muted);
	font-size: .8125rem;
}

@media (max-width: 767.98px) {
	body.itemid-204 .com-content-article__body .cg-pay-page {
		font-size: .9375rem;
	}

	body.itemid-204 .com-content-article__body .cg-pay-page h2 {
		font-size: 1.4rem;
	}

	body.itemid-204 .com-content-article__body .cg-pay-facts,
	body.itemid-204 .com-content-article__body .cg-pay-methods,
	body.itemid-204 .com-content-article__body .cg-pay-delivery-notes {
		grid-template-columns: minmax(0, 1fr);
	}

	body.itemid-204 .com-content-article__body .cg-pay-facts {
		gap: 8px;
	}

	body.itemid-204 .com-content-article__body .cg-pay-fact {
		display: grid;
		grid-template-columns: 105px minmax(0, 1fr);
		align-items: center;
		gap: 10px;
		padding: 11px 13px;
	}

	body.itemid-204 .com-content-article__body .cg-pay-fact strong {
		margin: 0;
		font-size: 1.15rem;
	}

	body.itemid-204 .com-content-article__body .cg-pay-section {
		padding: 18px;
		border-radius: 14px;
	}

	body.itemid-204 .com-content-article__body .cg-pay-notice {
		padding: 15px 16px;
	}

	body.itemid-204 .com-content-article__body .cg-pay-steps > li {
		padding: 12px 12px 12px 46px;
	}

	body.itemid-204 .com-content-article__body .cg-pay-steps > li::before {
		top: 12px;
		left: 11px;
		width: 25px;
		height: 25px;
	}

	body.itemid-204 .com-content-article__body .cg-pay-table {
		font-size: .8125rem;
	}

	body.itemid-204 .com-content-article__body .cg-pay-table th,
	body.itemid-204 .com-content-article__body .cg-pay-table td {
		padding: 9px 6px;
	}

	body.itemid-204 .com-content-article__body .cg-pay-table th:first-child {
		width: 46%;
	}

	body.itemid-204 .com-content-article__body .cg-pay-discounts {
		gap: 8px;
	}

	body.itemid-204 .com-content-article__body .cg-pay-discount {
		padding: 14px 7px;
	}

	body.itemid-204 .com-content-article__body .cg-pay-discount strong {
		font-size: 1.65rem;
	}

	body.itemid-204 .com-content-article__body .cg-pay-discount span {
		font-size: .75rem;
		line-height: 1.35;
	}
}

@media (max-width: 359.98px) {
	body.itemid-204 .com-content-article__body .cg-pay-fact {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	body.itemid-204 .com-content-article__body .cg-pay-section {
		padding: 15px;
	}
}
/* END CG PAY PAGE */

/* BEGIN CG PAY INTRO STYLE — вводный абзац материала «Оплата и доставка» */
body.itemid-204 .com-content-article__body .cg-pay-page .cg-pay-intro {
	margin: 0 0 20px;
	padding: 4px 0 4px 17px;
	border-left: 3px solid #759b58;
	color: #4f5f50;
	font-size: 1.0625rem;
	line-height: 1.7;
}

@media (max-width: 767.98px) {
	body.itemid-204 .com-content-article__body .cg-pay-page .cg-pay-intro {
		margin-bottom: 16px;
		padding: 3px 0 3px 13px;
		font-size: 1rem;
		line-height: 1.6;
	}
}
/* END CG PAY INTRO STYLE */

/* BEGIN CG RESPONSES CLEANUP */
/* Страница отзывов: только заголовок, отзывы, пагинация и форма */
body.itemid-159 .mod-breadcrumbs__wrapper,
body.itemid-159 .article-info,
body.itemid-159 .com-content-article__body,
body.itemid-159 .comments-list-header,
body.itemid-159 .comments-list-footer,
body.itemid-159 #nav-top,
body.itemid-159 .comment-info .permalink {
	display: none !important;
}

body.itemid-159 .com-content-article .page-header {
	margin-bottom: 24px;
}

body.itemid-159 #jc {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

body.itemid-159 #comments-list {
	padding: 0;
}

body.itemid-159 #comments-list > div {
	margin: 0 0 14px;
}

body.itemid-159 #comments-list .rbox {
	padding: 18px 20px;
	border: 1px solid #e1e8dc !important;
	border-radius: 12px !important;
	background: #fff;
	box-shadow: 0 3px 12px rgb(34 66 31 / 5%);
}

body.itemid-159 .comment-info {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 5px 14px;
	margin: 0 0 12px;
	padding: 0 0 10px;
	border-bottom: 1px solid #edf1ea;
	font-size: .875rem;
}

body.itemid-159 .comment-info dd {
	margin: 0;
	padding: 0;
}

body.itemid-159 .comment-info .createdby {
	color: var(--cg-green-dark, #235f2d);
	font-weight: 600;
}

body.itemid-159 .comment-info .published {
	margin-left: auto;
	color: var(--cg-muted, #6c757d);
}

body.itemid-159 .comment-info .icon-user,
body.itemid-159 .comment-info .icon-calendar {
	display: none;
}

body.itemid-159 .comment-body {
	color: #29382b;
	font-size: 1rem;
	line-height: 1.65;
}

body.itemid-159 #nav-bottom {
	margin: 24px 0 30px;
}

body.itemid-159 #nav-bottom .pagination {
	flex-wrap: wrap;
	gap: 6px;
}

body.itemid-159 #nav-bottom .page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 36px;
	padding: 5px 9px;
	border: 1px solid #d6e0d1;
	border-radius: 8px !important;
	color: var(--cg-green-dark, #235f2d);
	background: #fff;
	box-shadow: none;
}

body.itemid-159 #nav-bottom .page-link:hover {
	border-color: var(--cg-green-dark, #235f2d);
	background: #f0f5ed;
}

body.itemid-159 #nav-bottom .active .page-link {
	border-color: var(--cg-green-dark, #235f2d);
	background: var(--cg-green-dark, #235f2d);
	color: #fff;
}

body.itemid-159 #nav-bottom .disabled {
	opacity: .45;
}

body.itemid-159 #jc > .h6 {
	margin: 0 0 14px;
	color: #253522;
	font-size: 1.35rem;
	font-weight: 600;
}

body.itemid-159 #comments-form {
	gap: 15px !important;
	padding: 22px;
	border: 1px solid #dfe7da;
	border-radius: 12px;
	background: #f8faf6;
}

body.itemid-159 #comments-form .row.align-items-center {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
	margin: 0;
}

body.itemid-159 #comments-form .row .col-5,
body.itemid-159 #comments-form .row .col-auto {
	width: 100%;
	max-width: 100%;
	padding: 0;
}

body.itemid-159 #comments-form .row .col-auto {
	order: -1;
}

body.itemid-159 #comments-form .form-label {
	margin: 0;
	color: #354431;
	font-weight: 500;
}

body.itemid-159 #comments-form .form-control,
body.itemid-159 #comments-form .form-control-sm {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #ccd8c6;
	border-radius: 8px;
	background: #fff;
	font-size: 1rem;
	box-shadow: none;
}

body.itemid-159 #comments-form textarea.form-control {
	min-height: 150px;
	resize: vertical;
}

body.itemid-159 #comments-form .form-control:focus {
	border-color: var(--cg-green-dark, #235f2d);
	box-shadow: 0 0 0 3px rgb(35 95 45 / 10%);
}

body.itemid-159 #comments-form-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

body.itemid-159 #comments-form-buttons .btn {
	min-height: 42px;
	padding: 9px 18px;
	border-radius: 8px;
	font-size: 1rem;
}

body.itemid-159 #comments-form-send {
	border-color: var(--cg-green-dark, #235f2d);
	background: var(--cg-green-dark, #235f2d);
}

body.itemid-159 #comments-form-send:hover {
	border-color: #144d19;
	background: #144d19;
}

body.itemid-159 .comments-policy {
	margin-bottom: 14px;
	padding: 12px 14px;
	background: #f8faf6;
}

@media (max-width: 575.98px) {
	body.itemid-159 #comments-list .rbox {
		padding: 15px;
	}

	body.itemid-159 .comment-info .published {
		width: 100%;
		margin-left: 0;
	}

	body.itemid-159 #comments-form {
		padding: 16px;
	}

	body.itemid-159 #comments-form-buttons .btn {
		flex: 1 1 auto;
	}
}
/* END CG RESPONSES CLEANUP */

/* BEGIN CG ABOUT PAGE */
body.itemid-150 .cg-about-page {
	max-width: 1000px;
	margin: 0 auto;
	color: #2d392d;
	font-size: 1.02rem;
	line-height: 1.75;
}

body.itemid-150 .cg-about-page p {
	margin: 0 0 17px;
}

body.itemid-150 .cg-about-lead {
	margin-bottom: 26px;
	color: #334532;
	font-size: 1.18rem;
	line-height: 1.75;
}

body.itemid-150 .cg-about-page figure {
	margin: 0;
}

body.itemid-150 .cg-about-page img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
	background: #edf1e8;
}

body.itemid-150 .cg-about-page figcaption {
	margin-top: 9px;
	color: #667062;
	font-size: .86rem;
	line-height: 1.55;
}

body.itemid-150 .cg-about-hero {
	margin-bottom: 36px;
}

body.itemid-150 .cg-about-section {
	margin: 0 0 38px;
}

body.itemid-150 .cg-about-section > h2,
body.itemid-150 .cg-about-contacts h2 {
	margin: 0 0 15px;
	color: #263b28;
	font-size: 1.65rem;
	font-weight: 650;
	line-height: 1.3;
}

body.itemid-150 .cg-about-wide {
	margin: 28px 0 2px;
}

body.itemid-150 .cg-about-plants {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 24px;
}

body.itemid-150 .cg-about-plants figcaption {
	color: #3e4e3c;
	text-align: center;
}

body.itemid-150 .cg-about-contacts {
	margin-top: 27px;
	padding: 24px 26px;
	border-left: 4px solid var(--cg-green-dark, #235f2d);
	border-radius: 0 12px 12px 0;
	background: #f3f6ee;
}

body.itemid-150 .cg-about-contacts h2 {
	font-size: 1.35rem;
}

body.itemid-150 .cg-about-contacts p:last-child {
	margin-bottom: 0;
}

body.itemid-150 .cg-about-contact-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	font-size: 1.08rem;
	font-weight: 600;
}

@media (max-width: 639.98px) {
	body.itemid-150 .cg-about-page {
		font-size: 1rem;
		line-height: 1.7;
	}

	body.itemid-150 .cg-about-lead {
		font-size: 1.08rem;
		line-height: 1.7;
	}

	body.itemid-150 .cg-about-section {
		margin-bottom: 32px;
	}

	body.itemid-150 .cg-about-section > h2 {
		font-size: 1.42rem;
	}

	body.itemid-150 .cg-about-plants {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	body.itemid-150 .cg-about-contacts {
		padding: 20px;
	}

	body.itemid-150 .cg-about-contact-links {
		flex-direction: column;
		gap: 8px;
	}
}
/* END CG ABOUT PAGE */

/* BEGIN CG MOBILE CART PRESENTATION FIX */
/* Подпись суммы уже присутствует в HTML; не дублировать её через CSS. */
.cg-cart-items .total_price .data::before {
	content: none;
}

/* На узком экране цена, сумма и количество занимают отдельные строки. */
@media (max-width: 419.98px) {
	.cg-checkout-cart table.cartcheckout tr.jshop_prod_cart {
		grid-template-columns: 64px minmax(0, 1fr);
		grid-template-areas:
			"image product"
			"image price"
			"image total"
			"image quantity";
	}

	body #comjshop .cg-checkout-cart table.cartcheckout tr.jshop_prod_cart > td.jshop_img_description_center {
		grid-area: image;
	}

	body #comjshop .cg-checkout-cart table.cartcheckout tr.jshop_prod_cart > td.product_name {
		grid-area: product;
	}

	body #comjshop .cg-checkout-cart table.cartcheckout tr.jshop_prod_cart > td.single_price {
		grid-area: price;
	}

	body #comjshop .cg-checkout-cart table.cartcheckout tr.jshop_prod_cart > td.total_price {
		grid-area: total;
	}

	body #comjshop .cg-checkout-cart table.cartcheckout tr.jshop_prod_cart > td.quantity {
		grid-area: quantity;
	}

	body #comjshop .cg-checkout-cart .total_price .data {
		text-align: left;
	}
}
/* END CG MOBILE CART PRESENTATION FIX */

/* BEGIN CG CART BUTTON ARROW SPACING */
/* В flex-кнопках пробелы в HTML не создают видимый отступ от иконки. */
body #comjshop .jshop.cart_buttons .btn-arrow-left,
body #comjshop .jshop.cart_buttons .btn-arrow-right {
	align-items: center;
	gap: 8px;
}
/* END CG CART BUTTON ARROW SPACING */

/* BEGIN CG LONGFORM ARTICLES */
.com-content-article .cg-article-figure {
	max-width: 780px;
	margin: 28px 0;
	padding: 12px;
	border: 1px solid #dce4d6;
	border-radius: 16px;
	background: #f5f7f1;
}

.com-content-article .cg-article-figure-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	max-width: 780px;
	margin: 28px 0;
}

.com-content-article .cg-article-figure-grid .cg-article-figure {
	min-width: 0;
	margin: 0;
}

.com-content-article .cg-article-figure-grid .cg-article-figure:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	width: calc(50% - 7px);
	justify-self: center;
}

.com-content-article .cg-article-figure a {
	display: block;
	border-radius: 11px;
	outline-offset: 3px;
}

.com-content-article .cg-article-figure a:focus-visible {
	outline: 3px solid #6f8f5b;
}

.com-content-article .cg-article-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 11px;
}

.com-content-article .cg-article-figure figcaption {
	padding: 11px 6px 1px;
	color: #58645a;
	font-size: .92rem;
	line-height: 1.5;
}

.com-content-article .cg-article-note {
	margin: 26px 0;
	padding: 20px 22px;
	border-left: 4px solid #789464;
	border-radius: 0 14px 14px 0;
	background: #f2f6ed;
}

.com-content-article .cg-article-note p:last-child {
	margin-bottom: 0;
}

.com-content-article .cg-article-table-wrap {
	width: 100%;
	max-width: 100%;
	margin: 26px 0;
	overflow-x: auto;
	border: 1px solid #dce4d6;
	border-radius: 14px;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

.com-content-article .cg-article-table {
	width: 100%;
	min-width: 580px;
	margin: 0;
	border-collapse: collapse;
	font-size: .95rem;
	line-height: 1.5;
}

.com-content-article .cg-article-table th,
.com-content-article .cg-article-table td {
	padding: 13px 15px;
	border-bottom: 1px solid #e5eae1;
	text-align: left;
	vertical-align: top;
}

.com-content-article .cg-article-table thead th {
	background: #eaf0e4;
	color: #2d412f;
	font-weight: 600;
}

.com-content-article .cg-article-table tbody th {
	background: #f7f9f4;
	font-weight: 600;
}

.com-content-article .cg-article-table tbody tr:last-child > * {
	border-bottom: 0;
}

.com-content-article .cg-article-figure-grid--compact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 1000px;
}

.com-content-article .cg-article-figure-grid--compact .cg-article-figure {
	padding: 8px;
	border-radius: 12px;
}

.com-content-article .cg-article-figure-grid--compact .cg-article-figure:last-child:nth-child(odd) {
	grid-column: auto;
	width: auto;
	justify-self: stretch;
}

.com-content-article .cg-article-figure-grid--compact figcaption {
	padding: 9px 4px 2px;
	font-size: .84rem;
	line-height: 1.42;
}

.com-content-article .cg-article-gallery-source {
	display: block;
	margin-top: 5px;
	font-size: .8rem;
}

.com-content-article .cg-article-gallery-source a {
	display: inline;
	color: #49663e;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.com-content-article a.cg-article-zoom {
	position: relative;
	overflow: hidden;
	cursor: zoom-in;
}

body.cg-article-lightbox-open {
	overflow: hidden;
}

dialog.cg-article-lightbox {
	position: fixed;
	width: min(1100px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 46px 14px 14px;
	border: 0;
	border-radius: 16px;
	background: #182019;
	color: #fff;
	overflow: auto;
}

dialog.cg-article-lightbox::backdrop {
	background: rgb(10 18 12 / 88%);
	backdrop-filter: blur(4px);
}

.cg-article-lightbox img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: calc(100dvh - 145px);
	margin: 0 auto;
	border-radius: 9px;
	object-fit: contain;
}

.cg-article-lightbox-caption {
	max-width: 850px;
	margin: 12px auto 0;
	color: #edf3e9;
	font-size: .95rem;
	line-height: 1.5;
	text-align: center;
}

.cg-article-lightbox-close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: grid;
	width: 32px;
	height: 32px;
	padding: 0;
	place-items: center;
	border: 1px solid #73826f;
	border-radius: 50%;
	background: #2c382c;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.cg-article-lightbox-close:hover,
.cg-article-lightbox-close:focus-visible {
	background: #49663e;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 575.98px) {
	.com-content-article .cg-article-figure-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		margin: 22px 0;
	}

	.com-content-article .cg-article-figure-grid--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.com-content-article .cg-article-figure-grid .cg-article-figure:last-child:nth-child(odd) {
		grid-column: auto;
		width: 100%;
	}

	.com-content-article .cg-article-figure-grid--compact .cg-article-figure:last-child:nth-child(odd) {
		width: auto;
	}

	.com-content-article .cg-article-figure {
		margin: 22px 0;
		padding: 8px;
		border-radius: 13px;
	}

	.com-content-article .cg-article-figure-grid--compact .cg-article-figure {
		margin: 0;
		padding: 6px;
		border-radius: 10px;
	}

	.com-content-article .cg-article-figure-grid--compact figcaption {
		padding: 7px 2px 1px;
		font-size: .78rem;
	}

	.com-content-article .cg-article-gallery-source {
		font-size: .74rem;
	}

	.com-content-article .cg-article-note {
		padding: 16px 17px;
	}

	.com-content-article .cg-article-table {
		min-width: 540px;
		font-size: .9rem;
	}

	.com-content-article .cg-article-table th,
	.com-content-article .cg-article-table td {
		padding: 11px 12px;
	}

	dialog.cg-article-lightbox {
		width: calc(100vw - 16px);
		max-height: calc(100dvh - 16px);
		padding: 44px 8px 10px;
		border-radius: 12px;
	}

	.cg-article-lightbox img {
		max-height: calc(100dvh - 145px);
	}

	.cg-article-lightbox-caption {
		font-size: .86rem;
	}
}
/* END CG LONGFORM ARTICLES */

/* CG RESPONSIVE CATALOG IMAGES */
.image_block a > picture.cg-responsive-image,
.jshop_list_category .image a > picture.cg-responsive-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
/* END CG RESPONSIVE CATALOG IMAGES */

/* Hide the JoomShopping footer credit in the custom site template. */
#mxcpr {
	display: none !important;
}
