:root {
	--gold: 38 70% 55%;
	--primary: 145 40% 28%;
	--name: #2E251F;
	--description: #847062;
}
.jmodedit, #mxcpr {
	display: none;
}
.sidebarrigth {
	height: 100%;
}
#sp-main-body
{
	padding: 50px 0;
}
.view-article #sp-main-body, .layout-blog #sp-main-body {
	background-color: #faebd7;
}
.article-can-edit {
	display: none !important;
}
#sp-header {
	background-color: #ECE5DC;
}
.burger-icon {
	width: 22px;
	margin-top: -8px;
}
.home-page #sp-header:not(.header-sticky) {
	background: transparent;
}

.home-page #sp-header:not(.header-sticky) .sp-megamenu-parent > .sp-menu-item > a, 
.home-page #sp-header:not(.header-sticky) a .user-text, 
.home-page #sp-header:not(.header-sticky) a.sp-sign-in .fas:before, 
.home-page #sp-header:not(.header-sticky) .form-inline.mod-shop-search::before, 
.home-page #sp-header:not(.header-sticky) .wt_jshop_module_cart .fa-shopping-cart,
.home-page #sp-header:not(.header-sticky) a.sp-sign-in,
.home-page #sp-header:not(.header-sticky) .mod-languages__select button::before  {
	color: #f7e8c8;
}
.home-page #sp-header:not(.header-sticky) .mod-languages__select button {
	width: 40px;
    height: 40px;
}
.home-page #sp-header:not(.header-sticky) .mod-languages__select button::before {
	display: block;
    flex-shrink: 0;
}
.home-page #sp-header:not(.header-sticky) .burger-icon>span {
	background-color: #f7e8c8;
}
.home-page #sp-header:not(.header-sticky) .logo a {
	background-color: #e0e0e0;
	padding: 5px;
	border-radius: 30px;
}
.home-page #sp-header:not(.header-sticky) .logo a img {
	max-height: 30px;
}
/*.home-page #sp-header:not(.header-sticky) .sp-module.switcher_languages_custom button {
    background-color: #e0e0e0;
}*/
.home-page #sp-main {
	margin-top: -90px;
}
#sp-header .container-inner .row {
	flex-wrap: nowrap;
}
#sp-header .mega-custom .sp-page-builder .sppb-row-column {
	padding: 0;
}
.sp-page-title {
  background-color: #f7e6cf;
}
.sp-page-title-heading {
  color: #303030 !important;
  font-family: "Georgia";
}
#cfcfcf
#sp-header .row {
	flex-wrap: nowrap;
}
.collection_custom #sp-main-body {
	/*max-width: 1320px;*/
	margin-left: auto;
	margin-right: auto;
	padding: 50px 30px;
}

.collection_custom .card .name {
	margin-top: 20px;
	margin-bottom: 20px;
	min-height: 50px;
	text-align: center;
}
.collection_custom h3 {
	font-size: 18px;
	font-weight: 400;
	font-family: "Georgia";
	color: #2E251F;
}
.collection_custom .taxinfo {
	font-size: 11px;
}
.coming-soon .container {
	max-width: 600px;
	padding: 50px;
	background-color: #ffffff;
	border-radius: 20px;
}
@media (max-width: 767px) {
	#sp-header .sp-module {
	    margin-right: 0px !important;
	}
	#sp-header {
		
		padding-right: 15px;
	}
	#sp-main-body {
		padding: 50px 0px;
	}
	.collection_custom .jshop_price {
		font-size: 20px;
	}
	#sp-header .container {
		padding-left: 10px;
		padding-right: 10px;
	}
	#offcanvas-toggler {
		margin-left: 0 !important;
	}
	#sp-bottom {
		padding: 60px 15px 30px 15px;
	}
	.dostavka-po-latvii-wrap .dostavka-po-latvii-icon {
		text-align: center;
	}
	.jshop .image_middle  {
		margin-top: -15px;
	}
	.jshop .image_middle .mod-breadcrumbs__wrapper {
		background-color: #f0f8ff;
	}
}
.jshop_list_product .product .name {
	font-size: 15px;
	min-height: 85px;
	margin-top: 15px;
}
.article-list .article {
	border: none;
	background-color: #ffffff;
	border-radius: 15px 15px 0 0;
}
.article-header a {
	font-family: "Georgia";
	font-weight: 600;
}
#sp-search {
	display: flex;
}
.modul_search_custom {
	margin-right: 30px;
}
.catalog #sp-main-body, .com_jshopping #sp-main-body {
	padding-top: 30px;
	background-color: #ece5dc;
	min-height: 90vh;
}
.sp-megamenu-parent.menu-animation-fade-down .sp-has-child:hover>.sp-dropdown {
	margin-left: 0.5px;
	margin-top: -1px;
}
.btn-primary {
	background-color: #2b6443;
}
.btn-primary:hover {
	background-color: #3c8b5d;
}
.text-gold {
	color: #e0c489;
}
.text-primary {
	color: hsl(var(--primary)) !important;
}
.second_block_span {
	color: #ffffff;
	margin-left: 3px;
	font-size: 14px;
	font-weight: 500;
}

/*Карусель товаров на главной*/
.karusel_bestsellers {
	position: relative;
	padding: 0 20px; /* Отступы для кнопок */
}
.karusel_bestsellers .swiper {
	position: static;
}
.karusel_bestsellers .swiper-button-prev, .karusel_bestsellers .swiper-button-next {
	width: 50px;
	height: 50px;
	color: #2E251F;
	padding: 17px;
	background-color: #e4e4e4;
	border-radius: 50px;
	border: 1px solid #c2c2c2;
}
.karusel_bestsellers  article.card, .karusel_bestsellers .card-body, .karusel_bestsellers .card-footer, .karusel_bestsellers .item_image {
	background-color: #F5F3EF !important;
}
.karusel_bestsellers  article.card {
	border-radius: 15px;
	overflow: hidden;
}
.karusel_bestsellers .card-footer {
	margin-bottom: 10px;
}

