.ismainpage {
	padding: 2rem 1.5rem;
}
.otherpage {
	padding: 2rem 1.5rem;
	}

#block-bulma-branding img {
	max-height: 2.75rem;	
}

@media screen and (min-width: 1024px) {
	#block-bulma-branding .is-size-3-desktop {
		font-size: 2.8rem !important;
	}
}



/* --- Десктоп (по умолчанию) --- */
.navbar-brand {
  display: grid;

  grid-template-columns: auto 1fr;
  align-items: flex-end;
  column-gap: 16rem;
}


.telkons {
	color:#00b050!important;font-size:25px;line-height:1;
}



#ya-site-form0 {
	margin-left: -6px; !important;

}

.ya-site-form__submit {
  background: #00B050 !important;
  color: white !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: background 0.15s;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.05);
}

.ya-site-form__submit:hover {
  background: #009640 !important;
}

#ya-site-form0 .ya-site-form__form .ya-site-form__input-text {
    background-color: #ffffff !important;
    padding: 6px;
}

#ya-site-form0, #ya-site-form0 .ya-site-form__form, #ya-site-form0 .ya-site-form__input, #ya-site-form0 .ya-site-form__input-text, #ya-site-form0 .ya-site-form__search-precise, #ya-site-form0 .ya-site-form__submit {
	display: block;
    width: auto;
    margin: 0 0 0 5px;
		padding: 7px;
    color: white !important;
}

.header-search-contact .search-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* или center, если нужно центрировать */
  /*gap: 6px;*/ /* расстояние между надписью и формой */
}

.header-search-contact .search-section span {
  font-size: 13px;
  color: #000;
  margin-bottom: -4px;
	margin-top: 0px;
  white-space: normal;
	padding-left: 12px;
}

.header-search-contact .ya-site-form form input[type="search"] {
 height: 30px !important;
 font-size: 13px !important;
 padding: 2px 8px !important;
}
.header-search-contact .ya-site-form form input[type="submit"] {
 height: 30px !important;
 font-size: 13px !important;
 padding: 2px 12px !important;
}

.ya-site-form__form table td {
	padding:0px!important;
}

/* Лого + название (в ряд) */
#block-bulma-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  grid-column: 1/2;
  grid-row: 1/3;
}

/* Название не переносится */
#block-bulma-branding .title {
  white-space: nowrap;
}

/* Первый текстовый блок справа сверху */
#block-bulma-no1 {
  grid-column: 2/3;
  grid-row: 1/2;
  margin-bottom: 0;
}

/* Поиск + телефон справа снизу */
#block-bulma-poiskitelefon {
  grid-column: 2/3;
  grid-row: 2/3;
  margin-top: 0;
}

/* --- Мобильные устройства --- */
@media (max-width: 800px) {
  /* Основная шапка — всё в столбик */
  .navbar-brand {
    display: block !important;
    padding-right: 0 !important;
    column-gap: 0 !important;
  }
	.telkons {
		color:#00b050!important;font-size:22px;line-height:1;
}
	
  #block-bulma-branding,
  #block-bulma-no1,
  #block-bulma-poiskitelefon {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
  #block-bulma-branding {
    margin-bottom: 16px !important;
    /* логотип и название — в колонку */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }
  #block-bulma-branding .title {
    margin-top: 8px;
    white-space: normal !important;
    text-align: left;
    word-break: break-word;
  }
  #block-bulma-no1 {
    margin-bottom: 16px !important;
  }
  #block-bulma-poiskitelefon {
    margin-bottom: 0 !important;
  }
}



@media (max-width: 768px) {
  /*Мобильные*/
	.prostoptimah1 {
		/*text-transform: uppercase;
		font-size: 1em!important;*/
		color:#009947!important;
		text-align: center;
		margin-bottom: 0px;
	}
	.otherpage .main-content {
	background-image: url(/themes/bulma/i/topotherback.webp);
	background-repeat: no-repeat;
	background-position: calc(100% + 215px) 0;
	padding: 1.5rem;
}
	.prostheader_market_buttons
 {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	margin: 10px 0;
	float: right;
	margin-right: 0px;
}

.prostheader_market_buttons .pros_button 
 {
margin-right: 8px;
}



#block-bulma-breadcrumps .breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

#block-bulma-breadcrumps .breadcrumb li {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    flex-shrink: 1;
    font-size: 16px;
    color: #009947;
    position: relative;
    padding: 0 5px;
}

#block-bulma-breadcrumps .breadcrumb li a {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    display: inline;
}


/* Добавление треугольного указателя для всех li, кроме последнего */
#block-bulma-breadcrumps .breadcrumb li:not(:last-child)::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #009947;
}
.breadcrumb li + li::before {
    color: white;
}


/*поле resume в статье*/
.article-resume-div {

    font-size: 0.9em;
    margin-bottom: 20px;
    background: linear-gradient(to right, #effaf3, #ffffff);
    border: #48c774 1px dotted;
    padding: 8px;
}


} 

