/**
 * Мобильная шапка: вместо текста номера — зелёная кнопка «позвонить».
 * Работает без отдельного HTML (стилизуем существующую ссылку tel:).
 * ПК (от 768px): без изменений.
 */
@media (max-width: 767px) {
	.header-block__item-telephone .header-phones {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-end;
		gap: 6px;
	}

	.header-phones .header-phones__main {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		min-width: 44px;
		margin: 0;
		padding: 0 !important;
		border: 0;
		border-radius: 10px;
		background-color: #22c55e;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24 11.36 11.36 0 0 0 3.56.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.36 11.36 0 0 0 .57 3.56 1 1 0 0 1-.25 1.01l-2.2 2.22z'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 22px 22px;
		box-shadow: 0 2px 6px rgba(34, 197, 94, 0.45);
		text-decoration: none;
		font-size: 0 !important;
		line-height: 0 !important;
		color: transparent !important;
		overflow: hidden;
		-webkit-tap-highlight-color: transparent;
	}

	.header-phones .header-phones__main:hover,
	.header-phones .header-phones__main:focus {
		background-color: #16a34a;
		outline: none;
	}

	.header-phones__main .header-phones__main-img-i,
	.header-phones__main-img-i {
		display: none !important;
	}

	.header-phones__show-phone {
		display: none !important;
	}

	.header-phones.has-addit {
		padding-right: 0;
	}

	/* Запасной вариант, если OCMOD добавил отдельную кнопку */
	.header-phones__call-mobile {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 10px;
		background-color: #22c55e;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24 11.36 11.36 0 0 0 3.56.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.36 11.36 0 0 0 .57 3.56 1 1 0 0 1-.25 1.01l-2.2 2.22z'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 22px 22px;
		box-shadow: 0 2px 6px rgba(34, 197, 94, 0.45);
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}

	.header-phones__call-mobile:hover,
	.header-phones__call-mobile:focus {
		background-color: #16a34a;
		outline: none;
	}

	.header-phones__call-mobile ~ .header-phones__main {
		display: none !important;
	}
}

@media (min-width: 768px) {
	.header-phones__call-mobile {
		display: none !important;
	}
}