.karusel_bestsellers .item_image {
	overflow: hidden;
	border-radius: 10px;
}
.karusel_bestsellers .item_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 10px;
	transition: transform 0.3s ease-in-out;
	will-change: transform;
}
.karusel_bestsellers .item_image:hover img {
	transform: scale(1.05);
	z-index: 10;
	position: relative;
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

	.karusel_bestsellers .item_price {
		color: #2B6443;
		font-weight: 700;
	}
	.karusel_bestsellers .btn {
		background-color: #2B6443;
		border-color: #2B6443;
	}
	.karusel_bestsellers .product_label {
		top: 10px;
		left: 10px;
	}
	/*Конец карусели на главной*/


	/*Модуль корзина от Толкачева*/
	.wt_jshop_module_cart  .bg-danger {
		background-color: green !important;
		font-size: 10px;
		padding: 6px 8px 6px 8px !important;
		top: 10px !important;
		left: 40px !important;
	}
	.wt_jshop_module_cart .fa-shopping-cart {
		font-size: 20px;
	}
	/*Конец Модуль корзина от Толкачева*/

	/*В блоке "Как мы создаем продукты" дорисовываем пунктир*/
	.process-row {
		position: relative;
	}
	.process-row::before {
		content: "";
		position: absolute;
		top: 75px; /* по центру иконок */
		left: 60%;
		right: -47%;
		border-top: 2px dashed #B8C7B5;
		z-index: 0;
	}
	.process-row .sppb-col {
		position: relative;
		z-index: 1;
	}
	/*Конец В блоке "Как мы создаем продукты" дорисовываем пунктир*/

	/* Категории */
	.jshop .category .image {
		position: relative;
		overflow: hidden;
		border-radius: 10px;
	}

	.jshop .category .category_info {
		position: relative;
	}

	.jshop .category .category_name {
		position: absolute;
		bottom: 10px;
		left: 10px;
		right: 10px;
		background: rgba(0,0,0,0.4);
		font-size: 16px;
		font-weight: 500;
		padding: 4px 6px;
		border-radius: 4px;
		text-align: center;
		font-family: Georgia;
	}

	.jshop .category .category_name a {
		color: #ffffff
	}

	.jshop .category .category_name {
		opacity: 0.9;
		transition: opacity 0.3s ease;
	}

	.jshop .category:hover .category_name {
		opacity: 1;
	}

	/* Плавное увеличение картинки */
	.jshop .category .image img {
		display: block;
		width: 100%;
		height: auto;
		transition: transform 0.4s ease;
	}

	.jshop .category:hover .image img {
		transform: scale(1.1);
	}

	.jshop h1 {
		margin-bottom: 0px;
	}

	/*breadcrumb*/
	.breadcrumb {
		background-color: transparent;
	}
	.mod-breadcrumbs__divider {
		margin-right: 5px;
	}
	.breadcrumb_v_kategorii .mod-breadcrumbs.breadcrumb {
		margin-bottom: 0;
	}
	
	.catalog #sp-breadcrumb, .com_jshopping #sp-breadcrumb {
		background-color: #faf6f1;
	}
	.jshop_oiproduct .breadcrumb .float-start, .image_middle .breadcrumb .float-start {
		display: none;
	}
	.jshop_oiproduct .mod-breadcrumbs.breadcrumb {
		padding-left: 0 !important;
		padding-top: 0 !important;
	}
	.breadcrumb a {
		color: #7C736A;
		font-size: 14px;
	}
	@media (max-width: 767px) {
		.jshop h1 {
			margin-top: 30px;
		}
	}
	.mod-breadcrumbs__item.breadcrumb-item.active span {
		color: #000000;
		font-size: 14px;
	}


	/*Модуль переключения языков*/
	.mod-languages__select {
		position: relative;
	}
	.mod-languages__select button {
		font-size: 0 !important;
		display: flex;
	    justify-content: center;
	    align-items: center;
	}

	.mod-languages__select button::before {
    content: "\f0ac";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    font-size: 20px;
    vertical-align: middle;
    color: #000000;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                color 0.3s ease;
}
	.lang-block.dropdown-menu.show {
		min-width: 80px;
		padding: 0;
		width: 100%;
		position: absolute !important;
  		left: 50% !important;
  		transform: translateX(-50%) !important;
  		top: 130% !important;
	}
	.lang-block.dropdown-menu.show li {
		padding: 3px 0px;
		margin: 0 auto 10px auto;
		text-align: center;
	}
	.lang-block.dropdown-menu.show li:hover {
		background-color: #faebd7;
	}
	.lang-block.dropdown-menu a {
		font-size: 14px;
	}
	.sp-module.switcher_languages_custom button, .lang-block.dropdown-menu.show a {
		background-color: unset;
		border: unset;
		border-radius: 50px;
		width: 50px;
		height: 50px;
	}
	@media (max-width: 767px) {
		.sp-module.switcher_languages_custom button, .lang-block.dropdown-menu.show a {
		width: 30px;
		height: 30px;
	}
	.mod-languages__select button::before {
	    width: 18px;
	    height: 18px;
	    display: block;
	    flex-shrink: 0;
	    margin-top: -12px;
	}
	.wt_jshop_module_cart {
		margin-top: 3px;
	}
	.burger-icon {
		margin-top: 0;
	}
}
	.wt_jshop_module_cart {
		border-radius: 50px;
		width: 50px;
		height: 50px;
		display: flex;
		align-items: center;
	}
	.sp-module.switcher_languages_custom button:hover, 
	.wt_jshop_module_cart:hover,
	.form-inline.mod-shop-search:hover {
		background-color: #e0e0e0;
		transition: color 0.8s ease !important;
		border-radius: 50%; 
	}
	.sp-module.switcher_languages_custom button:hover::before, 
	.wt_jshop_module_cart:hover i,
	.form-inline.mod-shop-search:hover::before {
		color: #000000 !important;
		transition: color 0.8s ease !important;
	}