@media (min-width: 769px) {
	/*Десктопы*/		
	.prostoptimah1 {
		/*text-transform: uppercase;
		font-size: 1.8em!important;*/
		color:#009947!important;
		text-align: center;
		margin-bottom: 0px;
	}
	
	.otherpage .main-content {
		background-image: url(/themes/bulma/i/topotherback.webp);
	background-repeat: no-repeat;
	background-position: top right;
}
	.prostheader_market_buttons
 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 10px 0;
	float: right;
	margin-right: 171px;
}

.prostheader_market_buttons .pros_button 
 {
margin-right: 24px;
}


/* Сброс стилей списка */
#block-bulma-breadcrumps .breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Стили для каждого элемента списка */
#block-bulma-breadcrumps .breadcrumb li {
    font-size: 16px;
    color: #009947;
    position: relative;
    padding: 0;
}

/* Добавление треугольного указателя для всех li, кроме последнего */
#block-bulma-breadcrumps .breadcrumb li:not(:last-child)::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #009947;
}
.breadcrumb li + li::before {
    color: white;
		width: 0px;
}

.desktop-table-left-50percent {
	/*Контейнер для оформления таблиц в статьях - 50% от текста, прижим влево*/
	width: 50%;
	float:left;
	padding: 10px 30px 10px 10px;
}
.desktop-table-right-50percent {
	/*Контейнер для оформления таблиц в статьях - 50% от текста, прижим вправо*/
	width: 50%;
	float:right;
	padding: 10px 10px 10px 30px;
}
.desktop-table-left-60percent {
	/*Контейнер для оформления таблиц в статьях - 50% от текста, прижим влево*/
	width: 60%;
	float:left;
	padding: 10px 30px 10px 10px;
}
.desktop-table-right-60percent {
	/*Контейнер для оформления таблиц в статьях - 50% от текста, прижим вправо*/
	width: 60%;
	float:right;
	padding: 10px 10px 10px 30px;
}
.desktop-table-left-78percent {
	/*Контейнер для оформления таблиц в статьях - 50% от текста, прижим влево*/
	width: 78%;
	float:left;
	padding: 10px 30px 10px 10px;
}
.desktop-table-right-78percent {
	/*Контейнер для оформления таблиц в статьях - 50% от текста, прижим вправо*/
	width: 78%;
	float:right;
	padding: 10px 10px 10px 30px;
}
.padding-left-desktop {
	/*Сдвиг абзаца вправо на десктопах*/
	margin-left:128px;
}

.padding-right-desktop {
	/*Сдвиг абзаца влево на десктопах*/
	margin-right:128px;
}



/*поле resume в статье*/
.article-resume-div {

    font-size: 0.9em;
    margin-top: 50px;
    margin-bottom: 20px;
    margin-left: 200px;
    background: linear-gradient(to right, #effaf3, #ffffff);
    border: #48c774 1px dotted;
    padding: 8px;
}

}




/* блок обращения на главной */
.obrasch_container {
	font-family: Arial, sans-serif;
	color: #333;
	line-height: 1.6;
	font-size: 0.8em;
}
.obrasch_paragraph {
	margin-bottom: 1em;
}
.obrasch_highlight {
	background-color: #f0fff0; /* светло-зелёный оттенок */
	padding: 15px;
	margin-left: 10%;
	border-radius: 5px;
	font-size:1.1rem;
}
.obrasch_list {
	margin: 0;
	padding-left: 20px;
}
.first_obrasch {
	font-weight: bold;
}
.ochi {
	margin-left: 25%!important;
}

.ui-state-active {
	border: 1px solid #00b050;
	background: #00b050;
}



.pros_container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: center;
	max-width: 800px;
	margin: 0 auto;
}

/* ОБЁРТКА ДЛЯ КНОПОК И ЛЕВОГО ИЗОБРАЖЕНИЯ */
.pros_buttons_wrapper {
	display: flex;
	flex-direction: row;
	justify-content: flex-end; /* прижимаем всё к правому краю */
	align-items: flex-start;
	position: relative;
}

/* ИЗОБРАЖЕНИЕ СЛЕВА */
.pros_label_image {
	width: 80px;
	height: 285px;
	background: url("/themes/bulma/i/kup_mar.png") no-repeat center;
	background-size: contain;
	margin-right: 10px;
}

/* Кнопки справа */
.pros_buttons {
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: flex-end;
}

/* Базовый стиль кнопки */
.pros_button {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	transition: transform 0.3s, background 0.3s;
	position: relative;
	transform-origin: center center;
}

/* При наведении увеличиваем кнопку пропорционально */
.pros_button:hover {
	z-index: 2;
	transform: scale(1.3333);
}

/* 1) ПЕРВАЯ КНОПКА (WB) — иконка 1.5 раза больше ИЗНАЧАЛЬНО */
.pros_button_wb img {
	width: 90%;
	height: auto;
}

