.head_logo_txt {
	font-size: 22px;
}

/* ==========================================================================
   Контакты вместо корзины
   Файл: local/templates/.default/css/buket-contact.css
   Подключается в header.php после colorpicker.css
   ========================================================================== */

/* --- Кнопка «Написать в MAX» --- */
.max_bt {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: 1px solid #fa8dd1;
	border-radius: 4px;
	background: #fa8dd1;
	color: #fff;
	font-size: 16px;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.max_bt .fa {
	margin-right: 8px;
	font-size: 15px;
}
.max_bt_icon {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	background-color: currentColor;
	-webkit-mask: url("/local/templates/stoptime_flowers_one_copy/img/max.svg") center / contain no-repeat;
	mask: url("/local/templates/stoptime_flowers_one_copy/img/max.svg") center / contain no-repeat;
}
/* Иконка MAX в кнопке шапки */
.head_call_bl .bord_bt {
	padding: 10px 20px;
	font-size: 16px;
	white-space: nowrap;
}
.head_call_bl .max_bt_icon {
	display: inline-block;
	vertical-align: -2px;
	width: 16px;
	height: 16px;
	margin-right: 6px;
}
.max_bt:hover,
.max_bt:focus {
	background: transparent;
	color: #fa8dd1;
	text-decoration: none;
}

/* --- Кнопка «Позвонить флористу» --- */
.det_info_call {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 9px 12px;
	border: 1px solid #fa8dd1;
	border-radius: 4px;
	background: transparent;
	color: #fa8dd1;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.produce_call_bt {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: 1px solid #fa8dd1;
	border-radius: 4px;
	background: transparent;
	color: #fa8dd1;
	font-size: 16px;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.det_info_call:hover,
.det_info_call:focus,
.produce_call_bt:hover,
.produce_call_bt:focus {
	background: #fa8dd1;
	color: #fff;
	text-decoration: none;
}
.det_info_call_txt {
	font-size: 16px;
}
.det_info_call .fa {
	margin-right: 7px;
}
.produce_call_bt .fa {
	margin-right: 8px;
	font-size: 15px;
}
.det_info_call_num {
	margin-top: 3px;
	font-size: 15px;
	font-weight: bold;
	white-space: nowrap;
}

/* --- Страница товара --- */
.det_info_contacts {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}
.det_info_contacts > * + * {
	margin-top: 10px;
}

/* --- Страница товара: большая рамка, теги и анонс сверху --- */
.det_top_bl > .det_status_bl {
	position: static;
	padding: 18px 15px 0;
}
.det_announce_top {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: calc(1.35em * 3);
	margin: 0;
	padding: 5px 20px 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: #000;
}
.det_info_actions {
	grid-area: actions;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
}
.det_info_actions .det_info_price_bl {
	margin-bottom: 15px;
}
.det_info_actions .det_info_contacts {
	margin-bottom: 0;
}
.det_info_composition {
	grid-area: composition;
	padding: 18px;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
}
.det_info_details {
	grid-area: details;
	padding: 18px;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
}
.det_info_block_tit {
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.2;
}
.det_info_comp_txt,
.det_info_details_txt {
	font-size: 15px;
	line-height: 1.5;
}
.det_info_details_txt p:last-child {
	margin-bottom: 0;
}
@media screen and (min-width: 1000px) {
	.det_top_bl {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.det_top_bl > .det_status_bl {
		grid-column: 1 / -1;
		padding: 25px 30px 0;
	}
	.det_announce_top {
		grid-column: 1 / -1;
		padding: 5px 80px 0;
		font-size: 20px;
	}
	.det_gall_stat_bl,
	.det_info_bl {
		width: auto;
	}
	.det_gall_stat_bl {
		padding-top: 40px;
	}
	.det_slider_el {
		align-items: flex-start;
	}
	.det_info_bl_contact {
		padding-top: 40px;
	}
	.det_info_grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"actions composition"
			"details details";
		gap: 18px;
	}
}
@media screen and (max-width: 999px) {
	.det_top_bl {
		display: block;
	}
	.det_gall_stat_bl {
		padding-top: 16px;
	}
	.det_info_grid {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}
	.det_info_actions,
	.det_info_composition,
	.det_info_details {
		padding: 14px;
	}
}

/* --- Карточки товара в списках --- */

/* Заголовок — по контенту, без фиксированных 100px */
.produce_list .produce_el_tit {
	height: auto;
}

/* Карточки в ряду — одной высоты по самой высокой */
.produce_list {
	align-items: stretch;
}
.produce_list .produce_el_bl {
	display: flex;
	height: auto;
}
.produce_list .produce_el {
	width: 100%;
}

/* На десктопе фон и рамку карточки переносим на обёртку:
   так карточка тянется по контенту, а панель кнопок может
   выезжать ниже, не меняя высоту ряда. */
@media screen and (min-width: 1000px) {
	.produce_list .produce_el_bl {
		background: #fff;
		border: 1px solid #e8e8e8;
		border-radius: 6px;
	}
	.produce_list .produce_el {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		min-height: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		display: flex;
		flex-direction: column;
		height: 100%;
	}
	.produce_list .produce_el_price {
		margin-top: auto;
	}
	.produce_list .produce_el:hover {
		box-shadow: none;
	}
	.produce_list .produce_el_bl:hover {
		z-index: 50;
		border-bottom-color: transparent;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .1);
	}
}

/* Кнопки: на десктопе — выпадающая панель при наведении,
   на мобильных — всегда в потоке карточки */
.produce_el_contacts {
	display: none;
	flex-direction: row;
	align-items: stretch;
	padding: 0 10px 20px;
	margin-top: auto;
}
.produce_el_contacts > * {
	flex: 1 1 0;
	min-width: 0;
}
.produce_el_contacts > * + * {
	margin-top: 0;
	margin-left: 8px;
}
.produce_el_contacts .max_bt,
.produce_el_contacts .produce_call_bt {
	padding: 8px 8px;
	font-size: 12px;
}
.produce_el_contacts .max_bt .fa,
.produce_el_contacts .produce_call_bt .fa {
	margin-right: 4px;
	font-size: 12px;
}
.produce_el_contacts .max_bt_icon {
	width: 14px;
	height: 14px;
	margin-right: 4px;
}

@media screen and (min-width: 1000px) {
	.produce_el_contacts {
		position: absolute;
		left: -1px;
		right: -1px;
		top: 100%;
		z-index: 60;
		padding: 8px 8px 10px;
		background: #fff;
		border: 1px solid #e8e8e8;
		border-top: 0;
		border-radius: 0 0 6px 6px;
		box-shadow: 0 22px 25px -20px rgba(0, 0, 0, .35);
	}
	.produce_el:hover .produce_el_contacts {
		display: flex;
	}
}

/* На мобильных кнопки видны всегда, номер под кнопкой не дублируем */
@media screen and (max-width: 999px) {
	.produce_el_contacts {
		display: flex;
		flex-direction: column;
	}

	.produce_el_contacts > * {
		flex: 0 0 auto;
		width: 100%;
	}
	.produce_el_contacts > * + * {
		margin-top: 8px;
		margin-left: 0;
	}

	.det_info_call_num {
		display: none;
	}
}

/* На устройствах без наведения тоже показываем кнопки в потоке */
@media (hover: none) {
	.produce_el_contacts {
		display: flex;
		position: static;
		left: auto;
		right: auto;
		top: auto;
		padding: 0 10px 20px;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
}

.head_sear_bl .fa {
	color: #fa8dd1;
}