/* Делаем выпадающие пункты языков круглыми */
.lang-block.dropdown-menu li {
  width: 60px;
  height: 60px;
  background: #deb887;    /* цвет фона шара */
  border-radius: 50%;      /* идеальный круг */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.lang-block.dropdown-menu li.lang-active {
  background-color: #c68d45 !important;
}
.lang-block.dropdown-menu li a {
  text-decoration: none;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
}
.lang-block.dropdown-menu {
  gap: 12px;            /* расстояние между шарами */
  padding: 8px 12px;
  background: transparent;
  border: none;
  list-style: none;
  margin: 0;
}
/* Активный (текущий) язык — выделенный шар */
.lang-block.dropdown-menu li.lang-active {
  background: #0077ff;    /* синий фон */
  box-shadow: 0 4px 10px rgba(139, 115, 85, 0.3);
}

.lang-block.dropdown-menu li.lang-active a {
  color: white;
}

/* Ховер для остальных шаров */
.lang-block.dropdown-menu li:not(.lang-active):hover {
  background: #e0e0e0;
  transform: scale(1.05);
  cursor: pointer;
}
/* ====================================================== */

	/*Авторизация*/
	.sp-sign-in .signin-text {
		display: none !important;
	}
	.sp-sign-in .fas:before, .user-text {
		color: #000000;
	}
	.fas {
		font-size: 16px;
	}

	.pagination .fas {
		font-size: 14px;
	}

	/*TAB-ы*/
	ul.jwts_tabbernav {
		display: flex;
		gap: 10px 5px;
		flex-wrap: wrap;
		padding: 0;
		margin: 0;
		list-style: none;
		width: 100%;
		margin-bottom: 15px !important;
		margin-left: 0 !important;
	}
	ul.jwts_tabbernav li {
		flex: 1 0 auto; 
		min-width: fit-content;
		text-align: center;
	}
	ul.jwts_tabbernav li a {
		display: block;
		font-size: 16px;
		padding: 5px 10px 8px 10px !important;
		background: #e9e9e9 !important;
		border-bottom: 1px solid #bbb;
		white-space: nowrap;
		padding: 8px 16px;
		text-decoration: none;
		background: #f0f0f0;
		border-radius: 4px;
	}
	ul.jwts_tabbernav li.jwts_tabberactive a {
		border-bottom: 1px solid #bbb;
		background-color: #ffffff !important;
		color: #000000;
		font-weight: 600;
	}
	ul.jwts_tabbernav li a:hover {
		border-bottom: 1px solid #bbb !important;
	}
	.jwts_tabbertab  {
		border: none !important;
		padding: 10px 20px !important;
		background-color: #FAF8F5 !important;
		border-radius: 4px !important;
	}
	.jwts_tabbertab p {
		margin-bottom: 0.4rem;
	}

/*==================================
	Увеличение изображения товара при наведении в списке товаров
==================================*/
.product .image_block {
    overflow: hidden; 
    border-radius: 4px; 
    position: relative;
}
.product .image_block img.jshop_img {
    display: block;
    width: 100%;   
    height: auto;     
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform; 
    backface-visibility: hidden; 
}
.product .image_block:hover img.jshop_img {
    transform: scale(1.12); 
}
.product .image_block {
    cursor: zoom-in;
    z-index: 1;
    position: relative;
}
.product .product_label {
	z-index: 100;
}
/*===================================*/

	@media(max-width: 767px) {
		.jwts_tabbertab  {
			padding-left: 15px !important;
			padding-right: 15px !important;
			font-size: 14px;
		}
		ul.jwts_tabbernav {
			display: flex;
			flex-wrap: wrap;
			gap: 10px 2%;
			margin-left: 0 !important;
		}
		.jwts_tabbernav li {
			width: 49%;
			margin-bottom: 5px !important;
		}
		.jwts_tabbernav li a {
			width: 100%;
			display: block;
			padding: 5px 5px 8px 5px !important;
		}
	}

	/*Магазин*/
	/*Карточка товаров*/
	/*Рейтинг*/
	.productfull h1 {
		display: flex;
		flex-direction: column;
	}
	.productfull h1 span {
		margin-top: 10px;
	}
	.block_rating_hits {
		display: flex;
		font-size: 14px;
		margin-top: 15px;
		margin-bottom: 30px;
	}
	.block_rating_hits .stars_no_active {
		margin-left: 5px;
	}
	.block_rating_hits td {
		padding-right: 5px;
	}
	.productfull .divider {
		margin-bottom: 27px;
	}

	.divider {
		width: 100%;
		background-color: #e1e1e1;
		height: 1px;
		/*margin-bottom: 27px;*/
	}
	.block_available {
		margin-top: 20px !important;
		margin-bottom: 20px;
	}
	.prod_price {
		float: left;
		margin-right: 10px;
	}
	.prod_buttons {
		display: flex;
	    flex-wrap: wrap;
	    gap: 10px;
	    align-items: center;
	  	margin-bottom: 65px;
	}
	.prod_qty,
	.prod_qty_input {
    	flex: 0 0 calc(50% - 5px); /* Учитываем gap */
	}
	.buttons.product-buttons {
	    flex: 0 0 100%;
	}
	.buttons.product-buttons input {
		font-size: 20px;
	}

	/*Настройка изображения в левой колонке*/
	/* Контейнер изображения */
	#list_product_image_middle {
		display: block;
		overflow: hidden;
		border-radius: 16px;
	}
	.productfull .image_thumb_list .sblock0 {
		width: 20%;
		max-width: none; 
	}

	/* Ссылка (lightbox) */
	#list_product_image_middle a {
		display: block;
		position: relative;
		overflow: hidden;
		border-radius: 16px;
	}

	/* Само изображение */
	#list_product_image_middle img {
		display: block;
		width: 100%;
		height: auto;
		border-radius: 16px;
		transition: transform 0.4s ease;
	}

	/* Увеличение при наведении */
	#list_product_image_middle a:hover img {
		transform: scale(1.1);
	}

	/* Текст "Увеличить изображение" поверх картинки */
	#list_product_image_middle .text_zoom {
		position: absolute;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
		background: rgba(0, 0, 0, 0.55);
		color: #fff;
		padding: 6px 12px;
		border-radius: 20px;
		font-size: 14px;
		opacity: 0;
		transition: opacity 0.3s ease;
		pointer-events: none;
	}

	/* Показ текста при наведении */
	#list_product_image_middle a:hover .text_zoom {
		opacity: 1;
	}

	.address_block .form-validate .control-group.box_button .btn.btn-success {
		width: 100%;
	}

	/*Метка*/
	.image_middle .product_label {
		z-index: 100000;
		margin-left: 10px;
		margin-top: 10px;
	}
	.description {
		min-height: 90px;
		font-size: 14px;
		background-color: #E7EFEA;
		padding: 1rem;
		border-radius: 15px;
		margin-bottom: 30px;
	}
	@media (max-width: 767px) {
		.productfull h1 {
			display: flex;
			flex-direction: column;
			font-size: 28px;
			line-height: 30px;
		}
		.form-horizontal .controls {
		    margin-left: 90px;
		}
		.control-group.other_delivery_adress .controls {
			display: grid;
			grid-auto-flow: column;
		}
		.control-group.box_button .btn.btn-success {
			width: 100%;
		}
		.productfull .block_available::before {
    		top: 3px;
		}
		.block_available {
			margin-bottom: 55px;
		}
		.jshop_oiproduct .mod-breadcrumbs__wrapper {
			display: none;
		}
		.description {
			/*font-size: 12px;*/
			margin-top: 50px;
			margin-bottom: 15px;
		}
		.jshop_prod_attributes {
			margin-bottom: 25px;
		}
	}
	.prod_attr_img {
		display: block;
		max-height: 10px;
	}

	/*Описание*/
	.jshop_prod_description {
		margin-top: 20px;
	}

	@media (min-width: 768px) {
		.image_middle .mod-breadcrumbs__wrapper {
			display: none;
		}
		.jshop_list_category  .jshop.list_category .row-fluid {
			justify-content: center;
			margin-top: 100px;
		}
	}

	.button_detail {
		min-width: 175px;
	}
	

	/*Эффекты кнопки*/
	.card-footer .btn-primary, .farmacy-info-button, .button_effect_custom {
		position: relative;
		overflow: hidden;
		transition: all 0.3s ease;
		padding: 0.5rem 1.5rem;
		border: none;
		transform: translateY(0);
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		font-size: 14px;
	}

	.card-footer .btn-primary:hover, .farmacy-info-button:hover, .button_effect_custom:hover {
		transform: translateY(-6px);
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);

	}

	/* Эффект "всплывающего света" */
	.card-footer .btn-primary::before, .farmacy-info-button::before, .button_effect_custom::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(to bottom, 
			rgba(255, 255, 255, 0.1) 0%,
			rgba(255, 255, 255, 0.05) 50%,
			transparent 100%);
		transform: translateY(100%);
		transition: transform 0.4s ease;
		z-index: -1;
	}

	.card-footer .btn-primary:hover::before, .farmacy-info-button:hover::before, .button_effect_custom:hover::before {
		transform: translateY(0);
	}

	/* Линия подчеркивания */
	.card-footer .btn-primary::after, .farmacy-info-button::after, .button_effect_custom::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		width: 0;
		height: 2px;
		background: white;
		transform: translateX(-50%);
		transition: width 0.3s ease;
	}

	.card-footer .btn-primary:hover::after, 
	.farmacy-info-button:hover::after, 
	.button_effect_custom:hover::after {
		width: 80%;
	}

	/*Отзывы*/
	.review {
		margin-top: 40px !important;
		font-family: "Georgia";
		font-size: 30px;
		font-weight: 400 !important;
	}
	.review_header {
		border-top: 1px solid #bcbcbc;
		border-bottom: none;
		margin-bottom: 10px;
		margin-top: 40px;
		padding-top: 40px;
		font-family: "Georgia";
		font-size: 30px;
		font-weight: 400;
	}
	div.review_item {
		border: 1px solid #e7e1da;
		background-color: #FAF8F5;
		padding: 30px;
		border-radius: 15px;
		margin-bottom: 20px;
	}
	
	#jshop_review_write {
		padding: 30px;
		border: 1px solid #E7E1DA;
		border-radius: 15px;
		background-color: #FAF8F5;
	}
	#jshop_review_write .inputbox {
		width: 100%; 
		border-radius: 10px;
		padding: 15px !important;
		border: 1px solid #E7E1DA;
	}
	#jshop_review_write label {
		margin-bottom: 5px;
		font-size: 14px;
		font-weight: 400;
	}
	.review_mark_custom {
		margin-bottom: 5px;
	}
	.button_send_custom {
		width: 100%;
		margin-top: 10px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.jshop.cart .jshop_prod_cart .jshop_img {
		max-width: 100px;
	}
	.jshop_prod_cart td {
		vertical-align: middle !important;
	}
	.jshop_prod_cart .quantity .data {
		display: flex;
		justify-content: center;
	}
	.cart_block_discount .button {
		margin-top: 20px;
	}

	/*Footer*/
	.footer_modul_custom h3 {
		color: #DDA23C !important;
		margin-bottom: 20px !important;
		font-family: "Georgia";
	}
	.footer_modul_custom h2 {
		color: #DDA23C !important;
		font-family: "Georgia";
		margin-bottom: 0 !important;
	}
	.footer_custom p {
		margin-bottom: 8px;
		font-weight: 200;
	}
	.footer_custom a, .footer_img a {
		font-weight: 200;
	}
	.sp-copyright {
		color: #FAF8F5;
		font-size: 12px;
		font-weight: 100;
	}
	.footer_carts_custom {
		display: flex;
		gap: 10px;
	}
	.footer_img {
		display: flex;
		/*align-items: center;*/
		margin-bottom: 8px;
	}
	.footer_img p {
		margin-bottom: 0;
	}
	.footer_img img {
		height: 15px;
		margin-right: 7px;
		margin-top: 4px;
	}
	.prinimaem_k_oplate {
		margin-top: 25px;
	}
	.prinimaem_k_oplate p {
		margin-bottom: 8px;
		letter-spacing: 2px;
	}
	.footer_custom span {
		letter-spacing: 2px;
	}
	.div_footer_img_zaptieka {
		display: flex;
		align-items: center;
	}
	.footer_img_zaptieka {
		width: 48px;
		margin-right: 20px;
	}
	.footer_social_custom {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background-color: #4F4136;
		text-decoration: none;
		transition: all 0.3s ease;
		margin-right: 10px;
	}
	.footer_social_custom:hover {
		background-color: #DDA23C;
	}
	.footer_social_custom:hover img {
		filter: brightness(0) saturate(100%); /* Делает иконку черной */
	}
	.footer_social_custom img {
		height: 20px;
		width: 25px;
		display: block;
		background-color: transparent;
		transition: filter 0.3s ease; 
	}
	.blog {
		margin-left: auto;
		margin-right: auto;
	}
	.top_blog_custom .mod-articles-item-content h4 {
		position: absolute;
		top: 300px;
		left: 90px;
	}
	.top_blog_custom .mod-articles-item-content h4 a {
		color: #F9F7F5;
		font-family: "Georgia";
		font-weight: 700;
		font-size: 48px;
	}
	.top_blog_custom .mod-articles-item-content .list-unstyled {
		position: absolute;
		top: 370px;
		left: 90px;
	}
	.top_blog_custom .readmore {
		position: absolute;
		top: 400px;
		left: 90px;
	}
	.top_blog_custom .article-intro-image img {
		width: 100%;
		max-height: 420px;
	} 
	.top_blog_custom .mod-articles-items {
		padding: 0px;
	}
	.jshop_list_product .block_product {
		padding-left: 15px;
		padding-right: 15px;
		padding-top: 20px;
		padding-bottom: 20px;
		background-color: #f5eee6;
	}
	.block_product .product_link img {
		border-radius: 6px 6px 0px 0px;
	}
	.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
		padding: 0; 
	}
	.sp-dropdown a {
		padding: 13px 10px !important;
		width: 100%;
		border-bottom: 1px solid #f1f1f1;
	}
	.sp-dropdown a:hover {
		background-color: #f1f1f1;
	}
	.offcanvas-menu .offcanvas-inner {
		padding: 0;
	}
	body.ltr .offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent>a>.menu-toggler, 
	body.ltr .offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent>.menu-separator>.menu-toggler,
	.offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent li.menu-parent .menu-toggler {
	    right: 10px;
	}
	.offcanvas-menu .offcanvas-inner ul.menu li.active a {
		color: #252525;
		opacity: .7;
	}
	.offcanvas-menu .offcanvas-inner ul li a {
		width: 100%;
		display: block;
		/*padding: 6px 0px !important;*/
		text-indent: 20px;
	}
	.offcanvas-menu .offcanvas-inner ul.menu li a:hover {
		background-color: #f0f8ff;
	}
	.offcanvas-menu .offcanvas-inner ul.menu>li>ul li a {
		line-height: 30px;
	}
	body.ltr .offcanvas-menu .offcanvas-inner ul.menu>li ul {
	    margin-left: 0px;
	}
	.image_thumb_list #list_product_image_thumb img.jshop_img_thumb {
		margin-bottom: 15px;
		border-radius: 15px;
	}
	.article-intro-image img {
		border-radius: 15px 15px 0 0 !important;
	}
	.block_product .name {
		margin-top: 10px;
	}
	.block_product .name a {
		color: hsl(var(--name));
		display: -webkit-box;
	    -webkit-line-clamp: 4;
	    -webkit-box-orient: vertical;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    word-break: break-word;
	}
	.block_product .count_commentar {
		color: hsl(var(--description));
		font-size: 14px;
		font-weight: 300;
	}
	.block_product .block_available {
		font-weight: 400;
		font-size: 14px;
	}
	.row-fluid [class*="sblock"] {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.jshop_video_thumb {
		max-width: 100%;
		border-radius: 15px;
	}

	/*Модуль поиск Joomshopping*/
	/* Форма не влияет на соседей */
.form-inline.mod-shop-search {
  position: relative;
  display: inline-block;
  /* Фиксированный размер, как у иконки */
  width: 45px;
  height: 45px;
  margin: -2px 0px 0px 0px ;
  padding: 0;
  overflow: visible;
  cursor: pointer;
}

.form-inline.mod-shop-search::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: block;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    color: #212529;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    top: 2px;
}
@media (max-width: 767px) {
	.catalog p {
		margin-bottom: 0px;
	}
	.catalog .row-fluid .sblock4 {
        width: 50%;
    }
    .catalog .row-fluid .sblock4 p {
    	margin: 0px;
    }
    .catalog .row-fluid .sblock4:nth-child(odd) {
    	padding-right: 5px;
    }
    .catalog .row-fluid .sblock4:nth-child(even) {
    	padding-left: 5px;
    }
	.form-inline.mod-shop-search::before,
	.wt_jshop_module_cart .fa-shopping-cart {
    	font-size: 15px;
	}
	.form-inline.mod-shop-search::before {
		right: 10px;
	}
	.home-page #sp-header:not(.header-sticky) .mod-languages__select button {
	    width: 30px;
	    height: 30px;
	}
}