/* 2) ОСТАЛЬНЫЕ ТРИ КНОПКИ (Ozon, Yandex, AliExpress) — в 2 раза больше иконка ИЗНАЧАЛЬНО */
.pros_button_ozon img,
.pros_button_yandex img,
.pros_button_aliexpress img {
	width: 120%;
	height: auto;
}

.pros_button img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	margin:0px!important;
}

/* Цветные кнопки по классам */
.pros_button_wb {
	background-color: #aa55d1;
}
.pros_button_wb:hover {
	background-color: #9250b3;
}

.pros_button_ozon {
	background-color: #4c8cf5;
}
.pros_button_ozon:hover {
	background-color: #3b76cc;
}

.pros_button_yandex {
	background-color: #ffee80;
	color: black;
}
.pros_button_yandex:hover {
	background-color: #ffdb4d;
}

.pros_button_aliexpress {
	background-color: #ff7f7f;
}
.pros_button_aliexpress:hover {
	background-color: #ff6666;
}

/* Левая часть с изображением — увеличиваем ширину в 1.5 раза */
.pros_image {
	position: relative;
	width: 600px;
	overflow: hidden;
	cursor: zoom-in;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

#pros_mainImage {
	width: 100%;
	height: auto;
	display: block;
}

.pros_magnifier {
	position: absolute;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 2px solid #000;
	background-repeat: no-repeat;
	background-size: 600%;
	pointer-events: none;
	display: none;
}

/* Галерея миниатюр */
.pros_thumbnails {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 10px;
}
.pros_thumbnail {
	width: 80px;
	height: 80px;
	cursor: pointer;
	border: 2px solid transparent;
}
.pros_thumbnail.active {
	border-color: #328F18;
}



@media (max-width: 768px) {
	.pros_container {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.pros_magnifier {
		width: 150px;
		height: 150px;
	}
	
	.pros_label_image {
		display: none;
	}
	
	.pros_buttons {
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}
	
	/* На мобильных можно вернуть масштабируемость */
	.pros_image {
		width: 100%;
		max-width: 600px;
	}
}




/* купить в аптеке */
.pros_label_buy {
    position: absolute;
    top: -52px; /* высота согласно вашему уточнению */
    right: 0;
    background-color: #00B050;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    z-index: 3;
    user-select: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

/* Увеличение блока при наведении */
.pros_label_buy:hover {
    transform: scale(1.2);
    z-index: 4; /* чтобы блок при увеличении перекрывал соседние элементы */
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .pros_label_buy {
        position: static;
        width: 100%;
        height: 44px;
        line-height: 30px;
        margin-bottom: 15px;
        border-radius: 0;
        transform: none; /* отменить увеличение для мобильных устройств */
    }

    .pros_label_buy:hover {
        transform: none; /* отключаем hover для мобильных */
    }

    .pros_buttons_wrapper {
        flex-direction: column;
        align-items: center;
    }
}


/* купить в аптеке other page*/
.pros_label_buy_other {
    background-color: #00B050;
    color: #fff;
    padding: 13px 12px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    z-index: 3;
    user-select: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-origin: center center;
    width: 90px;
    float: right;
    margin: 11px 20px;
}

/* Увеличение блока при наведении */
.pros_label_buy_other:hover {
    transform: scale(1.2);
    z-index: 4; /* чтобы блок при увеличении перекрывал соседние элементы */
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .pros_label_buy_other {
        /* position: static; */
        width: 85%;
        /* height: 44px; */
        /* line-height: 30px; */
        /* margin-bottom: 15px; */
        border-radius: 0;
        transform: none;
    }

    .pros_label_buy_other:hover {
        transform: none; /* отключаем hover для мобильных */
    }


}



/* таблица на главной с составом */

.tbl_sost_table {
	width: 100%;
	border-collapse: collapse;
}
.tbl_sost_table th, .tbl_sost_table td {
	border: 1px solid #000;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
}
.tbl_sost_table th {
	background-color: #f7f7f7;
	font-weight: normal;
}
.tbl_sost_table td:first-child {
	text-align: left;
	display: flex;
	align-items: center;
}
.tbl_sost_text_content {
	margin-left: 10px;
	text-align: left;
}
.tbl_sost_highlight {
	font-weight: bold;
}
.tbl_sost_small_text {
	font-size: 12px;
}
.tbl_sost_note {
	font-size: 13px;
	color: #00b0b9;
	margin-top: 10px;
}
.tbl_sost_icon {
	width: 45px;
	height: 45px;
	border-radius: 50%; 
	border: 1px #0bacf5 solid;
}


iframe.cmn-frame {
	
	border: 2px green solid!important;
}














/*капсула */



@media (min-width: 768px) {
	.diag_capsule { 
    left: 150px;
  }
	.diag_diagram {
	width: 600px;
	height: 606px;
}
.diag_infoblock th, .diag_infoblock td {
	border: 1px solid #ccc;
	padding: 6px 8px;
}
.pros_container {
	padding: 20px;
}
.prostfooter_logo_block,
.prostfooter_contacts,
.prostfooter_links,
.prostfooter_product {
	flex: 1 1 220px;
	margin: 10px;
}
}	

@media (max-width: 768px) {
	.diag_capsule {
     left: 5px;
	}
	.tbl_sost_icon {
	  display:none;	
	}
	.diag_diagram {
	width: 100%;
	height: 676px;
}
.diag_infoblock th, .diag_infoblock td {
	border: 1px solid #ccc;
	padding: 4px 0px;
}
#block-bulma-no1 {
	display:none;	
}

.pros_container {
	padding: 13px;
}
}	


.diag_diagram {
	position: relative;
	margin: auto;
	box-sizing: border-box;
}
.diag_infoblock h2 {
	color: green;
	text-align: center;
}

/* КАПСУЛА */
.diag_capsule {
	position: absolute;
	top: 0px;
	width: 300px;
	height: 100px;
	background: none;
	border-radius: 50px;
	display: flex;
	/*box-shadow: 0 0 15px rgba(255, 165, 0, 0.5);*/
	overflow: hidden;
	z-index: 2;
}
.diag_section {
	flex: 1;
	opacity: 1;
	transition: opacity 0.3s ease;
	background-position: center;
	background-size: cover;
}
.diag_section:hover {
	opacity: 0.5;
}

/* Замена "цветов" на изображения */
.diag_section:nth-child(1) {
	background-image: url("/themes/bulma/i/image1_.png");
}
.diag_section:nth-child(2) {
	background-image: url("/themes/bulma/i/image2_.png");
}
.diag_section:nth-child(3) {
	background-image: url("/themes/bulma/i/image3_.png");
}
.diag_section:nth-child(4) {
	background-image: url("/themes/bulma/i/image4_.png");
}
.diag_section:nth-child(5) {
	background-image: url("/themes/bulma/i/image5_.png");
}

/* ИНФОБЛОК */
.diag_infoblock {
	position: absolute;
	top: 120px;
	left: 0;
	width: 100%;
	/*padding: 0 20px;*/
	box-sizing: border-box;
	z-index: 1;
	/*color: green;*/
	font-size: 12px;
}
.diag_infoblock h2 {
	margin: 0 0 8px;
	font-size: 18px;
}
.diag_infoblock p {
	margin: 6px 0;
	line-height: 1.4;
}
.diag_infoblock table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}
.diag_infoblock th {
	background: #fafafa;
	font-weight: bold;
}