.form-inline.mod-shop-search.active::before {
  background-color: #e0e0e0;
}

/* Контейнер для полей (абсолютное позиционирование) */
.form-inline.mod-shop-search .search-fields-container {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10000;
  white-space: nowrap;
}

/* Показываем при активном классе */
.form-inline.mod-shop-search.active .search-fields-container {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: flex;
}

/* Стили для полей */
.form-inline.mod-shop-search .inputbox {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  width: 200px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-inline.mod-shop-search .button {
  padding: 8px 15px;
  background-color: rgb(43, 100, 67);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
  margin-left: -4px;
  transition: background-color 0.3s ease;
}

.form-inline.mod-shop-search .button:hover {
  background-color: #0056b3;
}

/* Стрелка */
.form-inline.mod-shop-search.active .search-fields-container::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
  filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.1));
}

/* Скрываем hidden поля */
.form-inline.mod-shop-search input[type="hidden"] {
  display: none;
}
/*=============================*/

/* Ограничиваем название товара 3 строками */
/* Ограничиваем текст 3 строками */
.item_name h6, .nevigen_jshop_idsproducts.jshop.jshop_list_product .card-body .name h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 1.3;
  max-height: 5.2em;
  margin: 0;
  position: relative;
}

/* Делаем контейнер относительным для позиционирования */
.item_name, .nevigen_jshop_idsproducts.jshop.jshop_list_product .card-body .name {
  position: relative;
  min-height: 70px;
}