/* БЛОКИ-ПОДПИСИ */
.diag_label {
	position: absolute;
	width: 250px;
	background: rgba(255, 255, 255, 0.9);
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
	text-align: center;
	transition: 0.3s;
	display: none;
	z-index: 3;
}
.diag_price {
	text-decoration: line-through;
	color: red;
}
.diag_predprice {
	font-size: small;
}
.diag_label1 {
	top: 170px;
	left: 30px;
}
.diag_label2 {
	top: 170px;
	left: 200px;
}
.diag_label3 {
	top: 210px;
	left: 210px;
}
.diag_label4 {
	top: 130px;
	left: 400px;
}
.diag_label5 {
	top: 220px;
	left: 420px;
}

/* SVG для линий */
svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 600px;
	height: 520px;
	pointer-events: none;
	z-index: 3;
}
line {
	stroke: #999;
	stroke-width: 1;
	transition: 0.3s;
	display: none;
}
line.diag_hovered {
	stroke: #666;
	stroke-width: 1;
}

/* Примечания снизу */
.diag_bottomnote {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #f0f0f0;
	padding: 10px;
	box-sizing: border-box;
	text-align: left;
	display: none;
	border-top: 2px solid #ccc;
	z-index: 3;
}

.diag_highlight {
	box-shadow: 0 0 10px rgba(100, 100, 100, 0.7);
	border: 2px solid #ccc;
}

/* Вертикальное "подрагивание" (tremor) */
@keyframes diag_tremor {
	0%, 100% {
		transform: translateY(0);
	}
	20% {
		transform: translateY(-1px);
	}
	40% {
		transform: translateY(1px);
	}
	60% {
		transform: translateY(0px);
	}
	80% {
		transform: translateY(0px);
	}
}
.diag_tremor {
	animation: diag_tremor 0.3s;
}

.table-bordered td, .table-bordered th  {
	/*color: green!important;*/
	border: 1px solid #dbdbdb!important; /* Рамка вокруг всех элементов таблицы */
	border-collapse: collapse!important; /* Убирает двойные границы */
}
.grntxt {
	color:green;
} 

.green_price 
{
	color:green;
	font-size: 26px;
	font-weight: bold;
}




#quicktabs-container-tabs_frontpage {
	font-size: 0.95em;
}














/* Основной стиль футера */
.footer {
	font-size: medium;
	background-color: #e6f9e6;
	padding: 3rem 1.5rem 0rem;
}
.prostfooter_footer {
	background-color: #e6f9e6; /* нежно светло зеленый */
	padding: 20px 0;
	font-family: Arial, sans-serif;
	color: #333;
	position: relative;
}
.prostfooter_container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	
	background-image: url("/themes/bulma/i/foot1.png");
  background-repeat: no-repeat;
  background-position: top right; 
	
}