/* Показываем полный текст при наведении на h6 */
.item_name h6:hover, .nevigen_jshop_idsproducts.jshop.jshop_list_product .card-body .name h3:hover {
  overflow: visible;
  background: white;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  max-height: none;
  display: block;
  width: auto;
  min-width: 200px;
  max-width: 300px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  border-radius: 5px;
  border: 1px solid #ddd;
  background: white;
}

/* Добавляем задержку перед исчезновением */
.item_name h6, .nevigen_jshop_idsproducts.jshop.jshop_list_product .card-body .name h3 {
  transition: all 0.2s ease;
}
/*=======================================*/

/*пагинация в блоге*/
	.article-info, .pagenavigation {
	  width:90%;
      max-width:1000px;
      margin:-50px auto 30px;
      position:relative;
      z-index:5;
	}
/*===========================================*/
	
	/*Скрываем тег h1 на странице блога, но для роботов он виден*/
	.article-header h1 {
		position: absolute;
	    width: 1px;
	    height: 1px;
	    padding: 0;
	    margin: -1px;
	    overflow: hidden;
	    clip: rect(0, 0, 0, 0);
	    border: 0;
	}

/*Страница блога*/
/* ========== ГЛОБАЛЬНЫЕ СТИЛИ СТРАНИЦЫ БЛОГА ========== */
.blog.com-content-category-blog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}

/* ========== ЗАГОЛОВОК СТРАНИЦЫ (если есть) ========== */
.blog.com-content-category-blog .page-header h1 {
    font-size: 2.2rem;
    font-weight: 400;
    color: #2c3e2f;
    letter-spacing: -0.3px;
    border-bottom: 2px solid #e8e0d5;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* ========== СЕТКА КАРТОЧЕК ========== */
.article-list.cols-3 .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.article-list.cols-3 .col-lg-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

/* ========== КАРТОЧКА СТАТЬИ ========== */
.article {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0ebe4;
}

.article:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #e0d8ce;
}

/* ========== ИЗОБРАЖЕНИЕ ========== */
.article-intro-image {
    position: relative;
    overflow: hidden;
    background: #f5f2ed;
    flex-shrink: 0;
}

.article-intro-image a {
    display: block;
}

.article-intro-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.article:hover .article-intro-image img {
    transform: scale(1.03);
}

/* Тонкая рамка сверху */
.article-intro-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2b6443, #c4a35a, #2b6443);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.article:hover .article-intro-image::after {
    transform: scaleX(1);
}

/* ========== ТЕЛО КАРТОЧКИ ========== */
.article-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

/* ========== ЗАГОЛОВОК ========== */
.article-header {
    margin-bottom: 12px;
}

.article-header h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 500;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.article-header h2 a {
    text-decoration: none;
    color: #2c3e2f;
    transition: color 0.2s ease;
}

.article-header h2 a:hover {
    color: #2b6443;
}

/* ========== ИНТРО-ТЕКСТ ========== */
.article-introtext {
    color: #6b6b6b;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0 0 20px 0;
    flex: 1;
}

.article-introtext p {
    margin: 0;
}

/* ========== КНОПКА "ПОДРОБНЕЕ" ========== */
.readmore {
    margin-top: auto;
    padding-top: 16px;
}

.readmore a {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #2b6443;
    background: transparent;
    text-decoration: none;
    padding: 0;
    transition: all 0.2s ease;
    border: none;
    box-shadow: none;
}