/* Верхняя часть футера */
.prostfooter_top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 20px;
}
.prostfooter_logo_block,
.prostfooter_contacts,
.prostfooter_links,
.prostfooter_product {
	
	margin: 10px;
}
.prostfooter_logo {
	/*max-width: 100px;*/
	margin-bottom: 10px;
}
.prostfooter_title {
	font-size: 24px;
	margin: 0;
}

/* Навигация и ссылки */
nav.prostfooter_links h3 {
	margin-bottom: 10px;
	font-size: 18px;
}
nav.prostfooter_links ul {
	list-style: none;
	padding: 0;
}
nav.prostfooter_links ul li {
	margin-bottom: 5px;
}
nav.prostfooter_links ul li a {
	text-decoration: none;
	color: #333;
	transition: color 0.2s ease;
}
nav.prostfooter_links ul li a:hover {
	color: #008000; /* Тёмно-зелёный при наведении */
}

/* Стили основного продукта */
.prostfooter_product h3 {
	margin-bottom: 10px;
	font-size: 18px;
}
.prostfooter_product_img {
	width: 100%;
	max-width: 200px;
	height: auto;
}

/* Нижняя часть футера (основные кнопки) */
.prostfooter_bottom {
	border-top: 1px solid #ccc;
	padding-top: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.prostfooter_market_buttons,
.prostfooter_social_buttons,
.prostfooter_payment_buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 10px 0;
}





/* Круглые кнопки для маркетплейсов */
.prostfooter_market_btn {
	display: inline-block;
	width: 50px;
	height: 50px;
	margin-right: 10px;
	border-radius: 50%;
	overflow: hidden;
	background-color: #fff;
	text-align: center;
	line-height: 50px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease;
}
.prostfooter_market_btn:hover {
	transform: scale(1.05);
}
.prostfooter_market_btn img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	margin: 0 auto;
}

/* Кнопки для соцсетей */
.prostfooter_social_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin-right: 10px;
	border: 1px solid #ccc;
border-radius: 50%;
text-decoration: none;
color: #333;
background-color: #fff;
transition: background-color 0.2s ease, color 0.2s ease;
overflow: hidden;
}
.prostfooter_social_btn:hover {
background-color: #008000;
color: #fff;
}
.prostfooter_social_btn img {
max-width: 70%;
height: auto;
}

/* Квадратные (прямоугольные) кнопки для платежных систем */
.prostfooter_payment_btn {
display: inline-block;
margin-right: 10px;
border: 1px solid #ccc;
border-radius: 0;
background-color: #fff;
transition: background-color 0.2s ease, color 0.2s ease;
overflow: hidden;
width: 80px; /* Можно подстроить под нужный размер */
height: 60px; /* Можно подстроить под нужный размер */
text-align: center;
}
.prostfooter_payment_btn:hover {
/* background-color: #008000;*/
}
.prostfooter_payment_btn img {
max-width: 100%;
max-height: 100%;
display: block;
margin: 0 auto;
}

/* Дополнительный блок в нижней части (copyright, политика, кнопка наверх) */
.prostfooter_bottom_extras {
margin-top: 20px;
border-top: 1px solid #ccc;
padding-top: 10px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.prostfooter_copyright {
flex: 1 1 auto;
margin-right: 20px;
}
.prostfooter_copyright p {
margin: 0;
}
.prostfooter_copyright a {
text-decoration: none;
/*color: #333;*/
margin-left: 10px;
transition: color 0.2s ease;
}
.prostfooter_copyright a:hover {
color: #008000;
}

/* Кнопка "Наверх" */
.prostfooter_backtotop {
flex: 0 0 auto;
}
.prostfooter_backtotop_btn {
background-color: #00b050;
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.2s ease;
}
.prostfooter_backtotop_btn:hover {
background-color: #21844F;
}

/* Стили иконок */
.prostfooter_icon {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
vertical-align: middle;
margin-right: 8px;
}

/* Прячем текст для скринридеров, если нужно (например, <span class="sr-only">Facebook</span>) */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
.prostfooter_top {
flex-direction: column;
align-items: center;
}
.prostfooter_logo_block,
.prostfooter_contacts,
.prostfooter_links,
.prostfooter_product {
margin: 10px 0;
}
.prostfooter_logo_block {
	margin-top: 226px;
}
.prostfooter_bottom {
flex-direction: column;
}
.prostfooter_payment_btn {
width: 60px;
height: 40px;
}
.prostfooter_bottom_extras {
flex-direction: column;
align-items: flex-start;
}
.prostfooter_copyright {
margin-bottom: 10px;
}
}




/*@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,600');*/

.cards-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%; /* Контейнер теперь адаптивный */
  gap: 10px;
  box-sizing: border-box;
  justify-content: flex-start;
}