.readmore a::after {
    content: '→';
    margin-left: 6px;
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.readmore a:hover {
    color: #1e452f;
    background: transparent;
    transform: none;
    box-shadow: none;
}

.readmore a:hover::after {
    transform: translateX(4px);
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
    .article-list.cols-3 .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .article-intro-image img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog.com-content-category-blog {
        padding: 20px 15px;
    }
    
    .article-list.cols-3 .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .article-body {
        padding: 18px 20px 22px;
    }
    
    .article-header h2 {
        font-size: 1.15rem;
    }
    
    .article-intro-image img {
        height: 180px;
    }
}

/* ========== ПАГИНАЦИЯ (если есть) ========== */
.pagination {
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid #e0d8ce;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.pagination a:hover, 
.pagination>li>a:hover, 
.pagination>li>a:focus, 
.pagination>li>span:hover, 
.pagination>li>span:focus {
    background: #2b6443;
    border-color: #2b6443;
    color: #ffffff !important;
}

.pagination .active span {
    background: #2b6443;
    border-color: #2b6443;
    color: #ffffff;
}

/* ========== БОКОВАЯ ПАНЕЛЬ (если есть) ========== */
.sidebar {
    font-family: 'Segoe UI', sans-serif;
}

.sidebar .moduletable {
    background: #faf8f5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #f0ebe4;
}

.sidebar .moduletable h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2b6443;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e0d5;
}
/* ======================================= */

body.view-article.remove-container #sp-main-body>.container{max-width:1320px;}

/* Стилизуем страницу корзины */
/* ===== Стили для страницы корзины - Строгий деловой стиль ===== */

/* Основные цвета и типографика */
.jshop {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1a1f36;
}

/* Таблица корзины - основной стиль */
.jshop.cart {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

/* Заголовки таблицы */
.jshop.cart th {
    background: #f8f9fc;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.jshop.cart th.jshop_img_description_center,
.jshop.cart th.remove {
    text-align: center;
}

/* Ячейки таблицы */
.jshop.cart td {
    padding: 1.25rem;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
    background-color: #ffffff;
}

.jshop.cart tr:last-child td {
    border-bottom: none;
}

/* Изображение товара */
.jshop.cart .jshop_img {
    max-width: 70px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.jshop.cart .jshop_img:hover {
    transform: scale(1.02);
}

/* Название товара */
.product_name .prodname {
    font-weight: 600;
    color: #1a2c3e;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.15s ease;
}

.product_name .prodname:hover {
    color: #2c7a4d;
    text-decoration: underline;
}

/* Атрибуты товара (объём и т.д.) */
.list_attribute {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

.jshop_cart_attribute {
    background: #f7fafc;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin: 0.25rem 0 0;
    font-size: 0.7rem;
    color: #4a5568;
}

.jshop_cart_attribute .name {
    font-weight: 500;
    color: #2d3748;
}

/* Цена и сумма */
.single_price .price,
.total_price .data {
    font-weight: 600;
    color: #1a2c3e;
    font-size: 1rem;
}

/* Поле количества */
.quantity .inputbox {
    width: 80px;
    text-align: center;
    padding: 0.5rem 0.25rem;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.quantity .inputbox:focus {
    outline: none;
    border-color: #2c7a4d;
    box-shadow: 0 0 0 3px rgba(44, 122, 77, 0.1);
}

/* Иконка обновления корзины */
.cart_reload.icon-refresh {
    display: inline-block;
    margin-left: 0.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.cart_reload.icon-refresh:hover {
    opacity: 1;
}

/* Кнопка удаления */
.remove .btn-danger {
    background: #ffffff;
    color: #e53e3e;
    border: 1px solid #fed7d7;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.remove .btn-danger:hover {
    background: #fff5f5;
    border-color: #fc8181;
    color: #c53030;
}

/* Блок с итогами */
.jshop_subtotal {
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2edf2;
    margin-bottom: 2rem;
}

.jshop_subtotal tr td {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.jshop_subtotal tr:last-child td {
    border-bottom: none;
}

.jshop_subtotal .name {
    font-weight: 500;
    color: #4a5568;
}

.jshop_subtotal .value {
    text-align: right;
    font-weight: 500;
    color: #1a2c3e;
}

.jshop_subtotal .total .name,
.jshop_subtotal .total .value {
    font-weight: 700;
    font-size: 1.125rem;
    color: #1a2c3e;
}

/* Кнопки навигации */
.cart_buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cart_buttons .btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.cart_buttons .btn-secondary:hover {
    background: #e6edf5;
    transform: translateX(-2px);
}

.cart_buttons .btn-success {
    background: #2c7a4d;
    color: white;
    border: none;
}

.cart_buttons .btn-success:hover {
    background: #1f5e3a;
    transform: translateX(2px);
}

/* Блок с дисконтным кодом */
.cart_block_discount {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.cart_block_discount .jshop .span12 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.cart_block_discount .name {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.875rem;
}

.cart_block_discount .inputbox {
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 40px;
    width: 200px;
    font-size: 0.875rem;
}

.cart_block_discount .btn-primary {
    background: #ffffff;
    color: #2c7a4d;
    border: 1px solid #c6f6d5;
    border-radius: 40px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.cart_block_discount .btn-primary:hover {
    background: #f0fff4;
    border-color: #9ae6b4;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .jshop.cart thead {
        display: none;
    }

    .jshop.cart,
    .jshop.cart tbody,
    .jshop.cart tr,
    .jshop.cart td {
        display: block;
        width: 100%;
    }

    .jshop.cart tr {
        margin-bottom: 1.5rem;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        overflow: hidden;
    }

    .jshop.cart td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #edf2f7;
    }

    .jshop.cart td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #4a5568;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .quantity .data,
    .single_price .data,
    .total_price .data,
    .product_name .data,
    .remove .data {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        flex-direction: column;
    }

    .jshop_subtotal {
        max-width: 100%;
    }

    .cart_buttons #checkout {
        flex-direction: column;
        gap: 20px;
    }

    .cart_buttons .pull-left,
    .cart_buttons .pull-right {
        width: 100%;
    }

    .cart_buttons .btn {
        width: 100%;
        justify-content: center;
        font-size: 20px;
    }
}
/* =============================================== */

.com-users-login.login {
	margin-top: 100px;
	margin-bottom: 100px;
}







/* ============================================
   КРАСИВОЕ ОФОРМЛЕНИЕ ТАБЛИЦЫ КОРЗИНЫ
   (ПРОФЕССИОНАЛЬНАЯ МОБИЛЬНАЯ ВЕРСИЯ)
   ============================================ */

/* --- 1. Базовая стилизация таблицы --- */
table.jshop_cart {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 16px;
    margin: 1.5rem 0;
}

/* --- 2. Строки на десктопе --- */
@media (min-width: 769px) {
    tr.jshop_prod_cart {
        display: table-row;
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
    }

    tr.jshop_prod_cart:hover {
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
        transform: translateY(-2px);
    }

    tr.jshop_prod_cart td {
        padding: 1.25rem 0.75rem;
        vertical-align: middle;
        border: none;
        background: #ffffff;
    }

    tr.jshop_prod_cart td:first-child {
        border-radius: 20px 0 0 20px;
        padding-left: 1.5rem;
    }

    tr.jshop_prod_cart td:last-child {
        border-radius: 0 20px 20px 0;
        padding-right: 1.5rem;
    }

    tr.jshop_prod_cart.odd {
        background: #fcfbf9;
    }

    tr.jshop_prod_cart.odd td {
        background: #fcfbf9;
    }

    /* Заголовки таблицы */
    table.jshop_cart thead th {
        padding: 1rem 0.75rem;
        font-weight: 600;
        color: #5f5750;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 2px solid #e8e2db;
        text-align: left;
    }

    table.jshop_cart thead th:first-child {
        padding-left: 1.5rem;
    }

    table.jshop_cart thead th:last-child {
        padding-right: 1.5rem;
        text-align: center;
    }
}

/* --- 3. Стили для ячеек (общие для всех экранов) --- */

/* Изображение */
tr.jshop_prod_cart .jshop_img_description_center {
    text-align: center;
}

tr.jshop_prod_cart .jshop_img_description_center .data {
    display: flex;
    justify-content: center;
    align-items: center;
}

tr.jshop_prod_cart .jshop_img_description_center .jshop_img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid #f0ece7;
    transition: all 0.3s ease;
    background: #faf8f5;
    padding: 4px;
}

tr.jshop_prod_cart .jshop_img_description_center .jshop_img:hover {
    transform: scale(1.05);
    border-color: #b8aa9a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

/* Название товара */
tr.jshop_prod_cart .product_name {
    min-width: 200px;
}

tr.jshop_prod_cart .product_name .prodname {
    font-weight: 600;
    font-size: 1.05rem;
    color: #2d2a27;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.3rem;
}

tr.jshop_prod_cart .product_name .prodname:hover {
    color: #457358;
    text-decoration: underline;
}

/* Атрибуты */
tr.jshop_prod_cart .list_attribute {
    margin-top: 0.4rem;
}

tr.jshop_prod_cart .jshop_cart_attribute {
    margin: 0;
    padding: 0.2rem 0.8rem;
    background: #f5f2ed;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.85rem;
    color: #5f5750;
}

tr.jshop_prod_cart .jshop_cart_attribute .name {
    font-weight: 500;
    color: #3d3a36;
}

tr.jshop_prod_cart .jshop_cart_attribute .value {
    color: #457358;
    font-weight: 600;
}

/* Цена за единицу */
tr.jshop_prod_cart .single_price .data .price {
    font-weight: 600;
    font-size: 1rem;
    color: #2d2a27;
    background: #f5f2ed;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    display: inline-block;
}

/* Количество */
tr.jshop_prod_cart .quantity .data {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

tr.jshop_prod_cart .quantity .mobile-cart-inline {
    display: none;
}

tr.jshop_prod_cart .quantity .inputbox {
    width: 70px;
    padding: 0.4rem 0.5rem;
    border: 2px solid #d5cdc4;
    border-radius: 40px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2d2a27;
}

tr.jshop_prod_cart .quantity .inputbox:focus {
    border-color: #457358;
    box-shadow: 0 0 0 4px rgba(69, 115, 88, 0.12);
    outline: none;
}

tr.jshop_prod_cart .quantity .cart_reload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0ece7;
    color: #5f5750;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

tr.jshop_prod_cart .quantity .cart_reload:hover {
    background: #457358;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Итоговая цена */
tr.jshop_prod_cart .total_price .data {
    font-weight: 700;
    font-size: 1.15rem;
    color: #2d2a27;
    background: #eaf3ed;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    display: inline-block;
}

/* Кнопка удаления */
tr.jshop_prod_cart .remove .data {
    display: flex;
    justify-content: center;
    align-items: center;
}

tr.jshop_prod_cart .remove .btn-danger {
    background: #fef2f0;
    border: 2px solid #f5d4ce;
    color: #b34a3a;
    border-radius: 40px;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

tr.jshop_prod_cart .remove .btn-danger:hover {
    background: #e34f3a;
    border-color: #c43d2a;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(203, 67, 53, 0.25);
}

tr.jshop_prod_cart .remove .btn-danger::before {
    content: "✕";
    font-weight: 300;
    font-size: 1.1rem;
    display: inline-block;
}

/* ============================================
   МОБИЛЬНАЯ ВЕРСИЯ (ПЕРЕДЕЛАНА)
   ============================================ */

@media (max-width: 768px) {
    /* Скрываем шапку таблицы */
    table.jshop_cart thead {
        display: none;
    }

    /* Каждая строка - карточка товара */
    tr.jshop_prod_cart {
        display: block;
        background: #ffffff;
        border-radius: 24px;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid #f0ece7;
        transition: all 0.3s ease;
    }

    tr.jshop_prod_cart:hover {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
        border-color: #dcd4cb;
    }

    /* Все ячейки внутри карточки */
    tr.jshop_prod_cart td {
        display: flex;
        align-items: center;
        padding: 0.6rem 0;
        border: none;
        background: transparent !important;
        width: 100%;
        border-radius: 0 !important;
        border-bottom: 1px solid #f5f2ed;
        gap: 0.75rem;
    }

    tr.jshop_prod_cart td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    tr.jshop_prod_cart td:first-child {
        padding-top: 0;
        border-bottom: none;
    }

    /* --- Изображение --- */
    tr.jshop_prod_cart .jshop_img_description_center {
        justify-content: center;
        padding-bottom: 0.5rem !important;
        margin-bottom: 0.25rem;
    }

    tr.jshop_prod_cart .jshop_img_description_center .data {
        width: 100%;
        justify-content: center;
    }

    tr.jshop_prod_cart .jshop_img_description_center .jshop_img {
        width: 140px;
        height: 140px;
        border-radius: 20px;
        border: 2px solid #e8e2db;
        padding: 6px;
        object-fit: cover;
    }

    /* --- Название товара --- */
    tr.jshop_prod_cart .product_name {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.6rem 0 0.4rem 0;
        border-bottom: 2px solid #f0ece7;
    }

    tr.jshop_prod_cart .product_name .data {
        width: 100%;
    }

    tr.jshop_prod_cart .product_name .prodname {
        font-size: 1.15rem;
        font-weight: 600;
        margin-bottom: 0.7rem;
        width: 100%;
        color: #2d2a27;
    }

    tr.jshop_prod_cart .product_name .list_attribute {
        width: 100%;
    }

    tr.jshop_prod_cart .jshop_cart_attribute {
        font-size: 0.85rem;
        padding: 0.25rem 1rem;
        background: #f5f2ed;
        border-radius: 30px;
        display: inline-block;
    }

    /* --- Для всех остальных ячеек добавляем лейблы через ::before --- */
    tr.jshop_prod_cart .single_price .data::before {
        content: "Цена: ";
        font-weight: 500;
        color: #7c736a;
        font-size: 0.9rem;
        min-width: 70px;
        margin-bottom: 3px;
    }

    tr.jshop_prod_cart .quantity .data::before {
        content: "Количество: ";
        font-weight: 500;
        color: #7c736a;
        font-size: 0.9rem;
        min-width: 70px;
    }

    tr.jshop_prod_cart .total_price .data::before {
        content: "Итого: ";
        font-weight: 500;
        color: #7c736a;
        font-size: 0.9rem;
        min-width: 70px;
    }

    /* Скрываем старый лейбл количества */
    tr.jshop_prod_cart .quantity .mobile-cart-inline {
        display: none !important;
    }

    /* --- Ячейка с ценой --- */
    tr.jshop_prod_cart .single_price .data {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        padding: 0.3rem 0;
    }

    tr.jshop_prod_cart .single_price .data .price {
        font-size: 1rem;
        font-weight: 600;
        background: #f5f2ed;
        padding: 0.15rem 1.2rem;
        border-radius: 30px;
        display: inline-block;
        color: #2d2a27;
        margin-left: 0;
    }

    /* --- Ячейка с количеством --- */
    tr.jshop_prod_cart .quantity .data {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        padding: 0.3rem 0;
    }

    tr.jshop_prod_cart .quantity .inputbox {
        width: 75px;
        padding: 0.35rem 0.5rem;
        border: 2px solid #d5cdc4;
        border-radius: 40px;
        text-align: center;
        font-size: 0.95rem;
        background: #ffffff;
        color: #2d2a27;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    tr.jshop_prod_cart .quantity .inputbox:focus {
        border-color: #457358;
        box-shadow: 0 0 0 4px rgba(69, 115, 88, 0.12);
        outline: none;
    }

    tr.jshop_prod_cart .quantity .cart_reload {
        width: 36px;
        height: 36px;
        background: #f0ece7;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #5f5750;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    tr.jshop_prod_cart .quantity .cart_reload:hover {
        background: #457358;
        color: #ffffff;
        transform: rotate(90deg);
    }

    /* --- Ячейка с итоговой ценой --- */
    tr.jshop_prod_cart .total_price .data {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        padding: 0.3rem 0;
    }

    tr.jshop_prod_cart .total_price .data .total-price-value {
        font-size: 1.15rem;
        font-weight: 700;
        color: #2d2a27;
        background: #eaf3ed;
        padding: 0.2rem 1.5rem;
        border-radius: 40px;
        display: inline-block;
    }

    /* --- Ячейка с кнопкой удаления --- */
    tr.jshop_prod_cart .remove .data {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        padding-top: 0.5rem;
        margin-top: 0.25rem;
        border-top: 1px solid #f0ece7;
        padding-bottom: 0 !important;
    }

    tr.jshop_prod_cart .remove .data::before {
        display: none;
    }

    tr.jshop_prod_cart .remove .btn-danger {
        background: #fef2f0;
        border: 2px solid #f5d4ce;
        color: #b34a3a;
        border-radius: 40px;
        padding: 0.35rem 1.6rem;
        font-size: 0.85rem;
        font-weight: 500;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
    }

    tr.jshop_prod_cart .remove .btn-danger::before {
        content: "✕";
        font-weight: 300;
        font-size: 1rem;
        display: inline-block;
        margin-right: 0.1rem;
    }

    tr.jshop_prod_cart .remove .btn-danger:hover {
        background: #e34f3a;
        border-color: #c43d2a;
        color: #ffffff;
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(203, 67, 53, 0.2);
    }

    /* Убираем фоновые цвета для нечётных строк */
    tr.jshop_prod_cart.odd {
        background: #ffffff;
    }
}

/* --- Очень маленькие экраны (до 480px) --- */
@media (max-width: 480px) {
    tr.jshop_prod_cart {
        padding: 1rem;
        border-radius: 20px;
        margin-bottom: 1rem;
    }

    tr.jshop_prod_cart .jshop_img_description_center .jshop_img {
        width: 110px;
        height: 110px;
        border-radius: 16px;
    }

    tr.jshop_prod_cart .product_name .prodname {
        font-size: 1.05rem;
    }

    tr.jshop_prod_cart td {
        padding: 0.4rem 0;
        gap: 0.5rem;
    }

    tr.jshop_prod_cart .single_price .data::before,
    tr.jshop_prod_cart .quantity .data::before,
    tr.jshop_prod_cart .total_price .data::before {
        font-size: 0.8rem;
        min-width: 60px;
    }

    tr.jshop_prod_cart .single_price .data .price {
        font-size: 0.9rem;
        padding: 0.1rem 1rem;
    }

    tr.jshop_prod_cart .total_price .data .total-price-value {
        font-size: 1.05rem;
        padding: 0.15rem 1.2rem;
    }

    tr.jshop_prod_cart .quantity .inputbox {
        width: 65px;
        font-size: 0.85rem;
        padding: 0.3rem 0.4rem;
    }

    tr.jshop_prod_cart .quantity .cart_reload {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    tr.jshop_prod_cart .remove .btn-danger {
        padding: 0.25rem 1.4rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   СТИЛИ ДЛЯ ОСТАЛЬНЫХ ЭЛЕМЕНТОВ КОРЗИНЫ
   ============================================ */

/* --- Итоговая сумма --- */
.jshop_cart_total {
    background: #f5f2ed;
    border-radius: 24px;
    padding: 1.75rem 2rem;
    margin-top: 1.5rem;
    text-align: right;
    border: 1px solid #e8e2db;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.jshop_cart_total .total-label {
    font-weight: 500;
    color: #5f5750;
    font-size: 1.1rem;
}

.jshop_cart_total .total-price-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d2a27;
    background: #eaf3ed;
    padding: 0.25rem 2rem;
    border-radius: 40px;
    display: inline-block;
}

.jshop_cart_total .total-price-value span {
    color: #457358;
}

@media (max-width: 480px) {
    .jshop_cart_total {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .jshop_cart_total .total-price-value {
        font-size: 1.3rem;
        padding: 0.2rem 1.5rem;
        width: 100%;
    }
}

/* --- Кнопки корзины --- */
.jshop_cart_buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

.jshop_cart_buttons .btn-primary {
    background: #457358;
    border: none;
    border-radius: 60px;
    padding: 0.8rem 2.8rem;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(69, 115, 88, 0.25);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.jshop_cart_buttons .btn-primary:hover {
    background: #2d5a45;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 115, 88, 0.35);
}

.jshop_cart_buttons .btn-secondary {
    background: #f0ece7;
    border: 2px solid #d5cdc4;
    border-radius: 60px;
    padding: 0.8rem 2.8rem;
    font-weight: 500;
    font-size: 1rem;
    color: #5f5750;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.jshop_cart_buttons .btn-secondary:hover {
    background: #e5dfd8;
    border-color: #b8aa9a;
}

@media (max-width: 480px) {
    .jshop_cart_buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .jshop_cart_buttons .btn-primary,
    .jshop_cart_buttons .btn-secondary {
        text-align: center;
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* --- Пустая корзина --- */
.jshop_cart_empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #faf8f5;
    border-radius: 24px;
    border: 2px dashed #e0d6cc;
}

.jshop_cart_empty .empty-icon {
    font-size: 4rem;
    color: #b8aa9a;
    margin-bottom: 1rem;
    display: block;
}

.jshop_cart_empty .empty-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d2a27;
    margin-bottom: 0.5rem;
}

.jshop_cart_empty .empty-desc {
    color: #7c736a;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

  .first-block-mobile {
    height: calc(100dvh + 40px);
  }

a.btn.btn-success:focus {
	color: #edffed;
}