@media (hover: hover) and (pointer: fine) {
.snip1336 {
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s cubic-bezier(.2,.8,.2,1);
  /* остальные стили */
}

.snip1336:hover, .snip1336:focus-within {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 1.5px 4px rgba(0,0,0,0.12);
  z-index: 10;
}

}

/* Карточка — две в ряд на десктопе */
.snip1336 {
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  width: calc(50% - 5px); /* две карточки, с учетом gap */
  color: #ffffff;
  text-align: left;
  line-height: 1.4em;
  background-color: #00b050;
  box-sizing: border-box;

	cursor:pointer;
}

.snip1336 * {
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.snip1336 img {
  max-width: 100%;
  vertical-align: top;
  opacity: 0.85;
}

.snip1336-caption {
  width: 100%;
  background-color: #00b050;
  padding: 15px;
  position: relative;
}

.snip1336-caption:before {
  position: absolute;
  content: '';
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 0 400px;
  border-color: transparent transparent transparent #00b050;
}

.snip1336-caption a {
  padding: 5px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 0.7em;
  text-transform: uppercase;
  margin: 10px 0;
  display: inline-block;
  opacity: 0.65;
  width: 47%;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
}

.snip1336-caption a:hover {
  opacity: 1;
}

.snip1336 .profile {
  border-radius: 50%;
  position: absolute;
  bottom: 100%;
  left: 25px;
  z-index: 1;
  max-width: 90px;
  opacity: 1;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.snip1336 h2 {
  margin: 0 0 5px!important;
  font-weight: 300;
  line-height: 8px;
	color: #000000;
	font-size: 1em;
}

.snip1336 h2 span {
  display: block;
  font-size: 0.9em;
  color: #ffffff;
  font-weight: 600;
  line-height: 16px;
  margin: 4px 0;
}

.snip1336 h2 span.io {
  margin: 0;
  font-weight: 300;
  line-height: 2px;
  color: #000000;
	font-size: 0.6em;
	margin: 4px 0;
}

.snip1336 p {
  margin: 0 0 10px;
  font-size: 0.65em;
  letter-spacing: 0px;
  opacity: 0.8;
  line-height: 16px;

}

/* ======= МЕДИАЗАПРОСЫ ======= */
@media (max-width: 600px) {
  .cards-container {
    gap: 8px;
  }
  .snip1336 {
    width: 100%;      /* одна карточка в ряд */
    max-width: 100%;
			
  }
  .snip1336-caption:before {
    border-width: 30px 0 0 200px; /* уменьшение угла для мобильных */
  }
  .snip1336 .profile {
    max-width: 60px;
    left: 10px;
  }
  .snip1336-caption {
    padding: 10px;
  }
}

@media (min-width: 768px) {
	.snip1336 {
		height: 222px;
  }
}	

@media (max-width: 768px) {
	.snip1336 {
		height: 275px;
  }
}	
/* Минимальный белый фон для всего блока */
#block-bulma-views-block-lastarticlefront-block-1 {
    background: #f7faff;
    border-radius: 18px;
    padding: 22px 0 10px 0;
}

/* Заголовок блока */
#block-bulma-views-block-lastarticlefront-block-1 .panel-heading {
    font-size: 22px;
    font-weight: 700;
    color: #212c41;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
    border: none;
    background: none;
}

/* Элемент списка */
#block-bulma-views-block-lastarticlefront-block-1 .views-view-responsive-grid__item {
    margin-bottom: 24px;
    position: relative;
}

/* Контейнер внутреннего элемента (обтекание) */
#block-bulma-views-block-lastarticlefront-block-1 .views-view-responsive-grid__item-inner {
    position: relative;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(30, 42, 66, 0.07), 0 1.5px 4px rgba(70, 82, 106, 0.05);
    padding: 22px 28px;
    min-height: 140px;
    transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), transform 0.15s;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
		   
}

/* Hover эффекты */
#block-bulma-views-block-lastarticlefront-block-1 .views-view-responsive-grid__item-inner:hover {
    box-shadow: 0 8px 32px rgba(30, 42, 66, 0.13), 0 3px 12px rgba(70, 82, 106, 0.09);
    transform: translateY(-2px) scale(1.017);
    z-index: 2;
}

/* Картинка слева (нечётные элементы) */
#block-bulma-views-block-lastarticlefront-block-1 .views-view-responsive-grid__item:nth-child(odd) .views-field-field-image {
    float: left;
   /* margin-right: 28px;
    margin-left: 0;
    margin-bottom: 10px;*/
		margin:12px;
    display: block;
}

/* Картинка справа (чётные элементы) */
#block-bulma-views-block-lastarticlefront-block-1 .views-view-responsive-grid__item:nth-child(even) .views-field-field-image {
    float: right;
    /*margin-left: 28px;
    margin-right: 0;
    margin-bottom: 10px;*/
		margin:12px;
    display: block;
}

/* Оформление самой картинки */
#block-bulma-views-block-lastarticlefront-block-1 .views-field-field-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(30, 42, 66, 0.13);
    border: 4px solid #f3f6fa;
    background: #f3f6fa;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
}

/* Hover на картинке */
#block-bulma-views-block-lastarticlefront-block-1 .views-view-responsive-grid__item-inner:hover .views-field-field-image img {
    box-shadow: 0 6px 24px rgba(50, 82, 106, 0.18);
    transform: scale(1.08);
}

/* Обычный блок с заголовком и текстом */
#block-bulma-views-block-lastarticlefront-block-1 .views-field-title {
    display: block;
    margin: 0;
    max-width: 100%;
}

/* Текст заголовка (уменьшен размер) */
#block-bulma-views-block-lastarticlefront-block-1 .views-field-title span {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #273144;
    line-height: 1.32;
    max-width: 350px;
}

/* Ссылка на заголовке */
#block-bulma-views-block-lastarticlefront-block-1 .views-field-title a {
    color: #1877f2;
    text-decoration: none;
    transition: color 0.18s;
    word-break: break-word;
}
#block-bulma-views-block-lastarticlefront-block-1 .views-field-title a:hover,
#block-bulma-views-block-lastarticlefront-block-1 .views-field-title a:focus {
    color: #1254a2;
    text-decoration: underline;
}

/* Разделительная линия между элементами */
#block-bulma-views-block-lastarticlefront-block-1 .views-view-responsive-grid__item:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e6e9f1 35%, #e6e9f1 65%, transparent);
    z-index: 1;
}

/* ==================== Адаптив ==================== */
@media (max-width: 768px) {
    #block-bulma-views-block-lastarticlefront-block-1 .views-view-responsive-grid__item-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        padding: 16px 8px;
        gap: 16px;
        min-height: 0;
        font-size: 14px;
    }
    #block-bulma-views-block-lastarticlefront-block-1 .views-field-field-image {
        float: none !important;
        margin: 0 0 8px 0 !important;
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #block-bulma-views-block-lastarticlefront-block-1 .views-field-field-image img {
        width: 76px;
        height: 76px;
        border-width: 3px;
    }
    #block-bulma-views-block-lastarticlefront-block-1 .views-field-title {
        text-align: center;
        max-width: 96vw;
    }
    #block-bulma-views-block-lastarticlefront-block-1 .views-field-title span {
        font-size: 14px;
        max-width: 96vw;
    }
    #block-bulma-views-block-lastarticlefront-block-1 .views-view-responsive-grid__item:not(:last-child)::after {
        left: 8px;
        right: 8px;
        bottom: -10px;
    }
}



/* Сеть аптек */
.pharmacy-list-wrapper {
  max-width: 1100px;
  margin: 0 auto 0px auto;
  font-size: 13px;
  line-height: 1.5;
  color: #2b2b2b;
  font-family: 'Arial', sans-serif;
}
.pharmacy-list-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 14px;
  text-align: left;
}
.pharmacy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 32px;
  padding: 0;
  list-style: none;
}
.pharmacy-list li {
  margin-bottom: 0px !important;
  break-inside: avoid;
	line-height: 16px;
}
.pharmacy-list strong {
  color: #009947;
  font-weight: 600;
}
@media (max-width: 900px) {
  .pharmacy-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .pharmacy-list {
    grid-template-columns: 1fr;
    gap: 10px 0;
  }
  .pharmacy-list-wrapper {
    font-size: 14px;
    padding: 0 4vw;
  }
}


/*теги на сайте */



.tagshead {
	color: #92a99a;
	margin-top:60px;
}
.tags-div {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 6px 10px;
  padding: 18px 0 10px 0;
  min-height: 90px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(7px);
  box-shadow: 0 2px 20px 0 rgba(80, 120, 80, 0.08);
  transition: background 0.35s;
}
.tags-div .content {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.92rem;
  border-radius: 100px;
  background: linear-gradient(90deg, #eafbf2 0%, #c7e9cd 100%);
  color: #92a99a;
  font-weight: 500;
  box-shadow: 0 1px 7px rgba(40, 80, 60, 0.11);
  margin: 0 0 6px 0;
  transition:
    transform 0.35s cubic-bezier(.25,.8,.25,1),
    box-shadow 0.27s,
    opacity 0.3s,
    background 0.25s;
		cursor: default;
  white-space: nowrap;
  border: none;
  opacity: 1;
  position: absolute;
  z-index: 1;
}

@keyframes tremor {
  0% { transform: scale(1.09) rotate(-2deg) translateX(0); }
  10% { transform: scale(1.09) rotate(-2.5deg) translateX(-1.5px);}
  20% { transform: scale(1.09) rotate(-1.7deg) translateX(1.5px);}
  30% { transform: scale(1.09) rotate(-2.2deg) translateX(-1.5px);}
  40% { transform: scale(1.09) rotate(-1.8deg) translateX(1.5px);}
  50% { transform: scale(1.09) rotate(-2.1deg) translateX(-1px);}
  60% { transform: scale(1.09) rotate(-2deg) translateX(1px);}
  70% { transform: scale(1.09) rotate(-2.2deg) translateX(-1px);}
  80% { transform: scale(1.09) rotate(-2deg) translateX(1px);}
  90% { transform: scale(1.09) rotate(-2.1deg) translateX(-1px);}
  100% { transform: scale(1.09) rotate(-2deg) translateX(0);}
}

.tags-div .content:hover,
.tags-div .content:focus {
  animation: tremor 0.42s linear 0s 1;
  transform: scale(1.09) rotate(-2deg);
  box-shadow: 0 4px 15px rgba(60, 180, 90, 0.14), 0 1px 7px #69e19b22;
  background: linear-gradient(90deg, #d3f5de 0%, #a6e3b1 100%);
  color: #195c33;
  opacity: 1;
  z-index: 2;
}

/* Мобильная адаптация */
@media (max-width: 800px) {
  .tags-div {
    display: flex !important;
    flex-wrap: wrap !important;
    position: static !important;
    gap: 6px 7px;
    padding: 10px 0 0 0;
    border-radius: 12px;
    min-height: unset !important;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(0);
  }
  .tags-div .content {
    position: static !important;
    left: unset !important;
    top: unset !important;
    transform: none !important;
    margin: 0 4px 6px 0;
    font-size: 0.91rem;
    padding: 6px 11px;
    z-index: 1 !important;
    opacity: 1 !important;
    transition: none !important;
    background: linear-gradient(90deg, #eafbf2 0%, #c7e9cd 100%);
    color: #25623a;
    animation: none !important;
  }
}



/* prost-clinical */
.prost-clinical {
  font-family: "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  color: #222;
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.prost-clinical h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #004d40;
  border-bottom: 2px solid #cfd8dc;
  padding-bottom: 0.5rem;
}

.prost-clinical h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #00695c;
  border-left: 4px solid #80cbc4;
  padding-left: 0.8rem;
}

.prost-clinical p {
  margin-bottom: 1rem;
}

.prost-clinical ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.prost-clinical ul li {
  margin-bottom: 0.6rem;
  list-style-type: disc;
}

.prost-clinical strong {
  color: #00796b;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .prost-clinical {
    padding: 1rem;
    font-size: 15px;
  }

  .prost-clinical h1 {
    font-size: 24px;
  }

  .prost-clinical h2 {
    font-size: 20px;
  }
}

/*инструкция */

.prostoptima-instruction h1 {
font-size: 1.5em;
    text-align: center;
    color: #009947;
    margin: 46px 16px 36px 16px;
}

.prostoptima-instruction {
    font-family: Arial, sans-serif;
    color: #111;
    line-height: 1.6;
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
}

.prostoptima-instruction .prostoptima-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 18px;
}

.prostoptima-instruction .prostoptima-left {
    flex: 0 0 25%;
    max-width: 200px;
    min-width: 110px;
		border-right: 1px green dotted;
    padding-right: 36px;
    font-size: 0.88em;
}

.prostoptima-instruction .prostoptima-right {
    flex: 1;
    min-width: 0;
}

.prostoptima-instruction .prostoptima-left p,
.prostoptima-instruction .prostoptima-right p {
    margin: 0 0 12px 0;
}

.prostoptima-instruction .prostoptima-bold {
    font-weight: bold;
}

.prostoptima-instruction .prostoptima-title {
    font-weight: bold;
    font-size: 1.13em;
    margin-bottom: 8px;
    text-decoration: underline;
    letter-spacing: 0.3px;
}

.prostoptima-instruction .prostoptima-list-section {
    margin-top: 24px;
}

.prostoptima-instruction .prostoptima-list-title {
    font-weight: bold;
    font-size: 1.13em;
    margin-bottom: 10px;
}

.prostoptima-instruction .prostoptima-ul {
    margin: 0;
    padding-left: 24px;
}

.prostoptima-instruction .prostoptima-ul li {
    margin-bottom: 10px;
    font-size: 1em;
}

.prostoptima-instruction .prostoptima-small {
    font-size: 0.96em;
    font-style: italic;
}

.prostoptima-instruction .prostoptima-hr {
    border: none;
    border-top: 2px solid #111;
    margin: 24px 0 18px 0;
}

/* --- Адаптивность --- */
@media (max-width: 900px) {
    .prostoptima-instruction {
        max-width: 99vw;
        padding-left: 10px;
        padding-right: 10px;
    }
    .prostoptima-instruction .prostoptima-columns {
        gap: 20px;
    }
    .prostoptima-instruction .prostoptima-left {
        flex-basis: 36%;
        max-width: 160px;
    }
}

@media (max-width: 700px) {
    .prostoptima-instruction .prostoptima-columns {
        flex-direction: column;
        gap: 0;
    }
    .prostoptima-instruction .prostoptima-left,
    .prostoptima-instruction .prostoptima-right {
        max-width: 100%;
        flex: unset;
        min-width: 0;
    }
    .prostoptima-instruction .prostoptima-left {
        margin-bottom: 16px;
    }
}
